Re: [Uta] Warren Kumari's Discuss on draft-ietf-uta-mta-sts-17: (with DISCUSS)

Warren Kumari <warren@kumari.net> Thu, 17 May 2018 09:29 UTC

Return-Path: <warren@kumari.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31D831267BB for <uta@ietfa.amsl.com>; Thu, 17 May 2018 02:29:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.20150623.gappssmtp.com
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 j4IDUmTS-IAv for <uta@ietfa.amsl.com>; Thu, 17 May 2018 02:29:12 -0700 (PDT)
Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DDFF127023 for <uta@ietf.org>; Thu, 17 May 2018 02:29:11 -0700 (PDT)
Received: by mail-wr0-x231.google.com with SMTP id w18-v6so1158650wrn.6 for <uta@ietf.org>; Thu, 17 May 2018 02:29:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=inPfEE8kNwIEJHYr9LBIqRx9Vj+vy3wz3HOE887C8X4=; b=alv9CtisTmYqc7lKDL7Vj2kt9GGal47ZTU4hOIC+qaCqD2b9odaulx2J3lBNvZbuR+ RQxsKrXrNzpNnV5JuU+RGQBthUbN8RVQ5JHa7qiXely+cCvDYVEE3QWISFDcudA6tLXr BIVWO5xdWX96J6lrzevM1uIFb3uEkGp1ZBJj7BFKxHev5PYVWA9XMUvIj0owZE1/LjwI MN9h2F1JJ/xelBdubW4toM0uETDmcs7/46OZySw8ZDinxp9lcOHnDPUVnsV9LmJ4AJO2 51xvNqPEIe8bh2FjxA1VaypjqIbzUL5Rtypcm2otQ3bWlOwvVht76lkFKRq/9kn4Tgjg MGfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=inPfEE8kNwIEJHYr9LBIqRx9Vj+vy3wz3HOE887C8X4=; b=CHM31c/P0CEGW+4Wt/eyVfObvX7iGiv1XLSvdyOLwK/Msv9eG0Vbm0iWKeouE518eg PoJdkzoZsHHv12YmDrJqR5LGtcnyuyZVzhGTwddTAjiJQU0LYFQ2yn/RS8hNo4z4vE+a gyu9Q0WTiH+ZPuuDnSH5dl/pHImxC/ZWi3Zr6gepa47QWF4q3bjiAa1Y7Tx0aQvyjg5z NYbTD9tFbiXOSL9y8zqcchbL4RW2nM2j5crC4C0f0dy78RbHxqLnz84pPMGDHdrJTFQZ VkM03Nn5o/jRzRsDR5scuGiNQpitXzOdnYkFqemlCSInd4MN4FutUg/2nfTEUz+Obf0Y KRMg==
X-Gm-Message-State: ALKqPwcdxR5KwmpwWAZlxHDhF0onnZopIEEjpWIomxcZus/WB9u/n2Np FCo0nS6uqj/ma7UTO8moEgJxUss0M4aNyk5eOv16TQ==
X-Google-Smtp-Source: AB8JxZrLgk+0RK9lAgsTKuF87rNVh6wueuUe9dxRM3HtboMKZhaLHW/Yg6E53i+sN/d0Tkxvy3+uOu7VSK37VQ7uwCo=
X-Received: by 2002:adf:b685:: with SMTP id j5-v6mr3783795wre.10.1526549349884; Thu, 17 May 2018 02:29:09 -0700 (PDT)
MIME-Version: 1.0
References: <152596326580.10463.6089243508315402813.idtracker@ietfa.amsl.com> <BB1C8DC3-7EF4-4872-97DF-417C216F2988@dukhovni.org> <CANtKdUfebTbhzkUUxRMRZmmaCO8daR+UE6mj7R9wLmCoSDARUw@mail.gmail.com> <CAHw9_iJ=EpzECkfaVWaoXbBVKO25o+Npvu_uh+tZv8EbXbZ7KQ@mail.gmail.com> <6EF69D7A-930E-46B8-94DD-E99428BFEEB1@dukhovni.org> <129319db-ab27-13d9-c884-17b008cf4e80@nostrum.com> <CANtKdUei37oWzZd9Zqrjm5R343PdysdWGC-eo68bzw-B=dpQ_A@mail.gmail.com> <20180514120836.GY3322@mournblade.imrryr.org> <38e0dc42-54d9-e59f-af3d-e32b96d60f41@nostrum.com> <CANtKdUdABkC3aCHjfRd2gekbskbGg3ZdDdNqJ+cR_YbMy-y1Hw@mail.gmail.com> <020F66CA-B0A4-4F2A-AD19-186C6DC86458@dukhovni.org> <CANtKdUfMUHx64QL6TqW_nxyU90iJ0ncuc0GLsUUsQJFxN=hS7A@mail.gmail.com>
In-Reply-To: <CANtKdUfMUHx64QL6TqW_nxyU90iJ0ncuc0GLsUUsQJFxN=hS7A@mail.gmail.com>
From: Warren Kumari <warren@kumari.net>
Date: Thu, 17 May 2018 11:28:33 +0200
Message-ID: <CAHw9_iLF7aU67Fhp6LvPtvV7W5HF6ejmex74wjn9BSb+M-24MQ@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
Cc: Viktor Dukhovni <ietf-dane@dukhovni.org>, uta@ietf.org, draft-ietf-uta-mta-sts@ietf.org, uta-chairs@ietf.org, The IESG <iesg@ietf.org>, Leif Johansson <leifj@sunet.se>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/uta/1hY6XMSLZiHQ7c_xFzkc3nsg1HU>
Subject: Re: [Uta] Warren Kumari's Discuss on draft-ietf-uta-mta-sts-17: (with DISCUSS)
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 May 2018 09:29:14 -0000

On Tue, May 15, 2018 at 3:30 PM Daniel Margolis <dmargolis@google.com>
wrote:

> Put slightly differently, allowing TXT-based indirection can at best be
as secure as the current design, and at worse introduce some unknown
vulnerability (depending on DNS architecture for a zone, etc). So I think
that's really the main reason we wanted to keep it fixed.

> In all likelihood it does not introduce a vulnerability nor does it
introduce operational issues for anyone, but, valid concerns about
"reserved" (even if just by convention) names notwithstanding, I'd rather
accept any operational risks that poses than take the risk of a
vulnerability. So I think you and I are on the same page here.

> Anyway, in the short run, there is at least the .well-known registry to
ensure the full URI is reserved; in the long run I thought I recalled
someone was looking into a registry for "reserved" DNS names. (But from the
perspective of STS, if someone else uses "mta-sts" for anything else, it
doesn't really affect the operation of the system.)

Yup, there is no current registry for "reserved" DNS names -- there is a
registry for reserved Special Use Domain Names (
https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml),
Locally Served DNS Zones (
https://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml),
and Dave Crocker is working on a registry for underscore names (
https://datatracker.ietf.org/doc/draft-ietf-dnsop-attrleaf-fix/) -- we
don't have a registry for "reserved" DNS names, and that is the root of my
concern - if we did, we could just toss this in, and we'd be golden --
instead, we have names which are used *by convention* --- I've been
noodling on text to explain that "by convention the name is at
mat-sts.example.com", but I haven't been able to come up with text that
doesn't sound contrived at best, or disingenuous at worst.

W


> On Mon, May 14, 2018 at 7:54 PM Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:



>> > On May 14, 2018, at 1:41 PM, Daniel Margolis <dmargolis@google.com>
wrote:
>> >
>> > I don't understand either of these comments.
>> >
>> > The TXT record could only safely be used to select the host (i.e. the
in-zone name) for the policy URL, not the fully qualified domain, so I
don't think it introduces the weakness Viktor supposes.

>> Yes, I was well aware that the name would have to share a suffix with the
>> policy domain.  And yet, there is still a problem if there are any names
>> in policy the domain that are controlled by customers, rather than the
parent
>> organization.  I don't think that an insecurely vended policy authority
(even
>> within the policy domain) is a good idea.

>> --
>>          Viktor.

>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org
>> https://www.ietf.org/mailman/listinfo/uta

> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta



-- 
I don't think the execution is relevant when it was obviously a bad idea in
the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair of
pants.
    ---maf