CVE-2012-1172

N/A Unknown
Published: May 24, 2012 Modified: April 29, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://support.apple.com/kb/HT5501
Source: secalert@redhat.com
http://www.php.net/ChangeLog-5.php#5.4.0
Source: secalert@redhat.com
https://bugs.php.net/bug.php?id=48597
Source: secalert@redhat.com
Exploit
https://bugs.php.net/bug.php?id=49683
Source: secalert@redhat.com
https://bugs.php.net/bug.php?id=54374
Source: secalert@redhat.com
Exploit
https://bugs.php.net/bug.php?id=55500
Source: secalert@redhat.com
http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
http://marc.info/?l=bugtraq&m=134012830914727&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://openwall.com/lists/oss-security/2012/03/13/4
Source: af854a3a-2127-422b-91ae-364da2661108
http://support.apple.com/kb/HT5501
Source: af854a3a-2127-422b-91ae-364da2661108
http://svn.php.net/viewvc?view=revision&revision=321664
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.debian.org/security/2012/dsa-2465
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.php.net/ChangeLog-5.php#5.4.0
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.php.net/bug.php?id=48597
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
https://bugs.php.net/bug.php?id=49683
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.php.net/bug.php?id=54374
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
https://bugs.php.net/bug.php?id=55500
Source: af854a3a-2127-422b-91ae-364da2661108
https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit

40 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
6.4%
93th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php