National Cyber Awareness System
Vulnerability Summary for CVE-2012-1172
Original release date:05/24/2012
Last revised:09/22/2012
Source:
US-CERT/NIST
Overview
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.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
4.9
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type:Allows unauthorized modification; Allows disruption of service
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664
Type: Patch Information
External Source: MISC
Name: https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf
External Source: MISC
Name: https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/
External Source: CONFIRM
Name: https://bugs.php.net/bug.php?id=55500
External Source: CONFIRM
Name: https://bugs.php.net/bug.php?id=54374
External Source: MISC
Name: https://bugs.php.net/bug.php?id=49683
External Source: MISC
Name: https://bugs.php.net/bug.php?id=48597
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-5.php#5.4.0
External Source: CONFIRM
Name: http://svn.php.net/viewvc?view=revision&revision=321664
External Source: CONFIRM
Name: http://support.apple.com/kb/HT5501
External Source: MLIST
Name: [oss-security] 20120313 Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern
External Source: HP
Name: HPSBUX02791
External Source: HP
Name: SSRT100856
External Source: FEDORA
Name: FEDORA-2012-6869
External Source: FEDORA
Name: FEDORA-2012-6907
External Source: FEDORA
Name: FEDORA-2012-6911
External Source: APPLE
Name: APPLE-SA-2012-09-19-2
External Source: MISC
Name: http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/