CVE-2011-2202 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 pat...
MediumCVSS 6.4
EPSS 19.7%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
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
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.3.6 | No fix listed |
| PHP | = 1.0 | No fix listed |
| PHP | = 2.0 | No fix listed |
| PHP | = 2.0b10 | No fix listed |
| PHP | = 3.0 | No fix listed |
| PHP | = 3.0.1 | No fix listed |
| PHP | = 3.0.2 | No fix listed |
| PHP | = 3.0.3 | No fix listed |
| PHP | = 3.0.4 | No fix listed |
| PHP | = 3.0.5 | No fix listed |
| PHP | = 3.0.6 | No fix listed |
| PHP | = 3.0.7 | No fix listed |
| PHP | = 3.0.8 | No fix listed |
| PHP | = 3.0.9 | No fix listed |
| PHP | = 3.0.10 | No fix listed |
| PHP | = 3.0.11 | No fix listed |
| PHP | = 3.0.12 | No fix listed |
| PHP | = 3.0.13 | No fix listed |
| PHP | = 3.0.14 | No fix listed |
| PHP | = 3.0.15 | No fix listed |
| PHP | = 3.0.16 | No fix listed |
| PHP | = 3.0.17 | No fix listed |
| PHP | = 3.0.18 | No fix listed |
| PHP | = 4.0 | No fix listed |
| PHP | = 4.0-beta_4_patch1 | No fix listed |
Show 47 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.0-beta1 | No fix listed |
| PHP | = 4.0-beta2 | No fix listed |
| PHP | = 4.0-beta3 | No fix listed |
| PHP | = 4.0-beta4 | No fix listed |
| PHP | = 4.0.0 | No fix listed |
| PHP | = 4.0.1 | No fix listed |
| PHP | = 4.0.2 | No fix listed |
| PHP | = 4.0.3 | No fix listed |
| PHP | = 4.0.4 | No fix listed |
| PHP | = 4.0.5 | No fix listed |
| PHP | = 4.0.6 | No fix listed |
| PHP | = 4.0.7 | No fix listed |
| PHP | = 4.1.0 | No fix listed |
| PHP | = 4.1.1 | No fix listed |
| PHP | = 4.1.2 | No fix listed |
| PHP | = 4.2.0 | No fix listed |
| PHP | = 4.2.1 | No fix listed |
| PHP | = 4.2.2 | No fix listed |
| PHP | = 4.2.3 | No fix listed |
| PHP | = 4.3.0 | No fix listed |
| PHP | = 4.3.1 | No fix listed |
| PHP | = 4.3.2 | No fix listed |
| PHP | = 4.3.3 | No fix listed |
| PHP | = 4.3.4 | No fix listed |
| PHP | = 4.3.5 | No fix listed |
| PHP | = 4.3.6 | No fix listed |
| PHP | = 4.3.7 | No fix listed |
| PHP | = 4.3.8 | No fix listed |
| PHP | = 4.3.9 | No fix listed |
| PHP | = 4.3.10 | No fix listed |
| PHP | = 4.3.11 | No fix listed |
| PHP | = 4.4.0 | No fix listed |
| PHP | = 4.4.1 | No fix listed |
| PHP | = 4.4.2 | No fix listed |
| PHP | = 4.4.3 | No fix listed |
| PHP | = 4.4.4 | No fix listed |
| PHP | = 4.4.5 | No fix listed |
| PHP | = 4.4.6 | No fix listed |
| PHP | = 4.4.7 | No fix listed |
| PHP | = 4.4.8 | No fix listed |
| PHP | = 4.4.9 | No fix listed |
| PHP | = 5.3.0 | No fix listed |
| PHP | = 5.3.1 | No fix listed |
| PHP | = 5.3.2 | No fix listed |
| PHP | = 5.3.3 | No fix listed |
| PHP | = 5.3.4 | No fix listed |
| PHP | = 5.3.5 | No fix listed |
References
- bugs.php.net
- APPLE-SA-2012-02-01-1 vendor-advisory
- HPSBOV02763 vendor-advisory
- [oss-security] 20110612 CVE Request: PHP File upload filename mailing-list patch
- [oss-security] 20110613 Re: CVE Request: PHP File upload filename mailing-list patch
- pastebin.com exploit
- RHSA-2012:0071 vendor-advisory
- 44874 third-party-advisory vendor-advisory
- 1025659 vdb-entry
- support.apple.com
- svn.php.net
- svn.php.net patch
- svn.php.net patch
- DSA-2266 vendor-advisory
- MDVSA-2011:165 vendor-advisory
- www.php.net
- www.php.net
- RHSA-2011:1423 vendor-advisory
- 48259 vdb-entry
- 49241 vdb-entry
- php-sapiposthandlerfunc-sec-bypass(67999) vdb-entry