Gentoo: MIT Kerberos 5 Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo Two vulnerabilities have been found in MIT Kerberos 5, which could allow a remote unauthenticated user to execute arbitrary code with root privileges.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200709-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: MIT Kerberos 5: Multiple vulnerabilities
      Date: September 11, 2007
      Bugs: #191301
        ID: 200709-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Two vulnerabilites have been found in MIT Kerberos 5, which could allow
a remote unauthenticated user to execute arbitrary code with root
privileges.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-crypt/mit-krb5     < 1.5.3-r1                     >=3D 1.5.3-r1

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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.

Impact
=3D=3D=3D=3D=3D=3D

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
arbitrary code.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dapp-crypt/mit-krb5-1.5.3-r1"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] CVE-2007-3999
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2007-3999
  [ 2 ] CVE-2007-4000
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2007-4000

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200709-01.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5