LWN.net Logo

cyrus-sasl - buffer overflows

Package(s):cyrus-sasl CVE #(s):CAN-2002-1347
Created:December 28, 2002 Updated:January 7, 2003
Description: "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

Alerts:
Red Hat RHSA-2002:283-09 2003-01-06
Gentoo 200212-10 2002-12-27

(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds