The expandArguments function in the database abstraction API in Drupal core 7.x before 7.32 does not properly construct prepared statements,
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.
- Published
- Oct 15, 2014
- Updated
- Jun 16, 2026
- EPSS
- 100.0% · 100th percentile
- CWE
- CWE-89
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
60
This week
Don’t wait for the next maintenance window.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 30 / 30 · 100.0%
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux7.0
- drupal drupal7.0 and later · before 7.32
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | drupal7 | before 7.14-2+deb7u7 | 7.14-2+deb7u7 |
Same product
drupal: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-7602Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004KEV99Now
- CVE-2018-7600Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1 allows remote attackers to execute arbitrary code because oKEV99Now
- CVE-2019-6340Drupal core - Highly critical - Remote Code ExecutionKEV90Now
- CVE-2020-13671Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extenKEV76This week
- CVE-2026-9082Drupal core - Highly critical - SQL injection - SA-CORE-2026-004KEV74This week
- CVE-2019-6339PHAR stream wrapper Arbitrary PHP code execution50Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:drupal7 | 7.14-2+deb7u7 · Debian:7 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×5
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×6
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2014-10-17 |
| Exploit-DB entry | webapps | 2014-11-03 |
| Exploit-DB entry | webapps | 2014-10-16 |
| Exploit-DB entry | webapps | 2014-10-17 |
| Exploit-DB entry | webapps | 2014-11-03 |
| Metasploit module | exploit/multi/http/drupal_drupageddonDrupal HTTP Parameter Key/Value SQL Injectionexploit | 2014-10-15 |
| Nuclei detection template | Nuclei template CVE-2014-3704 | — |
| Proof-of-concept repository on GitHub | stars:1 | 2018-07-11 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-10-18 |
| Proof-of-concept repository on GitHub | stars:3 | 2025-01-06 |
| Proof-of-concept repository on GitHub | stars:1 | 2025-02-02 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-12-31 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-1 d
- Published
- First PoCsame day
- TodaySep 30, 2026+4368 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;const rows = await db.query( "SELECT * FROM files WHERE owner = '" + owner + "'");Fixed
const owner = req.query.owner;const rows = await db.query( "SELECT * FROM files WHERE owner = $1", [owner]);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- osvdb.org/show/osvdb/113371
- secunia.com/advisories/59972
- www.debian.org/security/2014/dsa-3051
- www.securityfocus.com/archive/1/533706/100/0/threaded
- www.securityfocus.com/bid/70595
- www.drupal.org/SA-CORE-2014-005
Vendor advisories and official records. Exploit/PoC links are deliberately left out.