GD Graphics Library up to 2.2.2 gd_crop.c gdImageCropThreshold input validation

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

Summaryinfo

A vulnerability was found in GD Graphics Library up to 2.2.2. It has been declared as problematic. This affects the function gdImageCropThreshold of the file gd_crop.c. The manipulation results in input validation. This vulnerability is reported as CVE-2016-6128. The attack can be launched remotely. No exploit exists. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in GD Graphics Library up to 2.2.2 (Image Processing Software). Affected is the function gdImageCropThreshold of the file gd_crop.c. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on availability. CVE summarizes:

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid color index.

The weakness was disclosed 08/07/2016 by Salvatore Bonaccorso (Website). The advisory is available at lists.opensuse.org. This vulnerability is traded as CVE-2016-6128 since 06/29/2016. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 92011 (Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : libgd2 vulnerabilities (USN-3030-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 196528 (Ubuntu Security Notification for Libgd2 Vulnerabilities (USN-3030-1)).

Upgrading to version 2.2.3 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (92011) and SecurityFocus (BID 91509†). The entries VDB-90616, VDB-90632, VDB-90728 and VDB-90729 are pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • PHP 7.0.8

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
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: 92011
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : libgd2 vulnerabilities (USN-3030-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 66033
OpenVAS Name: Fedora Update for gd FEDORA-2016-615f3bf06e
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: GD Graphics Library 2.2.3
Patch: github.com

Timelineinfo

06/29/2016 🔍
06/29/2016 +0 days 🔍
07/11/2016 +12 days 🔍
07/12/2016 +1 days 🔍
08/07/2016 +26 days 🔍
08/07/2016 +0 days 🔍
08/08/2016 +1 days 🔍
09/13/2022 +2227 days 🔍

Sourcesinfo

Advisory: RHSA-2016:2750
Researcher: Salvatore Bonaccorso
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-6128 (🔍)
GCVE (CVE): GCVE-0-2016-6128
GCVE (VulDB): GCVE-100-90642

OVAL: 🔍

SecurityFocus: 91509 - libgd CVE-2016-6128 Denial of Service Vulnerability
SecurityTracker: 1036276

See also: 🔍

Entryinfo

Created: 08/08/2016 15:24
Updated: 09/13/2022 09:45
Changes: 08/08/2016 15:24 (67), 03/22/2019 09:00 (14), 09/13/2022 09:45 (6)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!