Unscored severity · published May 24, 2012
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…
–
CVSS
6.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)6.2% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.3.10; 5.0.0; 5.0.0; 5.0.0; 5.0.0; 5.0.0; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-1172
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-1172
Exploit
http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/
lists.apple.com
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
