{"id":"CVE-2011-2202","aliases":["EDB-35855"],"kind":"cve","tier":"cold","status":"published","title":"The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipa…","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.\"","ai_summary":null,"severity":"medium","cvss":{"score":6.4,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","source":"NVD"},"scores":[{"score":6.4,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","source":"nvd"}],"cwe":["CWE-264"],"remote":true,"remote_unauth":true,"epss":{"score":0.19736,"percentile":0.97964,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[35855]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","kind":"vendor"},{"url":"http://secunia.com/advisories/44874","kind":"vendor"},{"url":"http://www.debian.org/security/2011/dsa-2266","kind":"vendor"},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1423.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-0071.html","kind":"vendor"},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev=312103","kind":"patch"},{"url":"http://svn.php.net/viewvc?view=revision&revision=312103","kind":"patch"},{"url":"http://openwall.com/lists/oss-security/2011/06/13/15","kind":"patch"},{"url":"http://openwall.com/lists/oss-security/2011/06/12/5","kind":"patch"},{"url":"http://pastebin.com/1edSuSVN","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/35855","kind":"exploit"},{"url":"http://www.securityfocus.com/bid/48259","kind":"other"},{"url":"http://support.apple.com/kb/HT5130","kind":"other"},{"url":"http://www.securityfocus.com/bid/49241","kind":"other"},{"url":"http://securitytracker.com/id?1025659","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67999","kind":"other"},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103","kind":"other"},{"url":"http://bugs.php.net/bug.php?id=54939","kind":"other"},{"url":"http://www.php.net/ChangeLog-5.php#5.3.7","kind":"other"},{"url":"http://www.php.net/archive/2011.php#id2011-08-18-1","kind":"other"}],"workarounds":null,"vendors":["php"],"products":["php"],"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","cpe:2.3:a:php:php:1.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:2.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:2.0b10:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.10:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.11:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.12:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.13:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.14:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.15:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.16:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.17:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.18:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.7:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.8:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0.9:*:*:*:*:*:*:*","cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:*","cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:*","cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.7:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.8:*:*:*:*:*:*:*","cpe:2.3:a:php:php:4.4.9:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:*","cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:*"],"published_at":"2011-06-14T00:00:00.000Z","modified_at":"2026-06-16T23:30:54.950Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-2202"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/35855"}],"links":{"html":"https://flawdb.com/CVE-2011-2202","markdown":"https://flawdb.com/CVE-2011-2202.md","json":"https://flawdb.com/api/v1/entries/CVE-2011-2202"}}