|
Drupal SQL Injection and Arbitrary File Execution Vulnerabilities
|
|
Secunia Advisory:
|
SA20140
|
|
|
Release Date:
|
2006-05-25
|
|
Last Update:
|
2006-06-08
|
|
Popularity:
|
9,106 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Manipulation of data System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Drupal 4.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-2742 CVE-2006-2743 CVE-2006-2831 CVE-2006-2832
|
|
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
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
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.
|