Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Mercury/32 4.01 IMAP LOGIN SEH Buffer Overflow

Disclosed
Mar 6, 2007
Created
May 30, 2018

Description

This module exploits a stack buffer overflow in Mercury/32 LOGIN verb. By sending a specially crafted login command, a buffer
is corrupted, and code execution is possible. This vulnerability was
discovered by (mu-b at digit-labs.org).

Authors

mu-b
MC [email protected]
Ivan Racic

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.