logo
DATABASE RESOURCES PRICING ABOUT US

CVE-2011-2202

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." #### Bugs * <https://bugs.launchpad.net/ubuntu/oneiric/+source/php5/+bug/813115> * <http://bugs.php.net/bug.php?id=54939> #### Notes Author| Note ---|--- [mdeslaur](<https://launchpad.net/~mdeslaur>) | PoC: http://pastebin.com/1edSuSVN


Affected Package


OS OS Version Package Name Package Version
ubuntu 10.04 php5 5.3.2-1ubuntu4.10
ubuntu 10.10 php5 5.3.3-1ubuntu9.6
ubuntu 11.04 php5 5.3.5-1ubuntu7.3
ubuntu upstream php5 5.3.6-12

Related