Rapid7 Vulnerability & Exploit Database

Cogent DataHub HTTP Server Buffer Overflow

Back to Search

Cogent DataHub HTTP Server Buffer Overflow

Disclosed
07/26/2013
Created
05/30/2018

Description

This module exploits a stack based buffer overflow on Cogent DataHub 7.3.0. The vulnerability exists in the HTTP server. While handling HTTP headers, a strncpy() function is used in a dangerous way. This module has been tested successfully on Cogent DataHub 7.3.0 (Demo) on Windows XP SP3.

Author(s)

  • rgod <rgod@autistici.org>
  • juan vazquez <juan.vazquez@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/cogent_datahub_request_headers_bof
msf exploit(cogent_datahub_request_headers_bof) > show targets
    ...targets...
msf exploit(cogent_datahub_request_headers_bof) > set TARGET < target-id >
msf exploit(cogent_datahub_request_headers_bof) > show options
    ...show and set options...
msf exploit(cogent_datahub_request_headers_bof) > 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

;