CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2012-1172

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.
Publish Date : 2012-05-23 Last Update Date : 2012-09-21
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.8
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Denial Of ServiceDirectory traversal
CWE ID 20

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate
6.4
AV:N/AC:L/Au:N/C:P/I:P/A:N 2012-03-01 2012-03-01
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
DSA-2465-1 php5 - several oval:org.mitre.oval:def:18140 unix
ELSA-2012:1045: php security update (Moderate) oval:org.mitre.oval:def:23278 unix
ELSA-2012:1046: php security update (Moderate) oval:org.mitre.oval:def:23906 unix
ELSA-2012:1047: php53 security update (Moderate) oval:org.mitre.oval:def:23134 unix
HP-UX Apache Web Server running PHP, Remote Execution of Arbitrary Code, Privilege Elevation, Denial of Service (DoS) oval:org.mitre.oval:def:19846 unix
RHSA-2012:1045: php security update (Moderate) oval:com.redhat.rhsa:def:20121045 unix
RHSA-2012:1045: php security update (Moderate) oval:org.mitre.oval:def:21271 unix
RHSA-2012:1046: php security update (Moderate) oval:com.redhat.rhsa:def:20121046 unix
RHSA-2012:1046: php security update (Moderate) oval:org.mitre.oval:def:21499 unix
RHSA-2012:1047: php53 security update (Moderate) oval:com.redhat.rhsa:def:20121047 unix
RHSA-2012:1047: php53 security update (Moderate) oval:org.mitre.oval:def:21402 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2012-1172

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 5.0.0 RC3 Version Details Vulnerabilities
2 Application PHP PHP 5.0.0 Beta4 Version Details Vulnerabilities
3 Application PHP PHP 5.0.0 Beta1 Version Details Vulnerabilities
4 Application PHP PHP 5.0.0 RC2 Version Details Vulnerabilities
5 Application PHP PHP 5.0.0 Beta3 Version Details Vulnerabilities
6 Application PHP PHP 5.0.0 Beta2 Version Details Vulnerabilities
7 Application PHP PHP 5.0.0 RC1 Version Details Vulnerabilities
8 Application PHP PHP 5.0.0 Version Details Vulnerabilities
9 Application PHP PHP 5.0.1 Version Details Vulnerabilities
10 Application PHP PHP 5.0.2 Version Details Vulnerabilities
11 Application PHP PHP 5.0.3 Version Details Vulnerabilities
12 Application PHP PHP 5.0.4 Version Details Vulnerabilities
13 Application PHP PHP 5.0.5 Version Details Vulnerabilities
14 Application PHP PHP 5.1.0 Version Details Vulnerabilities
15 Application PHP PHP 5.1.1 Version Details Vulnerabilities
16 Application PHP PHP 5.1.2 Version Details Vulnerabilities
17 Application PHP PHP 5.1.3 Version Details Vulnerabilities
18 Application PHP PHP 5.1.4 Version Details Vulnerabilities
19 Application PHP PHP 5.1.5 Version Details Vulnerabilities
20 Application PHP PHP 5.1.6 Version Details Vulnerabilities
21 Application PHP PHP 5.2.0 Version Details Vulnerabilities
22 Application PHP PHP 5.2.1 Version Details Vulnerabilities
23 Application PHP PHP 5.2.2 Version Details Vulnerabilities
24 Application PHP PHP 5.2.3 Version Details Vulnerabilities
25 Application PHP PHP 5.2.4 Version Details Vulnerabilities
26 Application PHP PHP 5.2.5 Version Details Vulnerabilities
27 Application PHP PHP 5.2.6 Version Details Vulnerabilities
28 Application PHP PHP 5.2.7 Version Details Vulnerabilities
29 Application PHP PHP 5.2.8 Version Details Vulnerabilities
30 Application PHP PHP 5.2.9 Version Details Vulnerabilities
31 Application PHP PHP 5.2.10 Version Details Vulnerabilities
32 Application PHP PHP 5.2.11 Version Details Vulnerabilities
33 Application PHP PHP 5.2.12 Version Details Vulnerabilities
34 Application PHP PHP 5.2.13 Version Details Vulnerabilities
35 Application PHP PHP 5.2.14 Version Details Vulnerabilities
36 Application PHP PHP 5.2.15 Version Details Vulnerabilities
37 Application PHP PHP 5.2.16 Version Details Vulnerabilities
38 Application PHP PHP 5.2.17 Version Details Vulnerabilities
39 Application PHP PHP 5.3.0 Version Details Vulnerabilities
40 Application PHP PHP 5.3.1 Version Details Vulnerabilities
41 Application PHP PHP 5.3.2 Version Details Vulnerabilities
42 Application PHP PHP 5.3.3 Version Details Vulnerabilities
43 Application PHP PHP 5.3.4 Version Details Vulnerabilities
44 Application PHP PHP 5.3.5 Version Details Vulnerabilities
45 Application PHP PHP 5.3.6 Version Details Vulnerabilities
46 Application PHP PHP 5.3.7 Version Details Vulnerabilities
47 Application PHP PHP 5.3.8 Version Details Vulnerabilities
48 Application PHP PHP 5.3.9 Version Details Vulnerabilities
49 Application PHP PHP 5.3.10 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 49

- References For CVE-2012-1172

http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html
FEDORA FEDORA-2012-6907
https://bugs.php.net/bug.php?id=55500 CONFIRM
https://bugs.php.net/bug.php?id=54374 CONFIRM
https://bugs.php.net/bug.php?id=49683
https://bugs.php.net/bug.php?id=48597
http://www.php.net/ChangeLog-5.php#5.4.0 CONFIRM
http://svn.php.net/viewvc?view=revision&revision=321664 CONFIRM
http://support.apple.com/kb/HT5501 CONFIRM
http://openwall.com/lists/oss-security/2012/03/13/4
MLIST [oss-security] 20120313 Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html
FEDORA FEDORA-2012-6911
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
APPLE APPLE-SA-2012-09-19-2
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html
FEDORA FEDORA-2012-6869
http://marc.info/?l=bugtraq&m=134012830914727&w=2
HP SSRT100856
https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/
https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664 CONFIRM

- Metasploit Modules Related To CVE-2012-1172

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.