CVE-2012-1172: php Improper Input Validation
Vulnerability summary
CVE-2012-1172 is a medium (CVSS 5.8) Improper Input Validation vulnerability in php. EPSS estimates a 6.19% chance of exploitation in the next 30 days, higher than 93.5% of scored vulnerabilities. 5 public exploits are recorded.
Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4Timeline
- 24-05-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
6.19%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
No change 0.00 pp
From 6.19% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
5 foundExploit Reference (bugs.php.net)
Maturity: unknown
Exploit Reference (nealpoole.com)
Maturity: unknown
Exploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Php1 product
- phpEOL≤ 5.3.10 | 5.0.0 | 5.0.0:beta1 | 5.0.0:beta2 | 5.0.0:beta3 | 5.0.0:beta4 | 5.0.0:rc1 | 5.0.0:rc2 | 5.0.0:rc3 | 5.0.1 | 5.0.2 | 5.0.3 | 5.0.4 | 5.0.5 | 5.1.0 | 5.1.1 | 5.1.2 | 5.1.3 | 5.1.4 | 5.1.5 | 5.1.6 | 5.2.0 | 5.2.1 | 5.2.2 | 5.2.3 | 5.2.4 | 5.2.5 | 5.2.6 | 5.2.7 | 5.2.8 | 5.2.9 | 5.2.10 | 5.2.11 | 5.2.12 | 5.2.13 | 5.2.14 | 5.2.15 | 5.2.16 | 5.2.17 | 5.3.0 | 5.3.1 | 5.3.2 | 5.3.3 | 5.3.4 | 5.3.5 | 5.3.6 | 5.3.7 | 5.3.8 | 5.3.9
1 vendor · 1 product
References
20 links- lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.htmlVendor AdvisoryX Refsource FEDORA
- bugs.php.net/bug.php?id=49683X Refsource MISC
- svn.php.net/viewvc?view=revision&revision=321664X Refsource CONFIRM
Show all 20 references
- support.apple.com/kb/HT5501X Refsource CONFIRM
- www.php.net/ChangeLog-5.phpX Refsource CONFIRM
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.htmlVendor AdvisoryX Refsource FEDORA
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.htmlVendor AdvisoryX Refsource FEDORA
- bugs.php.net/bug.php?id=55500X Refsource CONFIRM