exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Drupal 6.22 With Finder 6.x-1.9 Code Execution / Cross Site Scripting

Drupal 6.22 With Finder 6.x-1.9 Code Execution / Cross Site Scripting
Posted Feb 10, 2012
Authored by Justin C. Klein Keane

Drupal version 6.22 with Finder version 6.x-1.9 suffers from code execution and cross site scripting vulnerabilities.

tags | exploit, vulnerability, code execution, xss
SHA-256 | bc5bc7291e47cd928211933f2d494e8136c2644c4d6690eaa62b5d3f085f4987

Drupal 6.22 With Finder 6.x-1.9 Code Execution / Cross Site Scripting

Change Mirror Download
Vulnerability Report

Description of Vulnerability:
-----------------------------
Drupal (http://drupal.org) is a robust content management system (CMS)
written in PHP and MySQL. The Drupal Finder module
(https://drupal.org/project/finder) "allows Drupal site administrators
to create flexible faceted search forms to find entities such as nodes
or users based on the values of fields and database attributes." The
Finder module contains multiple vulnerabilities including persistent
cross site scripting (XSS) and an arbitrary code execution
vulnerability.

Systems affected:
-----------------------------
Drupal 6.22 with Finder 6.x-1.9 was tested and shown to be vulnerable

Impact
-----------------------------
Users can execute code with the permissions of the web server. Malicious
users could inject arbitrary HTML into search results that could display
to all users.

Mitigating factors:
-----------------------------
In order to execute arbitrary code execution malicious users must have
the ability to import finders. In order to execute arbitrary script
injection malicious users must have the ability to create content.

Proof of Concept Exploit (Code Execution):
------------------------------------------
1. Install and enable the Finder modules
2. Enter '$a = phpinfo()' in the form at ?q=admin/build/finder/import
3. Submit the form to view the executed code

Proof of Concept Exploit (XSS):
------------------------------------------
1. Install and enable the Finder modules
2. At ?q=node/add/story create a new node with the title
"<script>alert('xss');</script>" and save it
3. Create a new "Node finder" using the drop down at the bottom of the
page ?q=admin/build/finder
4. Check 'Provide block' and select "Autocomplete textfield" from the
'Add element' drop down
5. Save the new finder using the button at the bottom of the form
6. In the resulting configuration scree
(?q=admin/build/finder/X/edit/2/edit/ where X is the Finder ID) select
"Node:Title" from the 'Find items by this field:' select list and click
'Save finder element'
7. Enable the new Finder block at ?q=admin/build/block
8. Type 'xss' into the Finder block to view the rendered JavaScript

Vendor Response:
-----------------------------
Upgrade to the latest version of Finder. SA-CONTRIB-2012-017
(https://drupal.org/node/1432970)

Text of this advisory also available at
http://www.madirish.net/content/drupal-finder-6x-19-xss-and-remote-code-execution-vulnerabilities

--
Justin Klein Keane
http://www.MadIrish.net


Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close