Original 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 software
- PHP = 4.3.5= 2.0b10= 3.0.16= 4.4.7= 4.0.4= 3.0.2 exact match
Details
- Published
- 2011-06-17
- Last modified
- 2024-08-07
- CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
References
- cve.org/CVE-2011-2202
- nvd.nist.gov/vuln/detail/CVE-2011-2202
- www.securityfocus.com/bid/48259
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev...
- marc.info/?l=bugtraq&m=133469208622507&w=2
- svn.php.net/viewvc?view=revision&revision=312103
- support.apple.com/kb/HT5130
- www.securityfocus.com/bid/49241
- securitytracker.com/id?1025659
- exchange.xforce.ibmcloud.com/vulnerabilities/67999
- www.mandriva.com/security/advisories?name=MDVSA-2011:165
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103
- secunia.com/advisories/44874
- www.debian.org/security/2011/dsa-2266
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.