{"id":"MSF-windows--http--php_apache_request_headers_bof","name":"PHP apache_request_headers Function Buffer Overflow","description":"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\".","cves":["CVE-2012-2329"],"author":"Vincent Danen, juan vazquez","published":"2012-05-08","platform":"Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/windows/http/php_apache_request_headers_bof.rb","path":"modules/exploits/windows/http/php_apache_request_headers_bof.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"php_apache_request_headers_bof.rb","vulnerabilities":[{"id":"CVE-2012-2329","state":"PUBLISHED","title":null,"titleSource":null,"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-2329","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-2329"},"updatedAt":"2024-08-06T19:34:23.733Z","retrievedAt":"2026-11-26T14:19:26.048Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-windows--http--php_apache_request_headers_bof.png?v=2","url":"https://exploitbin.com/exploits/MSF-windows--http--php_apache_request_headers_bof","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-windows--http--php_apache_request_headers_bof/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-windows--http--php_apache_request_headers_bof/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}