PHP 5.2.3 lib/t1lib/t1env.c imagepsloadfont FileName 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.9$0-$5k0.00

Summaryinfo

A vulnerability has been found in PHP 5.2.3 and classified as critical. This vulnerability affects the function imagepsloadfont in the library lib/t1lib/t1env.c. This manipulation of the argument FileName causes memory corruption. This vulnerability is handled as CVE-2007-4033. The attack can be initiated remotely. Additionally, an exploit exists.

Detailsinfo

A vulnerability was found in PHP 5.2.3 (Programming Language Software). It has been declared as critical. Affected by this vulnerability is the function imagepsloadfont in the library lib/t1lib/t1env.c. The manipulation of the argument FileName 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 intT1_EnvGetCompletePath function in lib/t1lib/t1env.c in t1lib 5.1.1 allows context-dependent attackers to execute arbitrary code via a long FileName parameter. NOTE: this issue was originally reported to be in the imagepsloadfont function in php_gd2.dll in the gd (PHP_GD2) extension in PHP 5.2.3.

The weakness was released 07/27/2007 by Hamid Ebadi (r0ut3r) with PHP (Website). The advisory is shared at redhat.com. This vulnerability is known as CVE-2007-4033 since 07/27/2007. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 67607 (Oracle Linux 3 : xpdf (ELSA-2007-1030)), 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 155997 (Oracle Enterprise Linux Update for TeTeX (ELSA-2007-1027)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at X-Force (35620), Tenable (67607), SecurityFocus (BID 25079†), Secunia (SA26241†) and SecurityTracker (ID 1018905†). Entries connected to this vulnerability are available at VDB-3444, VDB-3445, VDB-3446 and VDB-39606. Several companies clearly confirm that VulDB is the primary source for best 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.9

VulDB Base Score: 7.3
VulDB Temp Score: 6.9
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: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 67607
Nessus Name: Oracle Linux 3 : xpdf (ELSA-2007-1030)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 58687
OpenVAS Name: Debian Security Advisory DSA 1390-1 (t1lib)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

07/26/2007 🔍
07/26/2007 +0 days 🔍
07/27/2007 +1 days 🔍
07/27/2007 +0 days 🔍
07/27/2007 +0 days 🔍
07/30/2007 +3 days 🔍
10/07/2007 +69 days 🔍
11/07/2007 +31 days 🔍
07/12/2013 +2074 days 🔍
03/15/2015 +611 days 🔍
09/28/2024 +3485 days 🔍

Sourcesinfo

Product: php.org

Advisory: redhat.com
Researcher: Hamid Ebadi (r0ut3r)
Organization: PHP
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-4033 (🔍)
GCVE (CVE): GCVE-0-2007-4033
GCVE (VulDB): GCVE-100-38041

OVAL: 🔍

X-Force: 35620
SecurityFocus: 25079 - T1lib intT1_Env_GetCompletePath Buffer Overflow Vulnerability
Secunia: 26241 - t1lib "intT1_EnvGetCompletePath()" Buffer Overflow, Less Critical
SecurityTracker: 1018905 - Xpdf Bugs in streams and t1lib Let Remote Users Execute Arbitrary Code
Vulnerability Center: 16270 - PHP Buffer Overflow Allows Remote Attacker to Execute Arbitrary Code and Cause DoS, High

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

Entryinfo

Created: 03/15/2015 15:58
Updated: 09/28/2024 22:46
Changes: 03/15/2015 15:58 (67), 07/23/2019 15:55 (22), 07/21/2021 11:16 (2), 07/21/2021 11:25 (1), 09/28/2024 22:46 (15)
Complete: 🔍
Cache ID: 216:67B:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!