[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 331/04 - Gentoo Security Advisory - mit-krb5: Multiple buffer overflows in krb5_aname_to_localname



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 331/04 dated 30.06.04  Time: 14:25  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Gentoo Security Advisory - mit-krb5: Multiple buffer overflows in krb5_aname_to_localname


Detail
====== 


The library function krb5_aname_to_localname() contains multiple buffer overflows. 
This is only exploitable if explicit mapping or rules-based mapping is enabled. 
These are not enabled as default.








- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200406-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: mit-krb5: Multiple buffer overflows in
            krb5_aname_to_localname
      Date: June 29, 2004
      Bugs: #52744
        ID: 200406-21

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

Synopsis
========

mit-krb5 contains multiple buffer overflows in the function krb5_aname_to_localname(). 
This could potentially lead to a complete remote system compromise.

Background
==========

mit-krb5 is the free implementation of the Kerberos network authentication protocol 
by the Massachusetts Institute of Technology.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /   Vulnerable   /                 Unaffected
    -------------------------------------------------------------------
  1  app-crypt/mit-krb5       <= 1.3.3                     >= 1.3.3-r1

Description
===========

The library function krb5_aname_to_localname() contains multiple buffer overflows. 
This is only exploitable if explicit mapping or rules-based mapping is enabled. 
These are not enabled as default.

With explicit mapping enabled, an attacker must authenticate using a principal 
name listed in the explicit mapping list.

With rules-based mapping enabled, an attacker must first be able to create 
arbitrary principal names either in the local realm Kerberos realm or in a remote 
realm from which the local realm's service are reachable by cross-realm authentication.

Impact
======

An attacker could use these vulnerabilities to execute arbitrary code with the 
permissions of the user running mit-krb5, which could be the root user.

Workaround
==========

There is no known workaround at this time. All users are encouraged to upgrade 
to the latest available version.

Resolution
==========

mit-krb5 users should upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=app-crypt/mit-krb5-1.3.3-r1"
    # emerge ">=app-crypt/mit-krb5-1.3.3-r1"

References
==========

  [ 1 ] CAN-2004-0523
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0523
  [ 2 ] MIT krb5 Security Advisory
        http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-001-an_to_ln.txt

Availability
============

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

     http://security.gentoo.org/glsa/glsa-200406-21.xml

Concerns?
=========

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@xxxxxxxxxx or alternatively, you may file a bug at 
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Technologies, 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/1.0
- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Gentoo for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQOK/b4pao72zK539AQF4sAP+OEe37gOmxYmwU3T9iom4uN8iZi91caDZ
BTHO2hTlzWhQ6CVyKVjljCVmsruL0dvCcSs2XspcSBvZEkshg5U28TiXkwfmu/ZT
o0HQpQ/XL2N28xOMRB/88irHtl6G1huL81nOAoWAzFiGQCfOLAP737/J1HLMpt46
+2tWmC6pZCE=
=xfxf
-----END PGP SIGNATURE-----