Cyrus IMAP Server mysasl_canon_user off-by-one buffer overflow
| cyrus-mysaslcanonuser-offbyone-bo (18333) |
Description:
Cyrus IMAP Server is vulnerable to an off-by-one buffer overflow in the mysasl_canon_user function. A remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Carnegie Mellon University, Cyrus IMAP Server 2.2.9 and prior
- Conectiva, Linux 10
- Conectiva, Linux 9.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.0
- MandrakeSoft, Mandrake Linux 10.1
- OpenPKG, OpenPKG 2.1
- OpenPKG, OpenPKG 2.2
- OpenPKG, OpenPKG CURRENT
Remedy:
Upgrade to the latest version of Cyrus IMAP (2.2.10 or 2.1.17 or later), available from the Cyrus Download Web page. See References.
For Ubuntu Linux:
Upgrade to the latest cyrus21-imapd package (2.1.16-6ubuntu0.2 or later), as listed in USN-37-1 December 02, 2004. See References.
For Mandrake Linux:
Upgrade to the latest Cyrus IMAP package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:139 for more information. See References.
Mandrake Linux 10.1: 2.2.8-4.1.101mdk or later
Mandrake Linux 10.0: 2.1.16-5.3.100mdk or later
For Gentoo Linux:
Upgrade to the latest version of cyrus-imap (2.2.10 or later), as listed in Gentoo Security Advisory GLSA 200411-34. See References.
For OpenPKG:
Upgrade to the latest imapd package, as listed in OpenPKG Security Advisory OpenPKG-SA-2004.051. See References.
OpenPKG CURRENT: 2.10-20041124 or later
OpenPKG 2.2: 2.2.8-2.2.1or later
OpenPKG 2.1: 2.2.6-2.1.1or later
For Conectiva Linux:
Upgrade to latest version of cyrus-imapd, as listed below. Refer to Conectiva Linux Announcement CLSA-2004:904 for more information. See References.
Conectiva Linux 9: 2.1.17-28805U90_5cl or later
Conectiva Linux 10: 2.2.10-62338U10_2cl or later
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- CIAC INFORMATION BULLETIN P-156, Apple Security Update 2005-003 at http://www.ciac.org/ciac/bulletins/p-156.shtml.
- Conectiva Linux Announcement CLSA-2004:904, Multiple vulnerabilities in cyrus-imapd at http://distro.conectiva.com/atualizacoes/index.php?id=a&anuncio=000904.
- Cyrus Download Web page, Download Cyrus Software at http://asg.web.cmu.edu/cyrus/download/.
- BID-11738: Cyrus IMAPD Multiple Remote Unspecified Vulnerabilities
- CVE-2004-1067: Off-by-one error in the mysasl_canon_user function in Cyrus IMAP Server 2.2.9 and earlier leads to a buffer overflow, which may allow remote attackers to execute arbitrary code via the username.
- USN-37-1: cyrus21-imapd vulnerability
Reported:
Dec 02, 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
