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

MIT Kerberos kadmind principal renaming stack buffer overflow

Overview

The MIT Kerberos administration daemon (kadmind) contains a stack buffer overflow that may allow a remote, authenticated attacker to execute arbitrary code or cause a denial of service.

I. Description

A vulnerability exists in the way the principal renaming operation used by the Kerberos administration daemon handles strings and a fixed-size stack buffer. This vulnerability may cause a buffer overflow vulnerability that could allow a remote, authenticated user to execute arbitrary code. According to MIT krb5 Security Advisory MITKRB5-SA-2007-005:

    The kadmind code which performs the principal renaming operation passes unchecked string arguments to a sprintf() call which has a fixed-size stack buffer as its destination. These strings are the old and new principal names passed to the rename operation. The attacker needs to authenticate to kadmind to perform this attack, but no administrative privileges are required because the vulnerable code executes prior to privilege verification.

Note that this issue affects all releases of MIT krb5 up to and including krb5-1.6.1. MIT has been provided with proof-of-concept exploit code, but it's not clear whether the exploit code is publicly available yet.

II. Impact

A remote, authenticated user may be able to execute arbitrary code on an affected system or cause the affected program to crash, resulting in a denial of service. Secondary impacts of code execution include complete compromise of the Kerberos key database.

III. Solution

Apply a patch

A patch can be obtained from MIT krb5 Security Advisory MITKRB5-SA-2007-005. MIT also states that this will be addressed in the upcoming krb5-1.6.2 and krb5-1.5.4 releases.

Systems Affected

VendorStatusDate NotifiedDate Updated
Apple Computer, Inc.Unknown18-Jun-2007
AttachmateWRQ, Inc.Unknown18-Jun-2007
Conectiva Inc.Unknown18-Jun-2007
Cray Inc.Unknown18-Jun-2007
CyberSafe, Inc.Not Vulnerable18-Jun-2007
Debian GNU/LinuxVulnerable30-Jul-2007
EMC CorporationUnknown18-Jun-2007
Engarde Secure LinuxUnknown18-Jun-2007
F5 Networks, Inc.Unknown18-Jun-2007
Fedora ProjectUnknown18-Jun-2007
FreeBSD, Inc.Unknown18-Jun-2007
FujitsuUnknown18-Jun-2007
Gentoo LinuxVulnerable14-Aug-2007
Hewlett-Packard CompanyUnknown18-Jun-2007
HitachiUnknown18-Jun-2007
IBM CorporationUnknown18-Jun-2007
IBM Corporation (zseries)Unknown18-Jun-2007
IBM eServerUnknown18-Jun-2007
Immunix Communications, Inc.Unknown18-Jun-2007
Ingrian Networks, Inc.Unknown18-Jun-2007
Juniper Networks, Inc.Not Vulnerable26-Jun-2007
KTH Kerberos TeamUnknown18-Jun-2007
Mandriva, Inc.Unknown27-Jun-2007
Microsoft CorporationNot Vulnerable19-Jun-2007
MIT Kerberos Development TeamUnknown13-Jun-2007
MontaVista Software, Inc.Unknown18-Jun-2007
NEC CorporationUnknown18-Jun-2007
NetBSDUnknown18-Jun-2007
Network Appliance, Inc.Not Vulnerable27-Jun-2007
NokiaUnknown18-Jun-2007
Novell, Inc.Unknown18-Jun-2007
Openwall GNU/*/LinuxUnknown18-Jun-2007
QNX, Software Systems, Inc.Unknown18-Jun-2007
Red Hat, Inc.Vulnerable26-Jun-2007
Silicon Graphics, Inc.Unknown18-Jun-2007
Slackware Linux Inc.Unknown18-Jun-2007
Sony CorporationUnknown18-Jun-2007
Sun Microsystems, Inc.Vulnerable28-Jun-2007
SUSE LinuxUnknown18-Jun-2007
The SCO GroupUnknown18-Jun-2007
Trustix Secure LinuxUnknown18-Jun-2007
TurbolinuxUnknown18-Jun-2007
UbuntuVulnerable27-Jun-2007
UnisysUnknown18-Jun-2007
Wind River Systems, Inc.Unknown18-Jun-2007

References


http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=548
http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2007-005.txt
http://www.ubuntu.com/usn/usn-477-1
http://www.mandriva.com/security/advisories?name=MDKSA-2007:137
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102985-1
http://secunia.com/advisories/25800/
http://secunia.com/advisories/26033/
http://docs.info.apple.com/article.html?artnum=306172

Credit

Thanks to MIT for reporting this vulnerability, who in turn credit an anonymous discoverer working with iDefense.

This document was written by Will Dormann.

Other Information

Date Public:2007-06-26
Date First Published:2007-06-26
Date Last Updated:2007-08-14
CERT Advisory: 
CVE-ID(s):CVE-2007-2798
NVD-ID(s):CVE-2007-2798
US-CERT Technical Alerts: 
Metric:16.80
Document Revision:16

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

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