Internet-Draft | Dangerous Labels in DNS and E-mail | July 2022 |
Gillmor | Expires 28 January 2023 | [Page] |
This document establishes registries that list known security-sensitive labels in the DNS and in e-mail contexts.¶
It provides references and brief explanations about the risks associated with each known label.¶
The registries established here offer guidance to the security-minded system administrator, who may not want to permit registration of these labels by untrusted users.¶
This note is to be removed before publishing as an RFC.¶
The latest revision of this draft can be found at https://dkg.gitlab.io/dangerous-labels/. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-dkg-intarea-dangerous-labels/.¶
Discussion of this document takes place on the Internet Area Working Group mailing list (mailto:intarea@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/intarea/.¶
Source for this draft and an issue tracker can be found at https://gitlab.com/dkg/dangerous-labels.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 28 January 2023.¶
Copyright (c) 2022 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The Internet has a few places where seemingly arbitrary labels can show up and be used interchangeably.¶
Some choices for those labels have surprising or tricky consequences. Reasonable admnistrators may want to be aware of those labels to avoid an accidental allocation that has security implications.¶
This document registers a list of labels in DNS and e-mail systems that are known to have a security impact. It is not recommended to create more security-sensitive labels.¶
Offering a stable registry of these dangerous labels is not an endorsement of the practice of using arbitrary labels in this way. A new protocol that proposes adding a label to this list is encouraged to find a different solution if at all possible.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
Note that [RFC8552] defines the use of "underscored" labels which are treated differently than normal DNS labels, and often have security implications.
That document also established the IANA registry for "Underscored and Globally Scoped DNS Node Names".
That registry takes precedence to the list enumerated here, and any label in that list or with a leading underscore ("_
") MUST NOT be included in this list.¶
Note also that Section 2.2 of [RFC8820] makes it clear that depending on specific forms of DNS labels in a given URI scheme in a protocol is strongly discouraged.¶
Below are some normal-looking DNS labels that may grant some form of administrative control over the domain that they are attached to.¶
They are mostly "leftmost" or least-significant labels (in the sense used in Section 8 of [RFC8499]), in that if foo
were listed here, it would be because granting control over the foo.example.net
label (or control over the host pointed to by foo.example.net
) to an untrusted party might offer that party some form of administrative control over other parts of example.org
.¶
Note: where "<key-tag>" occurs in Table 1, it indicates any sequence of five or more decimal digits, as described in [RFC8509].¶
DNS Label | Rationale | Reference |
---|---|---|
autoconfig
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
autodiscover
|
Hijack Microsoft Exchange client configuration | [AUTODISCOVER] |
imap
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
imaps
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
mta-sts
|
Set SMTP transport security policy | [RFC8461] |
openpgpkey
|
Domain-based OpenPGP certificate lookup and verification | [I-D.koch-openpgp-webkey-service] |
pop3
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
pop3s
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
root-key-sentinel-is-ta- <key-tag> |
Indicates which DNSSEC root key is trusted | [RFC8509] |
root-key-sentinel-not-ta- <key-tag> |
Indicates which DNSSEC root key is not trusted | [RFC8509] |
smtp
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
smtps
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
submission
|
Hijack mail user agent autoconfiguration | [AUTOCONF] |
wpad
|
Automatic proxy discovery | [I-D.ietf-wrec-wpad-01] |
www
|
Popular web browsers guess this label | FIXME: find a reference |
Section 3.4.1 of [RFC5322] defines the local-part
of an e-mail address (the part before the "@
" sign) as "domain-dependent".
However, allocating some specific local-part
s to an untrusted party can have significant security consequences for the domain or other associated resources.¶
Note that all these labels are expected to be case-insensitive.
That is, an administrator restricting registration of a local-part
named "admin
" MUST also apply the same constraint to "Admin
" or "ADMIN
" or "aDmIn
".¶
[RFC2142] offers some widespread historical practice for common local-part
s.
The CA/Browser Forum's Baseline Requirements ([CABForum-BR]) constrain how any popular Public Key Infrastructure (PKI) Certification Authority (CA) should confirm domain ownership when verifying by e-mail.
The public CAs used by popular web browsers ("web PKI") will adhere to these guidelines, but anyone relying on unusual CAs may still be subject to risk additional labels described here.¶
E-mail local-part | Rationale | References |
---|---|---|
abuse
|
Receive reports of abusive public behavior | Section 2 of [RFC2142] |
administrator
|
PKI Cert Issuance | Section 3.2.2.4.4 of [CABForum-BR] |
admin
|
PKI Cert Issuance | Section 3.2.2.4.4 of [CABForum-BR] |
hostmaster
|
PKI Cert Issuance, DNS zone control | Section 3.2.2.4.4 of [CABForum-BR], Section 7 of [RFC2142] |
info
|
PKI Cert Issuance (historical) | [VU591120] |
is
|
PKI Cert Issuance (historical) | [VU591120] |
it
|
PKI Cert Issuance (historical) | [VU591120] |
noc
|
Receive reports of network problems | Section 4 of [RFC2142] |
postmaster
|
Receive reports related to SMTP service, PKI Cert Issuance | Section 5 of [RFC2142], Section 3.2.2.4.4 of [CABForum-BR] |
root
|
Receive system software notifications, PKI Cert Issuance (historic) |
[VU591120], FIXME: find a reference for root (software config docs?) |
security
|
Receive reports of technical vulnerabilities | Section 4 of [RFC2142] |
ssladministrator
|
PKI Cert Issuance (historical) | [VU591120] |
ssladmin
|
PKI Cert Issuance (historical) | [VU591120] |
sslwebmaster
|
PKI Cert Issuance (historical) | [VU591120] |
sysadmin
|
PKI Cert Issuance (historical) | [VU591120] |
webmaster
|
PKI Cert Issuance, Receive reports related to HTTP service | Section 3.2.2.4.4 of [CABForum-BR], Section 5 of [RFC2142] |
www
|
Common alias for webmaster
|
Section 5 of [RFC2142] |
Allowing untrusted parties to allocate names with the labels associated in this document may grant access to administrative capabilities.¶
The administrator of a DNS or E-mail service that permits any untrusted party to register an arbitrary DNS label or e-mail local-part
for their own use SHOULD reject attempts to register the labels listed here.¶
The lists of security concerns in this document cover security risks and concerns associated with interoperable use of specific labels. They do not cover every possible security concern associated with any DNS label or e-mail localpart.¶
For example, DNS labels with an existing underscore are likely by construction to be sensitive, and are registered separately in the registry defined by [RFC8552].¶
Similarly, where humans or other systems capable of transcription error are in the loop, subtle variations of the labels listed here may also have security implications, due to homomgraphic confusion ([Homograph]), but this document does not attempt to enumerate all phishing, typosquatting, or similar risks of visual confusion, nor does it exhaustively list all other potential risks associated with variant encodings. See [UTR36] for a deeper understanding of these categories of security concerns.¶
Additionally, some labels may be associated with security concerns that happen to also commonly show up as DNS labels or e-mail local parts, but their risk is not associated with their use in interoperable public forms of DNS or e-mail.
For example, on some systems, a local user account named backup
has full read access to the local filesystem so that it can transfer data to the local backup system.
And in some cases, the list of local user accounts is also aliased into e-mail local parts.
However, permitting the registration of backup@example.net
as an e-mail address is not itself an interoperable security risk -- no external third party will treat any part of the example.net
domain differently because of the registration.
This document does not cover any risk entirely related to internal configuration choices.¶
This document asks IANA to establish two registries, from Table 1 and Table 2.¶
The table of Dangerous DNS Labels (in Table 1) has three columns:¶
Note that this table does not include anything that should be handled by the pre-existing "Underscored and Globally Scoped DNS Node Names" registry defined by [RFC8552].¶
Following the guidance in [BCP26], any new entry to this registry will be assigned using Specification Required. The IESG will assign one or more designated experts for this purpose, who will consult with the IETF DNSOP working group mailing list or its designated successor. The Designated Expert will support IANA by clearly indicating when a new DNS label should be added to this table, offering the label itself, a brief rationale, and a pointer to the permanent and readily available documentation of the security consequences of the label. Updates or deletions of DNS Labels will follow the same process.¶
The table of Dangerous E-mail Local Parts (in Table 2 also has three columns:¶
Following the guidance in [BCP26], any new entry to this registry will be assigned using Specification Required. The IESG will assign one or more designated experts for this purpose, who will consult with the IETF EMAILCORE working group mailing list or its designated successor. The Designated Expert will support IANA by clearly indicating when a new e-mail local part should be added to this table, offering the local part itself, a brief rationale, and a pointer to the permanent and readily available documentation of the security consequences of the local part. Updates or deletions of of E-mail Local Parts will follow the same process.¶
Many people created these dangerous labels or the authorization processes that rely on them over the years.¶
Dave Crocker wrote an early list of special e-mail local-parts, from [RFC2142].¶
Paul Hoffman tried to document a wider survey of special DNS labels (not all security-sensitive) in [I-D.hoffman-dns-special-labels].¶
Rasmus Dahlberg, yuki, and Carsten Bormann reviewed this draft and gave feedback.¶
Tim Wicinski pointed out wpad.¶
This section is to be removed before publishing as an RFC.¶
This document is limited to leftmost DNS labels and e-mail local-parts because those are the arbitrary labels that the author is familiar with. There may be other types of arbitrary labels on the Internet with special values that have security implications that the author is not aware of. If you are aware of some other system with a similar pattern, please send feedback.¶