CVE-2011-2202: Path Traversal
The rfc1867posthandler 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 Software
Remediation
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2011-2202?
CVE-2011-2202 has a high severity rating due to its potential for remote file manipulation and absolute path traversal.
How do I fix CVE-2011-2202?
To fix CVE-2011-2202, upgrade PHP to version 5.3.7 or later to ensure proper restrictions on filenames.
What are the risks associated with CVE-2011-2202?
The risks include unauthorized file creation or overwriting on the server, which could lead to further exploitation.
Which versions of PHP are affected by CVE-2011-2202?
CVE-2011-2202 affects PHP versions prior to 5.3.7, including versions 5.3.6 and earlier.
How can I mitigate issues related to CVE-2011-2202 until I can apply a patch?
Mitigation measures include disabling file uploads in PHP or restricting file upload directories to limit exposure.