Internet Engineering Task Force (IETF) L. Zhu
Request for Comments: 6111 Microsoft Corporation
Updates: 4120 April 2011
Category: Standards Track
ISSN: 2070-1721
Additional Kerberos Naming Constraints
Zhu Standards Track [Page 1]
RFC 6111 Kerberos Naming April 2011
Table of Contents
1. Introduction
Occasionally, protocol designers need to designate a Kerberos principal name or a Kerberos realm name to have a special meaning other than identifying a particular instance. An example is that the anonymous principal name and the anonymous realm name are defined for the Kerberos anonymity support [RFC6112]. This anonymity name pair conveys no more meaning than that the client's identity is not disclosed. In the case of the anonymity support, it is critical that deployed Kerberos implementations that do not support anonymity fail the authentication if the anonymity name pair is used; therefore, no access is granted accidentally to a principal who's name happens to match with that of the anonymous identity.
Zhu Standards Track [Page 2]
RFC 6111 Kerberos Naming April 2011
This document remedies these issues by defining well-known Kerberos names and the protocol behavior when a well-known name is used but not supported.
2. Conventions Used in This Document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].
3. Definitions
In this section, well-known names are defined for both the Kerberos principal name and the Kerberos realm name.
3.1. Well-Known Kerberos Principal Names
A new name type KRB_NT_WELLKNOWN is defined for well-known principal names. The Kerberos principal name is defined in Section 6.2 of [RFC4120].
Zhu Standards Track [Page 3]
RFC 6111 Kerberos Naming April 2011
KRB_AP_ERR_PRINCIPAL_UNKNOWN 82
3.2. Well-Known Kerberos Realm Names
Section 6.1 of [RFC4120] defines the "other" style of realm name, a new realm type WELLKNOWN is defined as a name of type "other", with the NAMETYPE part filled in with the string literal "WELLKNOWN".
KRB_AP_ERR_REALM_UNKNOWN 83
-- A well-known Kerberos realm name is used but not
-- supported.
Zhu Standards Track [Page 4]
RFC 6111 Kerberos Naming April 2011 4. Security ConsiderationsIt is possible to have a name collision with well-known names because Kerberos, as defined in [RFC4120], does not reserve names that have special meanings; accidental reuse of names MUST be avoided. If a well-known name is not supported, authentication MUST fail as specified in Section 3. Otherwise, access can be granted unintentionally, resulting in a security weakness. Consider, for example, a KDC that supports this specification but not the anonymous authentication described in [RFC6112]. Assume further that the KDC allows a principal to be created named identically to the anonymous principal. If that principal were created and given access to resources, then anonymous users might inadvertently gain access to those resources if the KDC supports anonymous authentication at some future time. Similar issues may occur with other well-known names. By requiring that KDCs reject authentication with unknown well-known names, we minimize these concerns.
Zhu Standards Track [Page 5]
RFC 6111 Kerberos Naming April 2011 5. AcknowledgementsThe initial document was mostly based on the author's conversation with Clifford Newman and Sam Hartman.
6. IANA Considerations
This document provides the framework for defining well-known Kerberos names and Kerberos realms. Two new IANA registries have been created to contain well-known Kerberos principal names and Kerberos realm names that are defined based on this document. The evaluation policy for each is "Specification Required", as specified in [RFC5226].7. References 7.1. Normative References[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
7.2. Informative References
[RFC6112] Zhu, L., Leach, P., and S. Hartman, "Anonymity Support for