Gentoo Logo

MIT Kerberos 5: Arbitrary remote code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200704-02 / mit-krb5
Release Date April 03, 2007
Latest Revision April 03, 2007: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-crypt/mit-krb5 < 1.5.2-r1 >= 1.5.2-r1 All supported architectures

Related bugreports: #171889


Multiple vulnerabilities in MIT Kerberos 5 could potentially result in unauthenticated remote root code execution.

2.  Impact Information


MIT Kerberos 5 is a suite of applications that implement the Kerberos network protocol.


The Kerberos telnet daemon fails to properly handle usernames allowing unauthorized access to any account (CVE-2007-0956). The Kerberos administration daemon, the KDC and possibly other applications using the MIT Kerberos libraries are vulnerable to the following issues. The krb5_klog_syslog function from the kadm5 library fails to properly validate input leading to a stack overflow (CVE-2007-0957). The GSS-API library is vulnerable to a double-free attack (CVE-2007-1216).


By exploiting the telnet vulnerability a remote attacker may obtain access with root privileges. The remaining vulnerabilities may allow an authenticated remote attacker to execute arbitrary code with root privileges.

3.  Resolution Information


There is no known workaround at this time.


All MIT Kerberos 5 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-crypt/mit-krb5-1.5.2-r1"

4.  References


Page updated April 03, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.