Drupal TAXONOMY_SELECT_NODES() SQL Injection Vulnerability

BID:26735

Info

Drupal TAXONOMY_SELECT_NODES() SQL Injection Vulnerability

Bugtraq ID: 26735
Class: Input Validation Error
CVE: CVE-2007-6299
Remote: Yes
Local: No
Published: Dec 05 2007 12:00AM
Updated: Apr 16 2015 06:12PM
Credit: Nadid Skywalker and Ivan Sergio Borgonovo discovered this vulnerability.
Vulnerable: Red Hat Fedora 7
Drupal Drupal 4.7.8
Drupal Drupal 4.7.7
Drupal Drupal 4.7.6
Drupal Drupal 4.7.5
Drupal Drupal 4.7.4
Drupal Drupal 4.7.3
Drupal Drupal 4.7.2
Drupal Drupal 4.7.1
Drupal Drupal 4.7
Drupal Drupal 4.6.11
Drupal Drupal 4.6.10
Drupal Drupal 4.6.9
Drupal Drupal 4.6.8
Drupal Drupal 4.6.7
Drupal Drupal 4.6.6
Drupal Drupal 4.6.5
Drupal Drupal 4.6.4
Drupal Drupal 4.6.3
Drupal Drupal 4.6.2
Drupal Drupal 4.6.1
Drupal Drupal 4.6
Drupal Drupal 4.5.8
Drupal Drupal 4.5.7
Drupal Drupal 4.5.6
Drupal Drupal 4.5.5
Drupal Drupal 4.5.4
Drupal Drupal 4.5.3
+ Debian Linux 3.1 sparc
+ Debian Linux 3.1 s/390
+ Debian Linux 3.1 s/390
+ Debian Linux 3.1 ppc
+ Debian Linux 3.1 ppc
+ Debian Linux 3.1 mipsel
+ Debian Linux 3.1 mipsel
+ Debian Linux 3.1 mips
+ Debian Linux 3.1 mips
+ Debian Linux 3.1 m68k
+ Debian Linux 3.1 m68k
+ Debian Linux 3.1 ia-64
+ Debian Linux 3.1 ia-64
+ Debian Linux 3.1 ia-32
+ Debian Linux 3.1 ia-32
+ Debian Linux 3.1 hppa
+ Debian Linux 3.1 hppa
+ Debian Linux 3.1 arm
+ Debian Linux 3.1 arm
+ Debian Linux 3.1 alpha
+ Debian Linux 3.1 alpha
+ Debian Linux 3.1
+ Debian Linux 3.1
Drupal Drupal 4.5.2
Drupal Drupal 4.5.1
Drupal Drupal 4.5
Drupal Drupal 4.4.3
Drupal Drupal 4.4.2
Drupal Drupal 4.4.1
Drupal Drupal 4.4
Drupal Drupal 4.2 .0 RC
Drupal Drupal 4.1 .0
Drupal Drupal 4.0 .0
Drupal Drupal 5.3
Drupal Drupal 5.2
Drupal Drupal 5.1 revision 1.1
Drupal Drupal 5.1
Drupal Drupal 5.0
Drupal Drupal 4.7 revision 1.2
Drupal Drupal 4.7 revision 1.15
Drupal Drupal 4.7
Drupal Drupal 4.6
Not Vulnerable: Drupal Drupal 4.7.9
Drupal Drupal 5.4

Discussion

Drupal TAXONOMY_SELECT_NODES() SQL Injection Vulnerability

Drupal is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.

Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

Versions prior to Drupal 4.7.9 and 5.4 are vulnerable.

Exploit / POC

Drupal TAXONOMY_SELECT_NODES() SQL Injection Vulnerability

Attackers can use a browser to exploit this issue.

Solution / Fix

Drupal TAXONOMY_SELECT_NODES() SQL Injection Vulnerability

Solution:
The vendor released Drupal 4.7.9 and 5.4 to address this issue. Please see the referenced advisories for more information.


Drupal Drupal 5.2

Drupal Drupal 5.3

Drupal Drupal 4.7 revision 1.2

Drupal Drupal 5.1

Drupal Drupal 5.0

Drupal Drupal 4.6

Drupal Drupal 5.1 revision 1.1

Drupal Drupal 4.7

Drupal Drupal 4.0 .0

Drupal Drupal 4.1 .0

Drupal Drupal 4.2 .0 RC

Drupal Drupal 4.4

Drupal Drupal 4.4.1

Drupal Drupal 4.4.2

Drupal Drupal 4.4.3

Drupal Drupal 4.5

Drupal Drupal 4.5.1

Drupal Drupal 4.5.2

Drupal Drupal 4.5.3

Drupal Drupal 4.5.4

Drupal Drupal 4.5.5

Drupal Drupal 4.5.6

Drupal Drupal 4.5.7

Drupal Drupal 4.5.8

Drupal Drupal 4.6

Drupal Drupal 4.6.1

Drupal Drupal 4.6.10

Drupal Drupal 4.6.11

Drupal Drupal 4.6.2

Drupal Drupal 4.6.3

Drupal Drupal 4.6.4

Drupal Drupal 4.6.5

Drupal Drupal 4.6.6

Drupal Drupal 4.6.7

Drupal Drupal 4.6.8

Drupal Drupal 4.6.9

Drupal Drupal 4.7

Drupal Drupal 4.7.1

Drupal Drupal 4.7.2

Drupal Drupal 4.7.3

Drupal Drupal 4.7.4

Drupal Drupal 4.7.5

Drupal Drupal 4.7.6

Drupal Drupal 4.7.7

Drupal Drupal 4.7.8

References

Drupal TAXONOMY_SELECT_NODES() SQL Injection Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report