Re: [certid] Review of draft-saintandre-tls-server-id-check

Shumon Huque <shuque@isc.upenn.edu> Thu, 09 September 2010 18:11 UTC

Return-Path: <shuque@isc.upenn.edu>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EE61D3A688A; Thu, 9 Sep 2010 11:11:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.87
X-Spam-Level:
X-Spam-Status: No, score=-3.87 tagged_above=-999 required=5 tests=[AWL=-1.271, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H4HfCoM21djp; Thu, 9 Sep 2010 11:11:21 -0700 (PDT)
Received: from talkeetna.isc-net.upenn.edu (TALKEETNA.isc-net.upenn.edu [128.91.197.188]) by core3.amsl.com (Postfix) with ESMTP id 7A08A3A67EC; Thu, 9 Sep 2010 11:11:10 -0700 (PDT)
Received: by talkeetna.isc-net.upenn.edu (Postfix, from userid 4127) id B8D9626E4; Thu, 9 Sep 2010 14:11:37 -0400 (EDT)
Date: Thu, 09 Sep 2010 14:11:37 -0400
From: Shumon Huque <shuque@isc.upenn.edu>
To: Stefan Santesson <stefan@aaa-sec.com>
Subject: Re: [certid] Review of draft-saintandre-tls-server-id-check
Message-ID: <20100909181137.GA3460@isc.upenn.edu>
References: <4C8807AC.9020808@stpeter.im> <C8ADE1F1.EBB9%stefan@aaa-sec.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <C8ADE1F1.EBB9%stefan@aaa-sec.com>
User-Agent: Mutt/1.4.2.1i
Organization: University of Pennsylvania
Cc: Bernard Aboba <bernard_aboba@hotmail.com>, IETF cert-based identity <certid@ietf.org>, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2010 18:11:23 -0000

On Thu, Sep 09, 2010 at 12:59:29AM +0200, Stefan Santesson wrote:
> Peter,
> 
> I don't see the problem with accepting a host names provided by DNS SRV
> record as the reference identity.
> 
> Could you elaborate the threat?
> 
> Example:
> 
> I ask the DNS for the host providing smtp services for example.com
> I get back that the following hosts are available
> 
> smtp1.example.com, and;
> smtp2.example.com
> 
> I contact the first one using a TSL connection and receives a server
> certificate with the SRVName _smtp.example.com and the dNSName
> smtp1.example.com
> 
> The certificate confirms that the host in fact is smtp1.example.com and that
> it is authorized to provide smtp services for the domain example.com.
> 
> That is all you need. The host name from the DNS server was setting you on
> the track but is not considered trusted. What you trust is the names in the
> certificate.

This is a more complicated example than the current draft
addresses.

In your example, the client is verifying "a combination of 
identifiers" (SRVName and dNSName) in the certificate. This
seems like a reasonable thing to do, but this is not what
most clients do today (I'd be happy to be corrected about
that). Typically, they consider a match successful once they've
found a single acceptable reference identifier. In that case,
you can't simply use a reference identifier that contains
a DNS mapped identifier unless you've obtained it an authenticated
(or statically configured) manner.

-- 
Shumon Huque
University of Pennsylvania.