Kerberos KDC krb5_recvauth code execution
| kerberos-kdc-krb5recvauth-execute-code (21055) |
Description:
The MIT Kerberos Key Distribution Center (KDC) could allow an unauthenticated remote attacker to execute arbitrary code on the system, caused by a double free vulnerability in the krb5_recvauth() function. An attacker could exploit this vulnerability using unspecified attack vectors to execute arbitrary code with the privileges of the application calling the krb5_recvauth() function. This vulnerability could be leveraged to compromise the entire Kerberos realm.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Canonical, Ubuntu 5.04
- Conectiva, Linux 10
- Conectiva, Linux 9.0
- Debian, Debian Linux 3.0
- Debian, Debian Linux 3.1
- 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 LE2005
- MandrakeSoft, Mandrake Linux LE2005 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- 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
- MIT, Kerberos 5-1.3.6
- MIT, Kerberos 5-1.4
- MIT, Kerberos 5-1.4.1
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- 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 MIT Kerberos 5 (krb5-1.2.7 or later), as listed in MIT krb5 Security Advisory 2005-003. See References.
For Debian GNU/Linux 3.1 (Sarge):
Upgrade to the latest version of krb5 (1.3.6-2sarge2 or later), as listed in DSA-757-1. See References.
For Gentoo Linux:
Upgrade to the latest version of mit-krb (5-1.4.1-r1 or later), as listed in Gentoo Linux Security Announcement GLSA 200507-11. See References.
For Conectiva Linux 9.0 and 10.0:
Upgrade to the latest version of krb5 (1.4.2 or later) when it becomes available, as listed in Conectiva Linux Security Announcement CLSA-2005:993. See References.
For Red Hat Linux:
Refer to RHSA-2005:562-15 for patch, upgrade, or suggested workaround information. See References.
— OR —
Apply the patch for this vulnerability, as listed in MIT krb5 Security Advisory 2005-002. See References.
For Ubuntu Linux:
Refer to USN-224-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- CIAC INFORMATION BULLETIN P-249, krb5 Security Update at http://www.ciac.org/ciac/bulletins/p-249.shtml.
- CIAC Information Bulletin P-276, Apple Security Update 2005-007 at http://www.ciac.org/ciac/bulletins/p-276.shtml.
- Conectiva Linux Security Announcement CLSA-2005:993, Fix for security vulnerabilities in Kerberos 5 at http://distro.conectiva.com/atualizacoes/index.php?id=a&anuncio=000993.
- MIT krb5 Security Advisory 2005-002, buffer overflow, heap corruption in KDC at http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2005-002-kdc.txt.
- MIT krb5 Security Advisory 2005-003, double-free in krb5_recvauth at http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2005-003-recvauth.txt.
- BID-14239: MIT Kerberos 5 KRB5_Recvauth Remote Pre-Authentication Double-Free Vulnerability
- BID-14567: Apple Mac OS X Multiple Vulnerabilities
- CVE-2005-1689: Double free vulnerability in the krb5_recvauth function in MIT Kerberos 5 (krb5) 1.4.1 and earlier allows remote attackers to execute arbitrary code via certain error conditions.
- DSA-757: krb5 -- buffer overflow
- GLSA-200507-11: MIT Kerberos 5: Multiple vulnerabilities
- MDKSA-2005:119: Updated krb5 packages fix multiple vulnerabilities
- RHSA-2005-562: krb5 security update
- RHSA-2005-567: krb5 security update
- SA16041: Kerberos V5 Multiple Vulnerabilities
- SECTRACK ID: 1014461: Kerberos krb5_recvauth() Double-Free Error May Let Remote Users Execute Arbitrary Code
- SUSE-SR:2005:017: SUSE Security Summary Report
Reported:
Jul 12, 2005
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
