Re: [Gen-art] [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09

"Richard Backman, Annabelle" <richanna@amazon.com> Tue, 09 June 2020 23:40 UTC

Return-Path: <prvs=4223e482c=richanna@amazon.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E9ED3A0BE5; Tue, 9 Jun 2020 16:40:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.596
X-Spam-Level:
X-Spam-Status: No, score=-9.596 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazon.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 hf8rX-SuroBC; Tue, 9 Jun 2020 16:40:10 -0700 (PDT)
Received: from smtp-fw-6002.amazon.com (smtp-fw-6002.amazon.com [52.95.49.90]) (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 EAAC53A0C6F; Tue, 9 Jun 2020 16:40:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591746010; x=1623282010; h=from:to:cc:date:message-id:references:in-reply-to: mime-version:subject; bh=oM/7usnkZ6HgNwqxasaUJKsqZbKRpdq+0QBVLdD3VnU=; b=NKSBBZ1O32jgcoJ8s5X7sdZLrJmeXUAUkHMEsTbojho2h6RZdJ6Q4B+0 +MCCSCvY0PRZ78C3Gieob1Sd6yOpfQ3RswKmRXlX9j066LH28YT6a4ZoG eg6G1SSGmZsbmfz1CReR+/nk/J6gA4FMdP0dChJKDPjByvfBkUETed/N4 8=;
IronPort-SDR: Z6dLHzFL+Tz8gQbmsttF2tnoIDv2sKy0Stiy9u+cF0AgaIYFu+8Ij8lMptb8JACLTG2zV9Ky/u 2mhjFT+fqn9A==
X-IronPort-AV: E=Sophos; i="5.73,493,1583193600"; d="scan'208,217"; a="35314099"
Thread-Topic: [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09
Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-cc689b93.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 09 Jun 2020 23:40:07 +0000
Received: from EX13MTAUWC001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-cc689b93.us-west-2.amazon.com (Postfix) with ESMTPS id A2D4C120A88; Tue, 9 Jun 2020 23:40:06 +0000 (UTC)
Received: from EX13D11UWC001.ant.amazon.com (10.43.162.151) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Jun 2020 23:40:06 +0000
Received: from EX13D11UWC004.ant.amazon.com (10.43.162.101) by EX13D11UWC001.ant.amazon.com (10.43.162.151) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Jun 2020 23:40:05 +0000
Received: from EX13D11UWC004.ant.amazon.com ([10.43.162.101]) by EX13D11UWC004.ant.amazon.com ([10.43.162.101]) with mapi id 15.00.1497.006; Tue, 9 Jun 2020 23:40:05 +0000
From: "Richard Backman, Annabelle" <richanna@amazon.com>
To: Dick Hardt <dick.hardt@gmail.com>, Mike Jones <Michael.Jones@microsoft.com>
CC: "last-call@ietf.org" <last-call@ietf.org>, Valery Smyslov <svan@elvis.ru>, "gen-art@ietf.org" <gen-art@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-secevent-http-poll.all@ietf.org" <draft-ietf-secevent-http-poll.all@ietf.org>, "id-event@ietf.org" <id-event@ietf.org>, Robert Sparks <rjsparks@nostrum.com>
Thread-Index: AQHWPpDRyR9RcVMkU0WSv29wV+w/vajQfCCA
Date: Tue, 09 Jun 2020 23:40:05 +0000
Message-ID: <3E0A6213-1B1E-4DCC-AB05-877935EDF89B@amazon.com>
References: <CH2PR00MB0678026DC6A8BE87C1068B12F5860@CH2PR00MB0678.namprd00.prod.outlook.com> <AB3CE273-1CCE-4A7B-A95B-52A38C78C45C@gmail.com> <CH2PR00MB0678F645A6828D0C1C8986F0F5860@CH2PR00MB0678.namprd00.prod.outlook.com> <E37BB397-D02E-4B26-BAF6-7101D96D156E@gmail.com> <MN2PR00MB0686DEED5B3EFDB8E14E1FB1F5820@MN2PR00MB0686.namprd00.prod.outlook.com> <CAD9ie-u-e9cDiqcT+k1cKKLQhy0vJkNmHA4Hk2ZmMAbyvC+Wtg@mail.gmail.com>
In-Reply-To: <CAD9ie-u-e9cDiqcT+k1cKKLQhy0vJkNmHA4Hk2ZmMAbyvC+Wtg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.22.0.200209
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.43.160.180]
Content-Type: multipart/alternative; boundary="_000_3E0A62131B1E4DCCAB05877935EDF89Bamazoncom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/2qNOrSDbWkbNZ-Y_hn1Jkttxftw>
Subject: Re: [Gen-art] [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jun 2020 23:40:14 -0000

While TLS may be redundant in some cases, in practice I don’t see the requirement to use TLS materially impacting deployments that fit that edge case. Transmitters/receivers that would be burdened by the code/time/CPU/memory costs of TLS are probably not going to be communicating via HTTP in the first place.

–
Annabelle Backman (she/her)
AWS Identity
https://aws.amazon.com/identity/


From: Id-event <id-event-bounces@ietf.org> on behalf of Dick Hardt <dick.hardt@gmail.com>
Date: Tuesday, June 9, 2020 at 12:04 PM
To: Mike Jones <Michael.Jones@microsoft.com>
Cc: "last-call@ietf.org" <last-call@ietf.org>, Valery Smyslov <svan@elvis.ru>, "gen-art@ietf.org" <gen-art@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-secevent-http-poll.all@ietf.org" <draft-ietf-secevent-http-poll.all@ietf.org>, "id-event@ietf.org" <id-event@ietf.org>, Robert Sparks <rjsparks@nostrum.com>
Subject: RE: [EXTERNAL] [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09


CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.


There were concerns mandating TLS for any SET as it restricts the use of SET to TLS transports. I would guess the language in the draft-ietf-secevent-http-pull and draft-ietf-secevent-http-poll followed that thinking.

I my personal opinion, mandating TLS for HTTP transports is reasonable (which is what the specs in discussion use), and that should be changed in both draft-ietf-secevent-http-pull and draft-ietf-secevent-http-poll

/Dick

On Mon, Jun 8, 2020 at 6:18 PM Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>> wrote:
I agree that the spec should give clear guidance on whether TLS is required.  People should read Phil Hunt's comments (which I just forwarded to the list) and consider where we'd like to land in this regard.

I agree that if we decide to mandate TLS, rather than simply integrity-protected SETS, we should modify the Section 3 text below:
   The SET delivery method described in this specification is based upon
   HTTP and HTTP over TLS [RFC2818] and/or standard HTTP authentication
   and authorization schemes, as per [RFC7235].
to remove the "HTTP and".

Likewise, we'd need to revise 4.3 to remove the non-TLS choice.  We can also revise the first sentence of 4.4.1 to make it clear that 6750 requires TLS, regardless of other decisions we make.

Note that some of the language in question is also present in draft-ietf-secevent-http-push, so we should apply consistent changes there as well.

I hope to hear back from the working group with your thoughts this week.

                                -- Mike

-----Original Message-----
From: Yaron Sheffer <yaronf.ietf@gmail.com<mailto:yaronf.ietf@gmail.com>>
Sent: Friday, June 5, 2020 9:36 AM
To: Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>; Robert Sparks <rjsparks@nostrum.com<mailto:rjsparks@nostrum.com>>; gen-art@ietf.org<mailto:gen-art@ietf.org>; Valery Smyslov <svan@elvis.ru<mailto:svan@elvis.ru>>
Cc: last-call@ietf.org<mailto:last-call@ietf.org>; draft-ietf-secevent-http-poll.all@ietf.org<mailto:draft-ietf-secevent-http-poll.all@ietf.org>; id-event@ietf.org<mailto:id-event@ietf.org>
Subject: Re: [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09

Hi Mike,

The document is very ambiguous regarding the use of TLS, and frankly I wish we noticed it earlier.

- The first sentence of Sec. 3 has TLS as one of two options: "The SET delivery method described in this specification is based upon HTTP and HTTP over TLS [RFC2818] and/or standard HTTP authentication and authorization schemes, as per [RFC7235]. "

- Similarly in Sec. 4.3, TLS is mentioned as one alternative, not a requirement: "In such cases, SET Transmitters and SET Recipients MUST protect the confidentiality of the SET contents by encrypting the SET as described in JWE [RFC7516], using a transport-layer security mechanism such as TLS, or both. "

- Sec. 4.4.1 (first sentence) also treats TLS as conditional.

My personal opinion is that nowadays we can simply mandate TLS, but I'm open to discuss it. Whatever the WG chooses, the document needs to be clear and consistent.

Thanks,
        Yaron

On 6/5/20, 19:22, "Mike Jones" <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>> wrote:

    That TLS is used is specified in the first sentence of the introduction at https://tools.ietf.org/html/draft-ietf-secevent-http-poll-09#section-1.  It's also in the first paragraph of https://tools.ietf.org/html/draft-ietf-secevent-http-poll-09#section-3..

    The new privacy considerations text was requested by Valery Smyslov in the SecDir review of push.  I also added it here.  I did think it was odd that it was requested when TLS is required, but it seemed harmless to add it.  If you like, I could clarify that this should never occur.

                                -- Mike

    -----Original Message-----
    From: Yaron Sheffer <yaronf.ietf@gmail.com<mailto:yaronf.ietf@gmail.com>>
    Sent: Friday, June 5, 2020 8:26 AM
    To: Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>; Robert Sparks <rjsparks@nostrum.com<mailto:rjsparks@nostrum.com>>; gen-art@ietf.org<mailto:gen-art@ietf.org>
    Cc: last-call@ietf.org<mailto:last-call@ietf.org>; draft-ietf-secevent-http-poll.all@ietf.org<mailto:draft-ietf-secevent-http-poll.all@ietf.org>; id-event@ietf.org<mailto:id-event@ietf.org>
    Subject: Re: [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09

    Hi Mike,

    I'm looking at the latest PR, specifically at the Poll document. I can see that you changed the text around signing SETs, but I don't see any new (or existing) text that requires HTTPS as you noted in your response to Robert.

    I even see this new text "If SETs are transmitted over unencrypted channels" that confuses me even more. For the latter, maybe you meant something like: If SETs are transmitted over unencrypted channels while being processed in an otherwise protected system.

    Thanks,
        Yaron

    On 6/5/20, 03:49, "Mike Jones" <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>> wrote:

        Thanks for the quick reply.  My responses are inline, prefixed by "Mike>".

        -----Original Message-----
        From: Robert Sparks <rjsparks@nostrum.com<mailto:rjsparks@nostrum.com>>
        Sent: Thursday, June 4, 2020 2:51 PM
        To: Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>; gen-art@ietf.org<mailto:gen-art@ietf.org>
        Cc: last-call@ietf.org<mailto:last-call@ietf.org>; draft-ietf-secevent-http-poll.all@ietf.org<mailto:draft-ietf-secevent-http-poll.all@ietf.org>; id-event@ietf.org<mailto:id-event@ietf.org>
        Subject: Re: [Id-event] Genart last call review of draft-ietf-secevent-http-poll-09


        On 6/4/20 4:27 PM, Mike Jones wrote:
        > Thanks for your review, Robert.  I'm working on addressing the review comments received and wanted to have a clarifying discussion on some of yours before deciding what corresponding edits to make.
        >
        > I think there's a misunderstanding about "jti" values and the security
        > model.  Because communication is over a TLS-protected channel

        Not always, and that's an important part of my point.

        See the first sentence of section 4.1:

        "   In scenarios where HTTP authorization or TLS mutual authentication
            are not used or are considered weak, "

        Mike> Frankly, the text you're citing never seemed very clear or well motivated to me.  It was written by an earlier editor who since stopped working on the spec.  I'm going to just remove it and unambiguously require HTTPS.

        > between two parties, it would be fine if the JTI values were totally guessable, such as "A", "B", "C", etc.  There's no opportunity for an attacker to inject traffic into or to listen to the stream.  Does that make sense to you?
        _If_ it were never possible for authorization to be weak or for TLS auth to not be used, then sure. But the exception you call out at 4.1 exactly allows someone to be an attacker this way.
        >
        > As for limits on how long a transmitter is required to hold a SET, I propose to add this text:
        >        Transmitters may also discard undelivered SETs under deployment-specific conditions,
        >        such as if they have not been polled for over too long a period of time
        >        or if an excessive amount of storage is needed to retain them.
        That's better, but consider being a bit more specific about "too long".

        Mike> That's deployment-specific, but I'm open to wording suggestions.

        >
        >                               -- Mike
        >
        > -----Original Message-----
        > From: Id-event <id-event-bounces@ietf.org<mailto:id-event-bounces@ietf.org>> On Behalf Of Robert Sparks
        > via Datatracker
        > Sent: Friday, May 8, 2020 11:57 AM
        > To: gen-art@ietf.org<mailto:gen-art@ietf.org>
        > Cc: last-call@ietf.org<mailto:last-call@ietf.org>; draft-ietf-secevent-http-poll.all@ietf.org<mailto:draft-ietf-secevent-http-poll.all@ietf.org>;
        > id-event@ietf.org<mailto:id-event@ietf.org>
        > Subject: [Id-event] Genart last call review of
        > draft-ietf-secevent-http-poll-09
        >
        > Reviewer: Robert Sparks
        > Review result: Ready with Issues
        >
        > I am the assigned Gen-ART reviewer for this draft. The General Area Review Team (Gen-ART) reviews all IETF documents being processed by the IESG for the IETF Chair.  Please treat these comments just like any other last call comments.
        >
        > For more information, please see the FAQ at
        >
        > <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
        >
        > Document: draft-ietf-secevent-http-poll-09
        > Reviewer: Robert Sparks
        > Review Date: 2020-05-08
        > IETF LC End Date: 2020-05-13
        > IESG Telechat date: Not scheduled for a telechat
        >
        > Summary: Essentially ready but with some issues to consider before
        > publishing as a Proposed Standard RFC
        >
        > This document is well-written and easy to follow.
        >
        > I have a couple of edge-case issues that I think should be considered though:
        >
        > This document allows, and anticipates, deployments where Recipients are not well authenticated. See, for example, the first sentence of section 4.1. There is also an unstated expectation in the document that the jti of each SET is hard to guess.  If it's reasonably easy to guess jti values, a malicious Recipient could ack SETs it has never received and the Transmitter will remove that state, preventing a valid Recipient from ever receiving that SET.
        >
        > If that's an explicit requirement in the jwt or SET base documents for the jti to be hard to guess, please point me to it? If there's not, perhaps a short discussion in the security considerations requiring this property would be worthwhile?
        >
        > Is there a discussion somewhere of how long the transmitter is required to hold a given SET for a Recipient? Forever seems unreasonable.
        >
        >
        >
        > _______________________________________________
        > Id-event mailing list
        > Id-event@ietf.org<mailto:Id-event@ietf.org>
        > https://www.ietf.org/mailman/listinfo/id-event



[https://mailfoogae.appspot.com/t?sender=aZGljay5oYXJkdEBnbWFpbC5jb20%3D&type=zerocontent&guid=db4ca6ce-b6a2-4e18-b73c-3e615cc3f366]ᐧ