Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

Drupalgeddon

IdentifiersCVE-2014-3704CWE-89· Improper Neutralization of Special…

CVE-2014-3704 is a SQL injection vulnerability in Drupal core 7.x before 7.32. The flaw is in the database abstraction API, specifically the expandArguments function, which does not properly construct prepared statements when handling arrays with attacker-controlled crafted keys. A remote attacker can supply malicious input that alters the resulting SQL query structure, enabling injection of arbitrary SQL statements against the backend database.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a remote attacker to execute arbitrary SQL queries on the affected Drupal site. Depending on database permissions and site configuration, this can lead to unauthorized data access or modification, creation of administrative accounts, full site compromise, and potentially remote code execution through follow-on abuse of Drupal functionality and database-backed configuration/state.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict external access to the Drupal site where feasible, deploy WAF rules to detect and block SQL injection attempts targeting Drupal parameters, and closely monitor logs for suspicious requests and unexpected administrative activity. These measures are temporary and do not replace upgrading to a fixed version.

Remediation

Patch, then assume compromise.

Upgrade Drupal core 7.x to version 7.32 or later. Apply the official Drupal security update that fixes the database abstraction API handling in expandArguments. If the system was exposed while vulnerable, assume compromise and perform incident response, including credential rotation, review of administrative accounts, and integrity checks of code and database contents.
PUBLIC EXPLOITS

Exploits

3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (5 hidden).

VALID 3 / 8 TOTALView more in app
Audit-BlackBox-Web-to-RootMaturityPoCVerified exploit

This repository is a penetration testing lab focused on exploiting a vulnerable Drupal 7.x installation (CVE-2014-3704, also known as Drupalgeddon). The main exploit is a Python script (script/exploit-drupal-cve-2014-3704.py) that performs a SQL injection attack against a Drupal 7.x instance, allowing the attacker to create a new administrator user and assign admin privileges. The script requires the attacker to specify the target URL, desired username, and password for the new admin account. The README.md provides a detailed walkthrough of the attack chain, including initial reconnaissance, exploitation of the SQL injection, post-exploitation steps (such as obtaining a reverse shell via the PHP Filter module and escalating privileges to root), and recommendations for remediation. The exploit is operational and demonstrates a full compromise of a vulnerable Drupal 7.x system. The only code file is the Python exploit script, which targets the web interface of the Drupal installation via HTTP POST requests.

fbm31Disclosed Dec 31, 2025pythonnetwork
CVE-2014-3704MaturityPoCVerified exploit

This repository contains a Python 3 exploit script (CVE-2014-3704.py) targeting the Drupal 7.x SQL injection vulnerability (CVE-2014-3704, also known as 'Drupalgeddon'). The exploit allows a remote attacker to create a new administrator user on a vulnerable Drupal 7.x site by sending a specially crafted HTTP POST request to the user login form. The script generates a Drupal-compatible password hash, constructs a malicious SQL injection payload, and submits it to the target site. If successful, it reports the creation of the new admin user and provides the credentials. The repository also includes a README.md with usage instructions and a LICENSE file. The main exploit file is self-contained, does not rely on external frameworks, and demonstrates a practical, operational exploit for this critical vulnerability.

joaomorenorfDisclosed Feb 2, 2025pythonnetwork
Drupalgeddon-Python3MaturityPoCVerified exploit

This repository contains a Python 3 proof-of-concept exploit for CVE-2014-3704 (Drupalgeddon), targeting Drupal 7.x versions 7.0 through 7.31. The exploit leverages a pre-authenticated SQL injection vulnerability to create a new administrator user on the target Drupal instance. The main file, 'drupalgeddon.py', is a direct port of a well-known exploit to Python 3, requiring the attacker to specify the target URL, desired username, and password for the new admin account. The script constructs a malicious POST request to the Drupal login endpoint, injecting SQL commands to insert a new user and assign administrative privileges. The README provides background on the vulnerability and usage instructions. No hardcoded IPs or domains are present; the target is specified at runtime. The exploit is a functional POC and does not include advanced features or payload customization.

NeldeborgDisclosed Jan 6, 2025pythonnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
DebianDebian Linuxoperating_system
DrupalDrupalapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.