Description
Stack-based buffer overflow in Mercury/32 (aka Mercury Mail Transport System) 4.01b and earlier allows remote attackers to execute arbitrary code via a long LOGIN command. NOTE: this might be the same issue as CVE-2006-5961.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
Mercury/32 4.01 IMAP LOGIN SEH Buffer Overflow
exploit/windows/imap/mercury_login
Exploit-DB 3
- Mercury/32 Mail Server < 4.01b - LOGIN Buffer Overflow (Metasploit) EDB-16473 · remote · Jun 22, 2010 · verified
- Mercury/32 Mail Server 4.01b - 'check' Buffer Overflow (PoC) EDB-3418 · dos · Mar 6, 2007 · verified
- Mercury/32 Mail Server 4.01a (Pegasus) - IMAP Buffer Overflow EDB-1223 · remote · Sep 20, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 33883 vdb-entry
- 20070306 Mercury/32 4.01b mailing-list
- 2398 third-party-advisory
- mercury-imap-bo(32848) vdb-entry
- 24367 third-party-advisory