Re: [Secdispatch] [saag] SECDISPATCH WG Summary from IETF 106

Brian Campbell <bcampbell@pingidentity.com> Tue, 21 January 2020 22:21 UTC

Return-Path: <bcampbell@pingidentity.com>
X-Original-To: secdispatch@ietfa.amsl.com
Delivered-To: secdispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C19712001A for <secdispatch@ietfa.amsl.com>; Tue, 21 Jan 2020 14:21:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=pingidentity.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 wPgsi13TKdQs for <secdispatch@ietfa.amsl.com>; Tue, 21 Jan 2020 14:21:05 -0800 (PST)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 13AF012007A for <secdispatch@ietf.org>; Tue, 21 Jan 2020 14:21:05 -0800 (PST)
Received: by mail-lj1-x22f.google.com with SMTP id r19so4555456ljg.3 for <secdispatch@ietf.org>; Tue, 21 Jan 2020 14:21:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pingidentity.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H401HRV0g1iZF3sKUemUgVrX03r9UTHCgvu4d5cxG/8=; b=e7Dts01w3lRVBKSwTAA2izFio8488XU3gBMTuX03BHWVSBZ7DPEc83vxNnVGsd8Xyl XVf5bs1wPdsbeYDXJlUysWBN3GtniO9gs9VQtsMDXUPS1rPb4nYi3FcZHfdcgRNwEDc8 Xkuy4S8t46apRsQ4uyENMw0E2+vT91C8OuUKA0DknNBiXxR3qLp7jqwJYY1FDN6Uxzur ep19iBzZSqsid8i7abNTdfGSobSjtkkT3PbC5garqxCf9qsj16Z4PJkwZwPksVz1r6vx RQOtRAtxMLJRTv8UQtoWtUcS2HnXQp3LXEtX4IQMloRlfZbHgrPxRptJr0DN8Tuatkzz JqAg==
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=H401HRV0g1iZF3sKUemUgVrX03r9UTHCgvu4d5cxG/8=; b=PjD/Y9bPQvVlhnoViNYE+CumtpJemhofdjQ3zi2XYeEEkk0uqg2RPMmavK6iigIpO0 97bYngBBkYJRE9+aahJoYXE7tNvcGtv1MZkBGK/TpTfp4bEN42s6JOggdBlTzJUbvDEH Bn4QMSXH4E8234aYQIJf1Np5hf9V6k0w/M8NBQhozQsCYXtVqzmpwSX2K24fyWYv3MOs 7WksPpSgCK3EPx5BH1Z0/3B3QhJRkOK9j/zJxteUwp8a0qo0v4dhItVDmoPBLTc0VMdh 5/2KiZInU29zjRBXvmR6BgXcBH72tGoEcQ7/Tv+3/ddflcb2XucGi7yvoT7KhamKSEYO iHgQ==
X-Gm-Message-State: APjAAAUCRg/jsfpZpMzJM9c4nLtQbFC1QWjnSRKmgY01/gI25ksJqJZc a7YtyJ5uA5NR12GPHIJ9d4n6Bhj9UIJGvRjaOAKg7ivYooEmojrNTSHSsUcL8Pnqsv+s4pCByeP ZkAF3gnvC8qh+cOmCpf/mwg==
X-Google-Smtp-Source: APXvYqzhaXyULI6m2LEVbr7iCIuDwBGWOotzXCoJj39iqFpL3jkYM39WANssb/si/XezlZ93lbpEFfw0h8VklI8oEQY=
X-Received: by 2002:a2e:9cd2:: with SMTP id g18mr15314042ljj.272.1579645263288; Tue, 21 Jan 2020 14:21:03 -0800 (PST)
MIME-Version: 1.0
References: <3088D698-1616-4A74-9CBC-4A9345E46C15@ericsson.com> <CA+k3eCQbFFc5WFGFrhQNnxS=ipeh9rjRTrRudGi2OaCo3pZXaA@mail.gmail.com> <22451.1579452735@localhost> <CA+k3eCQY0a07ApTSiV2tH_-KCQf_Fmk3s3eVPBE_-Vrvf5iqgA@mail.gmail.com> <4920.1579540711@localhost>
In-Reply-To: <4920.1579540711@localhost>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 21 Jan 2020 15:20:36 -0700
Message-ID: <CA+k3eCRn6dXPFqGqe1yb8=V9HprLrRzv6ErzmbZR_wDaxwePYw@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: "secdispatch@ietf.org" <secdispatch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ca3549059cadd296"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdispatch/XqzPoWcu8BzOlrt1MaepPKTuxW4>
Subject: Re: [Secdispatch] [saag] SECDISPATCH WG Summary from IETF 106
X-BeenThere: secdispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Dispatch <secdispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdispatch/>
List-Post: <mailto:secdispatch@ietf.org>
List-Help: <mailto:secdispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2020 22:21:11 -0000

