RCE in PHP
CVE-2007-1581
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.079 (94.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 94.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.079 · newest: 0.079 · change: 0.000
Affected products
- PHP — versions 5.0, 5.0.0, 5.0.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.exploit-db.com/exploits/3529 (exploit)
- secunia.com/advisories/24542 (Vendor Advisory, third-party-advisory)
- php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-re… (Exploit)
- www.php-security.org/MOPB/MOPB-28-2007.html (Exploit, Vendor Advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/33248 (vdb-entry)
- www.securityfocus.com/bid/23062 (Exploit, vdb-entry)
Frequently asked questions
- What is CVE-2007-1581?
- CVE-2007-1581 is a vulnerability in PHP, classified under Code Injection. Published 2007-03-21.
- Is CVE-2007-1581 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.