Re: [dnsext] DS digest downgrade

Mark Andrews <marka@isc.org> Tue, 22 March 2011 14:02 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3053928C0F4 for <dnsext@core3.amsl.com>; Tue, 22 Mar 2011 07:02:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.13
X-Spam-Level:
X-Spam-Status: No, score=-2.13 tagged_above=-999 required=5 tests=[AWL=-0.131, BAYES_00=-2.599, J_CHICKENPOX_13=0.6]
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 kSGxIrEzqlhO for <dnsext@core3.amsl.com>; Tue, 22 Mar 2011 07:01:54 -0700 (PDT)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by core3.amsl.com (Postfix) with ESMTP id 9F27328C0D0 for <dnsext@ietf.org>; Tue, 22 Mar 2011 07:01:53 -0700 (PDT)
Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "bikeshed.isc.org", Issuer "ISC CA" (verified OK)) by mx.ams1.isc.org (Postfix) with ESMTPS id D664F5F9865; Tue, 22 Mar 2011 14:03:10 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (c211-30-172-21.carlnfd1.nsw.optusnet.com.au [211.30.172.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bikeshed.isc.org (Postfix) with ESMTPSA id C5FB4216C33; Tue, 22 Mar 2011 14:03:08 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id 72E8DD15DFB; Wed, 23 Mar 2011 01:03:06 +1100 (EST)
To: Derek Atkins <warlord@MIT.EDU>
From: Mark Andrews <marka@isc.org>
References: <201103212338.p2LNceH6051081@givry.fdupont.fr><sjmipvbcnt7.fsf@pgpdev.ihtfp.org>
In-reply-to: Your message of "Tue, 22 Mar 2011 09:00:36 EDT." <sjmipvbcnt7.fsf@pgpdev.ihtfp.org>
Date: Wed, 23 Mar 2011 01:03:06 +1100
Message-Id: <20110322140306.72E8DD15DFB@drugs.dv.isc.org>
Cc: dnsext@ietf.org
Subject: Re: [dnsext] DS digest downgrade
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Mar 2011 14:02:11 -0000

In message <sjmipvbcnt7.fsf@pgpdev.ihtfp.org>, Derek Atkins writes:
> Francis Dupont <Francis.Dupont@fdupont.fr> writes:
> 
> >  In your previous mail you wrote:
> >
> >    i.e. the zone is using SHA1 DS records, admin generates new KSK,
> >    publishes SHA256 DS for the new KSK but doesn't publish SHA256 DS
> >    for the old KSK, leading to validat ion failures.
> >    
> > => this should never happen as the rule is in fact for the
> > replacement of SHA1 by SHA256 as the DS digest algorithm.
> >  But don't believe we are saved: there are other DS digest algos
> > (and even more to come) and the mixed algo case is dangerously
> > under-specified...
> 
> It also doesn't help protect against an active man-in-the-middle who can
> make sure that the validator never receives the SHA256 DS RR.
> Unfortunately the validator can only validate what it receives; there's
> often not a way for it to know what it should expect to receive.

This attack is not possible.
 
> > Regards
> >
> > Francis.Dupont@fdupont.fr
> 
> -derek
> 
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
> _______________________________________________
> dnsext mailing list
> dnsext@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsext
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org