{ "id": "CVE-2006-4812", "sourceIdentifier": "secalert@redhat.com", "published": "2006-10-10T04:06:00.000", "lastModified": "2024-11-21T00:16:48.757", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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)." }, { "lang": "es", "value": "Desbordamiento de enteros en PHP 5 hasta la 5.1.6 y 4 anteriorer a 4.3.0 permite a un atacante remoto ejecutar c\u00f3digo de su elecci\u00f3n a trav\u00e9s de un argumento a la funcion PHP unserializable con un valor grande para el n\u00famero de elementos del array, lo cual dispara el desbordamiento en la funci\u00f3n ecalloc en Zend Engine (Zend/zend_alloc.c)." } ], "metrics": { "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C", "baseScore": 10.0, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "availabilityImpact": "COMPLETE" }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 10.0, "acInsufInfo": false, "obtainAllPrivilege": true, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-94" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*", "matchCriteriaId": "EDBEC461-D553-41B7-8D85-20B6A933C21C" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*", "matchCriteriaId": "78BAA18C-E5A0-4210-B64B-709BBFF31EEC" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*", "matchCriteriaId": "419867C6-37BE-43B4-BFE0-6325FEE3807D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*", "matchCriteriaId": "37896E87-95C2-4039-8362-BC03B1C56706" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*", "matchCriteriaId": "13A159B4-B847-47DE-B7F8-89384E6C551B" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*", "matchCriteriaId": "57B59616-A309-40B4-94B1-50A7BC00E35C" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*", "matchCriteriaId": "8667FBC6-04B6-40E5-93B3-6C22BEED4B26" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*", "matchCriteriaId": "0F39A1B1-416E-4436-8007-733B66904A14" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*", "matchCriteriaId": "DD5FC218-3DDB-4981-81C9-6C69F8DA6F4D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*", "matchCriteriaId": "FC2E5F96-66D2-4F99-A74D-6A2305EE218E" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*", "matchCriteriaId": "2D724D09-0D45-4701-93C9-348301217C8C" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*", "matchCriteriaId": "FC6A6F47-5C7C-4F82-B23B-9C959C69B27F" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*", "matchCriteriaId": "AE1A4DA6-6181-43A8-B0D8-5A016C3E75FF" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*", "matchCriteriaId": "6E36203C-1392-49BB-AE7E-49626963D673" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "6713614A-B14E-4A85-BF89-ED780068FC68" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*", "matchCriteriaId": "FD95F8EB-B428-4B3C-9254-A5DECE03A989" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*", "matchCriteriaId": "069EB7EE-06B9-454F-9007-8DE5DCA33C53" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*", "matchCriteriaId": "BBA861A2-F0CD-4DBB-B43A-4970EB114DA5" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "18BF5BE6-09EA-45AD-93BF-2BEF1742534E" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*", "matchCriteriaId": "EC1460DF-1687-4314-BF1A-01290B20302D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*", "matchCriteriaId": "470380B0-3982-48FC-871B-C8B43C81900D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*", "matchCriteriaId": "9FAA7712-10F0-4BB6-BAFB-D0806AFD9DE2" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*", "matchCriteriaId": "0F9D7662-A5B6-41D0-B6A1-E5ABC5ABA47F" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*", "matchCriteriaId": "E3797AB5-9E49-4251-A212-B6E5D9996764" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*", "matchCriteriaId": "D61D9CE9-F7A3-4F52-9D4E-B2473804ECB7" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "7007E77F-60EF-44D8-9676-15B59DF1325F" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*", "matchCriteriaId": "17437AED-816A-4CCF-96DE-8C3D0CC8DB2B" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*", "matchCriteriaId": "74E7AE59-1CB0-4300-BBE0-109F909789EF" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*", "matchCriteriaId": "9222821E-370F-4616-B787-CC22C2F4E7CD" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*", "matchCriteriaId": "9809449F-9A76-4318-B233-B4C2950A6EA9" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*", "matchCriteriaId": "0AA962D4-A4EC-4DC3-B8A9-D10941B92781" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "F8CDFEF9-C367-4800-8A2F-375C261FAE55" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*", "matchCriteriaId": "16E43B88-1563-4EFD-9267-AE3E8C35D67A" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*", "matchCriteriaId": "11E5715F-A8BC-49EF-836B-BB78E1BC0790" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*", "matchCriteriaId": "5FA68843-158E-463E-B68A-1ACF041C4E10" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*", "matchCriteriaId": "1874F637-77E2-4C4A-BF92-AEE96A60BFB0" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*", "matchCriteriaId": "9592B32E-55CD-42D0-901E-8319823BC820" }, { "vulnerable": true, "criteria": "cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*", "matchCriteriaId": "A9BF34B5-F74C-4D56-9841-42452D60CB87" } ] } ] } ], "references": [ { "url": "http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162", "source": "secalert@redhat.com" }, { "url": "http://lists.suse.com/archive/suse-security-announce/2006-Oct/0002.html", "source": "secalert@redhat.com" }, { "url": "http://rhn.redhat.com/errata/RHSA-2006-0688.html", "source": "secalert@redhat.com" }, { "url": "http://rhn.redhat.com/errata/RHSA-2006-0708.html", "source": "secalert@redhat.com", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://secunia.com/advisories/22280", "source": "secalert@redhat.com", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://secunia.com/advisories/22281", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/22300", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/22331", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/22338", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/22533", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/22538", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/22650", "source": "secalert@redhat.com" }, { "url": "http://securityreason.com/securityalert/1691", "source": "secalert@redhat.com" }, { "url": "http://securitytracker.com/id?1016984", "source": "secalert@redhat.com", "tags": [ "Patch" ] }, { "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm", "source": "secalert@redhat.com" }, { "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm", "source": "secalert@redhat.com" }, { "url": "http://www.gentoo.org/security/en/glsa/glsa-200610-14.xml", "source": "secalert@redhat.com" }, { "url": "http://www.hardened-php.net/advisory_092006.133.html", "source": "secalert@redhat.com", "tags": [ "Vendor Advisory" ] }, { "url": "http://www.hardened-php.net/files/CVE-2006-4812.patch", "source": "secalert@redhat.com", "tags": [ "Patch" ] }, { "url": "http://www.securityfocus.com/archive/1/448014/100/0/threaded", "source": "secalert@redhat.com" }, { "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded", "source": "secalert@redhat.com" }, { "url": "http://www.securityfocus.com/bid/20349", "source": "secalert@redhat.com" }, { "url": "http://www.trustix.org/errata/2006/0055", "source": "secalert@redhat.com" }, { "url": "http://www.ubuntu.com/usn/usn-362-1", "source": "secalert@redhat.com" }, { "url": "http://www.vupen.com/english/advisories/2006/3922", "source": "secalert@redhat.com" }, { "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29362", "source": "secalert@redhat.com" }, { "url": "http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://lists.suse.com/archive/suse-security-announce/2006-Oct/0002.html", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://rhn.redhat.com/errata/RHSA-2006-0688.html", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://rhn.redhat.com/errata/RHSA-2006-0708.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://secunia.com/advisories/22280", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://secunia.com/advisories/22281", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/22300", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/22331", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/22338", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/22533", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/22538", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://secunia.com/advisories/22650", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://securityreason.com/securityalert/1691", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://securitytracker.com/id?1016984", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] }, { "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.gentoo.org/security/en/glsa/glsa-200610-14.xml", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.hardened-php.net/advisory_092006.133.html", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Vendor Advisory" ] }, { "url": "http://www.hardened-php.net/files/CVE-2006-4812.patch", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] }, { "url": "http://www.securityfocus.com/archive/1/448014/100/0/threaded", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.securityfocus.com/bid/20349", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.trustix.org/errata/2006/0055", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.ubuntu.com/usn/usn-362-1", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "http://www.vupen.com/english/advisories/2006/3922", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29362", "source": "af854a3a-2127-422b-91ae-364da2661108" } ], "vendorComments": [ { "organization": "Red Hat", "comment": "Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.\n\nThis issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 3, and 4.", "lastModified": "2008-06-26T00:00:00" } ] }