Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-svcb-https-05.txt

Paul Wouters <paul@nohats.ca> Mon, 10 May 2021 20:04 UTC

Return-Path: <paul@nohats.ca>
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 A9F533A2957 for <dnsop@ietfa.amsl.com>; Mon, 10 May 2021 13:04:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 PLmUwZvTLUTO for <dnsop@ietfa.amsl.com>; Mon, 10 May 2021 13:04:27 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.68]) (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 9807C3A2954 for <dnsop@ietf.org>; Mon, 10 May 2021 13:04:27 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 4FfBpc53bWz9yn for <dnsop@ietf.org>; Mon, 10 May 2021 22:04:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1620677064; bh=QQ2r3Pje/WLME0enD1PMJOlmBP/9WE1gFIqHjgiu6xc=; h=Date:From:To:Subject:In-Reply-To:References; b=L5aY5+n6jMHmBubxN8h7aR54AYhitNu+8yM3eFbr3FOmKaH+R//2GHxBx8fvd2gq9 LvFuw66j1d8J9qprA/sEetDLrRTCTSxxnAk5YcGoeTEDiAQcBEm7yiox+IzxgcCLox TMpj830iL97R+jYVEkXki1xFYREobdTv8Tq2GN4Q=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id MrveeJfjpuaQ for <dnsop@ietf.org>; Mon, 10 May 2021 22:04:23 +0200 (CEST)
Received: from bofh.nohats.ca (bofh.nohats.ca [193.110.157.194]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS for <dnsop@ietf.org>; Mon, 10 May 2021 22:04:23 +0200 (CEST)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 7EA8B57353; Mon, 10 May 2021 16:04:21 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 787C357352 for <dnsop@ietf.org>; Mon, 10 May 2021 16:04:21 -0400 (EDT)
Date: Mon, 10 May 2021 16:04:21 -0400
From: Paul Wouters <paul@nohats.ca>
To: dnsop <dnsop@ietf.org>
In-Reply-To: <255D5377-3F81-440F-8BE8-0B09CE22F854@hopcount.ca>
Message-ID: <75edad5d-403e-4b35-b88-d286a88244bd@nohats.ca>
References: <c5b15bbd-c076-8051-1fc0-0e45a412fbfc@powerdns.com> <255D5377-3F81-440F-8BE8-0B09CE22F854@hopcount.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/S7PqZx4GZt4qLP5zECQ2Krod0xw>
Subject: Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-svcb-https-05.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: Mon, 10 May 2021 20:04:33 -0000

On Mon, 10 May 2021, Joe Abley wrote:

>>>    $ORIGIN example.com
>>>    @   SVCB   1 foo
>>> key6="\032\001\013\184\000\000\000\000\000\000\000\000\\\\,\000"
>>>    ; a.k.a.   ipv6hint=2001:db8::5c5c:2c00
>>
>> A zone owner/editor would never even think of typing in IP addresses
>> like that.
>
> Right, but an attacker who wants to take advantage of the impact of that observation in the construction of some parser might, which is why it's a security concern.

Some DN / RDN / CN parsing tools have hthis issue too and some allow a
comma with an additional masking comma, eg  OU=testing,,security, O=Mayhem

Then other code can just never ever allow masking, double masking,
backslshing, single or double quotes or what not.

Paul