What’s Vulnerable › Vulnerabilities
CVE-2012-5653
- Severity: medium (CVSS 6.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2013-01-03 · updated 2026-06-16
- Weakness: CWE-20
Description
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.
Affected products
- Debian Linux: 6.0, 7.0
- Drupal: 7.0, 7.0-alpha1, 7.0-alpha2, 7.0-alpha3, 7.0-alpha4, 7.0-alpha5 (+64)
References
- http://drupal.org/SA-CORE-2012-004
- http://drupalcode.org/project/drupal.git/commitdiff/b47f95d
- http://drupalcode.org/project/drupal.git/commitdiff/da8023a
- http://osvdb.org/88529
- http://www.debian.org/security/2013/dsa-2776
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:074
- http://www.openwall.com/lists/oss-security/2012/12/20/1
- http://www.securityfocus.com/bid/56993
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80795
- http://drupal.org/SA-CORE-2012-004
- http://drupalcode.org/project/drupal.git/commitdiff/b47f95d
- http://drupalcode.org/project/drupal.git/commitdiff/da8023a
Get alerted when CVE-2012-5653 or the next vulnerability affects your stack