PHP up to 5.2.6 imageloadfont 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.6$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in PHP up to 5.2.6. Impacted is the function imageloadfont. Executing a manipulation can lead to memory corruption. This vulnerability appears as CVE-2008-3658. There is no available exploit. Upgrading the affected component is advised.

Detailsinfo

A vulnerability has been found in PHP up to 5.2.6 (Programming Language Software) and classified as critical. This vulnerability affects the function imageloadfont. 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. CVE summarizes:

Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.

The bug was discovered 08/07/2008. The weakness was presented 08/07/2008 with PHP (Website). The advisory is shared for download at us-cert.gov. This vulnerability was named CVE-2008-3658 since 08/12/2008. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 67818 (Oracle Linux 5 : php (ELSA-2009-0338)), 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 165681 (SUSE Enterprise Linux Security Update (SUSE-SR:2008:021)).

Upgrading to version 4.4.3 eliminates this vulnerability. A possible mitigation has been published 9 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (49753), Tenable (67818), SecurityFocus (BID 30649†), OSVDB (47484†) and Secunia (SA31982†). See VDB-23858, VDB-30376, VDB-40710 and VDB-42878 for similar entries. Once again VulDB remains the best source 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: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: 67818
Nessus Name: Oracle Linux 5 : php (ELSA-2009-0338)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 61712
OpenVAS Name: Debian Security Advisory DSA 1647-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: PHP 4.4.3

Timelineinfo

08/07/2008 🔍
08/07/2008 +0 days 🔍
08/07/2008 +0 days 🔍
08/12/2008 +4 days 🔍
08/12/2008 +0 days 🔍
08/14/2008 +1 days 🔍
08/14/2008 +0 days 🔍
09/15/2008 +32 days 🔍
04/06/2009 +203 days 🔍
07/12/2013 +1558 days 🔍
03/17/2015 +613 days 🔍
08/16/2019 +1613 days 🔍

Sourcesinfo

Product: php.org

Advisory: us-cert.gov
Organization: PHP
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-3658 (🔍)
GCVE (CVE): GCVE-0-2008-3658
GCVE (VulDB): GCVE-100-43708

OVAL: 🔍

X-Force: 49753
SecurityFocus: 30649 - PHP Multiple Buffer Overflow Vulnerabilities
Secunia: 31982
OSVDB: 47484 - PHP imageloadfont Malformed Font Handling DoS
Vulnerability Center: 19452 - PHP 4.4-4.4.8, 5.2-5.2.6 imageloadfont Function Allows Code Execution and DoS via Crafted Font File, High
Vupen: ADV-2008-2336

See also: 🔍

Entryinfo

Created: 03/17/2015 12:19
Updated: 08/16/2019 20:19
Changes: 03/17/2015 12:19 (81), 08/16/2019 20:19 (6)
Complete: 🔍
Cache ID: 216:7A4:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!