PHP up to 5.2.8 imageRotate third information disclosure

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.
4.8$0-$5k0.00

Summaryinfo

A vulnerability has been found in PHP and classified as problematic. Affected is the function imageRotate. The manipulation of the argument third leads to information disclosure. This vulnerability is documented as CVE-2008-5498. Additionally, an exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PHP (Programming Language Software) and classified as problematic. This issue affects the function imageRotate. The manipulation of the argument third with an unknown input leads to a information disclosure vulnerability. Using CWE to declare the problem leads to CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Impacted is confidentiality. The summary by CVE is:

Array index error in the imageRotate function in PHP 5.2.8 and earlier allows context-dependent attackers to read the contents of arbitrary memory locations via a crafted value of the third argument (aka the bgd_color or clrBack argument) for an indexed image.

The bug was discovered 02/26/2009. The weakness was released 12/24/2008 by Hamid Ebadi (Website). It is possible to read the advisory at redhat.com. The identification of this vulnerability is CVE-2008-5498 since 12/12/2008. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1592 according to MITRE ATT&CK.

A public exploit has been developed by Hamid Ebadi and been published 2 weeks after the advisory. The exploit is available 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 40187 (openSUSE Security Update : apache2-mod_php5 (apache2-mod_php5-593)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185076 (HP-UX Running Apache Web Server Suite Multiple Vulnerabilities (HPSBUX02431)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (49756), Exploit-DB (7646), Tenable (40187), SecurityFocus (BID 33002†) and OSVDB (51031†). Entries connected to this vulnerability are available at VDB-38768, VDB-40503, VDB-42878 and VDB-42851. Be aware that VulDB is the high quality 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: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Information disclosure
CWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Hamid Ebadi
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 40187
Nessus Name: openSUSE Security Update : apache2-mod_php5 (apache2-mod_php5-593)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 63809
OpenVAS Name: Slackware Advisory SSA:2009-098-02 php
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

12/12/2008 🔍
12/24/2008 +12 days 🔍
12/24/2008 +0 days 🔍
12/24/2008 +0 days 🔍
12/26/2008 +2 days 🔍
12/26/2008 +0 days 🔍
12/30/2008 +4 days 🔍
01/02/2009 +2 days 🔍
01/02/2009 +0 days 🔍
02/08/2009 +37 days 🔍
02/26/2009 +18 days 🔍
03/12/2009 +14 days 🔍
04/08/2009 +27 days 🔍
07/21/2009 +104 days 🔍
03/17/2015 +2065 days 🔍
01/25/2025 +3602 days 🔍

Sourcesinfo

Product: php.org

Advisory: redhat.com
Researcher: Hamid Ebadi
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-5498 (🔍)
GCVE (CVE): GCVE-0-2008-5498
GCVE (VulDB): GCVE-100-45671

OVAL: 🔍

X-Force: 49756
SecurityFocus: 33002 - PHP 'imageRotate()' Uninitialized Memory Information Disclosure Vulnerability
Secunia: 34642
OSVDB: 51031 - PHP imageRotate Function Indexed Image Crafted Argument Arbitrary Memory Access
SecurityTracker: 1021494
Vulnerability Center: 20743 - PHP 5.2.8 and Earlier ImageRotate Function Vulnerability Allows Remote Memory Read, Medium

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

Entryinfo

Created: 03/17/2015 16:11
Updated: 01/25/2025 05:01
Changes: 03/17/2015 16:11 (95), 08/26/2019 16:24 (3), 01/25/2025 05:01 (16)
Complete: 🔍
Cache ID: 216:A13:103

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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!