Metamail PrintHeader non-ASCII characters buffer overflow
| metamail-printheader-nonascii-bo (15247) |
Description:
Metamail is vulnerable to a buffer overflow in the PrintHeader function in the metamail.c file. A remote attacker could create a specially-crafted mail message containing a header with encoded non-ASCI characters and a long character set name to overflow a buffer and execute code on the system with privileges of the user, once the message is opened.
Consequences:
Gain Privileges
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.
References:
- BugTraq Mailing List, Wed Feb 18 2004 - 13:40:32 CST: metamail format string bugs and buffer overflows.
- GLSA 200405-17: Multiple vulnerabilities in metamail.
- slackware-security Mailing List, Wed, 18 Feb 2004 04:38:25 -0800 (PST): metamail security update (SSA:2004-049-02).
- BID-9692: Metamail Multiple Buffer Overflow/Format String Handling Vulnerabilities
- CVE-2004-0105: Multiple buffer overflows 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#513062: metamail contains multiple buffer overflow vulnerabilities
Platforms Affected:
- Debian Debian Linux 3.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 9.0
- MandrakeSoft Mandrake Linux 9.1
- MandrakeSoft Mandrake Linux 9.1 PPC
- MandrakeSoft Mandrake Linux 9.2 AMD64
- MandrakeSoft Mandrake Linux 9.2
- MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 2.1
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 AW
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 ES
- 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
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
