| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP. It has been declared as critical. Affected by this issue is the function hash_update_file of the component Stream Handler. Such manipulation leads to code injection.
This vulnerability is uniquely identified as CVE-2007-1581. Moreover, an exploit is present.
Details
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 code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. 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 01/02/2025). This vulnerability is assigned to T1059 by the MITRE ATT&CK project.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. 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 < 5.2.14 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 databases at X-Force (33248), Tenable (48244), SecurityFocus (BID 23062†), Secunia (SA24542†) and Vulnerability Center (SBV-36836†). The entries VDB-35763, VDB-35646 and VDB-36024 are pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
- 5.3.0
- 5.3.1
- 5.3.2
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.1
VulDB Base Score: 10.0
VulDB Temp Score: 9.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| 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: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 48244
Nessus Name: PHP 5.2 < 5.2.14 Multiple Vulnerabilities
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
PaloAlto IPS: 🔍
Timeline
03/20/2007 🔍03/20/2007 🔍
03/21/2007 🔍
03/21/2007 🔍
03/21/2007 🔍
08/04/2010 🔍
10/25/2012 🔍
03/13/2015 🔍
01/02/2025 🔍
Sources
Product: php.orgAdvisory: milw0rm.com⛔
Researcher: Stefan Esser
Status: Not defined
CVE: CVE-2007-1581 (🔍)
GCVE (CVE): GCVE-0-2007-1581
GCVE (VulDB): GCVE-100-35762
X-Force: 33248
SecurityFocus: 23062 - PHP Hash_Update_File Freed Resource Access Code Execution Vulnerability
Secunia: 24542
Vulnerability Center: 36836 - PHP 5.0.0 - 5.2.1 Allows Remote Code Execution By Interrupting the \x27hash_update_file\x27 Function, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/13/2015 12:16Updated: 01/02/2025 05:38
Changes: 03/13/2015 12:16 (65), 04/20/2017 13:41 (9), 07/13/2021 22:10 (3), 07/13/2021 22:20 (1), 01/02/2025 05:38 (18)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.