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-2006-4812

Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).
Publish Date : 2006-10-10 Last Update Date : 2008-09-05
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
10.0
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 Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Execute CodeOverflow
CWE ID 94

- Vendor Statements

Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 3, and 4.
Source: Redhat

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat important 2006-09-30 2006-09-30
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
CVE-2006-4812 oval:org.opensuse.security:def:20064812 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-2006-4812

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.0 Version Details Vulnerabilities
2 Application PHP PHP 4.0.1 Version Details Vulnerabilities
3 Application PHP PHP 4.0.1 Patch1 Version Details Vulnerabilities
4 Application PHP PHP 4.0.1 Patch2 Version Details Vulnerabilities
5 Application PHP PHP 4.0.2 Version Details Vulnerabilities
6 Application PHP PHP 4.0.3 Version Details Vulnerabilities
7 Application PHP PHP 4.0.3 Patch1 Version Details Vulnerabilities
8 Application PHP PHP 4.0.4 Version Details Vulnerabilities
9 Application PHP PHP 4.0.5 Version Details Vulnerabilities
10 Application PHP PHP 4.0.6 Version Details Vulnerabilities
11 Application PHP PHP 4.0.7 Version Details Vulnerabilities
12 Application PHP PHP 4.0.7 RC1 Version Details Vulnerabilities
13 Application PHP PHP 4.0.7 RC2 Version Details Vulnerabilities
14 Application PHP PHP 4.0.7 RC3 Version Details Vulnerabilities
15 Application PHP PHP 4.1.0 Version Details Vulnerabilities
16 Application PHP PHP 4.1.1 Version Details Vulnerabilities
17 Application PHP PHP 4.1.2 Version Details Vulnerabilities
18 Application PHP PHP 4.2 DEV Version Details Vulnerabilities
19 Application PHP PHP 4.2.0 Version Details Vulnerabilities
20 Application PHP PHP 4.2.1 Version Details Vulnerabilities
21 Application PHP PHP 4.2.2 Version Details Vulnerabilities
22 Application PHP PHP 4.2.3 Version Details Vulnerabilities
23 Application PHP PHP 5.0 RC1 Version Details Vulnerabilities
24 Application PHP PHP 5.0 RC2 Version Details Vulnerabilities
25 Application PHP PHP 5.0 RC3 Version Details Vulnerabilities
26 Application PHP PHP 5.0.0 Version Details Vulnerabilities
27 Application PHP PHP 5.0.1 Version Details Vulnerabilities
28 Application PHP PHP 5.0.2 Version Details Vulnerabilities
29 Application PHP PHP 5.0.3 Version Details Vulnerabilities
30 Application PHP PHP 5.0.4 Version Details Vulnerabilities
31 Application PHP PHP 5.0.5 Version Details Vulnerabilities
32 Application PHP PHP 5.1 Version Details Vulnerabilities
33 Application PHP PHP 5.1.1 Version Details Vulnerabilities
34 Application PHP PHP 5.1.2 Version Details Vulnerabilities
35 Application PHP PHP 5.1.3 Version Details Vulnerabilities
36 Application PHP PHP 5.1.4 Version Details Vulnerabilities
37 Application PHP PHP 5.1.5 Version Details Vulnerabilities
38 Application PHP PHP 5.1.6 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 38

- References For CVE-2006-4812

http://secunia.com/advisories/22300
SECUNIA 22300
http://secunia.com/advisories/22331
SECUNIA 22331
http://secunia.com/advisories/22338
SECUNIA 22338
http://secunia.com/advisories/22533
SECUNIA 22533
http://secunia.com/advisories/22538
SECUNIA 22538
http://secunia.com/advisories/22650
SECUNIA 22650
http://securityreason.com/securityalert/1691
SREASON 1691
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm CONFIRM
http://www.gentoo.org/security/en/glsa/glsa-200610-14.xml
GENTOO GLSA-200610-14
http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm CONFIRM
http://www.hardened-php.net/advisory_092006.133.html
http://www.securityfocus.com/archive/1/archive/1/448014/100/0/threaded
BUGTRAQ 20061009 Advisory 09/2006: PHP unserialize() Array Creation Integer Overflow
http://www.securityfocus.com/archive/1/archive/1/448953/100/0/threaded
OPENPKG OpenPKG-SA-2006.023
http://www.securityfocus.com/bid/20349
BID 20349 PHP ZendEngine ECalloc Integer Overflow Vulnerability Release Date:2007-01-25
http://www.trustix.org/errata/2006/0055
TRUSTIX 2006-0055
http://www.ubuntu.com/usn/usn-362-1
UBUNTU USN-362-1
http://xforce.iss.net/xforce/xfdb/29362
XF php-ecalloc-integer-overflow(29362)
http://rhn.redhat.com/errata/RHSA-2006-0708.html
REDHAT RHSA-2006:0708
http://secunia.com/advisories/22280
SECUNIA 22280
http://securitytracker.com/id?1016984
SECTRACK 1016984
http://www.frsirt.com/english/advisories/2006/3922
VUPEN ADV-2006-3922
http://www.hardened-php.net/files/CVE-2006-4812.patch CONFIRM
http://secunia.com/advisories/22281
SECUNIA 22281
http://rhn.redhat.com/errata/RHSA-2006-0688.html
REDHAT RHSA-2006:0688
http://lists.suse.com/archive/suse-security-announce/2006-Oct/0002.html
SUSE SUSE-SA:2006:059
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162 CONFIRM

- Metasploit Modules Related To CVE-2006-4812

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.