PHP up to 5.4.40/5.5.24/5.6.8 Phar Archive phar_parse_tarfile numeric error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

A vulnerability was found in PHP up to 5.4.40/5.5.24/5.6.8 (Programming Language Software). It has been declared as critical. This vulnerability affects the function phar_parse_tarfile of the component Phar Archive Handler. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was shared 05/14/2015 as confirmed changelog entry (Website). The advisory is available at php.net. This vulnerability was named CVE-2015-4021 since 05/18/2015. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 83792 (FreeBSD : php -- multiple vulnerabilities (31de2e13-00d2-11e5-a072-d050996490d0)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196160 (Ubuntu Security Notification for Php5 Vulnerabilities (USN-2658-1)).

Upgrading to version 5.4.41, 5.5.25 or 5.6.9 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 19783.

The vulnerability is also documented in the vulnerability database at Tenable (83792).

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 83792
Nessus Name: FreeBSD : php -- multiple vulnerabilities (31de2e13-00d2-11e5-a072-d050996490d0)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 703280
OpenVAS Name: Debian Security Advisory DSA 3280-1 (php5 - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.4.41/5.5.25/5.6.9
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

05/12/2015 🔍
05/12/2015 +0 days 🔍
05/14/2015 +2 days 🔍
05/14/2015 +0 days 🔍
05/18/2015 +4 days 🔍
05/26/2015 +8 days 🔍
05/29/2015 +3 days 🔍
06/01/2015 +3 days 🔍
06/09/2015 +8 days 🔍
08/17/2015 +69 days 🔍
05/19/2022 +2467 days 🔍

Sourcesinfo

Product: php.org

Advisory: 69453
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-4021 (🔍)
OVAL: 🔍

SecurityTracker: 1032433 - PHP Integer Overflows Let Remote Users Execute Arbitrary Code
Vulnerability Center: 52132 - PHP 5.4 - 5.4.40, 5.5 - 5.5.24, 5.6 - 5.6.8 Remote Code Execution via a Crafted File - CVE-2015-4021, Medium
SecurityFocus: 74700 - PHP PHAR 'phar_parse_tarfile()' Function Remote Memory Corruption Vulnerability

Entryinfo

Created: 06/01/2015 10:13
Updated: 05/19/2022 17:25
Changes: 06/01/2015 10:13 (70), 10/16/2017 09:08 (14), 05/19/2022 17:10 (4), 05/19/2022 17:18 (1), 05/19/2022 17:25 (1)
Complete: 🔍
Cache ID: 3:216:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!