MIT Kerberos 5: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200709-01 / mit-krb5
||September 11, 2007
||September 11, 2007: 01
All supported architectures
Two vulnerabilities have been found in MIT Kerberos 5, which could allow a
remote unauthenticated user to execute arbitrary code with root privileges.
MIT Kerberos 5 is a suite of applications that implement the Kerberos
network protocol. kadmind is the MIT Kerberos 5 administration daemon.
A stack buffer overflow (CVE-2007-3999) has been reported in
svcauth_gss_validate() of the RPC library of kadmind. Another
vulnerability (CVE-2007-4000) has been found in
kadm5_modify_policy_internal(), which does not check the return values
of krb5_db_get_policy() correctly.
The RPC related vulnerability can be exploited by a remote
unauthenticated attacker to execute arbitrary code with root privileges
on the host running kadmind. The second vulnerability requires the
remote attacker to be authenticated and to have "modify policy"
privileges. It could then also allow for the remote execution of
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.3-r1"