Rapid7 Vulnerability & Exploit Database

HTTPDX h_handlepeer() Function Buffer Overflow

Back to Search

HTTPDX h_handlepeer() Function Buffer Overflow

Disclosed
10/08/2009
Created
05/30/2018

Description

This module exploits a stack-based buffer overflow vulnerability in HTTPDX HTTP server 1.4. The vulnerability is caused due to a boundary error within the "h_handlepeer()" function in http.cpp. By sending an overly long HTTP request, an attacker can overrun a buffer and execute arbitrary code.

Author(s)

  • Pankaj Kohli <pankaj208@gmail.com>
  • Trancer <mtrancer@gmail.com>
  • jduck <jduck@metasploit.com>

Platform

Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/http/httpdx_handlepeer
msf exploit(httpdx_handlepeer) > show targets
    ...targets...
msf exploit(httpdx_handlepeer) > set TARGET < target-id >
msf exploit(httpdx_handlepeer) > show options
    ...show and set options...
msf exploit(httpdx_handlepeer) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;