CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : 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.
Publish Date : 2007-03-21 Last Update Date : 2012-11-05
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
9.3
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Execute Code
CWE ID 94

- Vendor Statements

The PHP interpreter does not offer a reliable "sandboxed" security layer (as found in, say, a JVM) in which untrusted scripts can be run; any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself. We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.
Source: Redhat

- Products Affected By CVE-2007-1581

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 5.0 RC1 Version Details Vulnerabilities
2 Application PHP PHP 5.0 RC2 Version Details Vulnerabilities
3 Application PHP PHP 5.0 RC3 Version Details Vulnerabilities
4 Application PHP PHP 5.0.0 Version Details Vulnerabilities
5 Application PHP PHP 5.0.1 Version Details Vulnerabilities
6 Application PHP PHP 5.0.2 Version Details Vulnerabilities
7 Application PHP PHP 5.0.3 Version Details Vulnerabilities
8 Application PHP PHP 5.0.4 Version Details Vulnerabilities
9 Application PHP PHP 5.0.5 Version Details Vulnerabilities
10 Application PHP PHP 5.1 Version Details Vulnerabilities
11 Application PHP PHP 5.1.0 Version Details Vulnerabilities
12 Application PHP PHP 5.1.1 Version Details Vulnerabilities
13 Application PHP PHP 5.1.2 Version Details Vulnerabilities
14 Application PHP PHP 5.1.3 Version Details Vulnerabilities
15 Application PHP PHP 5.1.4 Version Details Vulnerabilities
16 Application PHP PHP 5.1.5 Version Details Vulnerabilities
17 Application PHP PHP 5.1.6 Version Details Vulnerabilities
18 Application PHP PHP 5.2.0 Version Details Vulnerabilities
19 Application PHP PHP 5.2.1 Version Details Vulnerabilities
20 Application PHP PHP 5.2.2 Version Details Vulnerabilities
21 Application PHP PHP 5.2.3 Version Details Vulnerabilities
22 Application PHP PHP 5.2.4 Version Details Vulnerabilities
23 Application PHP PHP 5.2.5 Version Details Vulnerabilities
24 Application PHP PHP 5.2.6 Version Details Vulnerabilities
25 Application PHP PHP 5.2.7 Version Details Vulnerabilities
26 Application PHP PHP 5.2.8 Version Details Vulnerabilities
27 Application PHP PHP 5.2.9 Version Details Vulnerabilities
28 Application PHP PHP 5.2.10 Version Details Vulnerabilities
29 Application PHP PHP 5.2.11 Version Details Vulnerabilities
30 Application PHP PHP 5.2.12 Version Details Vulnerabilities
31 Application PHP PHP 5.2.13 Version Details Vulnerabilities
32 Application PHP PHP 5.3.0 Version Details Vulnerabilities
33 Application PHP PHP 5.3.1 Version Details Vulnerabilities
34 Application PHP PHP 5.3.2 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 34

- References For CVE-2007-1581

http://secunia.com/advisories/24542
SECUNIA 24542
http://xforce.iss.net/xforce/xfdb/33248
XF php-hashupdatefile-code-execution(33248)
http://www.securityfocus.com/bid/23062
BID 23062 PHP Hash_Update_File Freed Resource Access Code Execution Vulnerability Release Date:2007-03-21
http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html
http://www.php-security.org/MOPB/MOPB-28-2007.html

- Metasploit Modules Related To CVE-2007-1581

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.