CVE-2012-5653 json
The file upload feature in Drupal 6.x before 6.27 and 7.x before 7.18 allows remote authenticated users to bypass the protection mechanism…
published 2013-01-03 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5537
- cvss
- 6.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
The file upload feature in Drupal 6.x before 6.27 and 7.x before 7.18 allows remote authenticated users to bypass the protection mechanism and execute arbitrary PHP code via a null byte in a file name.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5653 updated cvss 5.1
drupal: multiple flaws fixed in 6.27/7.18 (SA-CORE-2012-004)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.72% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- drupalcode.org http://drupalcode.org/project/drupal.git/commitdiff/da8023a referenced PoC, tagged "exploit" by a source, unverified
- drupalcode.org http://drupalcode.org/project/drupal.git/commitdiff/b47f95d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
drupalcode.org
/project/drupal.git/commitdiff/da8023a
exploit, patch
-
drupal.org
/SA-CORE-2012-004
patch, vendor-advisory
-
drupalcode.org
/project/drupal.git/commitdiff/b47f95d
exploit, patch
-
mandriva.com
/security/advisories?name=MDVSA-2013:074
vendor-advisory, broken-link
-
debian.org
/security/2013/dsa-2776
vendor-advisory, third-party-advisory
-
osvdb.org
/88529
vdb-entry, broken-link
-
securityfocus.com
/bid/56993
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2012/12/20/1
mailing-list, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/80795
vdb-entry
Sources
- CVE List CVE-2012-5653
- NVD CVE-2012-5653
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.