On Mon, Jan 20, 2020 at 10:18 AM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
>     bc> Via email exchange it's not entirely clear whether that's a
> compliment or a
>     bc> criticism or just an observation.
>
> compliment.
>

I'll take it. Thank you :)


    bc> For better or worse, I tried to choose a name that's meaningful and
>     bc> shortish. And one that doesn't look like it came from the default
>     bc> documentation of some popular web server.
>
> My point is to
>   a) point to de-facto names which are currently being used to demonstrate
>      the need for a standard.
>   b) indicate if the contents are the same or different.
>

Got it and point taken.


    bc> In writing up this initial draft, I waffled about whether or not to
> include
>     bc> intermediate signers and/or the whole chain. Although I landed on
> only
>     bc> passing the leaf certificate, this is certainly something that's
> up for
>     bc> discussion should this document find a home where it can be worked
> on and
>     bc> progressed.
>
> good, we agree.
> Isn't httpbis the obvious WG here?
>

It seems a likely candidate, yeah.

The issue that the draft aspires to address certainly isn't new. But it
reared its head again on the OAUTH WG list not too long ago before the last
meeting. When the prospect of trying to standardize something came up, one
of the SEC ADs encouraged me to bring a presentation and/or draft to
SECDISPATCH. That was right before the I-D cutoff pre Singapore so I just
started with a presentation there, which was rushed due to time constraints
and basically the suggestion coming out of the meeting was to write a
draft. I just recently got this little draft written, which brings us to
where we are now. And I guess that basically amounts to looking for some
direction from SECDISPATCH and/or gauging interest or appetite for the
work.


It could be that we should have two headers.
> One for the EE, and one (or many?) for the chain.
>

 That's certainly a possibility. And I think not inconsistent with what
some existing proxies will do now.


    bc> True, the reverse proxy can not control what is sent to it. But
> it's meant
>     bc> to be normative language towards other forward proxies and other
>     bc> intermediaries to say that they can't/shouldn't be adding this
> thing. Which
>     bc> seems legit (and something I'm told is supposed to be covered for
> registry
>     bc> requests on header fields). Perhaps that text can be moved or
> adjusted in a
>     bc> way that makes the distinction more clear.
>
> Sure. I'm saying no normative language about another entity.
> The normative language should say that reverse proxies MUST remove the
> header
> when coming in.
>

Gotcha


>
>     >> You already handle this:
>     >> 2) Any occurrence of the Client-Cert header in the original incoming
>     >> request MUST be removed or overwritten before forwarding the
> request.
>     >>
>     >> and leave it like that, maybe emphasis this.
>     >> Maybe reverse proxies SHOULD reject requests that have a
> Client-Cert header
>     >> in them, period?
>     >>
>
>     bc> That's certainly an option. I suppose there are tradeoffs between
> rejecting
>     bc> vs. cleaning such requests. Maybe a MAY would be appropriate for
> something
>     bc> like that so as to give the proxy the option. Again, that's
> something that
>     bc> could be fleshed out in discussions if this thing finds a home.
>
> It seems like a request that arrives with Client-Cert in it is at best
> misconfiguration, and at worse an attack.  It can't be legitimate.
> I think that being tolerant here does not benefit anyone.
>

When phrased like that, the case for intolerance does sound pretty strong.

-- 
_CONFIDENTIALITY NOTICE: This email may contain confidential and privileged 
material for the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited.  If you have 
received this communication in error, please notify the sender immediately 
by e-mail and delete the message and any file attachments from your 
computer. Thank you._