CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.6 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, has been found in PHP (Programming Language Software). Affected by this issue is the function phar_parse_tarfile
of the file tar.c. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was published 07/07/2012 by Alexander Gavrun as Bug 823594 as not defined bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability is handled as CVE-2012-2386 since 04/19/2012. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 74645 (openSUSE Security Update : php5 (openSUSE-SU-2012:0695-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350652 (Amazon Linux Security Advisory for php: ALAS-2012-095).
Upgrading to version 5.1.0 eliminates this vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 23708.
The vulnerability is also documented in the vulnerability database at Tenable (74645). Similar entries are available at 5477, 5481 and 59945.
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Numeric errorCWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 74645
Nessus Name: openSUSE Security Update : php5 (openSUSE-SU-2012:0695-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 71470
OpenVAS Name: Debian Security Advisory DSA 2492-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 5.1.0
Patch: 158d8a6b088662ce9d31e0c777c6ebe90efdc854
TippingPoint: 🔍
PaloAlto IPS: 🔍
Timeline
04/22/2011 🔍04/22/2011 🔍
04/19/2012 🔍
07/07/2012 🔍
07/07/2012 🔍
07/08/2012 🔍
06/13/2014 🔍
03/23/2015 🔍
12/05/2021 🔍
Sources
Product: php.orgAdvisory: Bug 823594
Researcher: Alexander Gavrun
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-2386 (🔍)
OVAL: 🔍
Vulnerability Center: 35480 - PHP Phar Extension Remote Integer Overflow Vulnerability via a Crafted Tar File, High
SecurityFocus: 47545 - PHP 'phar/tar.c' Heap Buffer Overflow Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/23/2015 16:50Updated: 12/05/2021 21:04
Changes: 03/23/2015 16:50 (65), 04/14/2017 13:53 (16), 12/05/2021 20:56 (4), 12/05/2021 21:04 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.