VDB-36955 · CVE-2007-0448 · BID 22261

PHP 5.2.0 URI fopen 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.
10.0$5k-$25k0.00

A vulnerability classified as very critical was found in PHP 5.2.0 (Programming Language Software). Affected by this vulnerability is the function fopen of the component URI 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:

The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.

The weakness was published 05/24/2007 by Maksymilian Arciemowicz (Website). It is possible to read the advisory at securityreason.com. This vulnerability is known as CVE-2007-0448 since 01/23/2007. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/20/2021).

The vulnerability scanner Nessus provides a plugin with the ID 31649 (PHP 5.x < 5.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses.

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 vulnerability database at Tenable (31649). Similar entries are available at 29554, 29013, 35765 and 35533.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 10.0

VulDB Base Score: 10.0
VulDB Temp Score: 10.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
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 31649
Nessus Name: PHP 5.x < 5.2 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 110173
OpenVAS Name: PHP version smaller than 5.2.0
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

01/23/2007 🔍
01/26/2007 +3 days 🔍
01/26/2007 +0 days 🔍
05/24/2007 +118 days 🔍
05/24/2007 +0 days 🔍
10/25/2012 +1981 days 🔍
03/13/2015 +869 days 🔍
07/20/2021 +2321 days 🔍

Sourcesinfo

Product: php.org

Advisory: securityreason.com
Researcher: Maksymilian Arciemowicz
Status: Not defined

CVE: CVE-2007-0448 (🔍)
Vulnerability Center: 36829 - PHP 5.2.0 \x27fopen\x27 Function Improper Handling of Invalid URI Handers Allows Remote File Access, Medium
SecurityFocus: 22261 - PHP FOpen Safe_Mode Restriction-Bypass Vulnerability

See also: 🔍

Entryinfo

Created: 03/13/2015 14:56
Updated: 07/20/2021 08:10
Changes: 03/13/2015 14:56 (62), 04/20/2017 13:39 (5), 07/20/2021 08:10 (2)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!