Cyrus-SASL library username buffer overflow
| cyrus-sasl-username-bo (10810) |
Description:
Carnegie Mellon University's Cyrus-SASL library is vulnerable to a buffer overflow, caused by improper bounds checking of usernames during canonicalization. By passing an overly long username to either the user_buf() or authid_buf() function, a local attacker could overflow a buffer and execute arbitrary code on the system, when the malloc() function is called by one of these functions.
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 Conectiva Linux:
Upgrade to the latest cyrus-imapd package, as listed below. Refer to Conectiva Linux Announcement CLSA-2002:557 for more information. See References.
Conectiva Linux 8.0: 2.0.17-1U80_1cl or later
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.
- Conectiva Linux Announcement CLSA-2002:557: cyrus-imapd.
- 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
- Conectiva Linux 8.0
- Novell SuSE Linux Enterprise Server 7.0
- 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
