search menu icon-carat-right cmu-wordmark

CERT Coordination Center

MIT Kerberos contains array overrun in RPC library used by kadmind

Vulnerability Note VU#374121

Original Release Date: 2008-03-18 | Last Revised: 2011-07-22

Overview

Vulnerabilities in the MIT Kerberos libgssrpc library may allow an attacker to cause a denial of service or potentially execute arbitrary code.

Description

The MIT krb5 Kerberos implementation includes a GSS RPC library used in the Kerberos administration server (kadmind). Two flaws exist in the libgssprc library that can cause an array overrun if too many file descriptors are opened. These flaws result in a vulnerability that could allow memory corruption in the kadmind server.

MIT notes that in software versions 1.4 and later, this flaw can only be exploited in configurations that allow large numbers of open file descriptors in a process. In software versions before 1.3, a similar flaw can be exploited in similar circumstances but is further limited to platforms that do not define certain macros in certain C system header files.

Impact

An unauthenticated remote attacker can cause memory corruption in the libgssrpc library used by kadmind. kadmind will crash, thereby resulting in a denial of service. MIT notes that it is at least theoretically possible for such corruption to result in database corruption or arbitrary code execution.

Solution

Upgrade or apply a patch from the vendor
Patches have been released to address these issues. Please see the Systems Affected section of this document for more details.


Workaround

Before starting kadmind, use "ulimit -n" for Bourne shell and derivatives or "limit descriptors" for C shell and derivatives. Or use similar resource-limiting mechanisms in the invoking process to limit the maximum open file descriptors. The chosen limit should be less than or equal to the value of the FD_SETSIZE macro typically defined in the <sys/select.h> header file.

Vendor Information

374121
 

View all 82 vendors View less vendors


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Ken Raeburn of the MIT Kerberos Team for reporting this vulnerability. MIT credits Jeff Altman of Secure Endpoints with discovering and reporting this issue in software version 1.6.3 and the Red Hat Security Response Team for reporting relevant information about older versions of the software.

This document was written by Chad R Dougherty.

Other Information

CVE IDs: CVE-2008-0947, CVE-2008-0948
Severity Metric: 2.87
Date Public: 2008-03-18
Date First Published: 2008-03-18
Date Last Updated: 2011-07-22 12:53 UTC
Document Revision: 17

Sponsored by CISA.