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

Vulnerability Details : CVE-2007-1286

Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the unserialize function, which triggers the overflow in the ZVAL reference counter.
Publish Date : 2007-03-06 Last Update Date : 2017-10-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
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 User
Vulnerability Type(s) Execute CodeOverflow
CWE ID CWE id is not defined for this vulnerability

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat important 2007-03-02 2007-03-02
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
DSA-1282-1 php4 oval:org.mitre.oval:def:18873 unix
DSA-1283-1 php5 oval:org.mitre.oval:def:19944 unix
Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long... oval:org.mitre.oval:def:11575 unix
RHSA-2007:0155: php security update (Important) oval:com.redhat.rhsa:def:20070155 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-1286

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.4.4 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 1

- References For CVE-2007-1286

https://exchange.xforce.ibmcloud.com/vulnerabilities/32796
XF php-zval-code-execution(32796)
https://issues.rpath.com/browse/RPL-1268 CONFIRM
http://www.vupen.com/english/advisories/2007/2374
VUPEN ADV-2007-2374
http://www.trustix.org/errata/2007/0009/
TRUSTIX 2007-0009
http://www.vupen.com/english/advisories/2007/1991
VUPEN ADV-2007-1991
http://www.securityfocus.com/bid/22765
BID 22765 PHP ZVAL Reference Counter Integer Overflow Vulnerability Release Date:2007-06-29
http://www.debian.org/security/2007/dsa-1282
DEBIAN DSA-1282
http://www.debian.org/security/2007/dsa-1283
DEBIAN DSA-1283
http://www.mandriva.com/security/advisories?name=MDKSA-2007:087
MANDRIVA MDKSA-2007:087
http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
MANDRIVA MDKSA-2007:088
http://www.php-security.org/MOPB/MOPB-04-2007.html
http://www.securityfocus.com/archive/1/archive/1/466166/100/0/threaded
BUGTRAQ 20070418 rPSA-2007-0073-1 php php-mysql php-pgsql
http://security.gentoo.org/glsa/glsa-200705-19.xml
GENTOO GLSA-200705-19
http://security.gentoo.org/glsa/glsa-200703-21.xml
GENTOO GLSA-200703-21
http://rhn.redhat.com/errata/RHSA-2007-0155.html
REDHAT RHSA-2007:0155
http://rhn.redhat.com/errata/RHSA-2007-0163.html
REDHAT RHSA-2007:0163
http://rhn.redhat.com/errata/RHSA-2007-0154.html
REDHAT RHSA-2007:0154
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
HP HPSBMA02215
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
HP HPSBTU02232

- Metasploit Modules Related To CVE-2007-1286

PHP 4 unserialize() ZVAL Reference Counter Overflow (Cookie)
This module exploits an integer overflow vulnerability in the unserialize() function of the PHP web server extension. This vulnerability was patched by Stefan in version 4.5.0 and applies all previous versions supporting this function. This particular module targets numerous web applications and is based on the proof of concept provided by Stefan Esser. This vulnerability requires approximately 900k of data to trigger due the multiple Cookie headers requirement. Since we are already assuming a fast network connection, we use a 2Mb block of shellcode for the brute force, allowing quick exploitation for those with fast networks. One of the neat things about this vulnerability is that on x86 systems, the EDI register points into the beginning of the hashtable string. This can be used with an egghunter to quickly exploit systems where the location of a valid "jmp EDI" or "call EDI" instruction is known. The EDI method is faster, but the bandwidth-intensive brute force used by this module is more reliable across a wider range of systems.
Module type : exploit Rank : average Platforms : Linux


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.