CVE-2006-2742 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands in Drupal via vulnerable database variables, potentially compromising data integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2006-2742?
CVE-2006-2742 is a high-severity SQL injection vulnerability in Drupal Drupal, published on 1 Jun 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2006-2742?
It affects 1 product.
Products include Drupal Drupal.
How do I fix CVE-2006-2742?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2006-2742 being exploited?
There is no known exploitation of CVE-2006-2742 in the wild and no public exploit code.
Other vulnerabilities in Drupal Drupal
Sources
Also known as GHSA-c9jq-ww5c-g3v9.