Re: Review of draft-saintandre-tls-server-id-check

Shumon Huque <shuque@isc.upenn.edu> Thu, 09 September 2010 18:22 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 D2A1F3A686D for <ietf@core3.amsl.com>; Thu, 9 Sep 2010 11:22:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.803
X-Spam-Level:
X-Spam-Status: No, score=-3.803 tagged_above=-999 required=5 tests=[AWL=-1.204, 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 XlF0zXjbQFF0 for <ietf@core3.amsl.com>; Thu, 9 Sep 2010 11:22:26 -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 D0DE43A6850 for <ietf@ietf.org>; Thu, 9 Sep 2010 11:22:25 -0700 (PDT)
Received: by talkeetna.isc-net.upenn.edu (Postfix, from userid 4127) id 230F126E4; Thu, 9 Sep 2010 14:22:53 -0400 (EDT)
Date: Thu, 09 Sep 2010 14:22:53 -0400
From: Shumon Huque <shuque@isc.upenn.edu>
To: Stefan Santesson <stefan@aaa-sec.com>
Subject: Re: Review of draft-saintandre-tls-server-id-check
Message-ID: <20100909182253.GB3460@isc.upenn.edu>
References: <20100908195349.GA4292@isc.upenn.edu> <C8ADC7ED.EBA4%stefan@aaa-sec.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <C8ADC7ED.EBA4%stefan@aaa-sec.com>
User-Agent: Mutt/1.4.2.1i
Organization: University of Pennsylvania
Cc: Bernard Aboba <bernard_aboba@hotmail.com>, 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:22:28 -0000

On Wed, Sep 08, 2010 at 11:08:29PM +0200, Stefan Santesson wrote:
> 
> On 10-09-08 9:53 PM, "Shumon Huque" <shuque@isc.upenn.edu> wrote:
> > The output of the SRV record lookup contains a target hostname,
> > not a service name, so it's not applicable to the SRVName name
> > form. The target could be used in another name form (dNSName)
> > as the reference identifier, but then the client needs to convince
> > itself that the lookup was done securely (DNSSEC or some other
> > means) otherwise there's a security problem.
> 
> I disagree,
> 
> A client can use the output from the DNS lookup also from a normal insecure
> DNS server.
> 
> The only thing the client need to do is to verify that the domain name
> provided in the input to the lookup matches the host names provided in the
> output. It can then safely use the host names in the SRV record as reference
> identifiers IF the SRV-ID in the server certificate matches the the
> reference identifier.

This only works if the certificate matching rules say something 
like "match the SRVName AND also match the DNS resolved target
hostname in dNSName". If a client attempts to match _only_ the DNS 
resolved hostname without DNSSEC, there is a security problem.

The question is: what should the certificate matching rules say
when encountering a certificate with multiple identity types?
Right now the draft approximately says "find a match" (ie. find
ANY match), rather than match some logically AND'ed combination of 
identity types.

  http://tools.ietf.org/html/draft-saintandre-tls-server-id-check-09#section-4

-- 
Shumon Huque
University of Pennsylvania.