Vulnerabilities > CVE-2007-4440 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Pmail Mercury Mail Transport System 4.51
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in the MercuryS SMTP server in Mercury Mail Transport System, possibly 4.51 and earlier, allows remote attackers to execute arbitrary code via a long AUTH CRAM-MD5 string. NOTE: this might overlap CVE-2006-5961.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 2 |
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 SMTP AUTH CRAM-MD5 Buffer Overflow. CVE-2007-4440. Remote exploit for windows platform id EDB-ID:16821 last seen 2016-02-02 modified 2010-06-22 published 2010-06-22 reporter metasploit source https://www.exploit-db.com/download/16821/ title Mercury Mail SMTP AUTH CRAM-MD5 - Buffer Overflow description Mercury SMTPD Remote Preauth Stack Based Overrun PoC. CVE-2007-4440. Dos exploit for windows platform file exploits/windows/dos/4294.pl id EDB-ID:4294 last seen 2016-01-31 modified 2007-08-18 platform windows port published 2007-08-18 reporter eliteboy source https://www.exploit-db.com/download/4294/ title Mercury SMTPD Remote Preauth Stack Based Overrun PoC type dos
Metasploit
description | This module exploits a stack buffer overflow in Mercury Mail Transport System 4.51. By sending a specially crafted argument to the AUTH CRAM-MD5 command, an attacker may be able to execute arbitrary code. |
id | MSF:EXPLOIT/WINDOWS/SMTP/MERCURY_CRAM_MD5 |
last seen | 2020-03-23 |
modified | 2017-07-24 |
published | 2007-11-07 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4440 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/smtp/mercury_cram_md5.rb |
title | Mercury Mail SMTP AUTH CRAM-MD5 Buffer Overflow |
Nessus
NASL family | SMTP problems |
NASL id | MERCURY_SMTP_AUTH_CRAM_MD5_OVERFLOW.NASL |
description | The remote host is running the Mercury Mail Transport System, a free suite of server products for Windows and NetWare associated with Pegasus Mail. The version of Mercury Mail installed on the remote host includes an SMTP server that is affected by a buffer overflow flaw. Using a specially crafted |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 25928 |
published | 2007-08-23 |
reporter | This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/25928 |
title | Mercury SMTP Server AUTH CRAM-MD5 Remote Buffer Overflow |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/82990/mercury_cram_md5.rb.txt |
id | PACKETSTORM:82990 |
last seen | 2016-12-05 |
published | 2009-11-26 |
reporter | MC |
source | https://packetstormsecurity.com/files/82990/Mercury-Mail-SMTP-AUTH-CRAM-MD5-Buffer-Overflow.html |
title | Mercury Mail SMTP AUTH CRAM-MD5 Buffer Overflow |
Saint
bid | 25357 |
description | Mercury Mail SMTP AUTH CRAM-MD5 buffer overflow |
id | mail_smtp_mercury |
osvdb | 39669 |
title | mercury_smtp_crammd5 |
type | remote |
References
- http://archives.neohapsis.com/archives/fulldisclosure/2007-08/0341.html
- http://archives.neohapsis.com/archives/fulldisclosure/2007-08/0341.html
- http://secunia.com/advisories/26519
- http://secunia.com/advisories/26519
- http://www.pmail.com/m32_451.htm
- http://www.pmail.com/m32_451.htm
- http://www.securityfocus.com/bid/25357
- http://www.securityfocus.com/bid/25357
- http://www.securitytracker.com/id?1018587
- http://www.securitytracker.com/id?1018587
- http://www.vupen.com/english/advisories/2007/2918
- http://www.vupen.com/english/advisories/2007/2918
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36117
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36117
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36299
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36299
- https://www.exploit-db.com/exploits/4294
- https://www.exploit-db.com/exploits/4294