CVE-2012-1172

UnknownEPSS 6.37%

Last modified

CVE-2012-1172 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 6.37% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
6.37%

92.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp<= 5.3.10
PhpPhp5.0.0
PhpPhp5.0.1
PhpPhp5.0.2
PhpPhp5.0.3
PhpPhp5.0.4
PhpPhp5.0.5
PhpPhp5.1.0
PhpPhp5.1.1
PhpPhp5.1.2
PhpPhp5.1.3
PhpPhp5.1.4
PhpPhp5.1.5
PhpPhp5.1.6
PhpPhp5.2.0
PhpPhp5.2.1
PhpPhp5.2.2
PhpPhp5.2.3
PhpPhp5.2.4
PhpPhp5.2.5
PhpPhp5.2.6
PhpPhp5.2.7
PhpPhp5.2.8
PhpPhp5.2.9
PhpPhp5.2.10
PhpPhp5.2.11
PhpPhp5.2.12
PhpPhp5.2.13
PhpPhp5.2.14
PhpPhp5.2.15
PhpPhp5.2.16
PhpPhp5.2.17
PhpPhp5.3.0
PhpPhp5.3.1
PhpPhp5.3.2
PhpPhp5.3.3
PhpPhp5.3.4
PhpPhp5.3.5
PhpPhp5.3.6
PhpPhp5.3.7
PhpPhp5.3.8
PhpPhp5.3.9

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 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.
How severe is CVE-2012-1172?
Severity scoring for CVE-2012-1172 is pending analysis. The EPSS model estimates a 6.37% probability of exploitation in the next 30 days.
How do I fix CVE-2012-1172?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2012-1172?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST