National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2012-2386 Detail

Description

Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow.

Source:  MITRE
Description Last Modified:  07/07/2012

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
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.

Hyperlink Resource
http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html Exploit
http://git.php.net/?p=php-src.git;a=commit;h=158d8a6b088662ce9d31e0c777c6ebe90efdc854
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
http://openwall.com/lists/oss-security/2012/05/22/10
http://support.apple.com/kb/HT5501
http://www.php.net/ChangeLog-5.php
https://bugs.php.net/bug.php?id=61065
https://bugzilla.redhat.com/show_bug.cgi?id=823594

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
OR
 cpe:/a:php:php:1.0
     Show Matching CPE(s)
 cpe:/a:php:php:2.0
     Show Matching CPE(s)
 cpe:/a:php:php:2.0b10
     Show Matching CPE(s)
 cpe:/a:php:php:3.0
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.6
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.7
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.8
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.9
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.10
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.11
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.12
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.13
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.14
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.15
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.16
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.17
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.18
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta3
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta4
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta_4_patch1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.6
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.7
     Show Matching CPE(s)
 cpe:/a:php:php:4.1.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.1.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.1.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.4
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.5
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.6
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.7
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.8
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.9
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.10
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.11
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.4
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.5
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.6
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.7
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.8
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.9
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta4
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.6
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.6
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.7
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.8
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.9
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.10
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.11
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.12
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.13
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.14
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.15
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.16
     Show Matching CPE(s)

Showing 100 of 119 CPEs, view all CPEs here.

Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2012-2386
NVD Published Date:
07/07/2012
NVD Last Modified:
09/21/2012