Exploit database

Vulnerability

CVE-2012-2329

Vulnerability details

Score
5.0
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:N/I:N/A:P

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.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

2 sources
PHP apache_request_headers Function Buffer Overflow
MSF-windows--http--php_apache_request_headers_bofMetasploitWindows / remote

This module exploits a stack based buffer overflow in the CGI version of PHP 5.4.x before 5.4.3. The vulnerability is due to the insecure handling of the HTTP headers. This module has been tested against the thread safe version of PHP 5.4.2, from "windows.php.net", running with Apache 2.2.22 from "apachelounge.com".

2012-05-08php_apache_request_headers_bof.rb