Re: [Doh] Suggestion on draft-ietf-doh-dns-over-https-13: Recommend DANE-TLS to authenticate the TLS-certificate

"Rene 'Renne' Bartsch, B.Sc. Informatics" <ietf@bartschnet.de> Thu, 16 August 2018 15:42 UTC

Return-Path: <ietf@bartschnet.de>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DEA7130EA7 for <doh@ietfa.amsl.com>; Thu, 16 Aug 2018 08:42:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (4096-bit key) header.d=bartschnet.de
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bf3NRap91ZQV for <doh@ietfa.amsl.com>; Thu, 16 Aug 2018 08:42:28 -0700 (PDT)
Received: from mail.core-networks.de (mail.core-networks.de [IPv6:2001:1bc0:d::4:9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF72A130DCA for <doh@ietf.org>; Thu, 16 Aug 2018 08:42:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bartschnet.de; s=2018030201; h=Content-Transfer-Encoding:MIME-Version:Date: Message-ID:From:To:Subject:content-disposition; bh=8KlusN1yrE3IjWfVSY0dUM7Kmm0bwOxkt+V0U5xq8Vw=; b=ZG9DLCOlvc6/ck9ciwAJOhFrMy iIZW0pXE69ux8/ltLI8u8f6P/5r+hvwP5MjqkSJi3H9BGd0XnLfT4Hl4N8HpCz8NtLGF0agfn92Ll QNozb4eBSIq0FKvpKILr/BF4RXXj6IHFTq1EouKBQAscRFt5FTCYsOj3b7v9SE1Nd7G6SY12tizNs k8V5+4eQ5LlrlN4qVz0tDj99YZpq/agTbLTg1IocK0qMoLm44Y5xLuDJdYMwEiQoaPp/JLAbNIBdN Y/vmFl/j1+22h+OxniyrduxA+g0cO4XaVtWGtRx8VjWoUxV4Uo0lDgGqn1PBAnmOzduHcpdMZJ5SW simxWfmHtgh0kfabHCeUR6+c2L2b41EgtP/g+836WhHazaqig2ZFttoJVNILsoy0E76qhsohcEWzx g/CsO1hD8WqKlxT9waZcF4k1mvt1ZbDB6x5J/YvHcRREHlr6hY/10WlPpQzXLHx6YqZBueJO/9d3S YUdFPzn4TggysB4GJdRAzAnxEoO84IGv4ieHGgRFRupThzlaMhg4xdbft8LrGmOeii1Oak08ubs0T bZS2V032ucg7lNBP3mpgtGfH8EcBI5Sw0acaoow+p6hWF9VkUwReHbDGG8hYtO0MYwmmQWHWagZ2w 2wI5e4XScOkoHAS+prk5XKEHJXH4oX/991Ypqk66s=;
Received: from localhost (localhost [127.0.0.1]) by mail.core-networks.de id 1fqKPo-0004Pk-HJ with ESMTPSA (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) for doh@ietf.org; Thu, 16 Aug 2018 17:42:25 +0200
To: doh@ietf.org
References: <6fb4a552-8d5e-494b-f934-1f97b83b0ab6@bartschnet.de> <CABcZeBMGedNJx_bEResOQKHp4eRFuvrZg_QpQ3DSK_zo-yjU0A@mail.gmail.com>
From: "Rene 'Renne' Bartsch, B.Sc. Informatics" <ietf@bartschnet.de>
Message-ID: <57f33ab2-4af1-8760-5d0b-7f85612aea56@bartschnet.de>
Date: Thu, 16 Aug 2018 17:42:22 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CABcZeBMGedNJx_bEResOQKHp4eRFuvrZg_QpQ3DSK_zo-yjU0A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US-large
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/t3LN5j-TSel7xuWHud45fpKVDRE>
Subject: Re: [Doh] Suggestion on draft-ietf-doh-dns-over-https-13: Recommend DANE-TLS to authenticate the TLS-certificate
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Aug 2018 15:42:31 -0000


Am 16.08.2018 um 15:38 schrieb Eric Rescorla:
> 
> 
> On Thu, Aug 16, 2018 at 1:13 AM, Rene 'Renne' Bartsch, B.Sc. Informatics <ietf=40bartschnet.de@dmarc.ietf.org <mailto:ietf=40bartschnet.de@dmarc.ietf.org>> wrote:
> 
>     Hi,
> 
>     as TLS-certificates forged or obtained by devious means have become common in MITM-attacks by intelligence and criminals
>     I suggest to RECOMMEND authentication of the DoH-server TLS-certificate via DANE-TLS (RFC 6698) in section 10 (Security considerations).
> 
> 
> I don't think we should make this change. Much of the value proposition of DoH is that it's straightforward to run on top of existing HTTPS infrastructure, and as a practical matter nearly all of that infrastructure depends on WebPKI certs and does not do DANE. For that reason, this recommendation would be more aspirational than practical.

The problem I see is that e.g. firewall appliances with fake certificates by intermediate certificates can break privacy and manipulate the DNS records.
Without proper authentication of the DoH-server certificate DoH only protects from script-kiddies.


Renne