CVE-2011-2202
The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST requests, which allows remote attackers to conduct absolute path traversal attacks, and possibly create or overwrite…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 19.7%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
Description
The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST requests, which allows remote attackers to conduct absolute path traversal attacks, and possibly create or overwrite arbitrary files, via a crafted upload request, related to a "file path injection vulnerability."
- CVSS 2.0
- 6.4 MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:P
- EPSS
- 19.74% probability · 97th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-264
- Affected
- php/php
- Source
- secalert@redhat.com
References
- http://bugs.php.net/bug.php?id=54939
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://openwall.com/lists/oss-security/2011/06/12/5Patch
- http://openwall.com/lists/oss-security/2011/06/13/15Patch
- http://pastebin.com/1edSuSVNExploit
- http://rhn.redhat.com/errata/RHSA-2012-0071.html
- http://secunia.com/advisories/44874Vendor Advisory
- http://securitytracker.com/id?1025659
- http://support.apple.com/kb/HT5130
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev=312103Patch
- http://svn.php.net/viewvc?view=revision&revision=312103Patch
- http://www.debian.org/security/2011/dsa-2266
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://www.php.net/archive/2011.php#id2011-08-18-1
- http://www.redhat.com/support/errata/RHSA-2011-1423.html
- http://www.securityfocus.com/bid/48259
- http://www.securityfocus.com/bid/49241
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67999
- http://bugs.php.net/bug.php?id=54939
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://openwall.com/lists/oss-security/2011/06/12/5Patch
- http://openwall.com/lists/oss-security/2011/06/13/15Patch
- http://pastebin.com/1edSuSVNExploit
- http://rhn.redhat.com/errata/RHSA-2012-0071.html
- http://secunia.com/advisories/44874Vendor Advisory
- http://securitytracker.com/id?1025659
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.