National Cyber Awareness System
Vulnerability Summary for CVE-2011-2202
Original release date:06/16/2011
Last revised:11/06/2012
Source:
US-CERT/NIST
Overview
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
CVSS Severity (version 2.0):
Impact Subscore:
4.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized modification; Allows disruption of service
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://svn.php.net/viewvc?view=revision&revision=312103
Type: Patch Information
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev=312103
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110613 Re: CVE Request: PHP File upload filename
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110612 CVE Request: PHP File upload filename
Type: Patch Information
External Source: XF
Name: php-sapiposthandlerfunc-sec-bypass(67999)
External Source: BID
Name: 49241
External Source: BID
Name: 48259
External Source: REDHAT
Name: RHSA-2011:1423
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-5.php#5.3.7
External Source: CONFIRM
Name: http://www.php.net/archive/2011.php#id2011-08-18-1
External Source: MANDRIVA
Name: MDVSA-2011:165
External Source: DEBIAN
Name: DSA-2266
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103
External Source: CONFIRM
Name: http://support.apple.com/kb/HT5130
External Source: SECTRACK
Name: 1025659
External Source: SECUNIA
Name: 44874
Type: Advisory
External Source: REDHAT
Name: RHSA-2012:0071
External Source: MISC
Name: http://pastebin.com/1edSuSVN
External Source: APPLE
Name: APPLE-SA-2012-02-01-1
External Source: CONFIRM
Name: http://bugs.php.net/bug.php?id=54939
Technical Details
- Permissions, Privileges, and Access Control (CWE-264)