Metamail Content-Type format string attack
| metamail-contenttype-format-string (15245) |
Description:
Metamail is vulnerable to a format string attack, caused by a vulnerability in the SaveSquirrelFile function. A remote attacker could create a specially-crafted mail message containing format specifiers Content-Type header, to execute code on the system with privileges of the user, once the message is opened.
Platforms Affected:
- Debian, Debian Linux 3.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 9.0
- MandrakeSoft, Mandrake Linux 9.1 PPC
- MandrakeSoft, Mandrake Linux 9.1
- MandrakeSoft, Mandrake Linux 9.2 AMD64
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 AW
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Slackware, Slackware Linux 8.0
- Slackware, Slackware Linux 8.1
- Slackware, Slackware Linux 9.0
- Slackware, Slackware Linux 9.1
- Slackware, Slackware Linux current
- Telcordia Technologies, Metamail 2.7 and prior
Remedy:
For Red Hat Linux:
Upgrade to the latest Metamail package, as listed below. Refer to RHSA-2004:073-05 for more information. See References.
Red Hat Enterprise Linux AS (v. 2.1): metamail-2.7-29 or later
Red Hat Enterprise Linux ES (v. 2.1): metamail-2.7-29 or later
Red Hat Enterprise Linux WS (v. 2.1): metamail-2.7-29 or later
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: metamail-2.7-29 or later
For Slackware Linux:
Upgrade to the latest metamail package, as listed below. Refer to slackware-security Mailing List, Wed, 18 Feb 2004 04:38:25 -0800 (PST) for more information. See References.
Slackware Linux 8.0 and 8.1: 2.7-i386-2 or later
Slackware Linux 9.0: 2.7-i386-2 or later
Slackware Linux 9.1 and -current: 2.7-i486-2 or later
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest metamail package (2.7-45woody.2 or later), as listed in DSA 449-1. See References.
For Gentoo Linux:
Upgrade to the latest version of Metamail (2.7.45.3 or later), as listed in GLSA 200405-17. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Privileges
References:
- BugTraq Mailing List, Wed Feb 18 2004 - 13:40:32 CST, metamail format string bugs and buffer overflows at http://archives.neohapsis.com/archives/bugtraq/2004-02/0502.html.
- CIAC Information Bulletin O-083, Red Hat Updated Metamail Packages Fix Vulnerabilities at http://www.ciac.org/ciac/bulletins/o-083.shtml.
- GLSA 200405-17, Multiple vulnerabilities in metamail at http://www.linuxsecurity.com/content/view/106091/104/.
- slackware-security Mailing List, Wed, 18 Feb 2004 04:38:25 -0800 (PST), metamail security update (SSA:2004-049-02) at http://www.slackware.org/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.404734.
- BID-9692: Metamail Multiple Buffer Overflow/Format String Handling Vulnerabilities
- CVE-2004-0104: Multiple format string vulnerabilities in Metamail 2.7 and earlier allow remote attackers to execute arbitrary code.
- DSA-449: metamail -- buffer overflow
- GLSA-200405-17: Multiple vulnerabilities in metamail
- MDKSA-2004:014: Updated metamail packages fix buffer overflow vulnerabilities
- RHSA-2004-073: metamail security update
- SA10908: Metamail Message Parsing System Compromise Vulnerabilities
- US-CERT VU#518518: metamail contains multiple format string vulnerabilities
Reported:
Feb 18, 2004
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
