PHP up to 5.5.34/5.6.20/7.0.5 ext/exif/exif.c exif_process_IFD_in_JPEG 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.6$0-$5k0.00

Summaryinfo

A vulnerability was found in PHP up to 5.5.34/5.6.20/7.0.5. It has been rated as critical. This impacts the function exif_process_IFD_in_JPEG of the file ext/exif/exif.c. Performing a manipulation results in memory corruption. This vulnerability is identified as CVE-2016-4543. 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 up to 5.5.34/5.6.20/7.0.5 (Programming Language Software). This affects the function exif_process_IFD_in_JPEG of the file ext/exif/exif.c. 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 summary by CVE is:

The exif_process_IFD_in_JPEG function in ext/exif/exif.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 does not validate IFD sizes, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via crafted header data.

The weakness was released 05/22/2016 by Hanno Boeck (Website). It is possible to read the advisory at php.net. This vulnerability is uniquely identified as CVE-2016-4543 since 05/05/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 of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 08/22/2022).

The vulnerability scanner Nessus provides a plugin with the ID 91397 (Debian DLA-499-1 : php5 security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11623 (PHP Versions Prior to 5.6.21/5.5.35 Multiple Vulnerabilities).

Upgrading to version 5.5.35, 5.6.21 or 7.0.6 eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (91397) and SecurityFocus (BID 89844†). Entries connected to this vulnerability are available at VDB-67396, VDB-67398, VDB-67420 and VDB-67724. Be aware that VulDB is the high quality source 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.8
VulDB Meta Temp Score: 9.6

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

NVD Base Score: 9.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: 91397
Nessus Name: Debian DLA-499-1 : php5 security update
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: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.5.35/5.6.21/7.0.6
Patch: 082aecfc3a753ad03be82cf14f03ac065723ec92

Timelineinfo

04/27/2016 🔍
05/05/2016 +8 days 🔍
05/21/2016 +16 days 🔍
05/22/2016 +1 days 🔍
05/23/2016 +1 days 🔍
05/31/2016 +8 days 🔍
06/01/2016 +1 days 🔍
08/22/2022 +2273 days 🔍

Sourcesinfo

Product: php.org

Advisory: 72094
Researcher: Hanno Boeck
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-4543 (🔍)
GCVE (CVE): GCVE-0-2016-4543
GCVE (VulDB): GCVE-100-87591

OVAL: 🔍

SecurityFocus: 89844 - PHP 'ext/exif/exif.c' Multiple Heap Based Buffer Overflow Vulnerabilities

See also: 🔍

Entryinfo

Created: 05/23/2016 10:34
Updated: 08/22/2022 07:53
Changes: 05/23/2016 10:34 (69), 12/10/2018 08:17 (14), 08/22/2022 07:46 (5), 08/22/2022 07:53 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!