CVE-2014-3704 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute SQL injection attacks via crafted array keys in Drupal core, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-3704?

CVE-2014-3704 is a high-severity SQL injection vulnerability in Debian Debian Linux, published on 16 Oct 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The expandArguments function in the database abstraction API in Drupal core 7.x before 7.32 does not properly construct prepared statements, which allows remote attackers to conduct SQL injection attacks via an array containing crafted keys.

Weakness: CWE-89

Which versions are affected by CVE-2014-3704?

It affects 2 products.

Products include Debian Debian Linux, Drupal Drupal.

How do I fix CVE-2014-3704?

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-2014-3704 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-3704 exists.

Public exploit code: 1 Metasploit module, 5 Exploit-DB entries, 1 Nuclei template and 7 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DSA-3051-1, GHSA-f9cm-c972-9975, MGASA-2014-0423, UBUNTU-CVE-2014-3704.

Is CVE-2014-3704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free