PHP 5.5.31 tar/zip/phar memory corruption

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.
9.1$0-$5k0.00

Summaryinfo

A vulnerability was found in PHP 5.5.31. It has been rated as critical. Affected is the function tar/zip/phar. Performing a manipulation results in memory corruption. This vulnerability is identified as CVE-2016-4342. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as very critical, was found in PHP 5.5.31 (Programming Language Software). This affects the function tar/zip/phar. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was released 04/28/2016 as confirmed mailinglist post (oss-sec). The advisory is shared at seclists.org. This vulnerability is uniquely identified as CVE-2016-4342 since 04/28/2016. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/27/2022).

The vulnerability scanner Nessus provides a plugin with the ID 91320 (Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : php5, php7.0 vulnerabilities (USN-2984-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11626 (PHP Versions Prior to 5.6.18/5.5.32 Multiple Vulnerabilities).

Upgrading to version 5.6.17 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (112802), Tenable (91320) and SecurityFocus (BID 89154†). Entries connected to this vulnerability are available at VDB-67396, VDB-67398, VDB-67420 and VDB-67724. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 9.1

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 91320
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : php5, php7.0 vulnerabilities (USN-2984-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 63997
OpenVAS Name: Ubuntu Update for php7.0 USN-2984-1
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.6.17

Timelineinfo

04/28/2016 🔍
04/28/2016 +0 days 🔍
04/28/2016 +0 days 🔍
05/03/2016 +5 days 🔍
05/21/2016 +18 days 🔍
05/24/2016 +3 days 🔍
05/25/2016 +1 days 🔍
07/27/2022 +2254 days 🔍

Sourcesinfo

Product: php.org

Advisory: USN-2984-1
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-4342 (🔍)
GCVE (CVE): GCVE-0-2016-4342
GCVE (VulDB): GCVE-100-83181
X-Force: 112802 - PHP tar/zip/phar code execution
SecurityFocus: 89154 - PHP 'ext/phar/phar_object.c' Heap Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 05/03/2016 12:50
Updated: 07/27/2022 22:51
Changes: 05/03/2016 12:50 (70), 11/08/2018 10:58 (12), 07/27/2022 22:28 (4), 07/27/2022 22:38 (1), 07/27/2022 22:51 (1)
Complete: 🔍
Cache ID: 216:5DF:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!