|
Drupal SQL Injection and Arbitrary File Execution Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA20140
|
|
|
Release Date:
|
2006-05-25
|
|
Last Update:
|
2006-06-08
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Manipulation of data System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Drupal 4.x
|
| | CVE reference: | CVE-2006-2742 (Secunia mirror) CVE-2006-2743 (Secunia mirror) CVE-2006-2831 (Secunia mirror) CVE-2006-2832 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
Description: Three vulnerabilities have been reported in Drupal, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks, and by malicious users to potentially compromise a vulnerable system.
1) Input passed to unspecified parameters is not properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerability has been reported in version 4.6.6 and prior, and in version 4.7.0 and prior.
2) Missing access restrictions to the "files" directory in certain configurations can be exploited by users with upload rights and with permissions to modify stories, to upload files with multiple file name extensions and executing them.
Successful exploitation requires that the "mod_mime" module is installed in Apache, and that a " .htaccess" file has not been used to restrict access to the directory.
The vulnerability has been reported in all versions prior to 4.6.8, and in all versions prior to 4.7.2.
3) Input passed to unspecified parameter in the upload.module isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerability has been reported in all versions prior to 4.7.2.
Solution: Update to version 4.6.8 or 4.7.2, or apply patches.
http://drupal.org/project
Patch for Drupal 4.6.7:
http://drupal.org/files/sa-2006-007/4.6.7.patch.
Patch for Drupal 4.7.1:
http://drupal.org/files/sa-2006-007/4.7.1.patch.
Note: Vulnerability #2 was not correctly fixed in version 4.6.7 and 4.7.1.
Provided and/or discovered by: 1) Ayman Hourieh
2) Lourens Veen
3) Karoly Negyesi
Additional information by:
rgod
Changelog: 2006-05-26: Updated "Description" and credit sections.
2006-06-02: Vendor issues new fixes. Updated advisory.
2006-06-07: Added CVE references.
2006-06-08: Added CVE references.
Original Advisory: http://drupal.org/node/65357
http://drupal.org/node/65409
http://drupal.org/node/66763
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
18 Related Secunia Security Advisories, displaying 10
|
|
|
1. Drupal Multiple Vulnerabilities
|
|
2. Drupal "taxonomy_select_nodes()" SQL Injection
|
|
3. Drupal Multiple Vulnerabilities
|
|
4. Drupal Multiple Cross-Site Scripting and Request Forgery Vulnerabilities
|
|
5. Drupal Comment Preview Arbitrary Code Execution
|
|
6. Drupal Unspecified Spoofing Weakness and Cross-Site Scripting
|
|
7. Drupal Multiple Vulnerabilities
|
|
8. Drupal "user.module" Cross-Site Scripting Vulnerability
|
|
9. Drupal Taxonomy Module Cross-Site Scripting Vulnerability
|
|
10. Drupal "project.module" Script Insertion Vulnerability
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|