Drupal database scripts SQL injection

drupal-database-sql-injection (26654) The risk level is classified as MediumMedium Risk

Description:

Drupal is vulnerable to SQL injection. A remote attacker could send specially-crafted SQL statements to database.mysql.inc, database.pgsql.inc and database.mysqli.inc scripts using the 'count' or 'from' variables, which could allow the attacker to view, add, modify, or delete information in the back-end database.

Platforms Affected:

  • Debian, Debian Linux 3.1
  • Drupal, Drupal 4.7.0
  • Drupal, Drupal prior to 4.6.7

Remedy:

Refer to Drupal Security Advisory DRUPAL-SA-2006-005 for patch or upgrade information. See References.

For Debian GNU/Linux:
Refer to DSA-1125-2 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Data Manipulation

References:

  • Drupal Security Advisory DRUPAL-SA-2006-005 , SQL injection vulnerability at http://drupal.org/node/65357.
  • Drupal Web site, Drupal at http://drupal.org/project/drupal.
  • BID-18245: Drupal Multiple Input Validation Vulnerabilities
  • CVE-2006-2742: SQL injection vulnerability in Drupal 4.6.x before 4.6.7 and 4.7.0 allows remote attackers to execute arbitrary SQL commands via the (1) count and (2) from variables to (a) database.mysql.inc, (b) database.pgsql.inc, and (c) database.mysqli.inc.
  • DSA-1125: drupal -- several vulnerabilities
  • SA20140: Drupal SQL Injection and Arbitrary File Execution Vulnerabilities
  • VUPEN/ADV-2006-1975: Drupal Remote SQL Injection and Arbitrary Script Execution Vulnerabilities

Reported:

May 24, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2009 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page