CVE-2006-4812PHP Code Injection
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…
Published Sep 30, 2006 · Updated Aug 7, 2024
Key Facts
Patch immediately- CVE-2006-4812 is a critical-severity vulnerability (CVSS 10.0 v2) affecting PHP.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 20% probability of exploitation in the next 30 days.
- Fixed versions are available, including PHP 0:4.1.2-2.12, PHP 0:5.1.4-1.el4s1.4.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v2
10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
20%
Higher than 97.4% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
41/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryRHSA-2006:0688
- advisoryRHSA-2006:0708
- advisoryhttp://www.hardened-php.net/advisory_092006.133.html
- patchhttp://www.hardened-php.net/files/CVE-2006-4812.patch
- patchRHSA-2006:0708
- patch22280
Description
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).
Affected Products
40 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | 4.0, 4.0.1, 4.0.1-patch1, 4.0.1-patch2, 4.0.2, 4.0.3, 4.0.3-patch1, 4.0.4 | 0:4.1.2-2.12 |
Patched Releases
PHP
0:4.1.2-2.12, 0:5.1.4-1.el4s1.4
Timeline
Publicly disclosed
Sep 30, 2006
Last updated
Aug 7, 2024
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryRHSA-2006:0688
- advisoryRHSA-2006:0708
- advisoryhardened-php.net · advisory_092006.133.html
- patchhardened-php.net · CVE-2006-4812
- patchRHSA-2006:0708
FAQ
Common Questions.
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).
Affected: PHP versions 4.0, 4.0.1, 4.0.1-patch1, 4.0.1-patch2, 4.0.2, 4.0.3, 4.0.3-patch1, 4.0.4. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including PHP 0:4.1.2-2.12, PHP 0:5.1.4-1.el4s1.4.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2006-4812 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo