CVE-2012-2329
MediumPublic exploitphp: buffer overflow flaw in apache_request_headers() in PHP 5.4.x
Published May 8, 2012 · Updated Aug 6, 2024
Key Facts
Patch immediately- CVE-2012-2329 is a medium-severity vulnerability (CVSS 5.0 v2) affecting PHP.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 62% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
5.0
AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS (30-day exploit likelihood)
62%
Higher than 99.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2012-2329 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Buffer overflow in the apache_request_headers function in sapi/cgi/cgi_main.c in PHP 5.4.x before 5.4.3 allows remote attackers to cause a denial of service (application crash) via a long string in the header of an HTTP request.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | 5.4.0, 5.4.1, 5.4.2 | n/a |
Timeline
Publicly disclosed
May 8, 2012
Last updated
Aug 6, 2024
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- CWE-697 Incorrect Comparison
References
- patchhttps://bugzilla.redhat.com/show_bug.cgi?id=820000
- exploitMSF php_apache_request_headers_bof.rb
- exploitExploitDB-19231
- otherhttps://bugs.php.net/bug.php?id=61807
- other49014
FAQ
Common Questions.
Buffer overflow in the apache_request_headers function in sapi/cgi/cgi_main.c in PHP 5.4.x before 5.4.3 allows remote attackers to cause a denial of service (application crash) via a long string in the header of an HTTP request.
Affected: PHP versions 5.4.0, 5.4.1, 5.4.2. 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.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2012-2329 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo