Kerberos Detected
CVE 2000-0389
CVE 2000-0390
CVE 2000-0391
Impact
If any services which use a vulnerable version of Kerberos are
enabled, remote root access may be possible due to a buffer overflow
condition. If the Key Distribution Center is affected, the entire
Kerberos domain could be compromised.
Background
Kerberos is used to
provide strong authentication and encryption between a client and
a server. A Kerberos Distribution Center, consisting of
an authentication server and a ticket granting server,
is involved in the authentication process. Cryptography is used
to verify the identity of the user and the server, and to encrypt
the session between them.
The Problem
Four buffer overflow conditions have been discovered in Kerberos.
The most serious one could allow remote root access if any of the
following services are running.
- krshd
- klogind (if Kerberos 4 authentication is accepted)
- telnetd (if Kerberos 4 authentication is accepted)
- ftpd (if Kerberos 4 authentication is accepted)
- rkinitd
- kpopd
Another buffer overflow condition could allow a local attacker
to gain root access by exploiting v4rcp or ksu.
The following implementations of Kerberos are affected by these
vulnerabilities:
- MIT Kerberos 5 releases krb5-1.0.x, krb5-1.1, krb5-1.1.1
- MIT Kerberos 4 patch 10, and likely earlier releases as well
- KerbNet (Cygnus implementation of Kerberos 5)
- Cygnus Network Security (CNS -- Cygnus implementation of Kerberos 4)
Resolution
Upgrade to Kerberos version
krb5-1.2, or install the appropriate
patches
to fix the problem.
Alternatively, the problems in some of the services can be fixed with
the following workarounds:
- The vulnerability in the klogind and telnetd
services can be fixed by disabling Kerberos 4 authentication. This can
be done by inserting the appropriate command-line options into their
invokation in /etc/inetd.conf. Consult the Kerberos
documentation to find out which options to use. This workaround is also
possible for krshd but may not be effective due to another
unrelated buffer overflow in that service.
- Remove the set-userid mode from v4rcp and ksu . This
can be done by changing into the directory containing those files and
entering chmod u-s v4rcp and chmod u-s ksu.
Where can I read more about this?
More information is available from
CERT Advisory 2000-06 or the
Kerberos advisory.