2007-1581 | PHP Stream hash_update_file code injection (BID-23062 / XFDB-33248)


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.4 $0-$5k 0.29

A vulnerability was found in PHP (Programming Language Software) and classified as very critical. Affected by this issue is the function hash_update_file of the component Stream Handler. The manipulation with an unknown input leads to a privilege escalation vulnerability. Using CWE to declare the problem leads to CWE-94. Impacted is confidentiality, integrity, and availability. CVE summarizes:

The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources. NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected.

The weakness was disclosed 03/21/2007 by Stefan Esser (Website). The advisory is available at milw0rm.com. This vulnerability is handled as CVE-2007-1581 since 03/21/2007. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 07/13/2021).

It is declared as proof-of-concept. The exploit is available at securityfocus.com. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 48244 (PHP 5.2 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 databases at SecurityFocus (BID 23062), X-Force (33248), Secunia (SA24542), Vulnerability Center (SBV-36836) and Tenable (48244). The entries 35763, 35646 and 36024 are pretty similar.

Type

Name

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

VulDB Base Score: 10.0
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

AV AC Au C I A
🔍 🔍 🔍 🔍 🔍 🔍
🔍 🔍 🔍 🔍 🔍 🔍
🔍 🔍 🔍 🔍 🔍 🔍
Vector Complexity Authentication Confidentiality Integrity Availability
unlock unlock unlock unlock unlock unlock
unlock unlock unlock unlock unlock unlock
unlock unlock unlock unlock unlock unlock


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

NVD Base Score: 🔍

Class: Privilege escalation
CWE: CWE-94
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


0-Day unlock unlock unlock unlock
Today unlock unlock unlock unlock


Nessus ID: 48244
Nessus Name: PHP 5.2 Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 110171
OpenVAS Name: PHP version smaller than 5.2.14
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfoedit

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
PaloAlto IPS: 🔍

03/20/2007 🔍
03/20/2007 +0 days 🔍
03/21/2007 +1 days 🔍
03/21/2007 +0 days 🔍
03/21/2007 +0 days 🔍
08/04/2010 +1232 days 🔍
10/25/2012 +813 days 🔍
03/13/2015 +869 days 🔍
01/12/2016 +305 days 🔍
07/13/2021 +2009 days 🔍Product: https://www.php.org/

Advisory: milw0rm.com
Researcher: Stefan Esser
Status: Not defined

CVE: CVE-2007-1581 (🔍)
SecurityFocus: 23062 – PHP Hash_Update_File Freed Resource Access Code Execution Vulnerability
Secunia: 24542
X-Force: 33248
Vulnerability Center: 36836 – PHP 5.0.0 – 5.2.1 Allows Remote Code Execution By Interrupting the x27hash_update_filex27 Function, High

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

Created: 03/13/2015 12:16
Updated: 07/13/2021 22:20
Changes: (1) source_nessus_risk
Complete: 🔍

Comments

Download the whitepaper to learn more about our service!



Source link