Vulnerabilities · 2012 · Drupal
CVE-2012-5653
Drupal vulnerability
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
Drupal, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Drupal runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- drupal.org/SA-CORE-2012-004 · Patch
- drupalcode.org/project/drupal.git/commitdiff/b47f95d · Exploit
- drupalcode.org/project/drupal.git/commitdiff/da8023a · Exploit
- www.debian.org/security/2013/dsa-2776 · Third Party Advisory
- www.openwall.com/lists/oss-security/2012/12/20/1 · Third Party Advisory
- www.securityfocus.com/bid/56993 · Third Party Advisory
- osvdb.org/88529
- www.mandriva.com/security/advisories?name=MDVSA-2013:074
- nvd.nist.gov/vuln/detail/CVE-2012-5653
- cve.org/CVERecord?id=CVE-2012-5653
More vulnerabilities in Drupal products
CVE-2025-48915CVE-2025-48914CVE-2025-31693CVE-2025-31692CVE-2025-31675CVE-2025-31674CVE-2025-31673CVE-2025-13083All 432
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.