CVE-2011-2202
Summary
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."
Impact & exploitability
AV:N/AC:L/Au:N/C:N/I:P/A:P
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: http://openwall.com/lists/oss-security/2011/06/12/5 ↗
Additional information
- NVD record
- http://openwall.com/lists/oss-security/2011/06/12/5Patch
- http://openwall.com/lists/oss-security/2011/06/13/15Patch
- http://secunia.com/advisories/44874Advisory
- 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://rhn.redhat.com/errata/RHSA-2012-0071.html
- http://pastebin.com/1edSuSVNExploit