GD Library 2.1.1 gd_gd2.c 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.
8.2$0-$5k0.00

Summaryinfo

A vulnerability was found in GD Library 2.1.1. It has been declared as critical. This vulnerability affects unknown code of the file gd_gd2.c. Such manipulation leads to numeric error. This vulnerability is traded as CVE-2016-3074. The attack may be launched remotely. Furthermore, there is an exploit available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability was found in GD Library 2.1.1 (Software Library). It has been rated as critical. Affected by this issue is some unknown processing of the file gd_gd2.c. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or potentially execute arbitrary code via crafted compressed gd2 data, which triggers a heap-based buffer overflow.

The weakness was shared 04/26/2016 (Website). The advisory is shared for download at libgd.github.io. This vulnerability is handled as CVE-2016-3074. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.

The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 90844 (FreeBSD : php -- multiple vulnerabilities (5764c634-10d2-11e6-94fa-002590263bf5)), 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 11623 (PHP Versions Prior to 5.6.21/5.5.35 Multiple Vulnerabilities).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The vulnerability will be addressed with the following lines of code:

if (cidx[i].offset < 0 || cidx[i].size < 0)
   goto fail2;
Attack attempts may be identified with Snort ID 46376.

The vulnerability is also documented in the databases at Exploit-DB (39736), Tenable (90844), SecurityFocus (BID 87087†) and SecurityTracker (ID 1035659†). The entries VDB-87586, VDB-87587, VDB-87588 and VDB-87589 are related to this item. Once again VulDB remains the best 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: 8.5
VulDB Meta Temp Score: 8.2

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 90844
Nessus Name: FreeBSD : php -- multiple vulnerabilities (5764c634-10d2-11e6-94fa-002590263bf5)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 103085
OpenVAS Name: Fedora Update for gd FEDORA-2016-5
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: github.com

Snort ID: 46376
Snort Message: SERVER-OTHER libgd heap-overflow attempt
Snort Class: 🔍

Timelineinfo

03/10/2016 🔍
04/22/2016 +43 days 🔍
04/26/2016 +4 days 🔍
04/26/2016 +0 days 🔍
04/26/2016 +0 days 🔍
12/01/2024 +3141 days 🔍

Sourcesinfo

Advisory: USN-2987-1
Status: Confirmed

CVE: CVE-2016-3074 (🔍)
GCVE (CVE): GCVE-0-2016-3074
GCVE (VulDB): GCVE-100-82844

OVAL: 🔍

SecurityFocus: 87087
SecurityTracker: 1035659 - GD Library Heap Overflow in Processing Files Lets Remote Users Execute Arbitrary Code

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 04/26/2016 11:23
Updated: 12/01/2024 14:29
Changes: 04/26/2016 11:23 (47), 05/17/2018 23:25 (26), 07/26/2022 19:33 (4), 07/26/2022 19:40 (12), 07/26/2022 19:47 (1), 12/01/2024 14:29 (14)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best 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!