CVEvulnerability
CVE-2007-1581
9.3 HIGH
Official page ↗
- Status
- Modified
- Published
- 2007-03-21
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-94
Description
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.
Affected configurations
• php php 5.0
• php php 5.0.0
• php php 5.0.1
• php php 5.0.2
• php php 5.0.3
• php php 5.0.4
• php php 5.0.5
• php php 5.1.0
• php php 5.1.1
• php php 5.1.2
• php php 5.1.3
• php php 5.1.4
• php php 5.1.5
• php php 5.1.6
• php php 5.2.0
• php php 5.2.1
• php php 5.2.2
• php php 5.2.3
• php php 5.2.4
• php php 5.2.5
• php php 5.2.6
• php php 5.2.7
• php php 5.2.8
• php php 5.2.9
• php php 5.2.10
• php php 5.2.11
• php php 5.2.12
• php php 5.2.13
• php php 5.3.0
• php php 5.3.1
• php php 5.3.2
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html Exploit
- http://secunia.com/advisories/24542 Vendor Advisory
- http://www.php-security.org/MOPB/MOPB-28-2007.html Exploit, Vendor Advisory
- http://www.securityfocus.com/bid/23062 Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33248 exchange.xforce.ibmcloud.com
- https://www.exploit-db.com/exploits/3529 www.exploit-db.com
- http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html Exploit
- http://secunia.com/advisories/24542 Vendor Advisory
- http://www.php-security.org/MOPB/MOPB-28-2007.html Exploit, Vendor Advisory
- http://www.securityfocus.com/bid/23062 Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33248 exchange.xforce.ibmcloud.com
- https://www.exploit-db.com/exploits/3529 www.exploit-db.com