Re: [DNSOP] New Version Notification for draft-rebs-dnsop-svcb-dane-00.txt
Philip Homburg <pch-dnsop-4@u-1.phicoh.com> Sun, 12 December 2021 08:50 UTC
Return-Path: <pch-b28DE43C2@u-1.phicoh.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 33CF13A08B8 for <dnsop@ietfa.amsl.com>; Sun, 12 Dec 2021 00:50:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level:
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 pm4xmTOQPE8I for <dnsop@ietfa.amsl.com>; Sun, 12 Dec 2021 00:50:04 -0800 (PST)
Received: from stereo.hq.phicoh.net (stereo6.hq.phicoh.net [IPv6:2001:981:201c:1:2a0:c9ff:fe9f:17a9]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4D473A08B7 for <dnsop@ietf.org>; Sun, 12 Dec 2021 00:50:02 -0800 (PST)
Received: from stereo.hq.phicoh.net (localhost [::ffff:127.0.0.1]) by stereo.hq.phicoh.net with esmtp (TLS version=TLSv1.2 cipher=ECDHE-RSA-CHACHA20-POLY1305) (Smail #158) id m1mwKYQ-0000H0C; Sun, 12 Dec 2021 09:49:58 +0100
Message-Id: <m1mwKYQ-0000H0C@stereo.hq.phicoh.net>
To: dnsop@ietf.org
From: Philip Homburg <pch-dnsop-4@u-1.phicoh.com>
Sender: pch-b28DE43C2@u-1.phicoh.com
References: <163908832760.8339.4135304026578566025@ietfa.amsl.com> <CAHbrMsCbN8+2UCQLCYKvp5RZ_v+srMha5xU25A9Q9F=ASna9xA@mail.gmail.com> <F9919030-4B37-42DE-BE7B-73BAAFDC5433@dukhovni.org> <m1mw0U9-0000IMC@stereo.hq.phicoh.net> <YbV6LCozgx3GhGE7@straasha.imrryr.org>
In-reply-to: Your message of "Sat, 11 Dec 2021 23:27:24 -0500 ." <YbV6LCozgx3GhGE7@straasha.imrryr.org>
Date: Sun, 12 Dec 2021 09:49:57 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/4mfOxV2gSkx8i67okIxIqId2_is>
Subject: Re: [DNSOP] New Version Notification for draft-rebs-dnsop-svcb-dane-00.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Dec 2021 08:50:06 -0000
>> There is something I don't understand about this draft. > >The main thing to understand is that complex applications like browsers >allow data retrieved from one endpoint to script interaction with a >*different* endpoint, and possibly see the retrieved content, subject to >various CORS (Cross-origin resource sharing) controls. Indeed this is subject to CORS. Nothing new here. Any browser needs to get this right. >If the client uses the same (client) certificate to identify itself to >both the attacker and victim servers, then if it believes that the >victim server is the same origin as the attacker's server, it may allow >cross-origin requests between them. This is broken. There is no reason why a client cerficate should lead the browser to believe that two sites are the same. As you describe above, we have CORS headers for that. In particular, an attacker can always accept a client certificate. If the mere acceptance of a client cert causes confusion, then the client is already in deep trouble. >> Suppose an attacker creates attack[1-3].example.com with 3 different setups: >> >> 1) attack1.example.com has a regular PKI cert and the attacker runs a >> reverse proxy there that relays traffic to victim.example.com > >This does not achieve client cert authentication to victim server. Indeed. The draft does not mention client certs at all. Where does that come from? >> 3) attack3.example.com has a DANE record that refers to the cert of >> victim.example.com. There the attacker directly relays traffic to >> victim.example.com. > >This does would achieve client cert authentication to victim server, if >the client does not perform certificate name checks. Which is fine, because this connection is still secure. Note that the server gets a request asking for attack3.example.com. So this should immediately return a failure. Of course, if the server ignore the host header and then sends private information to client only based on the client cert, this will cause the client to be confused. >For applications other than browsers, sure. Browsers go out of their to >run code served by the remote server, and then try to make that somehow >safe. It's a miracle they sometimes succeed. It seems that this is an attempt to solve an insecure server problem at the client in the context of clients with certificates. It is a pity that the draft doesn't spell that out at all. The web security is already complex enough. Maybe we should not fix broken servers in the client by adding obscure requirements to DANE certificate processing.
- [DNSOP] Fwd: New Version Notification for draft-r… Ben Schwartz
- Re: [DNSOP] New Version Notification for draft-re… Viktor Dukhovni
- Re: [DNSOP] New Version Notification for draft-re… Philip Homburg
- Re: [DNSOP] New Version Notification for draft-re… Viktor Dukhovni
- Re: [DNSOP] New Version Notification for draft-re… Philip Homburg
- Re: [DNSOP] New Version Notification for draft-re… Viktor Dukhovni
- Re: [DNSOP] New Version Notification for draft-re… Ben Schwartz
- Re: [DNSOP] New Version Notification for draft-re… Viktor Dukhovni
- Re: [DNSOP] [Ext] New Version Notification for dr… Paul Hoffman
- Re: [DNSOP] [Ext] New Version Notification for dr… Paul Wouters
- Re: [DNSOP] New Version Notification for draft-re… Ben Schwartz
- Re: [DNSOP] New Version Notification for draft-re… Viktor Dukhovni