Vulnerabilities · 2011 · Php
CVE-2011-2202
Php vulnerability
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
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/44874 · Vendor Advisory
- openwall.com/lists/oss-security/2011/06/12/5 · Patch
- openwall.com/lists/oss-security/2011/06/13/15 · Patch
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev · Patch
- svn.php.net/viewvc?view=revision&revision=312103 · Patch
- pastebin.com/1edSuSVN · Exploit
- bugs.php.net/bug.php?id=54939
- lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- nvd.nist.gov/vuln/detail/CVE-2011-2202
- cve.org/CVERecord?id=CVE-2011-2202
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.