module

Ultra Mini HTTPD Stack Buffer Overflow

Disclosed
2013-07-10
Created
2018-05-30

Description

This module exploits a stack based buffer overflow in Ultra Mini HTTPD 1.21,
allowing remote attackers to execute arbitrary code via a long resource name in an HTTP
request. This exploit has to deal with the fact that the application's request handler
thread is terminated after 60 seconds by a "monitor" thread. To do this, it allocates
some RWX memory, copies the payload to it and creates another thread. When done, it
terminates the current thread so that it doesn't crash and hence doesn't bring down
the process with it.

Authors

superkojiman
PsychoSpy neinwechter@gmail.com
OJ Reeves oj@buffered.io

Platform

Windows

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/ultraminihttp_bof
msf exploit(ultraminihttp_bof) > show targets
...targets...
msf exploit(ultraminihttp_bof) > set TARGET < target-id >
msf exploit(ultraminihttp_bof) > show options
...show and set options...
msf exploit(ultraminihttp_bof) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.