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#623332

MIT Kerberos 5 contains double free vulnerability in "krb5_recvauth()" function

Overview

An unauthenticated attacker can cause krb5_recvauth() function to free a block of memory twice, possibly leading to arbitrary code execution.

I. Description

Kerberos is a network authentication system that 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.

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

    The krb5_recvauth() function can free previously freed memory under some error conditions. This vulnerability may allow an unauthenticated remote attacker to execute arbitrary code. Exploitation of this vulnerability on a Kerberos Key Distribution Center (KDC) host can result in compromise of an entire Kerberos realm. No exploit code is known to exist at this time. Exploitation of double-free vulnerabilities is believed to be difficult.

II. Impact

An unauthenticated attacker may be able to execute arbitrary code in the context of a program calling krb5_recvauth(). This includes the kpropd program which typically runs on slave Key Distribution Center (KDC) hosts, potentially leading to compromise of an entire Kerberos realm. For more information please see the MIT krb5 Security Advisory 2005-003.

III. Solution

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

Systems Affected

VendorStatusDate NotifiedDate Updated
Apple Computer Inc.Unknown12-Jul-2005
Check PointNot Vulnerable9-Jun-2005
ConnectivaUnknown12-Jul-2005
Cray Inc.Unknown12-Jul-2005
DebianUnknown12-Jul-2005
EMC CorporationUnknown12-Jul-2005
EngardeUnknown12-Jul-2005
F5 NetworksNot Vulnerable6-Jun-2005
Force10 Networks Inc.Not Vulnerable7-Jun-2005
FreeBSDUnknown12-Jul-2005
FujitsuUnknown12-Jul-2005
HitachiNot Vulnerable12-Jul-2005
HPUnknown12-Jul-2005
IBMUnknown12-Jul-2005
ImmunixUnknown12-Jul-2005
Ingrian NetworksUnknown12-Jul-2005
Juniper NetworksNot Vulnerable12-Jul-2005
KTH KerberosUnknown12-Jul-2005
Mandriva Inc.Unknown12-Jul-2005
Microsoft CorporationNot Vulnerable6-Jun-2005
MiT Kerberos Development TeamVulnerable12-Jul-2005
MontaVista SoftwareUnknown12-Jul-2005
NEC CorporationUnknown12-Jul-2005
NetBSDUnknown12-Jul-2005
NetfilterNot Vulnerable9-Jun-2005
NokiaUnknown12-Jul-2005
NovellUnknown12-Jul-2005
OpenBSDUnknown12-Jul-2005
Openwall GNU/*/LinuxUnknown12-Jul-2005
QNXUnknown12-Jul-2005
Red Hat Inc.Vulnerable12-Jul-2005
SCOUnknown12-Jul-2005
SequentUnknown12-Jul-2005
SGIUnknown12-Jul-2005
Sony CorporationUnknown12-Jul-2005
Sun Microsystems Inc.Vulnerable13-Jul-2005
SuSE Inc.Unknown12-Jul-2005
TurboLinuxUnknown12-Jul-2005
UnisysUnknown12-Jul-2005
WatchGuardNot Vulnerable12-Jul-2005
Wind River SystemsUnknown8-Aug-2005

References


http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2005-003-recvauth.txt

Credit

This vulnerability was reported by the MIT Kerberos Development Team. The MIT Kerberos Development Team thanks Magnus Hagander for reporting this vulnerability.

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

Other Information

Date Public:2005-07-12
Date First Published:2005-07-13
Date Last Updated:2005-08-08
CERT Advisory: 
CVE-ID(s):CAN-2005-1689
NVD-ID(s):CAN-2005-1689
US-CERT Technical Alerts: 
Metric:13.01
Document Revision:19

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