CVE-2012-5653
The file upload feature in Drupal 6.x before 6.27 and 7.x before 7.18 allows remote authenticated...
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.
Exploit likelihood
What each source reports
NVD Score used
6.0
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.
- Record
CVE-2012-5653- CVSS 2.0
- 6.0 Medium
AV:N/AC:M/Au:S/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-5653- Updated
- 2026-11-02
EUVDEUVD-2012-5537 No score
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.
- Record
EUVD-2012-5537- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cv5g-6h34-8w32 No score
The file upload feature in Drupal 6.x before 6.27 and 7.x before 7.18 allows remote authenticated...
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.
- Record
GHSA-cv5g-6h34-8w32- Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
drupal6Debian:6.0 |
before 6.28-1, plus listed versions 6.18-16.18-1squeeze16.20-16.20-1~bpo50+16.20-1~bpo60+1 Show 6 moreShow less6.20-26.22-16.22-1~bpo60+16.26-16.26-1.16.26-1~bpo60+1 |
6.28-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-5653 is a medium vulnerability (CVSS 6.0) in Drupal, published January 3, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.72%, the 77th percentile. Fixed in drupal6 6.28-1.