Kerberos libkadm5srv buffer overflow
| kerberos-libkadm5srv-bo (18621) |
Description:
Kerberos is vulnerable to a heap-based buffer overflow in the libkadm5srv administration library, caused by a vulnerability in the password history handling code. Under certain conditions, a remote authenticated attacker could overflow a buffer and execute arbitrary code on the system.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Debian, Debian Linux 3.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.0 AMD64
- MandrakeSoft, Mandrake Linux 10.0
- MandrakeSoft, Mandrake Linux 10.1 X86_64
- MandrakeSoft, Mandrake Linux 10.1
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux 9.2 AMD64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MIT, Kerberos 5-1.2
- MIT, Kerberos 5-1.2.1
- MIT, Kerberos 5-1.2.2
- MIT, Kerberos 5-1.2.3
- MIT, Kerberos 5-1.2.4
- MIT, Kerberos 5-1.2.5
- MIT, Kerberos 5-1.2.6
- MIT, Kerberos 5-1.2.7
- MIT, Kerberos 5-1.2.8
- MIT, Kerberos 5-1.3
- MIT, Kerberos 5-1.3.1
- MIT, Kerberos 5-1.3.2
- MIT, Kerberos 5-1.3.3
- MIT, Kerberos 5-1.3.4
- MIT, Kerberos 5-1.3.5
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 AS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Turbolinux, Turbolinux 10 Desktop
- Turbolinux, Turbolinux 10 F...
- Turbolinux, Turbolinux 10 Server
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux Home
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
Remedy:
Upgrade to the latest version of Kerberos (krb5-1.4 or krb5-1.3.6 or later), when it becomes available from the MIT Kerberos Web site. See References.
—OR—
Apply the 2004-004-patch_1.3.5, available from the MIT Kerberos Web site. See References.
For Trustix Secure Linux:
Upgrade to the latest kerberos5 package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0069 for more information. See References.
Trustix Secure Linux 2.2: 1.3.6-2tr or later
Trustix Operating System Enterprise Server 2: 1.3.6-1tr or later
For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest package of krb5 (1.2.4-5woody7 or later), as listed in Debian Security Advisory DSA-629-1. See References.
For Ubuntu Linux:
Upgrade to the latest krb5-admin-server, krb5-kdc, libkadm55 and libkrb53 package (1.3.4-3ubuntu0.1 or later), as listed in USN-58-1 January 10, 2005 for more information. See References.
For Red Hat Linux:
Refer to RHSA-2005:045-13 or RHSA-2005:012-10 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-01-05 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Mon Dec 20 2004 - 16:58:43 CST , MITKRB5-SA-2004-004: heap overflow in libkadm5srv at http://archives.neohapsis.com/archives/bugtraq/2004-12/0277.html.
- CIAC Information Bulletin P-075, "libkadm5srv" Heap Buffer Overflow at http://www.ciac.org/ciac/bulletins/p-075.shtml.
- CIAC Information Bulletin P-276, Apple Security Update 2005-007 at http://www.ciac.org/ciac/bulletins/p-276.shtml.
- MIT Kerberos Web site, Kerberos: The Network Authentication Protocol at http://web.mit.edu/kerberos/.
- Sun Alert ID: 57712, Security Vulnerability in Kerberos 5 Administration Library for Solaris/SEAM at http://au.sunsolve.sun.com/search/document.do?assetkey=1-26-57712-1&searchclause=%22category:security%22%20%22availability,%20security%22.
- BID-12059: MIT Kerberos 5 Administration Library Add_To_History Heap-Based Buffer Overflow Vulnerability
- BID-14567: Apple Mac OS X Multiple Vulnerabilities
- CVE-2004-1189: The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, does not properly track the password policy's history count and the maximum number of keys, which can cause an array index out-of-bounds error and may allow authenticated users to execute arbitrary code via a heap-based buffer overflow.
- DSA-629: krb5 -- buffer overflow
- GLSA-200501-05: mit-krb5: Heap overflow in libkadm5srv
- MDKSA-2004:156: Updated krb5 packages fix buffer overflow vulnerability
- RHSA-2005-012: krb5 security update
- RHSA-2005-045: krb5 security update
Reported:
Dec 20, 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
