Issues in Identifier Comparison for Security Purposes
draft-iab-identifier-comparison-07

The information below is for an old version of the document
Document Type Active Internet-Draft
Last updated 2012-12-17
Stream IAB
Intended RFC status (None)
Formats plain text pdf html
Stream IAB state IAB Review
Consensus Unknown
Document shepherd None
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                     D. Thaler, Ed.
Internet-Draft                                                 Microsoft
Intended status: Informational                         December 15, 2012
Expires: June 18, 2013

         Issues in Identifier Comparison for Security Purposes
                 draft-iab-identifier-comparison-07.txt

Abstract

   Identifiers such as hostnames, URIs, and email addresses are often
   used in security contexts to identify security principals and
   resources.  In such contexts, an identifier supplied via some
   protocol is often compared against some policy to make security
   decisions such as whether the principal may access the resource, what
   level of authentication or encryption is required, etc.  If the
   parties involved in a security decision use different algorithms to
   compare identifiers, then failure scenarios ranging from denial of
   service to elevation of privilege can result.  This document provides
   a discussion of these issues that designers should consider when
   defining identifiers and protocols, and when constructing
   architectures that use multiple protocols.

Status of this Memo

   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 http://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 June 18, 2013.

Copyright Notice

   Copyright (c) 2012 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

Thaler                    Expires June 18, 2013                 [Page 1]
Internet-Draft            Identifier Comparison            December 2012

   (http://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 Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.1.  Canonicalization . . . . . . . . . . . . . . . . . . . . .  4
   2.  Security Uses  . . . . . . . . . . . . . . . . . . . . . . . .  5
     2.1.  Types of Identifiers . . . . . . . . . . . . . . . . . . .  6
     2.2.  False Positives and Negatives  . . . . . . . . . . . . . .  7
     2.3.  Hypothetical Example . . . . . . . . . . . . . . . . . . .  8
   3.  Common Identifiers . . . . . . . . . . . . . . . . . . . . . .  9
     3.1.  Hostnames  . . . . . . . . . . . . . . . . . . . . . . . .  9
       3.1.1.  IPv4 Literals  . . . . . . . . . . . . . . . . . . . . 10
       3.1.2.  IPv6 Literals  . . . . . . . . . . . . . . . . . . . . 11
       3.1.3.  Internationalization . . . . . . . . . . . . . . . . . 12
       3.1.4.  Resolution for comparison  . . . . . . . . . . . . . . 12
     3.2.  Ports and Service Names  . . . . . . . . . . . . . . . . . 13
     3.3.  URIs . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
       3.3.1.  Scheme component . . . . . . . . . . . . . . . . . . . 15
       3.3.2.  Authority component  . . . . . . . . . . . . . . . . . 15
       3.3.3.  Path component . . . . . . . . . . . . . . . . . . . . 16
       3.3.4.  Query component  . . . . . . . . . . . . . . . . . . . 16
       3.3.5.  Fragment component . . . . . . . . . . . . . . . . . . 16
       3.3.6.  Resolution for comparison  . . . . . . . . . . . . . . 17
     3.4.  Email Address-like Identifiers . . . . . . . . . . . . . . 17
   4.  General Issues . . . . . . . . . . . . . . . . . . . . . . . . 18
     4.1.  Conflation . . . . . . . . . . . . . . . . . . . . . . . . 18
     4.2.  Internationalization . . . . . . . . . . . . . . . . . . . 18
     4.3.  Scope  . . . . . . . . . . . . . . . . . . . . . . . . . . 19
     4.4.  Temporality  . . . . . . . . . . . . . . . . . . . . . . . 20
   5.  Security Considerations  . . . . . . . . . . . . . . . . . . . 20
   6.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 21
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 21
Show full document text