Sendmail signal handler timeout race condition
| smtp-timeout-bo (24584) |
Description:
Sendmail could allow a remote attacker to execute arbitrary commands on the system, caused by a signal race vulnerability in the processing of mail data received from remote clients. An attacker could exploit this vulnerability by sending malicious mail data to the Sendmail SMTP server at certain time intervals, which could result in integer overflows that could allow the attacker to gain complete control of the affected system.
Platforms Affected:
- Debian, Debian Linux 3.0
- Debian, Debian Linux 3.1
- FreeBSD, FreeBSD
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux LE2005 X86_64
- MandrakeSoft, Mandrake Linux LE2005
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- Novell, UnitedLinux 1.0
- OpenPKG, OpenPKG 2.3
- OpenPKG, OpenPKG 2.4
- OpenPKG, OpenPKG 2.5
- OpenPKG, OpenPKG CURRENT
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 AS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Sendmail, Sendmail 8.13
- Sendmail, Sendmail 8.13.1
- Sendmail, Sendmail 8.13.2
- Sendmail, Sendmail 8.13.3
- Sendmail, Sendmail 8.13.4
- Sendmail, Sendmail 8.13.5
- SGI, Advanced Linux Environment 3
- Slackware, Slackware Linux 10.0
- Slackware, Slackware Linux 10.1
- Slackware, Slackware Linux 8.1
- Slackware, Slackware Linux 9.0
- Slackware, Slackware Linux 9.1
- Sun, Cobalt RaQ 4
- Sun, Cobalt RaQ 550
- Sun, Cobalt RaQ XTR
- Sun, Solaris 10 SPARC
- Sun, Solaris 10 x86
- Sun, Solaris 8 SPARC
- Sun, Solaris 8 x86
- Sun, Solaris 9 x86
- Sun, Solaris 9 SPARC
- SuSE, SuSE Linux 10.0
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux 9.2
- SuSE, SuSE Linux 9.3
- SuSE, SuSE Linux Enterprise Server 8.0
- SuSE, SuSE SLES 9
- Turbolinux, Turbolinux 7 Server
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux 8 Workstation
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux, Turbolinux Appliance Server 2.0
Remedy:
Upgrade to the latest version of Sendmail (8.13.6 or later), available from the Sendmail Web site. See References.
For Debian GNU/Linux:
Refer to DSA-1015 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2006:0264-8 or RHSA-2006:0265-9 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-03-21 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for patch or upgrade information.
Consequences:
Gain Access
References:
- FreeBSD Security Advisory FreeBSD-SA-06:13.sendmail, Race condition in sendmail at http://archives.neohapsis.com/archives/bugtraq/2006-03/0399.html.
- Internet Security Systems Protection Advisory March 22, 2006, Sendmail Remote Signal Handling Vulnerability at http://xforce.iss.net/xforce/alerts/id/216.
- Sendmail Web site, Sendmail 8.1.13 at http://www.sendmail.org/8.13.6.html.
- Sendmail Web site, Sendmail MTA Security Vulnerability - March 22, 2006 at http://www.sendmail.com/company/advisory/index.shtml.
- SGI Security Advisory 20060401-01-U, SGI Advanced Linux Environment 3 Security Update #56 at ftp://patches.sgi.com/support/free/security/advisories/20060401-01.U.asc.
- Slackware Security Advisory SSA:2006-081-01, sendmail at http://www.slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.619600.
- Sun Alert ID: 102262, Security Vulnerability in sendmail(1M) 8.12 and 8.13.0 through 8.13.5 at http://sunsolve.sun.com/search/document.do?assetkey=1-26-102262-1.
- Sun Alert ID: 102324, Sun Cobalt sendmail(1M) Security Issue Involving Signal Handling Daemon at http://sunsolve.sun.com/search/document.do?assetkey=1-26-102324-1.
- US-CERT Technical Cyber Security Alert TA06-081A, Sendmail Race Condition Vulnerability at http://www.us-cert.gov/cas/techalerts/TA06-081A.html.
- ASA-2006-074: sendmail security update (RHSA-2006-0264 & RHSA-2006-0265)
- ASA-2006-078: Sun Alert Notifications from Sun Weekly Report dated Mar 25 2006
- ASA-2006-104: UnixWare Sendmail Arbitrary Code Execution Vulnerability (SCOSA-2006.24)
- BID-17192: Sendmail Asynchronous Signal Handling Remote Code Execution Vulnerability
- CVE-2006-0058: Signal handler race condition in Sendmail 8.13.x before 8.13.6 allows remote attackers to execute arbitrary code by triggering timeouts in a way that causes the setjmp and longjmp function calls to be interrupted and modify unexpected memory locations.
- DSA-1015: sendmail -- programming error
- GLSA-200603-21: Sendmail: Race condition in the handling of asynchronous signals
- MDKSA-2006:058: Updated sendmail packages fix remote vulnerability
- OpenPKG-SA-2006.007: Sendmail
- OSVDB ID: 24037: Sendmail Signal Handler Race Condition Remote Overflow
- RHSA-2006-0264: sendmail security update
- RHSA-2006-0265: sendmail security update
- SA19342: Sendmail Signal Handling Memory Corruption Vulnerability
- SA19349: AIX sendmail Signal Handling Memory Corruption Vulnerability
- SA19360: Sun Solaris Sendmail Signal Handling Memory Corruption
- SA19404: Avaya Products Sendmail Signal Handling Memory Corruption
- SA19450: F-Secure Messaging Security Gateway Sendmail Vulnerability
- SA19466: NetBSD Sendmail Memory Corruption Vulnerability
- SA19676: Avaya CMS / IR Sendmail Memory Corruption Vulnerability
- SA19774: Sun Cobalt Sendmail Memory Corruption Vulnerability
- SA20723: IBM HMC Sendmail and OpenSSH Vulnerabilities
- SECTRACK ID: 1015801: Sendmail Race Condition in Signal Handler May Let Remote Users Trigger a Buffer Overflow to Execute Arbitrary Code
- SECTRACK ID: 1015807: (Sendmail.com Issues Fix) Sendmail Race Condition in Signal Handler May Let Remote Users Trigger a Buffer Overflow to Execute Arbitrary Code
- SECTRACK ID: 1015814: (IBM Issues Fix for AIX) Sendmail Race Condition in Signal Handler May Let Remote Users Trigger a Buffer Overflow to Execute Arbitrary Code
- SUSE-SA:2006:017: sendmail remote code execution
Reported:
Mar 22, 2006
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
