CVE-2014-3704
The expandArguments function in the database abstraction API in Drupal core 7.x before 7.32 does not properly construct prepared statements, which allows...
- Published
- Oct 16, 2014
- Updated
- Aug 6, 2024
- Assigning CNA
- redhat
- Evidence observed
- Oct 16, 2014
Primary CVSS
nvd · CVSS 2.0
AV:N/AC:L/Au:N/C:P/I:P/A:PHigh · next 30 days
- Percentile
- 100.0%
- Model date
- Oct 13, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.
Sources
- Drupal SQL InjectionTemplate
http/cves/2014/CVE-2014-3704.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
drupal/CVE-2014-3704
Drupal < 7.32 "Drupalgeddon" SQL Injection (CVE-2014-3704)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/drupal:7.31(drupal/CVE-2014-3704/docker-compose.yml:services.web.image)
- lab image version: mysql:5.5(drupal/CVE-2014-3704/docker-compose.yml:services.mysql.image)
modules/exploits/multi/http/drupal_drupageddon.rb
Metasploit Framework modulesDeclared conditions
- platform: PHP($.exploit_multi/http/drupal_drupageddon.platform)
- verification: check_not_declared($.exploit_multi/http/drupal_drupageddon.check)
- CVE-2014-3704Exploit
This code is taken from "Drupal 7.0 < 7.31 - 'Drupalgeddon' SQL Injection (Add Admin User)" and was converted to Python 3 to suit the exercise in Academy for Module "Attacking Commoon Applications" and section "Attacking Drupal".
An rewritten POC on the CVE-2014-3704
- metasploitable3-pentest-writeupResearch
Home-lab penetration test report of Metasploitable3 covering Nmap recon, Drupalgeddon RCE, SQL injection, SSH credential reuse, sudo privilege escalation, and reverse shells.
- DrupalgeddonExploit
CVE-2014-3704 aka Drupalgeddon - Form-Cache Injection Method
- Audit-BlackBox-Web-to-RootResearch
Audit de sécurité Black Box d'un serveur Drupal 7. Démonstration d'une Kill Chain complète : Injection SQL (CVE-2014-3704) ➔ RCE ➔ Reverse Shell ➔ Escalade vers Root (SUID). Ce dépôt contient le rapport technique détaillé, les preuves d'exploitation (PoC) et les mesures de remédiation pour sécuriser l'infrastructure.
- CVE-2014-3704Exploit
Exploit for CVE-2014-3704, a Drupal SQL injection vulnerability, enabling remote code execution on unpatched Drupal sites.
stopstene · php · Oct 16, 2014
Claudio Viviani · php · Oct 17, 2014
Dustin Dörr · php · Oct 17, 2014
Stefan Horst · php · Nov 3, 2014
Stefan Horst · php · Nov 3, 2014
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.