{"id":"CVE-2012-1172","published":"2012-05-24T00:00:00Z","modified":"2024-08-06T18:53:35Z","title":"The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square…","vendor":null,"product":null,"tier":"tail","description":{"text":"The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06195,"percentile":0.93674,"provenance":"source"},"cwes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=134012830914727&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bugs.php.net/bug.php?id=54374","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://bugs.php.net/bug.php?id=49683","tags":["x_refsource_MISC"]},{"url":"https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/","tags":["x_refsource_MISC"]},{"url":"http://svn.php.net/viewvc?view=revision&revision=321664","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2012/03/13/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugs.php.net/bug.php?id=48597","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/","tags":["x_refsource_MISC"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://support.apple.com/kb/HT5501","tags":["x_refsource_CONFIRM"]},{"url":"https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf","tags":["x_refsource_MISC"]},{"url":"http://www.php.net/ChangeLog-5.php#5.4.0","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.debian.org/security/2012/dsa-2465","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bugs.php.net/bug.php?id=55500","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.73}]},"summary":{"text":"The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid open square bracket characters in name values. A remote attacker can exploit this to cause a denial of service through malformed $_FILES indexes, or to conduct directory traversal during multi-file uploads when the target script lacks its own filename restrictions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:01:25Z"},"euvd":{"id":"EUVD-2012-1202","exploited":false,"provenance":"source"}}