CVE-2012-1172 The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2012-1172?
CVE-2012-1172 is a medium-severity vulnerability in Php Php, published on 24 May 2012.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2012-1172?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2012-1172?
Upgrade to a fixed version.
Is CVE-2012-1172 being exploited?
There is no known exploitation of CVE-2012-1172 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-jpm9-86g2-j2gx.