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

Medium 5.8 Published Updated
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.

All Php Php vulnerabilities

Sources

Also known as GHSA-jpm9-86g2-j2gx.

Is CVE-2012-1172 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free