Vulnerability in PHP
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 path traversal attacks, and possibly create or overwrite arbitrary files, via a crafted upload request, related to a "file path injection vulnerability."
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.197, 97.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 1.0, 2.0, 2.0b10
Weakness classification (CWE)
References
- www.securityfocus.com/bid/48259 (vdb-entry)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c (Patch)
- HPSBOV02763 (vendor-advisory)
- svn.php.net/viewvc (Patch)
- support.apple.com/kb/HT5130
- www.securityfocus.com/bid/49241 (vdb-entry)
- securitytracker.com/id (vdb-entry)
- php-sapiposthandlerfunc-sec-bypass(67999) (vdb-entry)
- MDVSA-2011:165 (vendor-advisory)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS