What’s Vulnerable › Vulnerabilities
CVE-2011-2202
- Severity: medium (CVSS 6.4 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 19.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2011-06-16 · updated 2026-06-16
- Weakness: CWE-264
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."
Affected products
- PHP: through 5.3.6; 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2 (+65)
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/5
- http://openwall.com/lists/oss-security/2011/06/13/15
- http://pastebin.com/1edSuSVN
- http://rhn.redhat.com/errata/RHSA-2012-0071.html
- http://secunia.com/advisories/44874
- 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=312103
Get alerted when CVE-2011-2202 or the next vulnerability affects your stack