Vulnerabilities > CVE-2004-1211 - Buffer Errors vulnerability in David Harris Mercury 4.0.1A
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Multiple buffer overflows in the IMAP service in Mercury/32 4.01a allow remote authenticated users to cause a denial of service (application crash) and possibly execute arbitrary code via long arguments to the (1) EXAMINE, (2) SUBSCRIBE, (3) STATUS, (4) APPEND, (5) CHECK, (6) CLOSE, (7) EXPUNGE, (8) FETCH, (9) RENAME, (10) DELETE, (11) LIST, (12) SEARCH, (13) CREATE, or (14) UNSUBSCRIBE commands.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description Mercury Mail 4.01 (Pegasus) IMAP Buffer Overflow v2 (c code). CVE-2004-1211,CVE-2004-2513. Remote exploit for windows platform id EDB-ID:670 last seen 2016-01-31 modified 2004-12-01 published 2004-12-01 reporter JohnH source https://www.exploit-db.com/download/670/ title Mercury Mail 4.01 - Pegasus IMAP Buffer Overflow 2 c code description Mercury/32 Mail Server <= 4.01a (check) Buffer Overflow Exploit. CVE-2004-1211,CVE-2004-2513. Dos exploit for windows platform id EDB-ID:1159 last seen 2016-01-31 modified 2004-12-01 published 2004-12-01 reporter Reed Arvin source https://www.exploit-db.com/download/1159/ title Mercury/32 Mail Server <= 4.01a check Buffer Overflow Exploit description Mercury Mail 4.01 (Pegasus) IMAP Buffer Overflow Exploit. CVE-2004-1211,CVE-2004-2513. Remote exploit for windows platform file exploits/windows/remote/663.py id EDB-ID:663 last seen 2016-01-31 modified 2004-11-29 platform windows port 143 published 2004-11-29 reporter muts source https://www.exploit-db.com/download/663/ title Mercury Mail 4.01 - Pegasus IMAP Buffer Overflow Exploit type remote description Mercury/32 v4.01a IMAP RENAME Buffer Overflow. CVE-2004-1211. Remote exploit for windows platform id EDB-ID:16484 last seen 2016-02-01 modified 2010-05-09 published 2010-05-09 reporter metasploit source https://www.exploit-db.com/download/16484/ title Mercury/32 4.01a - IMAP RENAME Buffer Overflow description Mercury Mail 4.01 (Pegasus) IMAP Buffer Overflow Exploit (c code). CVE-2004-1211,CVE-2004-2513. Remote exploit for windows platform id EDB-ID:668 last seen 2016-01-31 modified 2004-11-30 published 2004-11-30 reporter JohnH source https://www.exploit-db.com/download/668/ title Mercury Mail 4.01 Pegasus IMAP Buffer Overflow Exploit c code
Metasploit
description | This module exploits a stack buffer overflow vulnerability in the Mercury/32 v.4.01a IMAP service. |
id | MSF:EXPLOIT/WINDOWS/IMAP/MERCURY_RENAME |
last seen | 2020-03-11 |
modified | 2017-07-24 |
published | 2005-12-05 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/imap/mercury_rename.rb |
title | Mercury/32 v4.01a IMAP RENAME Buffer Overflow |
Nessus
NASL family | Gain a shell remotely |
NASL id | MERCURY_MAIL_STACK.NASL |
description | The remote host is running Mercury Mail server, an IMAP server for Windows. According to its banner, the version of Mercury Mail running on the remote host has multiple stack-based buffer overflow vulnerabilities. A remote, authenticated attacker could exploit these issues to crash the service or execute arbitrary code. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 15867 |
published | 2004-11-30 |
reporter | This script is Copyright (C) 2004-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/15867 |
title | Mercury Mail Remote IMAP Server Remote Overflow |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/83124/mercury_rename.rb.txt |
id | PACKETSTORM:83124 |
last seen | 2016-12-05 |
published | 2009-11-26 |
reporter | MC |
source | https://packetstormsecurity.com/files/83124/Mercury-32-v4.01a-IMAP-RENAME-Buffer-Overflow.html |
title | Mercury/32 v4.01a IMAP RENAME Buffer Overflow |
Saint
bid | 11775 |
description | Mercury Mail IMAP DELETE command buffer overflow |
id | mail_imap_mercury |
osvdb | 12508 |
title | mercury_imap_delete |
type | remote |
References
- http://home.kabelfoon.nl/~jaabogae/han/m_401b.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-December/029701.html
- http://marc.info/?l=bugtraq&m=110193702909991&w=2
- http://secunia.com/advisories/13348
- http://www.osvdb.org/12508
- http://www.securityfocus.com/bid/11775
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18318