Thomas Boutell GD Graphics Library up to 2.x JIS Font gdImageStringFTEx 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.
6.0$0-$5k0.00

Summaryinfo

A vulnerability has been found in Thomas Boutell GD Graphics Library up to 2.x and classified as problematic. Impacted is the function gdImageStringFTEx of the component JIS Font Handler. This manipulation causes memory corruption. This vulnerability is tracked as CVE-2007-0455. No exploit exists. It is recommended to replace the affected component with an alternative.

Detailsinfo

A vulnerability was found in Thomas Boutell GD Graphics Library up to 2.x (Image Processing Software). It has been declared as critical. Affected by this vulnerability is the function gdImageStringFTEx of the component JIS Font Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in the gdImageStringFTEx function in gdft.c in GD Graphics Library 2.0.33 and earlier allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted string with a JIS encoded font.

The bug was discovered 01/26/2006. The weakness was disclosed 01/29/2007 by Kees Cook as Bug 224607 as not defined bug report (Bugzilla). It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is known as CVE-2007-0455 since 01/23/2007. The attack needs to be done within the local network. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 368 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 67471 (Oracle Linux 3 / 4 : php (ELSA-2007-0155)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350098 (Amazon Linux Security Advisory for libwmf: ALAS-2015-604).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at boutell.com. The problem might be mitigated by replacing the product with as an alternative. The best possible mitigation is suggested to be establishing an alternative product. A possible mitigation has been published 4 years after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (40953), Tenable (67471), SecurityFocus (BID 22289†), OSVDB (33008†) and Secunia (SA25575†). The entries VDB-3154, VDB-3153, VDB-3288 and VDB-3283 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

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: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 67471
Nessus Name: Oracle Linux 3 / 4 : php (ELSA-2007-0155)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 66296
OpenVAS Name: Debian Security Advisory DSA 1936-1 (libgd2)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Alternative
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: boutell.com

Timelineinfo

01/26/2006 🔍
01/23/2007 +362 days 🔍
01/26/2007 +3 days 🔍
01/29/2007 +3 days 🔍
01/29/2007 +0 days 🔍
01/29/2007 +0 days 🔍
01/30/2007 +0 days 🔍
01/30/2007 +0 days 🔍
02/18/2007 +19 days 🔍
06/12/2007 +114 days 🔍
11/17/2009 +889 days 🔍
07/12/2013 +1333 days 🔍
07/14/2019 +2193 days 🔍

Sourcesinfo

Advisory: Bug 224607
Researcher: Kees Cook
Status: Not defined
Confirmation: 🔍

CVE: CVE-2007-0455 (🔍)
GCVE (CVE): GCVE-0-2007-0455
GCVE (VulDB): GCVE-100-2887

OVAL: 🔍

X-Force: 40953
SecurityFocus: 22289 - GD Graphics Library JIS-Encoded Font Buffer Overflow Vulnerability
Secunia: 25575 - Ubuntu update for libgd2, Less Critical
OSVDB: 33008 - GD Graphics Library gdImageStringFTEx() Function Crafted JIS Encoded Font Overflow
Vulnerability Center: 14308 - GD Graphics Library gdImageStringFTEx Function Remote DoS and Code Execution via a Crafted String, Medium
Vupen: ADV-2007-0400

See also: 🔍

Entryinfo

Created: 01/30/2007 10:37
Updated: 07/14/2019 17:00
Changes: 01/30/2007 10:37 (99), 07/14/2019 17:00 (2)
Complete: 🔍
Cache ID: 216:25E:103

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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!