GD Graphics Library up to 2.2.3 gd_io.c integer overflow

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

Summaryinfo

A vulnerability, which was classified as critical, has been found in GD Graphics Library up to 2.2.3. The impacted element is an unknown function of the file gd_io.c. Performing a manipulation results in integer overflow. This vulnerability is reported as CVE-2016-10168. The attack is possible to be carried out remotely. No exploit exists. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical has been found in GD Graphics Library up to 2.2.3 (Image Processing Software). This affects an unknown functionality of the file gd_io.c. The manipulation with an unknown input leads to a integer overflow vulnerability. CWE is classifying the issue as CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.

The bug was discovered 01/28/2017. The weakness was disclosed 03/15/2017 by Salvatore Bonaccorso (oss-sec). It is possible to read the advisory at openwall.com. This vulnerability is uniquely identified as CVE-2016-10168 since 01/28/2017. 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 vulnerability was handled as a non-public zero-day exploit for at least 25 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 97369 (openSUSE Security Update : gd (openSUSE-2017-289)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169714 (SUSE Enterprise Linux Security Update for gd (SUSE-SU-2017:0468-1)).

Upgrading to version 2.2.4 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 (97369) and SecurityFocus (BID 95869†). The entries VDB-96031, VDB-98125, VDB-98126 and VDB-98136 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

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.4

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

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 97369
Nessus Name: openSUSE Security Update : gd (openSUSE-2017-289)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703777
OpenVAS Name: Debian Security Advisory DSA 3777-1 (libgd2 - security update)
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.4

Timelineinfo

01/28/2017 🔍
01/28/2017 +0 days 🔍
01/28/2017 +0 days 🔍
02/22/2017 +25 days 🔍
02/24/2017 +2 days 🔍
03/15/2017 +19 days 🔍
03/15/2017 +0 days 🔍
03/16/2017 +1 days 🔍
09/08/2020 +1272 days 🔍

Sourcesinfo

Advisory: openwall.com
Researcher: Salvatore Bonaccorso
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-10168 (🔍)
GCVE (CVE): GCVE-0-2016-10168
GCVE (VulDB): GCVE-100-98127

OVAL: 🔍

SecurityFocus: 95869 - libgd Multiple Security Vulnerabilities
OSVDB: - CVE-2016-10168 - GD Graphics Library - Integer Overflow Issue

See also: 🔍

Entryinfo

Created: 03/16/2017 13:27
Updated: 09/08/2020 12:39
Changes: 03/16/2017 13:27 (79), 09/08/2020 12:39 (3)
Complete: 🔍
Cache ID: 216:67F: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 stay up to date on a daily basis?

Enable the mail alert feature now!