CVE-2011-2202
Summary
| CVE | CVE-2011-2202 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2011-06-16 23:55:04 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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." |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:N/C:N/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Php | Php | 1.0 | All | All | All |
| Application | Php | Php | 2.0 | All | All | All |
| Application | Php | Php | 2.0b10 | All | All | All |
| Application | Php | Php | 3.0 | All | All | All |
| Application | Php | Php | 3.0.1 | All | All | All |
| Application | Php | Php | 3.0.10 | All | All | All |
| Application | Php | Php | 3.0.11 | All | All | All |
| Application | Php | Php | 3.0.12 | All | All | All |
| Application | Php | Php | 3.0.13 | All | All | All |
| Application | Php | Php | 3.0.14 | All | All | All |
| Application | Php | Php | 3.0.15 | All | All | All |
| Application | Php | Php | 3.0.16 | All | All | All |
| Application | Php | Php | 3.0.17 | All | All | All |
| Application | Php | Php | 3.0.18 | All | All | All |
| Application | Php | Php | 3.0.2 | All | All | All |
| Application | Php | Php | 3.0.3 | All | All | All |
| Application | Php | Php | 3.0.4 | All | All | All |
| Application | Php | Php | 3.0.5 | All | All | All |
| Application | Php | Php | 3.0.6 | All | All | All |
| Application | Php | Php | 3.0.7 | All | All | All |
| Application | Php | Php | 3.0.8 | All | All | All |
| Application | Php | Php | 3.0.9 | All | All | All |
| Application | Php | Php | 4.0 | All | All | All |
| Application | Php | Php | 4.0 | beta1 | All | All |
| Application | Php | Php | 4.0 | beta2 | All | All |
| Application | Php | Php | 4.0 | beta3 | All | All |
| Application | Php | Php | 4.0 | beta4 | All | All |
| Application | Php | Php | 4.0 | beta_4_patch1 | All | All |
| Application | Php | Php | 4.0.0 | All | All | All |
| Application | Php | Php | 4.0.1 | All | All | All |
| Application | Php | Php | 4.0.2 | All | All | All |
| Application | Php | Php | 4.0.3 | All | All | All |
| Application | Php | Php | 4.0.4 | All | All | All |
| Application | Php | Php | 4.0.5 | All | All | All |
| Application | Php | Php | 4.0.6 | All | All | All |
| Application | Php | Php | 4.0.7 | All | All | All |
| Application | Php | Php | 4.1.0 | All | All | All |
| Application | Php | Php | 4.1.1 | All | All | All |
| Application | Php | Php | 4.1.2 | All | All | All |
| Application | Php | Php | 4.2.0 | All | All | All |
| Application | Php | Php | 4.2.1 | All | All | All |
| Application | Php | Php | 4.2.2 | All | All | All |
| Application | Php | Php | 4.2.3 | All | All | All |
| Application | Php | Php | 4.3.0 | All | All | All |
| Application | Php | Php | 4.3.1 | All | All | All |
| Application | Php | Php | 4.3.10 | All | All | All |
| Application | Php | Php | 4.3.11 | All | All | All |
| Application | Php | Php | 4.3.2 | All | All | All |
| Application | Php | Php | 4.3.3 | All | All | All |
| Application | Php | Php | 4.3.4 | All | All | All |
| Application | Php | Php | 4.3.5 | All | All | All |
| Application | Php | Php | 4.3.6 | All | All | All |
| Application | Php | Php | 4.3.7 | All | All | All |
| Application | Php | Php | 4.3.8 | All | All | All |
| Application | Php | Php | 4.3.9 | All | All | All |
| Application | Php | Php | 4.4.0 | All | All | All |
| Application | Php | Php | 4.4.1 | All | All | All |
| Application | Php | Php | 4.4.2 | All | All | All |
| Application | Php | Php | 4.4.3 | All | All | All |
| Application | Php | Php | 4.4.4 | All | All | All |
| Application | Php | Php | 4.4.5 | All | All | All |
| Application | Php | Php | 4.4.6 | All | All | All |
| Application | Php | Php | 4.4.7 | All | All | All |
| Application | Php | Php | 4.4.8 | All | All | All |
| Application | Php | Php | 4.4.9 | All | All | All |
| Application | Php | Php | 5.3.0 | All | All | All |
| Application | Php | Php | 5.3.1 | All | All | All |
| Application | Php | Php | 5.3.2 | All | All | All |
| Application | Php | Php | 5.3.3 | All | All | All |
| Application | Php | Php | 5.3.4 | All | All | All |
| Application | Php | Php | 5.3.5 | All | All | All |
| Application | Php | Php | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PHP: News Archive - 2011 | af854a3a-2127-422b-91ae-364da2661108 | www.php.net | |
| PHP :: Sec Bug #54939 :: File path injection vulnerability in RFC1867 File upload filename | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | |
| oss-security - CVE Request: PHP File upload filename | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | Patch |
| PHP: Contents of /php/php-src/branches/PHP_5_3/NEWS | af854a3a-2127-422b-91ae-364da2661108 | svn.php.net | |
| Debian -- Security Information -- DSA-2266-1 php5 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Malformed Request | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| PHP: Diff of /php/php-src/branches/PHP_5_3/main/rfc1867.c | af854a3a-2127-422b-91ae-364da2661108 | svn.php.net | Patch |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| About the security content of OS X Lion v10.7.3 and Security Update 2012-001 | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | |
| Security Advisories | Mandriva Linux | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| PHP File Upload Bug May Let Remote Users Overwrite Files on the Target System - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | securitytracker.com | |
| PHP Multiple Vulnerabilities - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| PHP: Revision 312103 | af854a3a-2127-422b-91ae-364da2661108 | svn.php.net | Patch |
| APPLE-SA-2012-02-01-1 OS X Lion v10.7.3 and Security Update 2012-001 | af854a3a-2127-422b-91ae-364da2661108 | lists.apple.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| PHP CVE-2011-2202 Security Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| PHP: PHP 5 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | www.php.net | |
| oss-security - Re: CVE Request: PHP File upload filename | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | Patch |
| access.redhat.com | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| php.net file upload path injection - Pastebin.com | af854a3a-2127-422b-91ae-364da2661108 | pastebin.com | Exploit |
| '[security bulletin] HPSBOV02763 SSRT100826 rev.1 - HP Secure Web Server (SWS) for OpenVMS running PH' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.