[28324] in bugtraq

home help back first fref pref prev next nref lref last post

GLSA: cyrus-sasl

daemon@ATHENA.MIT.EDU (Daniel Ahlberg)
Fri Dec 27 18:35:47 2002

From: Daniel Ahlberg <aliz@gentoo.org>
Date: Fri, 27 Dec 2002 23:35:28 +0100
To: bugtraq@securityfocus.com
Message-Id: <20021227223529.F287733817@mail1.tamperd.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------
GENTOO LINUX SECURITY ANNOUNCEMENT 200212-10
- - --------------------------------------------------------------------

PACKAGE : cyrus-sasl
SUMMARY : buffer overflows
DATE    : 2002-12-27 22:12 UTC
EXPLOIT : remote

- - --------------------------------------------------------------------

- From advisory:

"Insufficient buffer length checking in user name canonicalization
may allow attacker to execute arbitrary code on servers using Cyrus 
SASL library. Client side library also has the bug but since the user 
name is asked from the local user, there's probably not many 
applications that care about it, except maybe webmails and the like. 
This overflow only happens if default realm is set."

"LDAP authentication with saslauthd doesn't allocate enough memory 
when it needs to escape characters '*', '(', ')', '\' and '\0' in 
username and realm. This should be easily exploited with glibc's 
malloc implementation."

"Log writer might not have allocated memory for the trailing \0 in
message. Probably hard to exploit, although you can affect the 
logging data with at least anonymous authentication."

Read the full advisory at
http://marc.theaimsgroup.com/?l=bugtraq&m=103946297703402&w=2

SOLUTION

It is recommended that all Gentoo Linux users who are running
dev-libs/cyrus-sasl-2.1.9 update their systems as follows:

emerge rsync
emerge cyrus-sasl
emerge clean

- - --------------------------------------------------------------------
aliz@gentoo.org - GnuPG key is available at www.gentoo.org/~aliz
raker@gentoo.org
- - --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+DNWlfT7nyhUpoZMRAst/AJ456a3Tiyv4tEBhwQ+7zS36xw0SXwCfaRk1
wX8/LuAzB8J0ub8jsIiLN94=
=0u+r
-----END PGP SIGNATURE-----

home help back first fref pref prev next nref lref last post