Back
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…
Medium6.4EPSS 19.7%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
- EPSS (exploitation in 30 days)
- 19.7% · top 2.6% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
Affected products
n/a
- affected n/a
References (21)
- 48259 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev=312103 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBOV02763 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://svn.php.net/viewvc?view=revision&revision=312103 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://support.apple.com/kb/HT5130 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 49241 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1025659 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- php-sapiposthandlerfunc-sec-bypass(67999) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- MDVSA-2011:165 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 44874 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-2266 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- APPLE-SA-2012-02-01-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- [oss-security] 20110613 Re: CVE Request: PHP File upload filename (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://bugs.php.net/bug.php?id=54939 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2011:1423 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.php.net/ChangeLog-5.php#5.3.7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110612 CVE Request: PHP File upload filename (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2012:0071 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.php.net/archive/2011.php#id2011-08-18-1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://pastebin.com/1edSuSVN (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .