{"schemaVersion":3,"id":"CVE-2014-3704","aliases":["MGASA-2014-0423","UBUNTU-CVE-2014-3704","DSA-3051-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2014-10-16T00:00:00.000Z","modified":"2024-08-06T10:50:17.990Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.99974,"percentile":0.99979,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.99974},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99974,"percentile":0.99979}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99974,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99974,"percentile":0.99979}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_B5BEF36BC6E8440B","name":"Exploit Reference (seclists.org)","source":"reference","url":"http://seclists.org/fulldisclosure/2014/Oct/75","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_372D1C1353E59F9A","name":"Exploit Reference (sektioneins.de)","source":"reference","url":"https://www.sektioneins.de/en/advisories/advisory-012014-drupal-pre-auth-sql-injection-vulnerability.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_E51D548A266FD13C","name":"Exploit Reference (openwall.com)","source":"reference","url":"http://www.openwall.com/lists/oss-security/2014/10/15/23","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_F2F7ECB168784533","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/128741/Drupal-HTTP-Parameter-Key-Value-SQL-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_ADDD558A5EDEDEA7","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/128721/Drupal-7.31-SQL-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_AC1609CBF440672B","name":"Exploit Reference (sektioneins.de)","source":"reference","url":"https://www.sektioneins.de/en/blog/14-11-03-drupal-sql-injection-vulnerability-PoC.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_4E3A3C50C3384722","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/128720/Drupal-7.X-SQL-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"34992","name":"Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (Add Admin User)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/34992","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/34992.py","codes":["CVE-2014-3704","OSVDB-113371","SA-CORE-2014-005"]},"metasploit":null},{"id":"44355","name":"Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (Admin Session)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/44355","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/44355.php","codes":["CVE-2014-3704","OSVDB-113371"]},"metasploit":null},{"id":"34984","name":"Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (PoC) (Reset Password) (1)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/34984","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/34984.py","codes":["CVE-2014-3704","SA-CORE-2014-005"]},"metasploit":null},{"id":"34993","name":"Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (PoC) (Reset Password) (2)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/34993","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/34993.php","codes":["CVE-2014-3704","OSVDB-113371"]},"metasploit":null},{"id":"35150","name":"Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (Remote Code Execution)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/35150","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/35150.php","codes":["CVE-2014-3704","OSVDB-113371"]},"metasploit":null},{"id":"MSF_EXPLOIT_MULTI_HTTP_DRUPAL_DRUPAGEDDON","name":"Drupal HTTP Parameter Key/Value SQL Injection","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/http/drupal_drupageddon.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/http/drupal_drupageddon","rank":"600","rankName":"excellent","postAuth":false,"check":false,"stability":["crash-safe"],"sideEffects":[],"reliability":[]}}],"exploitCount":13,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"debian","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/drupal7","purlType":"deb","versions":[{"text":"< 7.14-2+deb7u7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.14-2+deb7u7","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/drupal7","purlType":"deb","versions":[{"text":"< 7.26-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.26-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"drupal","product":"drupal","name":"drupal","label":"drupal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0, < 7.32","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0, < 7.32","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"drupal","label":"Drupal","category":"server-app"}},"hubHref":"/vendor/drupal/drupal"},{"vendor":"mageia","product":"drupal","name":"drupal","label":"drupal","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/drupal","purlType":"rpm","versions":[{"text":"< 7.32-1.mga3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.32-1.mga3","eol":null,"hubHref":null},{"vendor":"mageia","product":"drupal","name":"drupal","label":"drupal","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/drupal","purlType":"rpm","versions":[{"text":"< 7.32-1.mga4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.32-1.mga4","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.drupal.org/SA-CORE-2014-005","label":"www.drupal.org/SA-CORE-2014-005","hostname":"www.drupal.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB","REPORT"]},{"url":"http://seclists.org/fulldisclosure/2014/Oct/75","label":"seclists.org/fulldisclosure/2014/Oct/75","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Exploit","Patch","Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/533706/100/0/threaded","label":"www.securityfocus.com/archive/1/533706/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory","VDB Entry"]},{"url":"https://www.sektioneins.de/en/advisories/advisory-012014-drupal-pre-auth-sql-injection-vulnerability.html","label":"www.sektioneins.de/en/advisories/advisory-012014-drupal-pre-auth-sql-injection-vulnerability.html","hostname":"www.sektioneins.de","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory","REPORT"]},{"url":"http://www.exploit-db.com/exploits/34984","label":"www.exploit-db.com/exploits/34984","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://www.exploit-db.com/exploits/35150","label":"www.exploit-db.com/exploits/35150","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2014/10/15/23","label":"www.openwall.com/lists/oss-security/2014/10/15/23","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Exploit","Patch","REPORT"]},{"url":"http://secunia.com/advisories/59972","label":"secunia.com/advisories/59972","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://packetstormsecurity.com/files/128741/Drupal-HTTP-Parameter-Key-Value-SQL-Injection.html","label":"packetstormsecurity.com/files/128741/Drupal-HTTP-Parameter-Key-Value-SQL-Injection.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.exploit-db.com/exploits/34992","label":"www.exploit-db.com/exploits/34992","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://www.debian.org/security/2014/dsa-3051","label":"www.debian.org/security/2014/dsa-3051","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/70595","label":"www.securityfocus.com/bid/70595","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://www.exploit-db.com/exploits/34993","label":"www.exploit-db.com/exploits/34993","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/128721/Drupal-7.31-SQL-Injection.html","label":"packetstormsecurity.com/files/128721/Drupal-7.31-SQL-Injection.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://osvdb.org/show/osvdb/113371","label":"osvdb.org/show/osvdb/113371","hostname":"osvdb.org","tags":["VDB Entry","X Refsource OSVDB","Broken Link"]},{"url":"https://www.sektioneins.de/en/blog/14-11-03-drupal-sql-injection-vulnerability-PoC.html","label":"www.sektioneins.de/en/blog/14-11-03-drupal-sql-injection-vulnerability-PoC.html","hostname":"www.sektioneins.de","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/128720/Drupal-7.X-SQL-Injection.html","label":"packetstormsecurity.com/files/128720/Drupal-7.X-SQL-Injection.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://advisories.mageia.org/MGASA-2014-0423.html","label":"advisories.mageia.org/MGASA-2014-0423.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=14298","label":"bugs.mageia.org/show_bug.cgi?id=14298","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.drupal.org/drupal-7.32","label":"www.drupal.org/drupal-7.32","hostname":"www.drupal.org","tags":["WEB"]},{"url":"https://www.drupal.org/drupal-7.32-release-notes","label":"www.drupal.org/drupal-7.32-release-notes","hostname":"www.drupal.org","tags":["WEB"]},{"url":"http://www.sektioneins.com/en/advisories/advisory-012014-drupal-pre-auth-sql-injection-vulnerability.html","label":"www.sektioneins.com/en/advisories/advisory-012014-drupal-pre-auth-sql-injection-vulnerability.html","hostname":"www.sektioneins.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-3704","label":"ubuntu.com/security/CVE-2014-3704","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-3704","label":"www.cve.org/CVERecord?id=CVE-2014-3704","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2014-10-16T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T10:50:17.990Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":60,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:11:36.324Z","stale":false,"partial":false}}