Cyrus-SASL library saslauthd daemon escape character buffer overflow
| cyrus-sasl-saslauthd-bo (10811) |
Description:
Carnegie Mellon University's Cyrus-SASL library is vulnerable to a buffer overflow, caused by improper filtering of escape characters by the saslauthd daemon. By sending a username containing one or more escape characters ('*', '(', ')', '\' and '\0' ) during Lightweight Directory Access Protocol (LDAP) authentication, a local attacker could overflow a buffer and execute code on the system.
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of Cyrus-SASL (2.1.10 or later), available from the Carnegie Mellon University's FTP site. See References.
For Gentoo Linux:
Upgrade versions dev-libs/cyrus-sasl-2.1.9 and earlier, as listed in Gentoo Linux Security Announcement 200212-10. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Mon Dec 09 2002 - 13:25:08 CST : Cyrus SASL library buffer overflows .
- Carnegie Mellon University's FTP site: /pub/cyrus-mail/.
- CIAC INFORMATION BULLETIN P-156: Apple Security Update 2005-003.
- Gentoo Linux Security Announcement 200212-10: cyrus-sasl -- buffer overflows.
- BID-6347: Cyrus SASL Library Username Heap Corruption Vulnerability
- BID-6348: Cyrus SASL Library LDAP Heap Corruption Vulnerability
- BID-6349: Cyrus SASL Library Logging Memory Corruption Vulnerability
- CVE-2002-1347: Multiple buffer overflows in Cyrus SASL library 2.1.9 and earlier allow remote attackers to cause a denial of service and possibly execute arbitrary code via (1) long inputs during user name canonicalization, (2) characters that need to be escaped during LDAP authentication using saslauthd, or (3) an off-by-one error in the log writer, which does not allocate space for the null character that terminates a string.
- RHSA-2002-283: Updated cyrus-sasl packages fix buffer overflows
- SUSE-SA:2002:048: cyrus-imapd: remote command execution
Platforms Affected:
- Carnegie Mellon University Cyrus-SASL 2.1.9
- Gentoo Linux
- Novell SuSE Linux Enterprise Server 7.0
- RedHat Linux 7
- RedHat Linux 7.1
- RedHat Linux 7.2
- RedHat Linux 7.3
- RedHat Linux 8.0
- SuSE Linux Enterprise Server 8
- SuSE SuSE eMail Server III
- SUSE SuSE Linux 7.1
- SUSE SuSE Linux 7.2
- SUSE SuSE Linux 7.3
- SUSE SuSE Linux 8.0
- SUSE SuSE Linux 8.1
- SuSE SuSE Linux Connectivity Server
- SuSE SuSE Linux Office Server
- SuSE SuSE Linux OpenExchange Server 4
Reported:
Dec 09, 2002
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
