CVE-2012-5653

CVE-2012-5653 is a medium-severity vulnerability in Drupal with a CVSS 2.0 base score of 6.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.

Key facts

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.

Frequently asked questions

What is CVE-2012-5653?
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.
How severe is CVE-2012-5653?
CVE-2012-5653 has a CVSS 2.0 base score of 6.0, rated medium severity.
Is CVE-2012-5653 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (75th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-5653?
CVE-2012-5653 primarily affects Drupal. In total, 72 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-5653?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-5653 published?
CVE-2012-5653 was published on 2013-01-03 and last updated on 2026-06-16.

References

Affected products (72)

More vulnerabilities in Drupal

All CVEs affecting Drupal →

Other CWE-20 (Improper Input Validation) vulnerabilities

Browse all CWE-20 (Improper Input Validation) vulnerabilities →