PHP 5.2.11/5.3.0 gd_gd.c _gdGetColors 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.5$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in PHP 5.2.11/5.3.0. This issue affects the function _gdGetColors of the file gd_gd.c. The manipulation leads to memory corruption. This vulnerability is listed as CVE-2009-3546. There is no available exploit. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as very critical, has been found in PHP 5.2.11/5.3.0 (Programming Language Software). This issue affects the function _gdGetColors of the file gd_gd.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.

The weakness was presented 10/19/2009 by Tomas Hoger (Website). It is possible to read the advisory at vupen.com. The identification of this vulnerability is CVE-2009-3546. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD at the moment (estimation calculated on 08/24/2021).

The vulnerability scanner Nessus provides a plugin with the ID 67980 (Oracle Linux 4 / 5 : gd (ELSA-2010-0003)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350098 (Amazon Linux Security Advisory for libwmf: ALAS-2015-604).

Upgrading to version 5.2.11 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (53802), Tenable (67980), SecurityFocus (BID 36712†) and Vulnerability Center (SBV-23866†). See VDB-2887, VDB-3154, VDB-3153 and VDB-37545 for similar entries. Statistical analysis made it clear that VulDB provides the best quality 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: 10.0
VulDB Meta Temp Score: 9.5

VulDB Base Score: 10.0
VulDB Temp Score: 9.5
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: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 67980
Nessus Name: Oracle Linux 4 / 5 : gd (ELSA-2010-0003)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
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: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 5.2.11
PaloAlto IPS: 🔍

Timelineinfo

10/05/2009 🔍
10/15/2009 +10 days 🔍
10/15/2009 +0 days 🔍
10/19/2009 +4 days 🔍
10/19/2009 +0 days 🔍
10/27/2009 +8 days 🔍
07/12/2013 +1354 days 🔍
03/18/2015 +614 days 🔍
08/24/2021 +2351 days 🔍

Sourcesinfo

Product: php.org

Advisory: vupen.com
Researcher: Tomas Hoger
Status: Not defined
Confirmation: 🔍

CVE: CVE-2009-3546 (🔍)
GCVE (CVE): GCVE-0-2009-3546
GCVE (VulDB): GCVE-100-50483

OVAL: 🔍

X-Force: 53802
SecurityFocus: 36712 - GD Graphics Library '_gdGetColors' Remote Buffer Overflow Vulnerability
Vulnerability Center: 23866 - PHP 5.0 - 5.3.0 and GD Graphics Library 2.0.1 - 2.0.35 Remote Arbitrary Code Execution Vulnerability, Medium

See also: 🔍

Entryinfo

Created: 03/18/2015 15:15
Updated: 08/24/2021 03:55
Changes: 03/18/2015 15:15 (66), 02/16/2017 10:02 (9), 08/24/2021 03:47 (3), 08/24/2021 03:55 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!