SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#259798

MIT Kerberos 5 allows unauthenticated attacker to cause MIT krb5 Key Distribution Center to free unallocated memory

Overview

An unauthenticated attacker can cause MIT krb5 Key Distribution Center (KDC) to free unallocated memory, possibly leading to arbitrary code execution.

I. Description

Kerberos is a network authentication system which uses a trusted third party (a KDC) to authenticate clients and servers to each other. It is designed to provide strong authentication for client/server applications by using secret-key cryptography. MIT Kerberos code is used in network applications from a variety of different vendors and is included in many UNIX and Linux distributions.

The MIT krb5 Security Advisory 2005-002 issued 2005 July 12, available from
<http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2005-002-kdc.txt> states:

    The MIT krb5 Key Distribution Center (KDC) implementation can corrupt the heap by attempting to free memory at a random address when it receives a certain unlikely (but valid) request via a TCP connection. This attempt to free unallocated memory can result in a KDC crash and consequent denial of service. [CAN-2005-1174, VU#259798]
    An unauthenticated attacker may be able to use this vulnerability to execute arbitrary code on the KDC host, potentially compromising an entire Kerberos realm. No exploit code is known to exist at this time. Exploitation of these vulnerabilities is believed to be difficult.

II. Impact

An unauthenticated attacker may be able to execute arbitrary code on the KDC host, potentially compromising an entire Kerberos realm. An unsuccessful attack against this heap corruption vulnerability may result in a denial of service by crashing the KDC process. According to the MIT krb5 Security Advisory 2005-002 this vulnerability affects the KDC implementation in all MIT krb5 releases supporting TCP client connections to the KDC. This includes krb5-1.3 and later releases, up to and including krb5-1.4.1.

III. Solution

Apply patches available from your vendor. Details of the patch are also available from


If patching can not be performed in a timely manner you could consider disabling TCP support in the KDC to avoid this vulnerability.

Systems Affected

VendorStatusDate NotifiedDate Updated
Apple Computer Inc.Unknown10-May-2005
ConectivaUnknown10-May-2005
Cray Inc.Unknown17-May-2005
DebianUnknown17-May-2005
EMC CorporationUnknown17-May-2005
EngardeUnknown17-May-2005
F5 NetworksNot Vulnerable17-May-2005
FreeBSDUnknown17-May-2005
FujitsuUnknown17-May-2005
HitachiUnknown17-May-2005
HPUnknown17-May-2005
IBMUnknown10-May-2005
ImmunixUnknown17-May-2005
Ingrian NetworksUnknown17-May-2005
Juniper NetworksNot Vulnerable21-Jun-2005
KTH KerberosUnknown17-May-2005
MandrakeSoftUnknown17-May-2005
Microsoft CorporationNot Vulnerable27-May-2005
MontaVista SoftwareUnknown17-May-2005
NEC CorporationUnknown17-May-2005
NetBSDUnknown17-May-2005
NokiaUnknown17-May-2005
NovellUnknown17-May-2005
Openwall GNU/*/LinuxUnknown17-May-2005
QNXUnknown17-May-2005
Red Hat Inc.Vulnerable11-Jul-2005
SCOUnknown10-May-2005
SGIUnknown17-May-2005
Sony CorporationUnknown17-May-2005
Sun Microsystems Inc.Vulnerable13-Jul-2005
SuSE Inc.Unknown13-May-2005
TurboLinuxUnknown13-May-2005
UnisysUnknown13-May-2005
Wind River Systems Inc.Unknown10-May-2005
WRQUnknown13-May-2005

References


http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2005-002-kdc.txt
http://web.mit.edu/kerberos/advisories/2005-002-patch_1.4.1.txt

Credit

This vulnerability was reported by the MIT Kerberos Development Team. The MIT Kerberos Development Team thank Daniel Wachdorf for reporting this vulnerability.

This document was written by Robert Mead based on information in the MIT krb5 Security Advisory 2005-002.

Other Information

Date Public:2005-07-12
Date First Published:2005-07-13
Date Last Updated:2005-07-13
CERT Advisory: 
CVE-ID(s):CAN-2005-1174
NVD-ID(s):CAN-2005-1174
US-CERT Technical Alerts: 
Metric:11.48
Document Revision:22

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2005 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader