Re: [saag] results of IETF LC for draft-foudil-securitytxt-08 and next steps
Yakov Shafranovich <yakov@nightwatchcybersecurity.com> Wed, 29 July 2020 21:29 UTC
Return-Path: <yakov@nightwatchcybersecurity.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B0273A0F2C for <saag@ietfa.amsl.com>; Wed, 29 Jul 2020 14:29:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nightwatchcybersecurity-com.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 0GCIwstrc72i for <saag@ietfa.amsl.com>; Wed, 29 Jul 2020 14:29:39 -0700 (PDT)
Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 56C163A0F0B for <saag@ietf.org>; Wed, 29 Jul 2020 14:29:39 -0700 (PDT)
Received: by mail-pl1-x644.google.com with SMTP id m16so12570926pls.5 for <saag@ietf.org>; Wed, 29 Jul 2020 14:29:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nightwatchcybersecurity-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XX6XgurfHL3OQfQVZfXzPIEHAOsONj0wui0ig68pRt0=; b=THIYgHZyvJKoiacwRb1m2tAWV/f7ILlVhWo3KjpyWQafbSXu+hTPtX13qp4xpA6S59 InsWo997QAsJsaCQe04zsap9vdPqKZlllG4uBBTniy4UEBZo1bXRVGvtKdot9cMltM7i ICvWd00WVglb03lBdTMVkXvMonoJt4U67yycKHcVVukccrNCUVxm56wtGnQPSGLIHgXY 7q9zFMZee98ZKxLpgLGj8B4uDhlP1LArZ1Azgk2UgEtuENd4T+oJaJiIXcUnImTjaJYC b+1tN0ZmPtRPb3g91t+CtA6QrdAuWwHYdXPLMIm9JwujTk7QN8hQIGgyovVBEtvpzxkf 8rGQ==
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=XX6XgurfHL3OQfQVZfXzPIEHAOsONj0wui0ig68pRt0=; b=cdKjoPQQbm3TOQJ5OjljBjIytFqc13t6tO6S2WlJrHfpuVircQBLCpkfKIJjy65V+u 5jprMaPgrZ9rLcg3jvkOQ7IqtmECr4Wh+kHfrgMgj7QN6cHKgRCeRrTUTdU6QZyHA7T2 2lBeb6p6twRDqEEeh3IGa7OBsNOFUlfwjJlaD8YmUZHUyNTOi0fU1FMHXnHgWy+ngG+Y YYpwhY2WYxil0Kp/h5sWrINSFjFx+6nEzvD9l/L4BOV5ItsZu3Yfwd54uRHelbXSU4eC TiIXPmAZXUuN0XyimE6QbzebgU03xlE/d65EkLZzi4j4OdCRoeElqvdYGxvBxFVMqKxc gWpg==
X-Gm-Message-State: AOAM531yBNeSVD3g5GJrPhIyhAv6N9zLF3ERG1bTp6jpdyZUB++6nLEk cmQqVZekYjy08Gw+bPIoJqU5TGV/eoxWGebCLRWl7w==
X-Google-Smtp-Source: ABdhPJwgfF8mO1FDsRLjQcRbK2jAopNJMep4VHX8AFjw4hKc9zb8Ph8QOw5aMx2V35oDB1+vZUZKXg1+ZsBPBoCY0+Q=
X-Received: by 2002:a17:90a:fa8c:: with SMTP id cu12mr12108479pjb.229.1596058178671; Wed, 29 Jul 2020 14:29:38 -0700 (PDT)
MIME-Version: 1.0
References: <20200630222455.GX58278@kduck.mit.edu> <CAAyEnSPoj20pGzDH328yiTLn=O3LXrO8QBQMMsgd8QttLdT-Jg@mail.gmail.com> <20200721054121.GE41010@kduck.mit.edu>
In-Reply-To: <20200721054121.GE41010@kduck.mit.edu>
From: Yakov Shafranovich <yakov@nightwatchcybersecurity.com>
Date: Wed, 29 Jul 2020 17:29:02 -0400
Message-ID: <CAAyEnSOhsZ+T1nGNqRermrV+qtaEqvL_rrSQJLsZPLM40-yW8A@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: draft-foudil-securitytxt@ietf.org, Security Area Advisory Group <saag@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/vfssnawRPe8RYVw-oqzKfKkCZaA>
Subject: Re: [saag] results of IETF LC for draft-foudil-securitytxt-08 and next steps
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jul 2020 21:29:42 -0000
Apologizes for the delayed reply On Tue, Jul 21, 2020 at 1:41 AM Benjamin Kaduk <kaduk@mit.edu> wrote: > On Sun, Jul 12, 2020 at 08:14:33PM -0400, Yakov Shafranovich wrote: > > On Tue, Jun 30, 2020 at 6:25 PM Benjamin Kaduk <kaduk@mit.edu> wrote: > > > > Similarly, the refocusing on having the file be targeted at humans allows > > > for us to reiterate that human judgment is key in deciding when to use the > > > contents of a security.txt file vs. seeking other reporting mechanisms. > > > This applies for old/expired files, of course, but also to the recurring > > > topic of reporting compromise vs. reporting vulnerability. When reporting > > > compromise, extra caution is needed, and there is probably some more that > > > can be said in Section 6.1 (see next paragraph). > > > > > > The topic of use for reporting compromise vs. vulnerability was raised by > > > many reviewers, to the extent that it seems like it would be very > > > challenging to craft text that would definitively convince the reader to not > > > use the contents of the files for reporting cases of active compromise, or > > > even cases of vulnerability that would easily lead to active compromise. > > > Given that Section 1.1 is entitled "Motivation, Prior Work and Scope", it > > > seems like a very good place to put a notice that "reporting compromised > > > resources (e.g., web sites) is related to, but distinct from, reporting > > > security vulnerabilities; the mechanism defined in this document is intended > > > for reporting vulnerabilities. If it is used to report cases of active > > > compromise, or vulnerabilities that would lead to compromise of the > > > system(s) involved in this mechanism, additional considerations apply, as > > > discussed in Section 6.1". To expound on the nature of these considerations > > > a bit more, when there is (the possibility of) active compromise, the > > > "ambient authority" granted by finding the contents of the file at the given > > > domain or other location is no longer trustworthy. In such cases, we should > > > expect there to be an "additional source of authority" (or "trust chain") > > > that can give a sense of confidence in the reliability of the contents > > > therein. A PGP cleartext signature is already recommended and can be one > > > such additional source of authority (provided that there is a trust path to > > > the key that made the signature); other routes to such additional sources of > > > authority were posited in the review comments, such as putting a > > > cryptographic hash of the security.txt contents in the DNS under a DNSSEC > > > signature. I think that requiring such an additional source of authority > > > (though not a specific mechanism thereof) would go a long way to alleviating > > > concerns of misuse of security.txt from compromised systems. However, I'm > > > not entirely sure how practical it would be to impose such a requirement > > > given the current state of defined mechanisms. I'm hoping to get some more > > > feedback from the community on this topic, having framed it in this way -- > > > the previous discussion seemed focused on other aspects of the problem and > > > did not get very far towards a concrete resolution. At the very least, we > > > will need more discussion that specifically in case of compromise, the > > > "additional source of authority" is the only source of authority. I would > > > expect this text to go in Section 6.1. > > > > > > > I am adding this to sections 1.1. and 6.1, HOWEVER, my sense of the LC > > comments is that using this file for incident response is ill advised > > and should not be done. Perhaps, we should add a disclaimer that it > > should not be used that way and leave it at that? > > In some abstract sense I agree that it is ill advised, but I do not think > that any words we write will stop everyone from trying to use it for > incident response. So I think that even if we have such a disclaimer, in > order to be doing the responsible thing we'd still need to say something > about the risks of using it for incident response and our current best > thoughts about mitigating those risks. > This is going to need some thinking - will take a look and get back to you > > > > > > > > And finally, a few additional comments from reading the -09: > > > > > > Section 3 > > > > > > "field-name" in section 3.6.8 of [RFC5322]. Fields are case- > > > insensitive (as per section 2.3 of [RFC5234]). The "value" comes > > > > > > nit: I think it's just the "Field names" that are case-insensitive. > > > > > > > Can you clarify this? The way I am reading RFC5234, it sounds like any > > ABNF terminal characters are case-insensitive: > > > > "NOTE: > > ABNF strings are case insensitive and the character set for these > > strings is US-ASCII." > > " > > That's true for ABNF that we write ourselves, but it doesn't seem to be > true for all of the fields that we're defining. Specifically, we use the > 'uri' construction from RFC 3986 in several places, and as > https://tools.ietf.org/html/rfc3986#section-6.2.2.1 points out, in the > general case, many of the URI components are assumed to be case-sensitive. > While we could try to say something about the bits of field contents that > we do specify, it's probably easier to just talk about the Field names and > not make things too complicated. > I will take a look again > > > Section 3.1 > > > > > > For HTTP servers, a "security.txt" file MUST only apply to the domain > > > or IP address in the URI used to retrieve it, not to any of its > > > subdomains or parent domains. > > > > > > [Depending on how the discussion about "product vs. website vulnerabilities" > > > resolves, this might need to grow a disclaimer that it's about the HTTP > > > resources at those domains.] > > > Will watch this
- [saag] results of IETF LC for draft-foudil-securi… Benjamin Kaduk
- Re: [saag] results of IETF LC for draft-foudil-se… Michael Richardson
- Re: [saag] results of IETF LC for draft-foudil-se… Benjamin Kaduk
- Re: [saag] results of IETF LC for draft-foudil-se… Michael Richardson
- Re: [saag] results of IETF LC for draft-foudil-se… Benjamin Kaduk
- Re: [saag] results of IETF LC for draft-foudil-se… Michael Richardson
- Re: [saag] results of IETF LC for draft-foudil-se… Yakov Shafranovich
- Re: [saag] results of IETF LC for draft-foudil-se… Yakov Shafranovich
- Re: [saag] results of IETF LC for draft-foudil-se… Yakov Shafranovich
- Re: [saag] results of IETF LC for draft-foudil-se… Michael Richardson
- Re: [saag] results of IETF LC for draft-foudil-se… Benjamin Kaduk
- Re: [saag] results of IETF LC for draft-foudil-se… Yakov Shafranovich
- Re: [saag] results of IETF LC for draft-foudil-se… Benjamin Kaduk