Rapid7 Vulnerability & Exploit Database

mIRC PRIVMSG Handling Stack Buffer Overflow

Back to Search

mIRC PRIVMSG Handling Stack Buffer Overflow

Disclosed
10/02/2008
Created
05/30/2018

Description

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.

Author(s)

  • aushack <patrick@osisecurity.com.au>

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

;