Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Drupal SQL Injection and Arbitrary File Execution Vulnerabilities Advisory Available in Danish 

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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Debian update for clamav
3.
Drupal Session Fixation Vulnerability
4.
Apple Safari Cross-Domain Cookie Injection Vulnerability
5.
Linux Kernel LDT Buffer Size Handling Vulnerability
6.
Microsoft Word Unspecified Code Execution Vulnerability
7.
Debian update for xulrunner
8.
Red Hat update for thunderbird
9.
Red Hat update for kernel
10.
Geeklog Forum Plugin Search Cross-Site Scripting Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia