
From nobody Wed Dec  1 00:26:50 2021
Return-Path: <fett@danielfett.de>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3116C3A07E6 for <oauth@ietfa.amsl.com>; Wed,  1 Dec 2021 00:26:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=danielfett.de
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 35qDwjVHqfJX for <oauth@ietfa.amsl.com>; Wed,  1 Dec 2021 00:26:43 -0800 (PST)
Received: from d3f.me (redstone.d3f.me [5.9.29.41]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A1373A07E4 for <oauth@ietf.org>; Wed,  1 Dec 2021 00:26:42 -0800 (PST)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by d3f.me (Postfix) with ESMTPA id DB53B6586 for <oauth@ietf.org>; Wed,  1 Dec 2021 08:26:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danielfett.de; s=dkim; t=1638347199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SIuzP5IiHsV0bsjiFG3ksRGtBzXhSoNxJ/nqMj4cYSk=; b=mnvOR6QvirSc10mJIBEvjScMXsq/XQ1x88Q8InaTrRJmCC0w2NZo+zX8fxwPjfc4i23KNW GGk8U6bBaTfjW7lOoZYfX5XxliuohSEaALqQrEcz6XLjOnGAqD03lKlRwwW/dwoqiBISL4 KJFydKp7UquKbFxZM7qJQJTeKAj+wRs=
To: oauth@ietf.org
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com>
From: Daniel Fett <fett@danielfett.de>
Message-ID: <8feecdf1-ec94-7f5b-7a6d-443b10841dcc@danielfett.de>
Date: Wed, 1 Dec 2021 09:26:39 +0100
MIME-Version: 1.0
In-Reply-To: <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------A6845E914B1E4C7788BE95A0"
Content-Language: de-DE
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=danielfett.de;  s=dkim; t=1638347200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SIuzP5IiHsV0bsjiFG3ksRGtBzXhSoNxJ/nqMj4cYSk=; b=iV1w7ckWd4cxm2Hei2MSGPh7nIngKdiFODZT08dk9dZvxLtdaz9/5PJCsKCoHkPqV4STfV cu9e5COD5ie1YFATKjVbHxVTzB13hnZqsRGeo/Vh3vewOKudBk1L4wYVFYHW9mAmiqgwt2 SjelS5RJh54dQG6x8usk/RV9BDsx6Mc=
ARC-Seal: i=1; s=dkim; d=danielfett.de; t=1638347200; a=rsa-sha256; cv=none; b=jR1R/SioBOH4tcJb0rSjsqNlR0wwcYHsa65yRIayd4Ri/+ysiwtCEIUWS5fmo7/lg5Vm9k PRauae6qNTIWdLJk4SK3IgQIbtW519cUp1X23nR0ZNorI0rwPaRVGIpHJ/mjNVJUG4RGCE 8qwz8IosjuNU8KiJqwfMLiwvJiJYKMA=
ARC-Authentication-Results: i=1; d3f.me; auth=pass smtp.auth=fett@danielfett.de smtp.mailfrom=fett@danielfett.de
Authentication-Results: d3f.me; auth=pass smtp.auth=fett@danielfett.de smtp.mailfrom=fett@danielfett.de
X-Spamd-Bar: ---
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/nml-t2vN5ihipOOULqRwt0qeGZg>
Subject: Re: [OAUTH-WG] dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Dec 2021 08:26:48 -0000

This is a multi-part message in MIME format.
--------------A6845E914B1E4C7788BE95A0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

+1 to what Neil and Aaron said.

dpop_jkt effectively creates a client authentication mechanism with an
ad-hoc identifier for the client.

I'm wondering if dynamic registration plus an asymmetric client
authentication scheme doesn't already solve the problem.

-Daniel

Am 01.12.21 um 01:05 schrieb Aaron Parecki:
> I tend to agree with Neil here. I'm struggling to see the relevance of
> this attack. 
>
> It seems like the PDF writeup describes two possible reasons an
> attacker could get access to the authorization code and PKCE code
> verifier.
>
> 1. The attacker has access to the logs of the token endpoint.
> 2. The attacker can intercept HTTPS connections between the client and
> AS (VPN, corporate network proxy, etc)
>
> For 1, the solution is to stop logging the contents of the POST body,
> and secure your infrastructure. I don't think making the client jump
> through extra hoops is a good solution if you are already logging more
> than you should be or you don't trust the people who have access to
> the infrastructure. If this really is a concern, I suspect there are a
> lot more places in the flow that would need to be patched up if you
> don't trust your own token endpoint.
>
> For 2, if the attacker can intercept the HTTPS connection, then the
> proposed solution doesn't add anything because the attacker could
> modify the requests before it hits the authorization server anyway,
> and change which DPoP key the token gets bound to in the first place.
> Plus, the attacker would also have access to anything else the client
> is sending to the AS, such as the user's password when they
> authenticate at the AS.
>
> Are there other attack vectors I'm missing that might actually be
> solved by this mechanism?
>
> Aaron
>
>
> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden
> <neil.madden@forgerock.com <mailto:neil.madden@forgerock.com>> wrote:
>
>     Sadly I couldn’t make the DPoP session, but I’m not convinced the
>     attack described in the earlier message really needs to be
>     prevented at all. The attack largely hinges on auth codes not
>     being one-time use, which is not a good idea, or otherwise on poor
>     network security on the token endpoint. I’m not convinced DPoP
>     needs to protect against these things. Is there more to this?
>
>     The proposed solutions also seem susceptible to the same problems
>     they attempt to solve - if an attacker is somehow able to
>     interrupt the client’s (TLS-protected) token request, why are they
>     somehow not able to interrupt/modify the (far less protected)
>     redirect to the authorization endpoint?
>
>     — Neil
>
>>     On 30 Nov 2021, at 20:15, Mike Jones
>>     <Michael.Jones=40microsoft.com@dmarc.ietf.org
>>     <mailto:Michael.Jones=40microsoft.com@dmarc.ietf.org>> wrote:
>>
>>     As described during the OAuth Security Workshop session on DPoP,
>>     I created a pull request adding the dpop_jkt authorization
>>     request parameter to use for binding the authorization code to
>>     the client’s DPoP key. 
>>     Seehttps://github.com/danielfett/draft-dpop/pull/89
>>     <https://github.com/danielfett/draft-dpop/pull/89>.
>>      
>>     This is an alternative
>>     to https://github.com/danielfett/draft-dpop/pull/86
>>     <https://github.com/danielfett/draft-dpop/pull/86>, which
>>     achieved this binding using a new DPoP PKCE method.  Using this
>>     alternative allows PKCE implementations to be unmodified, while
>>     adding DPoP in new code, which may be an advantage in some
>>     deployments.
>>      
>>     Please review and comment.  Note that I plan to add more of the
>>     attack description written by Pieter Kasselman to the security
>>     considerations in a future commit.  This attack description was
>>     sent by Pieter yesterday in a message with the subject
>>     “Authorization Code Log File Attack (was DPoP Interim Meeting
>>     Minutes)”.
>>      
>>                                                            -- Mike
>>      
>>     _______________________________________________
>>     OAuth mailing list
>>     OAuth@ietf.org <mailto:OAuth@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/oauth
>>     <https://www.ietf.org/mailman/listinfo/oauth>
>
>     _______________________________________________
>     OAuth mailing list
>     OAuth@ietf.org <mailto:OAuth@ietf.org>
>     https://www.ietf.org/mailman/listinfo/oauth
>     <https://www.ietf.org/mailman/listinfo/oauth>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


-- 
https://danielfett.de


--------------A6845E914B1E4C7788BE95A0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">+1 to what Neil and Aaron said.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">dpop_jkt effectively creates a client
      authentication mechanism with an ad-hoc identifier for the client.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I'm wondering if dynamic registration
      plus an asymmetric client authentication scheme doesn't already
      solve the problem.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">-Daniel<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Am 01.12.21 um 01:05 schrieb Aaron
      Parecki:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I tend to agree with Neil here. I'm struggling to
        see the relevance of this attack. 
        <div><br>
        </div>
        <div>It seems like the PDF writeup describes two possible
          reasons an attacker could get access to the authorization code
          and PKCE code verifier.</div>
        <div><br>
        </div>
        <div>1. The attacker has access to the logs of the token
          endpoint.</div>
        <div>2. The attacker can intercept HTTPS connections between the
          client and AS (VPN, corporate network proxy, etc)</div>
        <div><br>
        </div>
        <div>For 1, the solution is to stop logging the contents of the
          POST body, and secure your infrastructure. I don't think
          making the client jump through extra hoops is a good solution
          if you are already logging more than you should be or you
          don't trust the people who have access to the infrastructure.
          If this really is a concern, I suspect there are a lot more
          places in the flow that would need to be patched up if you
          don't trust your own token endpoint.</div>
        <div><br>
        </div>
        <div>For 2, if the attacker can intercept the HTTPS connection,
          then the proposed solution doesn't add anything because the
          attacker could modify the requests before it hits the
          authorization server anyway, and change which DPoP key the
          token gets bound to in the first place. Plus, the attacker
          would also have access to anything else the client is sending
          to the AS, such as the user's password when they authenticate
          at the AS.</div>
        <div><br>
        </div>
        <div>Are there other attack vectors I'm missing that might
          actually be solved by this mechanism?</div>
        <div><br>
        </div>
        <div>Aaron</div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Nov 30, 2021 at 12:40
          PM Neil Madden &lt;<a href="mailto:neil.madden@forgerock.com"
            target="_blank" moz-do-not-send="true">neil.madden@forgerock.com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>Sadly I couldn’t make the DPoP session, but I’m not
            convinced the attack described in the earlier message really
            needs to be prevented at all. The attack largely hinges on
            auth codes not being one-time use, which is not a good idea,
            or otherwise on poor network security on the token endpoint.
            I’m not convinced DPoP needs to protect against these
            things. Is there more to this?
            <div><br>
            </div>
            <div>The proposed solutions also seem susceptible to the
              same problems they attempt to solve - if an attacker is
              somehow able to interrupt the client’s (TLS-protected)
              token request, why are they somehow not able to
              interrupt/modify the (far less protected) redirect to the
              authorization endpoint?<br>
              <div><br>
              </div>
              <div>— Neil<br>
                <div>
                  <div>
                    <div><br>
                      <blockquote type="cite">
                        <div>On 30 Nov 2021, at 20:15, Mike Jones &lt;<a
href="mailto:Michael.Jones=40microsoft.com@dmarc.ietf.org"
                            target="_blank" moz-do-not-send="true">Michael.Jones=40microsoft.com@dmarc.ietf.org</a>&gt;
                          wrote:</div>
                        <br>
                        <div>
                          <div
style="font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">As
                              described during the OAuth Security
                              Workshop session on DPoP, I created a pull
                              request adding the dpop_jkt authorization
                              request parameter to use for binding the
                              authorization code to the client’s DPoP
                              key.  See<a
                                href="https://github.com/danielfett/draft-dpop/pull/89"
style="color:rgb(5,99,193);text-decoration:underline" target="_blank"
                                moz-do-not-send="true">https://github.com/danielfett/draft-dpop/pull/89</a>.</div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif"> </div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">This
                              is an alternative to<span> </span><a
                                href="https://github.com/danielfett/draft-dpop/pull/86"
style="color:rgb(5,99,193);text-decoration:underline" target="_blank"
                                moz-do-not-send="true">https://github.com/danielfett/draft-dpop/pull/86</a>,
                              which achieved this binding using a new
                              DPoP PKCE method.  Using this alternative
                              allows PKCE implementations to be
                              unmodified, while adding DPoP in new code,
                              which may be an advantage in some
                              deployments.</div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif"> </div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">Please
                              review and comment.  Note that I plan to
                              add more of the attack description written
                              by Pieter Kasselman to the security
                              considerations in a future commit.  This
                              attack description was sent by Pieter
                              yesterday in a message with the subject
                              “Authorization Code Log File Attack (was
                              DPoP Interim Meeting Minutes)”.</div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif"> </div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">                                                      
                              -- Mike</div>
                            <div
                              style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif"> </div>
                          </div>
                          <span
style="font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">_______________________________________________</span><br
style="font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                          <span
style="font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">OAuth
                            mailing list</span><br
style="font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                          <a href="mailto:OAuth@ietf.org"
style="color:rgb(5,99,193);text-decoration:underline;font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"
                            target="_blank" moz-do-not-send="true">OAuth@ietf.org</a><br
style="font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                          <a
                            href="https://www.ietf.org/mailman/listinfo/oauth"
style="color:rgb(5,99,193);text-decoration:underline;font-family:HelveticaNeue;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"
                            target="_blank" moz-do-not-send="true">https://www.ietf.org/mailman/listinfo/oauth</a></div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          OAuth mailing list<br>
          <a href="mailto:OAuth@ietf.org" target="_blank"
            moz-do-not-send="true">OAuth@ietf.org</a><br>
          <a href="https://www.ietf.org/mailman/listinfo/oauth"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.ietf.org/mailman/listinfo/oauth</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
OAuth mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OAuth@ietf.org">OAuth@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="https://danielfett.de">https://danielfett.de</a></pre>
  </body>
</html>

--------------A6845E914B1E4C7788BE95A0--


From nobody Wed Dec  1 07:14:29 2021
Return-Path: <pieter.kasselman@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 688F83A0765 for <oauth@ietfa.amsl.com>; Wed,  1 Dec 2021 07:14:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=microsoft.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 uIQkdm1MOy8E for <oauth@ietfa.amsl.com>; Wed,  1 Dec 2021 07:14:21 -0800 (PST)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05lp2105.outbound.protection.outlook.com [104.47.18.105]) (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 CE4243A074D for <oauth@ietf.org>; Wed,  1 Dec 2021 07:14:20 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GhINu6jECCTG3ogVbni7eVH/zcxokBSRxP2/RQ99JGlSRZCoXrzxPudyvIKczM503y9llPqeVHBFcfDOiIJCmKEOvaF+RjGq3dlJkk0wkzRce/8cqYoJN59Yoc5vroRxfnDzvWfSmpGVb8Msg71TuJkNST6J5I5u/kSebh30dGxbsfkUlqgld3tFHAY8nJlxGIouKwis/8ewi5EEhZyJe5Vq8fGuWMSH5PW7v8pqfZpbj25Y5Fdb77hPnl9efZjgvMZrmbX1q4PuJfAVnp660QR8Vc3J8yZzbQMF4OFL8XwqI5BpXtImYLCcXfaY/ky+nCHg4yYgOAVLBf0MwJdMyQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SDgojwAkwnIzp/PmvaKjK4ydwooF6mr2Fs8GUMyuj1Y=; b=PtOtG5CPM72XSEWPSAxiRkspnD67W6xh+/g6nmDh0KNlImIN80Vbjv7354Pakd8d6LN1xzeezZY+TsOT30QQ+6sGEw49WylsDbVj3SeUjY8uwceiYAfJCIrylS8KadU05bF1FcHv03Ti1apNb3PbAHr6BRKy+u6dDtiAsh+VwKCTMr95Y48+ygE+qPGsiJhKUzGnmZSlPPmsVKPfHkJCo8Bp8PchcXcOGxmouDX7UP4q1fiRFgqX2MSXymhVwxvuxa+kB0HHuVfTWHc7GsZIzI5zf0FezbyPmRrskT41NptR9u7kmKYK7LcTI8MFZcEbReggVWEDRF5GKLVdDQU46A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SDgojwAkwnIzp/PmvaKjK4ydwooF6mr2Fs8GUMyuj1Y=; b=SFjRXE31tuXjZSxiQMmXH5wSJox1FWU4zCK1MFpB4SnWCkBDg+FrQimcuLa/qYqESVakL1kAsALHrZ9fmSUGlyYzoZktk6atC2bl6RznP7G2X8x9SCWYSeCkwCwnkC0gD5kmR1dSs7QIlbkI2DHK2enAkRytXti0AOqQq2zcrDQ=
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com (2603:10a6:20b:1b6::10) by AM5PR8303MB0068.EURPRD83.prod.outlook.com (2603:10a6:224:6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.1; Wed, 1 Dec 2021 15:14:17 +0000
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::3993:dd36:4660:fe6e]) by AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::3993:dd36:4660:fe6e%6]) with mapi id 15.20.4778.001; Wed, 1 Dec 2021 15:14:17 +0000
From: Pieter Kasselman <pieter.kasselman@microsoft.com>
To: Aaron Parecki <aaron@parecki.com>, Neil Madden <neil.madden@forgerock.com>
CC: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Parameter
Thread-Index: AdfmJiLly3CI7uXkRCWLNlYaTn4HqAABEZgAAAcr+YAAHVpZ4A==
Date: Wed, 1 Dec 2021 15:14:17 +0000
Message-ID: <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com>
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com>
In-Reply-To: <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com>
Accept-Language: en-IE, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-01T15:11:56Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=8914b27d-417d-4ed2-9d55-4533dddd020b; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0e793a77-04f8-41bd-e36b-08d9b4dd3e2d
x-ms-traffictypediagnostic: AM5PR8303MB0068:EE_
x-microsoft-antispam-prvs: <AM5PR8303MB00685DCC27C0670AB61CAEF691689@AM5PR8303MB0068.EURPRD83.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ejhR1Zy8Ck6VqZ5c7MW3ERXVuOy90MgmaEpfj72wAJSCiPP6IEDchjY+RfYVzqZmT/5MbgonjjUeSOD02M0A7RuWiYnJ8qTnNu6hIJc+pzUd3cBVKFJQlgDmQBs0n7luOvmwrGm6kIUC1n8swDb1ROlGqrB4o0n2HkxTsUhV5YW/BXfixuY/5rb5qBn6kwG0bZ4z2MrveOgzmS6W1+BC45qsfQHXDfvm6bei9AMxvDPAw4Wz/tAGhkdtTdVnVn/+W71MbodPpUuO8mEDBLnGSCHlygBtqtY+xnz8iCiONYgCLtKGLQ6HrcXZG6ctJEPZlgmFo6DYAgLDlL1YXyCIioOazZwhefh0rNNHcoFy8pu0AXgF1AOTk4n6M2KAlC9Y6Bd2JEUF71lNESYgujSyEubsxbclHz4n4UjMLFNj4JPlFPfbuMDXGNw6DdAyBgmbV5IT2fkXnZn2dAY3OEBp9X9ffgkkTUrsQJlUWlOX5Xo3FncAdzPBBRsBmpGoWFONv7kPWebbFx/mumRasTB8qzTGz6YgpVoOYpySvmid3suNUhr8PbHbMNC6JczKG0y/xWFclKnhH35SGPlfZGaSZHAA+bf4UN8SFOry7HFC1AO7znuM73CcIKtQ5tb+Xft22PTlJUgRhwkusyqmO729E6BX8aW/hPkM32eRqwcz2dS0+HUYfm2PxA/NYKZZlkb9dWJ2xOOWm6s7RJGZCSx1Md0PigT+ESVLrR7zZbzOG/OIX4s/h2xsDsxXdI2XxfKbJfZofZkSZF3IY40cONpyk/KlNoSWJ0FuxiC/SvcdvjYmsc3VO353EAL5Pj7/doT06qYa0SCGlPg9i5unxvvXNCfCjPYrot8HWClA48YBv7Kb9TTF+E41No+0C9oxBoNl
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR83MB0452.EURPRD83.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(8990500004)(7696005)(44832011)(82960400001)(86362001)(110136005)(71200400001)(508600001)(10290500003)(38100700002)(8676002)(4326008)(38070700005)(66556008)(53546011)(122000001)(66446008)(6506007)(2906002)(5660300002)(52536014)(82950400001)(966005)(76116006)(166002)(186003)(33656002)(316002)(9686003)(83380400001)(66946007)(66476007)(55016003)(64756008)(8936002)(54906003)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?z8aHK/qF067F4HSnZkruvMZBAq7nFXrX+FcFnOwHv7OJkDJP7LUJw+oIPcE5?= =?us-ascii?Q?M+FbeBFGrQUX3yR4LFgbkuhQ9b1ba6RXwSJkBOBjjp+LSprcQoAnh0e1kZ3I?= =?us-ascii?Q?rg5gXfx9Dju5W2CNWxiTvfq0xInMgyU8MoiGjb7nqtIrHEYmnxzWaLkQV2Uh?= =?us-ascii?Q?oqLR8EcwT2nLyJXvsR2GB2JDg8ersK+ObN9zJGysmEQl+Qljf30IrGloGgoZ?= =?us-ascii?Q?RzdCSa9Gi5VhjJn6tfmYDJhcxQ+Sfx52FteID/8dgvMjyiAE9eaKgvvA6LN6?= =?us-ascii?Q?p7rZ04jfoIA2RbTxEjsZhoPo9P+Id4kjYseHHaXLRonqPdS+avgWmmuPs/ed?= =?us-ascii?Q?8sSbWECw2RUEghKG76GI1VvFBbsc4PCi3SUKFXworI6K79lv2Ikm8G639itm?= =?us-ascii?Q?vK4dxYX0nhgx46JgDtESOYGu4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Y3QrkOh2gY2tVQ5f4HJHXCbfV+mwvs73CQk2Jd53AkXixGn316fclH?= =?us-ascii?Q?jC4L87mDisD1YfmHVk5h7546Y5PvFS3LX6+Z1s0yM3S/9119XNybJ5REUevw?= =?us-ascii?Q?HkYcHFblhlCgphheobdwKKqlO8KfrNZ9AkazM5xDCvXq4Ji3Pjm0KasaoJFC?= =?us-ascii?Q?HqKpUUdTqVrVavLxkgFfe/4JQQwWN/xHnTJLHncaDWQ+i0+mKfai1SQK2hmI?= =?us-ascii?Q?iicyL9nrkdC2r+Aasb0LVErBhTsLdVOW9AOCF4f4Bi/QBS+7crpnb2cIrsaX?= =?us-ascii?Q?sq4nNPC9FwE5BPZe0vhZ4HWpYHwQCJAfkHrABGsi9iunwBTmHzFWjYPTUAKH?= =?us-ascii?Q?x62NuQ=3D=3D?=
Content-Type: multipart/alternative; boundary="_000_AM7PR83MB0452688B1FCB18070639291F91689AM7PR83MB0452EURP_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR83MB0452.EURPRD83.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0e793a77-04f8-41bd-e36b-08d9b4dd3e2d
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2021 15:14:17.1653 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: KlDConFhV6dIBEWYUZRPnIf7qbGVVy14iL4aj+gsckSsl+aQIYUDzvytwV1lD4PjegBJKCf+3qRmRmiMR3uTawS8G9FjLwIMaYhBiL2GJMw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR8303MB0068
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/XNX9_Wm59X1WL4F7reIv9sJrGmU>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Dec 2021 15:14:28 -0000

--_000_AM7PR83MB0452688B1FCB18070639291F91689AM7PR83MB0452EURP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Aaron, Neil

Thanks for the questions.

We agree that ideally authorization codes and PKCE proofs would never end u=
p in log files and one-time use would be perfectly implemented.

However, in practice these artefacts do find their way into log files in va=
rious places and one-time use may not always be practical (e.g. one-time us=
e in a certain timeframe etc).

The addition of these mitigations is not meant to replace the need for one-=
time use or good logging hygiene. Instead they provide pragmatic defence in=
 depth against real attacks rather than assuming perfect implementations. W=
e are deploying these mitigations and are sharing them for inclusion in DPo=
P to enable others to do the same.

Regarding the question about interrupting/intercepting the HTTPS connection=
, the attacker don't need to intercept the HTTPS connection or modify the c=
ontent in the TLS tunnel, rather they just need to prevent the authorizatio=
n code from being presented to the Authorization Server. It may even happen=
 due to a poor network connection. The poor connection may be engineered by=
 an attacker, or they may opportunistically benefit from it. The networks a=
re not perfect either.

Cheers

Pieter


From: OAuth <oauth-bounces@ietf.org> On Behalf Of Aaron Parecki
Sent: Wednesday 1 December 2021 00:05
To: Neil Madden <neil.madden@forgerock.com>
Cc: Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>; oauth@ietf=
.org
Subject: [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Parameter

I tend to agree with Neil here. I'm struggling to see the relevance of this=
 attack.

It seems like the PDF writeup describes two possible reasons an attacker co=
uld get access to the authorization code and PKCE code verifier.

1. The attacker has access to the logs of the token endpoint.
2. The attacker can intercept HTTPS connections between the client and AS (=
VPN, corporate network proxy, etc)

For 1, the solution is to stop logging the contents of the POST body, and s=
ecure your infrastructure. I don't think making the client jump through ext=
ra hoops is a good solution if you are already logging more than you should=
 be or you don't trust the people who have access to the infrastructure. If=
 this really is a concern, I suspect there are a lot more places in the flo=
w that would need to be patched up if you don't trust your own token endpoi=
nt.

For 2, if the attacker can intercept the HTTPS connection, then the propose=
d solution doesn't add anything because the attacker could modify the reque=
sts before it hits the authorization server anyway, and change which DPoP k=
ey the token gets bound to in the first place. Plus, the attacker would als=
o have access to anything else the client is sending to the AS, such as the=
 user's password when they authenticate at the AS.

Are there other attack vectors I'm missing that might actually be solved by=
 this mechanism?

Aaron


On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com<mai=
lto:neil.madden@forgerock.com>> wrote:
Sadly I couldn't make the DPoP session, but I'm not convinced the attack de=
scribed in the earlier message really needs to be prevented at all. The att=
ack largely hinges on auth codes not being one-time use, which is not a goo=
d idea, or otherwise on poor network security on the token endpoint. I'm no=
t convinced DPoP needs to protect against these things. Is there more to th=
is?

The proposed solutions also seem susceptible to the same problems they atte=
mpt to solve - if an attacker is somehow able to interrupt the client's (TL=
S-protected) token request, why are they somehow not able to interrupt/modi=
fy the (far less protected) redirect to the authorization endpoint?

- Neil


On 30 Nov 2021, at 20:15, Mike Jones <Michael.Jones=3D40microsoft.com@dmarc=
.ietf.org<mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org>> wrote:

As described during the OAuth Security Workshop session on DPoP, I created =
a pull request adding the dpop_jkt authorization request parameter to use f=
or binding the authorization code to the client's DPoP key.  Seehttps://git=
hub.com/danielfett/draft-dpop/pull/89<https://nam06.safelinks.protection.ou=
tlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%=
2F89&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C73630bc47d8447ad41=
4708d9b45e504e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739139477365=
460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1=
haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Dyymmaey9B%2BkfhDNPCzjyuHdkKMGmzSA3C7dZRA=
Oz4cc%3D&reserved=3D0>.

This is an alternative to https://github.com/danielfett/draft-dpop/pull/86<=
https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.=
com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DreA=
U2tGLoiZcEstAyCjd3TpYHjbC%2FxlvaSOcFdwEcqg%3D&reserved=3D0>, which achieved=
 this binding using a new DPoP PKCE method.  Using this alternative allows =
PKCE implementations to be unmodified, while adding DPoP in new code, which=
 may be an advantage in some deployments.

Please review and comment.  Note that I plan to add more of the attack desc=
ription written by Pieter Kasselman to the security considerations in a fut=
ure commit.  This attack description was sent by Pieter yesterday in a mess=
age with the subject "Authorization Code Log File Attack (was DPoP Interim =
Meeting Minutes)".

                                                       -- Mike

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C73630bc47d8447ad414=
708d9b45e504e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377391394773654=
60%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FijJyL4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46=
pZ0gImy0%3D&reserved=3D0>

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C73630bc47d8447ad414=
708d9b45e504e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377391394773654=
60%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FijJyL4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46=
pZ0gImy0%3D&reserved=3D0>

--_000_AM7PR83MB0452688B1FCB18070639291F91689AM7PR83MB0452EURP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:HelveticaNeue;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle19
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-IE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Hi Aaron,=
 Neil<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Thanks fo=
r the questions.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">We agree =
that ideally authorization codes and PKCE proofs would never end up in log =
files and one-time use would be perfectly implemented.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">However, =
in practice these artefacts do find their way into log files in various pla=
ces and one-time use may not always be practical (e.g. one-time use in a ce=
rtain timeframe etc).
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">The addit=
ion of these mitigations is not meant to replace the need for one-time use =
or good logging hygiene. Instead they provide pragmatic defence in depth ag=
ainst real attacks rather than assuming
 perfect implementations. We are deploying these mitigations and are sharin=
g them for inclusion in DPoP to enable others to do the same.<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Regarding=
 the question about interrupting/intercepting the HTTPS connection, the att=
acker don&#8217;t need to intercept the HTTPS connection or modify the cont=
ent in the TLS tunnel, rather they just need
 to prevent the authorization code from being presented to the Authorizatio=
n Server. It may even happen due to a poor network connection. The poor con=
nection may be engineered by an attacker, or they may opportunistically ben=
efit from it. The networks are not
 perfect either.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Cheers<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Pieter<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;oauth-bounces@ietf.org&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;neil.madden@forgerock.com&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D40microsoft.com@dmarc.ietf.org&gt=
;; oauth@ietf.org<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">I tend to agree with Neil here. I'm struggling to se=
e the relevance of this attack.&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">It seems like the PDF writeup describes two possible=
 reasons an attacker could get access to the authorization code and PKCE co=
de verifier.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">1. The attacker has access to the logs of the token =
endpoint.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">2. The attacker can intercept HTTPS connections betw=
een the client and AS (VPN, corporate network proxy, etc)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">For 1, the solution is to stop logging the contents =
of the POST body, and secure your infrastructure. I don't think making the =
client jump through extra hoops is a good solution if you are already loggi=
ng more than you should be or you
 don't trust the people who have access to the infrastructure. If this real=
ly is a concern, I suspect there are a lot more places in the flow that wou=
ld need to be patched up if you don't trust your own token endpoint.<o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">For 2, if the attacker can intercept the HTTPS conne=
ction, then the proposed solution doesn't add anything because the attacker=
 could modify the requests before it hits the authorization server anyway, =
and change which DPoP key the token
 gets bound to in the first place. Plus, the attacker would also have acces=
s to anything else the client is sending to the AS, such as the user's pass=
word when they authenticate at the AS.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Are there other attack vectors I'm missing that migh=
t actually be solved by this mechanism?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Tue, Nov 30, 2021 at 12:40 PM Neil Madden &lt;<a =
href=3D"mailto:neil.madden@forgerock.com" target=3D"_blank">neil.madden@for=
gerock.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal">Sadly I couldn&#8217;t make the DPoP session, but I&=
#8217;m not convinced the attack described in the earlier message really ne=
eds to be prevented at all. The attack largely hinges on auth codes not bei=
ng one-time use, which is not a good idea, or
 otherwise on poor network security on the token endpoint. I&#8217;m not co=
nvinced DPoP needs to protect against these things. Is there more to this?<=
o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The proposed solutions also seem susceptible to the =
same problems they attempt to solve - if an attacker is somehow able to int=
errupt the client&#8217;s (TLS-protected) token request, why are they someh=
ow not able to interrupt/modify the (far
 less protected) redirect to the authorization endpoint?<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#8212; Neil<o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal">On 30 Nov 2021, at 20:15, Mike Jones &lt;<a href=3D"=
mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org" target=3D"_blank">Mi=
chael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal">As described during the OAuth Security Workshop sess=
ion on DPoP, I created a pull request adding the dpop_jkt authorization req=
uest parameter to use for binding the authorization code to the client&#821=
7;s DPoP key.&nbsp; See<a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89=
&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C73630bc47d8447ad41=
4708d9b45e504e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739139477365=
460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1=
haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dyymmaey9B%2BkfhDNPCzjyuHdkKMGmzSA3C7=
dZRAOz4cc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"color:#0563=
C1">https://github.com/danielfett/draft-dpop/pull/89</span></a>.<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">This is an alternative to&nbsp;<a href=3D"https://na=
m06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdani=
elfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cpieter.kasselman%40mic=
rosoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91ab2d7cd01=
1db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw=
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DreAU2=
tGLoiZcEstAyCjd3TpYHjbC%2FxlvaSOcFdwEcqg%3D&amp;reserved=3D0" target=3D"_bl=
ank"><span style=3D"color:#0563C1">https://github.com/danielfett/draft-dpop=
/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.&nbsp; Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Please review and comment.&nbsp; Note that I plan to=
 add more of the attack description written by Pieter Kasselman to the secu=
rity considerations in a future commit.&nbsp; This attack description was s=
ent by Pieter yesterday in a message with the
 subject &#8220;Authorization Code Log File Attack (was DPoP Interim Meetin=
g Minutes)&#8221;.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;He=
lveticaNeue&quot;,serif">_______________________________________________<br=
>
OAuth mailing list<br>
</span><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;HelveticaNeue&quot;,serif;color:#0563C1">=
OAuth@ietf.org</span></a><span style=3D"font-size:10.5pt;font-family:&quot;=
HelveticaNeue&quot;,serif"><br>
</span><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhtt=
ps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3D%2FijJyL4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46pZ0gImy0%3D&amp;re=
served=3D0" target=3D"_blank"><span style=3D"font-size:10.5pt;font-family:&=
quot;HelveticaNeue&quot;,serif;color:#0563C1">https://www.ietf.org/mailman/=
listinfo/oauth</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D%2FijJyL4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46pZ0gImy0%3D&amp;reserved=
=3D0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p=
></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>

--_000_AM7PR83MB0452688B1FCB18070639291F91689AM7PR83MB0452EURP_--


From nobody Wed Dec  1 07:29:18 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49A633A07D9 for <oauth@ietfa.amsl.com>; Wed,  1 Dec 2021 07:29:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 jCrsSIaNNAn7 for <oauth@ietfa.amsl.com>; Wed,  1 Dec 2021 07:29:10 -0800 (PST)
Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 865423A07D5 for <oauth@ietf.org>; Wed,  1 Dec 2021 07:29:10 -0800 (PST)
Received: by mail-yb1-xb34.google.com with SMTP id g17so64462328ybe.13 for <oauth@ietf.org>; Wed, 01 Dec 2021 07:29:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z1gfSvhW1YJYIZBj3rJSRvWz3Io1sFBTTV5ddTM0BOw=; b=TdiIBq2vd0kby4iMi7yhKXfkFFO1i3hg+Eqoz0woK7q+qrfmtlK8npt3FReBvQ1TDL y/2YPXl1ic3sS70BL7PhwfCRyrGniq64m9n6mS5Au4+r1KuxFN9oisKUhXcDZvNYjp9E j9tWFPpeUXAjvunVkU3aORxp32nrUEa+S4KxZ69C3xVKdApLl2TFuB4RGhxnHS/HSw+H sdSOTtIwCsxg/QcBTtRzLvicJiVrWFAFpp/cZ9iytQinM3BJloOOfGBusMsUtfstD6cm 5A9/4KIlJQXeFI+dSxPv339OT4kBuGdHt6BD21demNV7XWrbbCj25s2+rpX9uE1CQnjQ Nuyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z1gfSvhW1YJYIZBj3rJSRvWz3Io1sFBTTV5ddTM0BOw=; b=JFRKZQQu3nXgzMd+sIRVBFTapSWCdtjno7SFSGMCq1wO3tw6iY5MWw+GsftdmsLVdt zlsQkP8MlOkEqwtwRJlhRiU6UhRF0fFWnKPI/X+Vv+lVgqsdv0AJOUiRAcr2aITUuUlh B8wfEaJI/kJsLMy0rn1Mv+n388pjVwmXdDBDXZoK08v1Lh4cDROgPTltzHz6/xCmcZzp EGYVeC0fQSoYGu0WMIfy48pI4CHBJAfkSxCrlv4IrT2pZRWQujj2VL8xgQv4qkGh13jz aVjfsQjvq1X8eFFWVxEWAemO+ZoEkqXzcfeZ18D6NG+5Qlza8RSpPhLnKgn5lTca/sLk DLFQ==
X-Gm-Message-State: AOAM53238vjPVZ/4IHh1PLIKooc3Wko85DPaebonOOC0cl627bYxVhej ULX3L0snPNWFrQuN+ILZj7wKXuhimS/Ep5VOBnGr8c/RDrdK
X-Google-Smtp-Source: ABdhPJyMaNfnEgZ3EkFwiNmSPs8hqSpcsupopm4S3QsSuJ7Ahb2YTDH9YaLJXD4UpL7oCXl3Qm9qyyQm6e5szKyUM1E=
X-Received: by 2002:a25:6744:: with SMTP id b65mr8022461ybc.57.1638372548697;  Wed, 01 Dec 2021 07:29:08 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com>
In-Reply-To: <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Wed, 1 Dec 2021 16:28:57 +0100
Message-ID: <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com>
To: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>
Cc: Aaron Parecki <aaron@parecki.com>, Neil Madden <neil.madden@forgerock.com>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>,  "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c6766b05d21755c7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/gB-Ftscnqf1ph4G07SiS3rO4czY>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Dec 2021 15:29:17 -0000

--000000000000c6766b05d21755c7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

>
> (e.g. one-time use in a certain timeframe etc).


Sure but couldn't we just reduce the lifetime? Even if the token isn't one
time use, surely the reuse time is trivially short which would prevent
against exfiltration of the necessary security tokens to issue the attack?

I feel like the simpler solution will always win, which in this case is
one-time use tokens, then the problem is moot, right? So this only comes
into play if you want to allow token reuse in a time window. The previously
suggested max allowed time window from OAuth 2.1 was 60s for auth codes. So
we are saying that the attack surface is still too large, for the .01% of
implementations that have multi-use tokens, and the .01% of implementations
that use the maximum 60s reuse, and then the subset of those that aren't
correctly scrubing their logs, and then the subset of those that have a
vulnerability which allows for exfiltration of both those logged tokens and
the logged PKCE verifier?

Why are we making this more complicated for a majority of cases, which:

   - Only have single use tokens
   - Or Only have a very short lifetime
   - Or Are already correctly sanitizing their logs
   - Or Have defense in depth for their deployments.

If the implementation is so insecure that none of those are happening,
wouldn't the implementation for this functionality also be suspect for an
opportunity for attack?

I feel like we are justifying here that multi-use tokens are wrong, but
still want a solution to use them. Once we've proven that an deployment is
not okay with using multi-use tokens, then the conclusion should be "don't
have multi-use tokens", not: "let's still have multi-use tokens, but come
up with a complex way to prevent their multi-use from accidentally being
abused".

Or am I missing something that would actually make this a
non-negligible attack vector?

- Warren

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
40microsoft.com@dmarc.ietf.org> wrote:

> Hi Aaron, Neil
>
>
>
> Thanks for the questions.
>
>
>
> We agree that ideally authorization codes and PKCE proofs would never end
> up in log files and one-time use would be perfectly implemented.
>
>
>
> However, in practice these artefacts do find their way into log files in
> various places and one-time use may not always be practical (e.g. one-tim=
e
> use in a certain timeframe etc).
>
>
>
> The addition of these mitigations is not meant to replace the need for
> one-time use or good logging hygiene. Instead they provide pragmatic
> defence in depth against real attacks rather than assuming perfect
> implementations. We are deploying these mitigations and are sharing them
> for inclusion in DPoP to enable others to do the same.
>
>
>
> Regarding the question about interrupting/intercepting the HTTPS
> connection, the attacker don=E2=80=99t need to intercept the HTTPS connec=
tion or
> modify the content in the TLS tunnel, rather they just need to prevent th=
e
> authorization code from being presented to the Authorization Server. It m=
ay
> even happen due to a poor network connection. The poor connection may be
> engineered by an attacker, or they may opportunistically benefit from it.
> The networks are not perfect either.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
> *Sent:* Wednesday 1 December 2021 00:05
> *To:* Neil Madden <neil.madden@forgerock.com>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
> Parameter
>
>
>
> I tend to agree with Neil here. I'm struggling to see the relevance of
> this attack.
>
>
>
> It seems like the PDF writeup describes two possible reasons an attacker
> could get access to the authorization code and PKCE code verifier.
>
>
>
> 1. The attacker has access to the logs of the token endpoint.
>
> 2. The attacker can intercept HTTPS connections between the client and AS
> (VPN, corporate network proxy, etc)
>
>
>
> For 1, the solution is to stop logging the contents of the POST body, and
> secure your infrastructure. I don't think making the client jump through
> extra hoops is a good solution if you are already logging more than you
> should be or you don't trust the people who have access to the
> infrastructure. If this really is a concern, I suspect there are a lot mo=
re
> places in the flow that would need to be patched up if you don't trust yo=
ur
> own token endpoint.
>
>
>
> For 2, if the attacker can intercept the HTTPS connection, then the
> proposed solution doesn't add anything because the attacker could modify
> the requests before it hits the authorization server anyway, and change
> which DPoP key the token gets bound to in the first place. Plus, the
> attacker would also have access to anything else the client is sending to
> the AS, such as the user's password when they authenticate at the AS.
>
>
>
> Are there other attack vectors I'm missing that might actually be solved
> by this mechanism?
>
>
>
> Aaron
>
>
>
>
>
> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com>
> wrote:
>
> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not convi=
nced the attack
> described in the earlier message really needs to be prevented at all. The
> attack largely hinges on auth codes not being one-time use, which is not =
a
> good idea, or otherwise on poor network security on the token endpoint. I=
=E2=80=99m
> not convinced DPoP needs to protect against these things. Is there more t=
o
> this?
>
>
>
> The proposed solutions also seem susceptible to the same problems they
> attempt to solve - if an attacker is somehow able to interrupt the client=
=E2=80=99s
> (TLS-protected) token request, why are they somehow not able to
> interrupt/modify the (far less protected) redirect to the authorization
> endpoint?
>
>
>
> =E2=80=94 Neil
>
>
>
> On 30 Nov 2021, at 20:15, Mike Jones <
> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>
>
>
> As described during the OAuth Security Workshop session on DPoP, I create=
d
> a pull request adding the dpop_jkt authorization request parameter to use
> for binding the authorization code to the client=E2=80=99s DPoP key.  See
> https://github.com/danielfett/draft-dpop/pull/89
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kassel=
man%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
yymmaey9B%2BkfhDNPCzjyuHdkKMGmzSA3C7dZRAOz4cc%3D&reserved=3D0>
> .
>
>
>
> This is an alternative to https://github.com/danielfett/draft-dpop/pull/8=
6
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kassel=
man%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
reAU2tGLoiZcEstAyCjd3TpYHjbC%2FxlvaSOcFdwEcqg%3D&reserved=3D0>,
> which achieved this binding using a new DPoP PKCE method.  Using this
> alternative allows PKCE implementations to be unmodified, while adding DP=
oP
> in new code, which may be an advantage in some deployments.
>
>
>
> Please review and comment.  Note that I plan to add more of the attack
> description written by Pieter Kasselman to the security considerations in=
 a
> future commit.  This attack description was sent by Pieter yesterday in a
> message with the subject =E2=80=9CAuthorization Code Log File Attack (was=
 DPoP
> Interim Meeting Minutes)=E2=80=9D.
>
>
>
>                                                        -- Mike
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FijJy=
L4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46pZ0gImy0%3D&reserved=3D0>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FijJy=
L4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46pZ0gImy0%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--000000000000c6766b05d21755c7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(e.g. on=
e-time use in a certain timeframe etc).</blockquote><div><br></div><div>Sur=
e but couldn&#39;t we just reduce the lifetime? Even if the token isn&#39;t=
 one time use, surely the reuse time is trivially short which would prevent=
 against exfiltration of the necessary security tokens to issue the attack?=
</div><div><br></div><div>I feel like the simpler=C2=A0solution will always=
 win, which in this case is one-time use tokens, then the problem is moot, =
right? So this only comes into play if you want to allow token reuse in a t=
ime window. The previously suggested max allowed time window from OAuth 2.1=
 was 60s for auth codes. So we are saying that the attack surface is still =
too large, for the .01% of implementations that have multi-use tokens, and =
the .01% of implementations that use the maximum 60s reuse, and then the su=
bset of those that aren&#39;t correctly scrubing their logs, and then the s=
ubset of those that have a vulnerability which allows for exfiltration of b=
oth those logged tokens and the logged PKCE verifier?</div><div><br></div><=
div>Why are we making this more complicated for a majority of cases, which:=
</div><div><ul><li>Only have single use tokens</li><li>Or Only have a very =
short lifetime</li><li>Or Are already correctly sanitizing their logs</li><=
li>Or Have defense in depth for their deployments.</li></ul><div>If the imp=
lementation is so insecure that none of those are happening, wouldn&#39;t t=
he implementation for this functionality also be suspect for an opportunity=
 for attack?</div></div><div><br></div><div>I feel like we are justifying h=
ere that multi-use tokens are wrong, but still want a solution to use them.=
 Once we&#39;ve proven that an deployment is not okay with using multi-use =
tokens, then the conclusion should be &quot;don&#39;t have multi-use tokens=
&quot;, not: &quot;let&#39;s still have multi-use tokens, but come up with =
a complex way to prevent their multi-use from accidentally being abused&quo=
t;.</div><div><br></div><div>Or am I missing something that would actually =
make this a non-negligible=C2=A0attack vector?</div><div><br></div><div>- W=
arren</div><div><br></div><div><div><div dir=3D"ltr" class=3D"gmail_signatu=
re" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><table style=3D"bor=
der:none;border-collapse:collapse"><colgroup><col width=3D"214"><col width=
=3D"110"></colgroup><tbody><tr style=3D"height:0pt"><td style=3D"border-lef=
t:solid #ffffff 1pt;border-right:solid #cccccc 1pt;border-bottom:solid #fff=
fff 1pt;border-top:solid #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt=
 5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:s=
olid #ffffff 1pt;border-right:solid #ffffff 1pt;border-top:solid #ffffff 1p=
t;border-bottom:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span s=
tyle=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:=
transparent;vertical-align:baseline;white-space:pre-wrap"><span style=3D"bo=
rder:none;display:inline-block;overflow:hidden;width:199px;height:34px"><im=
g src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqh=
XdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-n=
h6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"34" style=3D"margin-l=
eft:0px;margin-top:0px"></span></span></p></td><td style=3D"border-left:sol=
id #cccccc 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1=
pt;border-top:solid #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;=
overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid =
#ffffff 1pt;border-right:solid #ffffff 1pt;border-top:solid #ffffff 1pt;mar=
gin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:La=
to,sans-serif;background-color:transparent;font-weight:700;vertical-align:b=
aseline;white-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=
=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #fffff=
f 1pt;border-bottom:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><fo=
nt face=3D"Lato, sans-serif"><span style=3D"font-size:13.3333px;white-space=
:pre-wrap">Founder, CTO</span></font></p></td></tr></tbody></table><span st=
yle=3D"font-size:x-small">Secure your user data with IAM authorization as a=
 service. Implement=C2=A0</span><a href=3D"https://authress.io/" style=3D"f=
ont-size:x-small" target=3D"_blank">Authress</a><span style=3D"font-size:x-=
small">.</span><br></div></div></div><br></div></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Dec 1, 2021 at 4:14 =
PM Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.co=
m@dmarc.ietf.org">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE" style=3D"overflow-wrap: break-word;">
<div class=3D"gmail-m_-1306890306756486050WordSection1">
<p class=3D"MsoNormal"><span>Hi Aaron, Neil<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Thanks for the questions.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>We agree that ideally authorization codes and =
PKCE proofs would never end up in log files and one-time use would be perfe=
ctly implemented.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>However, in practice these artefacts do find t=
heir way into log files in various places and one-time use may not always b=
e practical (e.g. one-time use in a certain timeframe etc).
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>The addition of these mitigations is not meant=
 to replace the need for one-time use or good logging hygiene. Instead they=
 provide pragmatic defence in depth against real attacks rather than assumi=
ng
 perfect implementations. We are deploying these mitigations and are sharin=
g them for inclusion in DPoP to enable others to do the same.<u></u><u></u>=
</span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Regarding the question about interrupting/inte=
rcepting the HTTPS connection, the attacker don=E2=80=99t need to intercept=
 the HTTPS connection or modify the content in the TLS tunnel, rather they =
just need
 to prevent the authorization code from being presented to the Authorizatio=
n Server. It may even happen due to a poor network connection. The poor con=
nection may be engineered by an attacker, or they may opportunistically ben=
efit from it. The networks are not
 perfect either.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;<a href=3D"mailto:oauth-bounces@ietf.org" target=3D"_=
blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" tar=
get=3D"_blank">neil.madden@forgerock.com</a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;; =
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">I tend to agree with Neil here. I&#39;m struggling t=
o see the relevance of this attack.=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">It seems like the PDF writeup describes two possible=
 reasons an attacker could get access to the authorization code and PKCE co=
de verifier.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">1. The attacker has access to the logs of the token =
endpoint.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">2. The attacker can intercept HTTPS connections betw=
een the client and AS (VPN, corporate network proxy, etc)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For 1, the solution is to stop logging the contents =
of the POST body, and secure your infrastructure. I don&#39;t think making =
the client jump through extra hoops is a good solution if you are already l=
ogging more than you should be or you
 don&#39;t trust the people who have access to the infrastructure. If this =
really is a concern, I suspect there are a lot more places in the flow that=
 would need to be patched up if you don&#39;t trust your own token endpoint=
.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For 2, if the attacker can intercept the HTTPS conne=
ction, then the proposed solution doesn&#39;t add anything because the atta=
cker could modify the requests before it hits the authorization server anyw=
ay, and change which DPoP key the token
 gets bound to in the first place. Plus, the attacker would also have acces=
s to anything else the client is sending to the AS, such as the user&#39;s =
password when they authenticate at the AS.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Are there other attack vectors I&#39;m missing that =
might actually be solved by this mechanism?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Tue, Nov 30, 2021 at 12:40 PM Neil Madden &lt;<a =
href=3D"mailto:neil.madden@forgerock.com" target=3D"_blank">neil.madden@for=
gerock.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4=
.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal">Sadly I couldn=E2=80=99t make the DPoP session, but =
I=E2=80=99m not convinced the attack described in the earlier message reall=
y needs to be prevented at all. The attack largely hinges on auth codes not=
 being one-time use, which is not a good idea, or
 otherwise on poor network security on the token endpoint. I=E2=80=99m not =
convinced DPoP needs to protect against these things. Is there more to this=
?<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The proposed solutions also seem susceptible to the =
same problems they attempt to solve - if an attacker is somehow able to int=
errupt the client=E2=80=99s (TLS-protected) token request, why are they som=
ehow not able to interrupt/modify the (far
 less protected) redirect to the authorization endpoint?<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=E2=80=94 Neil<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><br>
<br>
<u></u><u></u></p>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal">On 30 Nov 2021, at 20:15, Mike Jones &lt;<a href=3D"=
mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org" target=3D"_blank">Mi=
chael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></=
p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal">As described during the OAuth Security Workshop sess=
ion on DPoP, I created a pull request adding the dpop_jkt authorization req=
uest parameter to use for binding the authorization code to the client=E2=
=80=99s DPoP key.=C2=A0 See<a href=3D"https://nam06.safelinks.protection.ou=
tlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%=
2F89&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C73630bc47d8447=
ad414708d9b45e504e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773913947=
7365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI=
6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dyymmaey9B%2BkfhDNPCzjyuHdkKMGmzS=
A3C7dZRAOz4cc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"color:r=
gb(5,99,193)">https://github.com/danielfett/draft-dpop/pull/89</span></a>.<=
u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">This is an alternative to=C2=A0<a href=3D"https://na=
m06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdani=
elfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cpieter.kasselman%40mic=
rosoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f141af91ab2d7cd01=
1db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw=
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DreAU2=
tGLoiZcEstAyCjd3TpYHjbC%2FxlvaSOcFdwEcqg%3D&amp;reserved=3D0" target=3D"_bl=
ank"><span style=3D"color:rgb(5,99,193)">https://github.com/danielfett/draf=
t-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Please review and comment.=C2=A0 Note that I plan to=
 add more of the attack description written by Pieter Kasselman to the secu=
rity considerations in a future commit.=C2=A0 This attack description was s=
ent by Pieter yesterday in a message with the
 subject =E2=80=9CAuthorization Code Log File Attack (was DPoP Interim Meet=
ing Minutes)=E2=80=9D.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:Helvetic=
aNeue,serif">_______________________________________________<br>
OAuth mailing list<br>
</span><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank"><span style=3D"f=
ont-size:10.5pt;font-family:HelveticaNeue,serif;color:rgb(5,99,193)">OAuth@=
ietf.org</span></a><span style=3D"font-size:10.5pt;font-family:HelveticaNeu=
e,serif"><br>
</span><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhtt=
ps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3D%2FijJyL4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46pZ0gImy0%3D&amp;re=
served=3D0" target=3D"_blank"><span style=3D"font-size:10.5pt;font-family:H=
elveticaNeue,serif;color:rgb(5,99,193)">https://www.ietf.org/mailman/listin=
fo/oauth</span></a><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C73630bc47d8447ad414708d9b45e504e%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739139477365460%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D%2FijJyL4AbGch83O%2B6gxmRN%2FpwXqH5ejIa46pZ0gImy0%3D&amp;reserved=
=3D0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u><=
/u><u></u></p>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--000000000000c6766b05d21755c7--


From nobody Wed Dec  1 22:01:53 2021
Return-Path: <noreply@ietf.org>
X-Original-To: oauth@ietf.org
Delivered-To: oauth@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 47C2A3A0AD0; Wed,  1 Dec 2021 22:01:44 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Murray Kucherawy via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-oauth-iss-auth-resp@ietf.org, oauth-chairs@ietf.org, oauth@ietf.org, rifaat.s.ietf@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.40.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Murray Kucherawy <superuser@gmail.com>
Message-ID: <163842490426.21751.2364569706527318103@ietfa.amsl.com>
Date: Wed, 01 Dec 2021 22:01:44 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/q1jyQDRWIF2H4vYyPLyzl_AenT0>
Subject: [OAUTH-WG] Murray Kucherawy's No Objection on draft-ietf-oauth-iss-auth-resp-03: (with COMMENT)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 06:01:45 -0000

Murray Kucherawy has entered the following ballot position for
draft-ietf-oauth-iss-auth-resp-03: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

I support Francesca's DISCUSS.

I also concur with Eric's observations about the shepherd writeup.  Those
important details are missing.

Please quote "iss" wherever you use it.  Every time I ran into it, my first
thought was that it's a typo and I had to re-parse it a couple of times.




From nobody Thu Dec  2 04:16:12 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: oauth@ietf.org
Delivered-To: oauth@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id DFE983A10A7; Thu,  2 Dec 2021 04:16:06 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: oauth@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.40.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: oauth@ietf.org
Message-ID: <163844736686.20033.8685896348259275152@ietfa.amsl.com>
Date: Thu, 02 Dec 2021 04:16:06 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/mN4KMtn8HC_1iAZJtFmVIj5W9SE>
Subject: [OAUTH-WG] I-D Action: draft-ietf-oauth-iss-auth-resp-04.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 12:16:07 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Web Authorization Protocol WG of the IETF.

        Title           : OAuth 2.0 Authorization Server Issuer Identification
        Authors         : Karsten Meyer zu Selhausen
                          Daniel Fett
	Filename        : draft-ietf-oauth-iss-auth-resp-04.txt
	Pages           : 12
	Date            : 2021-12-02

Abstract:
   This document specifies a new parameter "iss" that is used to
   explicitly include the issuer identifier of the authorization server
   in the authorization response of an OAuth authorization flow.  The
   "iss" parameter serves as an effective countermeasure to "mix-up
   attacks".


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-oauth-iss-auth-resp-04.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-oauth-iss-auth-resp-04


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Thu Dec  2 04:19:18 2021
Return-Path: <fett@danielfett.de>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 836193A00AF; Thu,  2 Dec 2021 04:19:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=danielfett.de
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 G6C8ppjkCekU; Thu,  2 Dec 2021 04:19:03 -0800 (PST)
Received: from d3f.me (redstone.d3f.me [5.9.29.41]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F8D13A0045; Thu,  2 Dec 2021 04:19:03 -0800 (PST)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by d3f.me (Postfix) with ESMTPA id 84D7167BF; Thu,  2 Dec 2021 12:18:59 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danielfett.de; s=dkim; t=1638447539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ODmxt/YNIXlnfBZirR7J8rBGSgX2edarYT0/tLzPBHc=; b=ilzVQzz85wTZDu6CAyy25+0mrLneUU6FkekUssKVQl0T0VIaW9fztHxpMsO2/bPh2qNjVl LM2MdDlIrgqrvBm/kWjiheQI4OiOEJvRLpAwqcoZmxbD4egLg/taOGVDgFLyRFLs5dTeQk VcfpHKYxEZ6fPDbNxhRe08YQSCTSxNw=
To: Murray Kucherawy <superuser@gmail.com>, The IESG <iesg@ietf.org>
Cc: oauth@ietf.org, draft-ietf-oauth-iss-auth-resp@ietf.org, oauth-chairs@ietf.org
References: <163842490426.21751.2364569706527318103@ietfa.amsl.com>
From: Daniel Fett <fett@danielfett.de>
Message-ID: <d4d338d7-56c3-0f1a-cc48-54495157d586@danielfett.de>
Date: Thu, 2 Dec 2021 13:18:58 +0100
MIME-Version: 1.0
In-Reply-To: <163842490426.21751.2364569706527318103@ietfa.amsl.com>
Content-Type: multipart/alternative; boundary="------------181229F06367A676748F4EB6"
Content-Language: de-DE
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=danielfett.de;  s=dkim; t=1638447540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ODmxt/YNIXlnfBZirR7J8rBGSgX2edarYT0/tLzPBHc=; b=INjKuqbqXiBj0RgX2V3GK+IrTh5o1mwgeKNIxP7iKTWgSCIVcZGKEfQbWKZrfS69jLGcPN 8ONnGE1Jd6nKvodCmYMdGuVHv0+L0B9SZiEexi+2dhynewCzqPn4lHnhkOiA40PUlOnMMd u6i1IJrC5xZP5KL5HPM/IyuvK0sMXLc=
ARC-Seal: i=1; s=dkim; d=danielfett.de; t=1638447540; a=rsa-sha256; cv=none; b=uao59DhsFETHCsVtnJ0BxmQLQpAYtdr0A445XZuwxbIaSCbrI/1ouo7r+TswvWKwQlcveo JfCCcLjJII3lBeBn6SQV2V7laf0KA9EIhmt0s2sPGh2oifYzneFaguvK/2DdajXf9zyXvE sfrpoAWQ1t1LxsWuaLmf0iFCu8IMPHc=
ARC-Authentication-Results: i=1; d3f.me; auth=pass smtp.auth=fett@danielfett.de smtp.mailfrom=fett@danielfett.de
Authentication-Results: d3f.me; auth=pass smtp.auth=fett@danielfett.de smtp.mailfrom=fett@danielfett.de
X-Spamd-Bar: ---
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Q_pAeueDmMY_mVx4ia3plr3eHNY>
Subject: Re: [OAUTH-WG] Murray Kucherawy's No Objection on draft-ietf-oauth-iss-auth-resp-03: (with COMMENT)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 12:19:07 -0000

This is a multi-part message in MIME format.
--------------181229F06367A676748F4EB6
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hi Murray,

thanks for your review and feedback.

We have just uploaded version -04 which includes a fix for the missing
quotation marks (which were not added by xml2rfc automatically for an
unknown reason).

-Daniel

Am 02.12.21 um 07:01 schrieb Murray Kucherawy via Datatracker:
> Murray Kucherawy has entered the following ballot position for
> draft-ietf-oauth-iss-auth-resp-03: No Objection
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
> for more information about how to handle DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
>
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> I support Francesca's DISCUSS.
>
> I also concur with Eric's observations about the shepherd writeup.  Those
> important details are missing.
>
> Please quote "iss" wherever you use it.  Every time I ran into it, my first
> thought was that it's a typo and I had to re-parse it a couple of times.
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


-- 
https://danielfett.de


--------------181229F06367A676748F4EB6
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">
      <div class="moz-cite-prefix">Hi Murray,</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">thanks for your review and feedback.</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">We have just uploaded version -04
        which includes a fix for the missing quotation marks (which were
        not added by xml2rfc automatically for an unknown reason). <br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">-Daniel</div>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Am 02.12.21 um 07:01 schrieb Murray
      Kucherawy via Datatracker:<br>
    </div>
    <blockquote type="cite"
      cite="mid:163842490426.21751.2364569706527318103@ietfa.amsl.com">
      <pre class="moz-quote-pre" wrap="">Murray Kucherawy has entered the following ballot position for
draft-ietf-oauth-iss-auth-resp-03: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to <a class="moz-txt-link-freetext" href="https://www.ietf.org/blog/handling-iesg-ballot-positions/">https://www.ietf.org/blog/handling-iesg-ballot-positions/</a>
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
<a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/">https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/</a>



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

I support Francesca's DISCUSS.

I also concur with Eric's observations about the shepherd writeup.  Those
important details are missing.

Please quote "iss" wherever you use it.  Every time I ran into it, my first
thought was that it's a typo and I had to re-parse it a couple of times.



_______________________________________________
OAuth mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OAuth@ietf.org">OAuth@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="https://danielfett.de">https://danielfett.de</a></pre>
  </body>
</html>

--------------181229F06367A676748F4EB6--


From nobody Thu Dec  2 04:22:45 2021
Return-Path: <fett@danielfett.de>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6500E3A10A1; Thu,  2 Dec 2021 04:22:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=danielfett.de
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 FB89YrZvMLsv; Thu,  2 Dec 2021 04:22:28 -0800 (PST)
Received: from d3f.me (redstone.d3f.me [5.9.29.41]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0C933A1081; Thu,  2 Dec 2021 04:22:27 -0800 (PST)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by d3f.me (Postfix) with ESMTPA id 705596579; Thu,  2 Dec 2021 12:22:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danielfett.de; s=dkim; t=1638447745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BksYrRE1+Z9p4jV4lXuAug9dq44jgDTTaMG1D/ZIiFI=; b=O8CU6K4I2gI7EtfOdj6TnS4h83ua61t1ILUCdk408cbtVzRHtLYw2ME0MXZc/iwXnHb+Nl BziDzGP4gV9GW4WLiN2DtkLTnEmyedZFLlJREipdoCvy+PFkjEBoInuO9EAMhkreqZBE2i NlrvgvRLq376i37p4CcTDwDCylnqSfU=
To: Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>, Brian Campbell <bcampbell@pingidentity.com>, Warren Parad <wparad@rhosys.ch>
Cc: "draft-ietf-oauth-iss-auth-resp@ietf.org" <draft-ietf-oauth-iss-auth-resp@ietf.org>, "oauth-chairs@ietf.org" <oauth-chairs@ietf.org>, The IESG <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
References: <163822088838.18976.10538179060671617456@ietfa.amsl.com> <CA+k3eCTNzy89q6-w_1b2dzk+FKk0DuMONtE3cFRYYnNn1BdTcQ@mail.gmail.com> <HE1PR07MB42177636B01D3A4492D837AA98679@HE1PR07MB4217.eurprd07.prod.outlook.com>
From: Daniel Fett <fett@danielfett.de>
Message-ID: <ab0f78b6-7fec-9f53-fafb-76c86506d8cc@danielfett.de>
Date: Thu, 2 Dec 2021 13:22:23 +0100
MIME-Version: 1.0
In-Reply-To: <HE1PR07MB42177636B01D3A4492D837AA98679@HE1PR07MB4217.eurprd07.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------8C9D2DC0085BF3284588E07D"
Content-Language: de-DE
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=danielfett.de;  s=dkim; t=1638447745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BksYrRE1+Z9p4jV4lXuAug9dq44jgDTTaMG1D/ZIiFI=; b=JBQpTOZdUqxeA4cP0z9sOTfuNyYxNzopi+ZyoXNB70fQIsbBxU01mJyYQxCilH7fSlCZUv tYTt4YACTG2GDkEBF+pU5x4fZDAUqe7ZYPSKBp6/BsVPRubD6WhBpiHEzSAKEuLMchn2V3 Vfj9GlYmwoSKi9ZDyT6TKb5JRif1uhw=
ARC-Seal: i=1; s=dkim; d=danielfett.de; t=1638447745; a=rsa-sha256; cv=none; b=lXpi/kXjAfj3gqvREwaauhcKVU8Doy8THYyAhIlCqHGh6shejEHPVY6qKOIFO5Fj83VRzV miA2GeUzS04V6HEH/5PxhSJgddppjEabzLGg6TKHkcnUuXvNS5AqvHtpFVaLedkRwjL6L+ 3RF+Iliu7q+BI+em+fcDxpV7QxhYxJ4=
ARC-Authentication-Results: i=1; d3f.me; auth=pass smtp.auth=fett@danielfett.de smtp.mailfrom=fett@danielfett.de
Authentication-Results: d3f.me; auth=pass smtp.auth=fett@danielfett.de smtp.mailfrom=fett@danielfett.de
X-Spamd-Bar: ---
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/_TGNv0-yBhS6VdAkzQ93ZHxbQRc>
Subject: Re: [OAUTH-WG] Francesca Palombini's Discuss on draft-ietf-oauth-iss-auth-resp-03: (with DISCUSS)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 12:22:33 -0000

This is a multi-part message in MIME format.
--------------8C9D2DC0085BF3284588E07D
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit

Hi Francesca, Warren, Brian,

we have modified the IANA Considerations section in the just uploaded
version -04 according to your feedback.

-Daniel

Am 30.11.21 um 19:42 schrieb Francesca Palombini:
>
> Hi Warren, Brian,
>
>  
>
> Thanks for your feedback, and for confirming that the semantics of the
> existing “iss” match those of the draft. In that case, I agree with
> you that the best resolution is to merge the two (so – update the
> existing registration so that it also points to this document, and
> indicates it can also appear in the authorization response).
>
>  
>
> I’ll remove my DISCUSS when the IANA update is done.
>
>  
>
> Thanks,
> Francesca
>
>  
>
> *From: *Brian Campbell <bcampbell@pingidentity.com>
> *Date: *Tuesday, 30 November 2021 at 19:32
> *To: *Francesca Palombini <francesca.palombini@ericsson.com>
> *Cc: *The IESG <iesg@ietf.org>, oauth@ietf.org <oauth@ietf.org>,
> draft-ietf-oauth-iss-auth-resp@ietf.org
> <draft-ietf-oauth-iss-auth-resp@ietf.org>, oauth-chairs@ietf.org
> <oauth-chairs@ietf.org>
> *Subject: *Re: [OAUTH-WG] Francesca Palombini's Discuss on
> draft-ietf-oauth-iss-auth-resp-03: (with DISCUSS)
>
> I strongly believe the use of 'iss' as the parameter name here is
> correct and appropriate. This draft isn't using it for something
> different - the parameter carries an identifier for the sender of the
> message, which is consistent in the context of use with the existing
> registry entry. 
>
>  
>
> Codifying the parameter name is central to the value of this draft and
> there are existing implementations/deployments using it. Changing the
> name now would be a breaking change with significant ramifications on
> interoperability.
>
>  
>
> The organization of the registry is arguably less than ideal, yes. But
> that shouldn't force an unnecessary and costly change onto this simple
> draft that's addressing a real need. This draft should update the
> existing entry for 'iss' rather than replace it.
>
>  
>
> On Mon, Nov 29, 2021 at 2:21 PM Francesca Palombini via Datatracker
> <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
>
>     Francesca Palombini has entered the following ballot position for
>     draft-ietf-oauth-iss-auth-resp-03: Discuss
>
>     When responding, please keep the subject line intact and reply to all
>     email addresses included in the To and CC lines. (Feel free to cut
>     this
>     introductory paragraph, however.)
>
>
>     Please refer to
>     https://www.ietf.org/blog/handling-iesg-ballot-positions/
>     <https://www.ietf.org/blog/handling-iesg-ballot-positions/>
>     for more information about how to handle DISCUSS and COMMENT
>     positions.
>
>
>     The document, along with other ballot positions, can be found here:
>     https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
>     <https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/>
>
>
>
>     ----------------------------------------------------------------------
>     DISCUSS:
>     ----------------------------------------------------------------------
>
>     Thank you for the work on this document.
>
>     Many thanks to Julian Reschke for the ART ART review:
>     https://mailarchive.ietf.org/arch/msg/art/XfLbtK1eLb7s0Z6e_AqGgkoWny0/
>     <https://mailarchive.ietf.org/arch/msg/art/XfLbtK1eLb7s0Z6e_AqGgkoWny0/>.
>
>     I have one DISCUSS point that has to do with IANA considerations,
>     and is
>     hopefully easy to resolve.
>
>     Francesca
>
>     1. -----
>
>     FP: I am sure the Designated Expert will bring this up, but "iss"
>     is already
>     defined as a OAuth Parameter, for authorization requests. I don't
>     think it's a
>     good idea to use the same parameter name, although in a different
>     message of
>     the exchange, for something different, as the registration defined
>     in Section
>     5.2 seems to imply. I strongly recommend to change the name in
>     this document.
>     Or, if we can agree that the meaning is similar enough to the
>     original "iss",
>     merge the two IANA registrations (this would not be my preferred
>     choice).
>
>
>
>
>
>     _______________________________________________
>     OAuth mailing list
>     OAuth@ietf.org <mailto:OAuth@ietf.org>
>     https://www.ietf.org/mailman/listinfo/oauth
>     <https://www.ietf.org/mailman/listinfo/oauth>
>
>
> */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./*
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


-- 
https://danielfett.de


--------------8C9D2DC0085BF3284588E07D
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <div class="moz-cite-prefix">
      <div class="moz-cite-prefix">Hi Francesca, Warren, Brian,</div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">we have modified the IANA
        Considerations section in the just uploaded version -04
        according to your feedback.<br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">-Daniel</div>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Am 30.11.21 um 19:42 schrieb Francesca
      Palombini:<br>
    </div>
    <blockquote type="cite"
cite="mid:HE1PR07MB42177636B01D3A4492D837AA98679@HE1PR07MB4217.eurprd07.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
	{font-family:"Segoe UI";
	panose-1:2 11 6 4 2 2 2 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}div.WordSection1
	{page:WordSection1;}</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi
            Warren, Brian,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks
            for your feedback, and for confirming that the semantics of
            the existing “iss” match those of the draft. In that case, I
            agree with you that the best resolution is to merge the two
            (so – update the existing registration so that it also
            points to this document, and indicates it can also appear in
            the authorization response).
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ll
            remove my DISCUSS when the IANA update is done.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks,<br>
            Francesca <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal"
style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><b><span
                style="font-size:12.0pt;color:black">From: </span></b><span
              style="font-size:12.0pt;color:black">Brian Campbell
              <a class="moz-txt-link-rfc2396E" href="mailto:bcampbell@pingidentity.com">&lt;bcampbell@pingidentity.com&gt;</a><br>
              <b>Date: </b>Tuesday, 30 November 2021 at 19:32<br>
              <b>To: </b>Francesca Palombini
              <a class="moz-txt-link-rfc2396E" href="mailto:francesca.palombini@ericsson.com">&lt;francesca.palombini@ericsson.com&gt;</a><br>
              <b>Cc: </b>The IESG <a class="moz-txt-link-rfc2396E" href="mailto:iesg@ietf.org">&lt;iesg@ietf.org&gt;</a>, <a class="moz-txt-link-abbreviated" href="mailto:oauth@ietf.org">oauth@ietf.org</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:oauth@ietf.org">&lt;oauth@ietf.org&gt;</a>,
              <a class="moz-txt-link-abbreviated" href="mailto:draft-ietf-oauth-iss-auth-resp@ietf.org">draft-ietf-oauth-iss-auth-resp@ietf.org</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:draft-ietf-oauth-iss-auth-resp@ietf.org">&lt;draft-ietf-oauth-iss-auth-resp@ietf.org&gt;</a>,
              <a class="moz-txt-link-abbreviated" href="mailto:oauth-chairs@ietf.org">oauth-chairs@ietf.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:oauth-chairs@ietf.org">&lt;oauth-chairs@ietf.org&gt;</a><br>
              <b>Subject: </b>Re: [OAUTH-WG] Francesca Palombini's
              Discuss on draft-ietf-oauth-iss-auth-resp-03: (with
              DISCUSS)<o:p></o:p></span></p>
        </div>
        <div>
          <div>
            <p class="MsoNormal" style="margin-left:36.0pt">I strongly
              believe the use of 'iss' as the parameter name here is
              correct and appropriate. This draft isn't using it for
              something different - the parameter carries an identifier
              for the sender of the message, which is consistent in the
              context of use with the existing registry entry. <o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:36.0pt">Codifying
              the parameter name is central to the value of this draft
              and there are existing implementations/deployments using
              it. Changing the name now would be a breaking change with
              significant ramifications on interoperability. <o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:36.0pt">The
              organization of the registry is arguably less than ideal,
              yes. But that shouldn't force an unnecessary and costly
              change onto this simple draft that's addressing a real
              need. This draft should update the existing entry for
              'iss' rather than replace it. <o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal" style="margin-left:36.0pt">On Mon, Nov
              29, 2021 at 2:21 PM Francesca Palombini via Datatracker
              &lt;<a href="mailto:noreply@ietf.org"
                moz-do-not-send="true">noreply@ietf.org</a>&gt; wrote:<o:p></o:p></p>
          </div>
          <blockquote style="border:none;border-left:solid #CCCCCC
            1.0pt;padding:0cm 0cm 0cm
            6.0pt;margin-left:4.8pt;margin-right:0cm">
            <p class="MsoNormal" style="margin-left:36.0pt">Francesca
              Palombini has entered the following ballot position for<br>
              draft-ietf-oauth-iss-auth-resp-03: Discuss<br>
              <br>
              When responding, please keep the subject line intact and
              reply to all<br>
              email addresses included in the To and CC lines. (Feel
              free to cut this<br>
              introductory paragraph, however.)<br>
              <br>
              <br>
              Please refer to <a
                href="https://www.ietf.org/blog/handling-iesg-ballot-positions/"
                target="_blank" moz-do-not-send="true">
https://www.ietf.org/blog/handling-iesg-ballot-positions/</a><br>
              for more information about how to handle DISCUSS and
              COMMENT positions.<br>
              <br>
              <br>
              The document, along with other ballot positions, can be
              found here:<br>
              <a
                href="https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/"
                target="_blank" moz-do-not-send="true">https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/</a><br>
              <br>
              <br>
              <br>
----------------------------------------------------------------------<br>
              DISCUSS:<br>
----------------------------------------------------------------------<br>
              <br>
              Thank you for the work on this document.<br>
              <br>
              Many thanks to Julian Reschke for the ART ART review:<br>
              <a
href="https://mailarchive.ietf.org/arch/msg/art/XfLbtK1eLb7s0Z6e_AqGgkoWny0/"
                target="_blank" moz-do-not-send="true">https://mailarchive.ietf.org/arch/msg/art/XfLbtK1eLb7s0Z6e_AqGgkoWny0/</a>.<br>
              <br>
              I have one DISCUSS point that has to do with IANA
              considerations, and is<br>
              hopefully easy to resolve.<br>
              <br>
              Francesca<br>
              <br>
              1. -----<br>
              <br>
              FP: I am sure the Designated Expert will bring this up,
              but "iss" is already<br>
              defined as a OAuth Parameter, for authorization requests.
              I don't think it's a<br>
              good idea to use the same parameter name, although in a
              different message of<br>
              the exchange, for something different, as the registration
              defined in Section<br>
              5.2 seems to imply. I strongly recommend to change the
              name in this document.<br>
              Or, if we can agree that the meaning is similar enough to
              the original "iss",<br>
              merge the two IANA registrations (this would not be my
              preferred choice).<br>
              <br>
              <br>
              <br>
              <br>
              <br>
              _______________________________________________<br>
              OAuth mailing list<br>
              <a href="mailto:OAuth@ietf.org" target="_blank"
                moz-do-not-send="true">OAuth@ietf.org</a><br>
              <a href="https://www.ietf.org/mailman/listinfo/oauth"
                target="_blank" moz-do-not-send="true">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></p>
          </blockquote>
        </div>
        <p class="MsoNormal" style="margin-left:36.0pt"><br>
          <b><i><span style="font-size:10.0pt;font-family:&quot;Segoe
                UI&quot;,sans-serif;color:#555555;border:none windowtext
                1.0pt;padding:0cm">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.</span></i></b><o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
OAuth mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OAuth@ietf.org">OAuth@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="https://danielfett.de">https://danielfett.de</a></pre>
  </body>
</html>

--------------8C9D2DC0085BF3284588E07D--


From nobody Thu Dec  2 04:35:50 2021
Return-Path: <noreply@ietf.org>
X-Original-To: oauth@ietf.org
Delivered-To: oauth@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 81DA03A10A3; Thu,  2 Dec 2021 04:35:47 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Francesca Palombini via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-oauth-iss-auth-resp@ietf.org, oauth-chairs@ietf.org, oauth@ietf.org, rifaat.s.ietf@gmail.com, rifaat.s.ietf@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.40.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Francesca Palombini <francesca.palombini@ericsson.com>
Message-ID: <163844854665.1818.14906366663341939228@ietfa.amsl.com>
Date: Thu, 02 Dec 2021 04:35:47 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/30pErmk_GkJJWtzP_YB82gCurPE>
Subject: [OAUTH-WG] Francesca Palombini's No Objection on draft-ietf-oauth-iss-auth-resp-04: (with COMMENT)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 12:35:48 -0000

Francesca Palombini has entered the following ballot position for
draft-ietf-oauth-iss-auth-resp-04: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thank you for the work on this document, and for addressing my DISCUSS.

Many thanks to Julian Reschke for the ART ART review:
https://mailarchive.ietf.org/arch/msg/art/XfLbtK1eLb7s0Z6e_AqGgkoWny0/.

Francesca




From nobody Thu Dec  2 04:42:26 2021
Return-Path: <D.W.Chadwick@kent.ac.uk>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F2EB3A10A3; Thu,  2 Dec 2021 04:42:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.648
X-Spam-Level: 
X-Spam-Status: No, score=-3.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, NICE_REPLY_A=-1.852, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ErtsNgC0Lm81; Thu,  2 Dec 2021 04:42:20 -0800 (PST)
Received: from mx4.kent.ac.uk (mx4.kent.ac.uk [129.12.21.35]) (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 E02253A1079; Thu,  2 Dec 2021 04:42:19 -0800 (PST)
Received: from mx5.kent.ac.uk ([129.12.21.36]) by mx4.kent.ac.uk with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <D.W.Chadwick@kent.ac.uk>) id 1mslPl-000A4K-L0; Thu, 02 Dec 2021 12:42:17 +0000
Received: from [212.170.250.122] (helo=[192.168.0.100]) by mx5.kent.ac.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <D.W.Chadwick@kent.ac.uk>) id 1mslPk-00096c-1g; Thu, 02 Dec 2021 12:42:17 +0000
Message-ID: <931a7186-85c2-fff7-4803-be21819bae25@kent.ac.uk>
Date: Thu, 2 Dec 2021 12:42:12 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
From: David Chadwick <D.W.Chadwick@kent.ac.uk>
To: Mike Jones <Michael.Jones@microsoft.com>, David Waite <david=40alkaline-solutions.com@dmarc.ietf.org>
Cc: "oauth@ietf.org" <oauth@ietf.org>
References: <SA2PR00MB1002357B78E386E1416A7233F5669@SA2PR00MB1002.namprd00.prod.outlook.com>
Content-Language: en-GB
Organization: University of Kent
In-Reply-To: <SA2PR00MB1002357B78E386E1416A7233F5669@SA2PR00MB1002.namprd00.prod.outlook.com>
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Kent-Spam-Score: -4.2
X-Kent-Spam-Bar: ----
X-Kent-Spam-Report: No, tests=ALL_TRUSTED=-1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, NICE_REPLY_A=-3.3
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/96alccR1fIhpB0395IdNL77_DA0>
Subject: Re: [OAUTH-WG] JWK Thumbprint URI Specification
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 12:42:25 -0000

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 29/11/2021 20:58, Mike Jones wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:SA2PR00MB1002357B78E386E1416A7233F5669@SA2PR00MB1002.namprd00.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	font-size:10.0pt;
	font-family:"Courier New";}span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}span.EmailStyle24
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}div.WordSection1
	{page:WordSection1;}ol
	{margin-bottom:0in;}ul
	{margin-bottom:0in;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi DW,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Having the OAuth WG to add a new
          registration to a registry that it controls is fairly easy. 
          Our success in motivating and accomplishing registering a new
          URI scheme may vary.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">You can read about how the JWK Thumbprint
          RFC handles choice of hash functions in the Selection of Hash
          Function section <a
            href="https://datatracker.ietf.org/doc/html/rfc7638#section-3.4"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://datatracker.ietf.org/doc/html/rfc7638#section-3.4</a>. 
          I would propose that we do the same.  I can plan on adding
          text to that effect in the next published draft.</p>
      </div>
    </blockquote>
    <p>Having read section 3.4 this seems to be a rather clunky method
      of sharing public keys. First a hashing algorithm has to be agreed
      out of band, then a somewhat painful data canonicalisation has to
      be performed. Both of these steps can lead to grief.</p>
    <p>I would therefore propose a much simpler and less error prone
      method for sharing the public key as a URI, namely, the key holder
      takes the JSON specification of the public key as specified in RFC
      7517 then base64 encodes it. The recipient simply base 64 decodes
      the structure and ends up with the JWK. No canonicalisation is
      needed because the recipient gets the JSON object the sender
      encoded.</p>
    <p>This can be made into a URI in a similar fashion to thumprint
      e.g.</p>
    <ul class="normal" style="padding: 0px; margin: 0px 0px 1em 2em;
      caret-color: rgb(34, 34, 34); color: rgb(34, 34, 34); font-family:
      &quot;Noto Sans&quot;, Arial, Helvetica, sans-serif; font-size:
      14px; font-style: normal; font-variant-caps: normal; font-weight:
      normal; letter-spacing: normal; orphans: auto; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; text-decoration: none;">
      <li class="normal" id="section-3-2.1" style="margin: 0px 0px
        0.25em;"><code style="background-color: rgb(248, 248, 248);
          font-family: &quot;Roboto Mono&quot;, monospace; font-size:
          13.300000190734863px;">urn:ietf:params:oauth:jwk:&lt;base 64
          encoding public key parameters&gt;<br>
        </code></li>
    </ul>
    <p><br>
    </p>
    <p>Kind regards</p>
    <p>David</p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:SA2PR00MB1002357B78E386E1416A7233F5669@SA2PR00MB1002.namprd00.prod.outlook.com">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">                                                      
          Thanks,<o:p></o:p></p>
        <p class="MsoNormal">                                                      
          -- Mike<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> David Waite <a
                class="moz-txt-link-rfc2396E"
                href="mailto:david=40alkaline-solutions.com@dmarc.ietf.org"
                moz-do-not-send="true">&lt;david=40alkaline-solutions.com@dmarc.ietf.org&gt;</a>
              <br>
              <b>Sent:</b> Wednesday, November 24, 2021 2:42 PM<br>
              <b>To:</b> Mike Jones <a class="moz-txt-link-rfc2396E"
                href="mailto:Michael.Jones@microsoft.com"
                moz-do-not-send="true">&lt;Michael.Jones@microsoft.com&gt;</a><br>
              <b>Cc:</b> David Chadwick <a
                class="moz-txt-link-rfc2396E"
                href="mailto:D.W.Chadwick@kent.ac.uk"
                moz-do-not-send="true">&lt;D.W.Chadwick@kent.ac.uk&gt;</a>;
              <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
                href="mailto:oauth@ietf.org" moz-do-not-send="true">oauth@ietf.org</a><br>
              <b>Subject:</b> Re: [OAUTH-WG] JWK Thumbprint URI
              Specification<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">I would investigate whether there are
              advantages of having this be a URN vs a URI in a new base
              scheme (e.g. jkt:bTz_1…). I haven’t seen much URN
              namespacing of dynamic values (e.g. values not being
              maintained by the entity responsible for the namespace or
              sub-spaces), and a new scheme is a terser form. <o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Also, do you foresee any reason to
              support other hashing algorithms, since thumbprints
              themselves do not dictate a hashing algorithm? An optional
              hashing seems simple enough to add, except I don’t know of
              a hash algorithm registry to reference<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">-DW<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <div>
              <p class="MsoNormal">Sent from my iPhone<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"><br>
                <br>
                <o:p></o:p></p>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <p class="MsoNormal" style="margin-bottom:12.0pt">On Nov
                  24, 2021, at 4:18 PM, Mike Jones &lt;<a
                    href="mailto:Michael.Jones=40microsoft.com@dmarc.ietf.org"
                    moz-do-not-send="true" class="moz-txt-link-freetext">Michael.Jones=40microsoft.com@dmarc.ietf.org</a>&gt;
                  wrote:<o:p></o:p></p>
              </blockquote>
            </div>
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <div>
                <p class="MsoNormal">﻿ <o:p></o:p></p>
                <p class="MsoNormal">The JWK Thumbprint is typically
                  used as a key identifier. Yes, the key needs to be
                  known by other means if you’re going to use it.  Some
                  protocols work that way, which is what this spec is
                  intended to enable.  For instance, the Self-Issued
                  OpenID Provider (SIOP) v1 and v2 protocols send the
                  public key separately in a “sub_jwk” claim.  In other
                  use cases, it may already be known to the receiving
                  party – for instance, from a prior discovery step.<o:p></o:p></p>
                <p class="MsoNormal"> <o:p></o:p></p>
                <p class="MsoNormal">It would be fine to separately also
                  define a URI representation communicating an entire
                  JWK, but that would be for different use cases, and
                  not the goal of this (intentionally narrowly scoped)
                  specification.<o:p></o:p></p>
                <p class="MsoNormal"> <o:p></o:p></p>
                <p class="MsoNormal">                                                      
                  Cheers,<o:p></o:p></p>
                <p class="MsoNormal">                                                      
                  -- Mike<o:p></o:p></p>
                <p class="MsoNormal"> <o:p></o:p></p>
                <div>
                  <div style="border:none;border-top:solid #E1E1E1
                    1.0pt;padding:3.0pt 0in 0in 0in">
                    <p class="MsoNormal"><b>From:</b> OAuth &lt;<a
                        href="mailto:oauth-bounces@ietf.org"
                        moz-do-not-send="true"
                        class="moz-txt-link-freetext">oauth-bounces@ietf.org</a>&gt;
                      <b>On Behalf Of </b>David Chadwick<br>
                      <b>Sent:</b> Wednesday, November 24, 2021 12:36 PM<br>
                      <b>To:</b> <a href="mailto:oauth@ietf.org"
                        moz-do-not-send="true"
                        class="moz-txt-link-freetext">oauth@ietf.org</a><br>
                      <b>Subject:</b> Re: [OAUTH-WG] JWK Thumbprint URI
                      Specification<o:p></o:p></p>
                  </div>
                </div>
                <p class="MsoNormal"> <o:p></o:p></p>
                <div>
                  <p class="MsoNormal">On 24/11/2021 20:07, Mike Jones
                    wrote:<o:p></o:p></p>
                </div>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <p
                    style="margin:0in;line-height:21.0pt;background:white"><span
                      style="font-size:10.0pt;color:black">The JSON Web
                      Key (JWK) Thumbprint specification [<a
                        href="https://www.rfc-editor.org/rfc/rfc7638.html"
                        moz-do-not-send="true"><span
                          style="color:#104893">RFC 7638</span></a>]
                      defines a method for computing a hash value over a
                      JSON Web Key (JWK) [<a
                        href="https://www.rfc-editor.org/rfc/rfc7517.html"
                        moz-do-not-send="true"><span
                          style="color:#104893">RFC 7517</span></a>] and
                      encoding that hash in a URL-safe manner. <a
                        href="https://twitter.com/kristinayasuda"
                        moz-do-not-send="true"><span
                          style="color:#104893">Kristina Yasuda</span></a> and
                      I have just created the <a
href="https://www.ietf.org/archive/id/draft-jones-oauth-jwk-thumbprint-uri-00.html"
                        moz-do-not-send="true"><span
                          style="color:#104893">JWK Thumbprint URI</span></a> specification,
                      which defines how to represent JWK Thumbprints as
                      URIs. This enables JWK Thumbprints to be
                      communicated in contexts requiring URIs, including
                      in specific JSON Web Token (JWT) [<a
                        href="https://www.rfc-editor.org/rfc/rfc7519.html"
                        moz-do-not-send="true"><span
                          style="color:#104893">RFC 7519</span></a>]
                      claims.</span><o:p></o:p></p>
                  <p
                    style="margin:0in;line-height:21.0pt;background:white"><span
                      style="font-size:10.0pt;color:black"> </span><o:p></o:p></p>
                </blockquote>
                <p>My immediate observation is why are you sending the
                  thumbprint of the JSON Web Key and not sending the
                  actual key value in the URI?<o:p></o:p></p>
                <p>Sending the thumbprint means the recipient still has
                  to have some other way of obtaining the actual public
                  key, whereas sending the public key as a URI means
                  that no other way is needed.<o:p></o:p></p>
                <p>Kind regards<o:p></o:p></p>
                <p>David<o:p></o:p></p>
                <p> <o:p></o:p></p>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <p
style="margin:0in;line-height:21.0pt;background:white;font-variant-ligatures:
                    normal;font-variant-caps: normal;orphans: 2;widows:
                    2;-webkit-text-stroke-width:
                    0px;text-decoration-thickness:
                    initial;text-decoration-style:
                    initial;text-decoration-color:
                    initial;word-spacing:0px"> <span
                      style="font-size:10.0pt;color:black">Use cases for
                      this specification were developed in the <a
                        href="https://openid.net/wg/connect/"
                        moz-do-not-send="true"><span
                          style="color:#104893">OpenID Connect Working
                          Group</span></a> of the OpenID Foundation.
                      Specifically, its use is planned in future
                      versions of the <a
                        href="https://openid.net/specs/openid-connect-self-issued-v2-1_0.html"
                        moz-do-not-send="true"><span
                          style="color:#104893">Self-Issued OpenID
                          Provider v2</span></a> specification.</span><o:p></o:p></p>
                  <p
                    style="margin:0in;line-height:21.0pt;background:white"><span
                      style="font-size:10.0pt;color:black"> </span><o:p></o:p></p>
                  <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:21.0pt;background:white;font-variant-ligatures:
                    normal;font-variant-caps: normal;orphans: 2;widows:
                    2;-webkit-text-stroke-width:
                    0px;text-decoration-thickness:
                    initial;text-decoration-style:
                    initial;text-decoration-color:
                    initial;word-spacing:0px"> <span
                      style="font-size:10.0pt;color:black">The
                      specification is available at:</span><o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:0in;margin-right:6.0pt;margin-bottom:0in;margin-left:42.0pt;margin-bottom:.0001pt;text-indent:-.25in;mso-list:l0
                    level1 lfo2;background:white">
                    <!--[if !supportLists]--><span
                      style="mso-list:Ignore">1.<span style="font:7.0pt
                        &quot;Times New Roman&quot;">       </span></span><!--[endif]--><span
                      style="font-size:10.0pt;color:black"><a
href="https://www.ietf.org/archive/id/draft-jones-oauth-jwk-thumbprint-uri-00.html"
                        moz-do-not-send="true"><span
                          style="color:#104893">https://www.ietf.org/archive/id/draft-jones-oauth-jwk-thumbprint-uri-00.html</span></a></span><o:p></o:p></p>
                  <p class="MsoNormal"> <o:p></o:p></p>
                  <p class="MsoNormal">                                                      
                    -- Mike<o:p></o:p></p>
                  <p class="MsoNormal"> <o:p></o:p></p>
                  <p class="MsoNormal">P.S.  This note was also
                    published at <a
                      href="https://self-issued.info/?p=2211"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">
                      https://self-issued.info/?p=2211</a> and as <a
                      href="https://twitter.com/selfissued/"
                      moz-do-not-send="true"> @selfissued</a>.<o:p></o:p></p>
                  <p class="MsoNormal"> <o:p></o:p></p>
                  <p class="MsoNormal"><br>
                    <br>
                    <br>
                    <o:p></o:p></p>
                  <pre>_______________________________________________<o:p></o:p></pre>
                  <pre>OAuth mailing list<o:p></o:p></pre>
                  <pre><a href="mailto:OAuth@ietf.org" moz-do-not-send="true" class="moz-txt-link-freetext">OAuth@ietf.org</a><o:p></o:p></pre>
                  <pre><a href="https://www.ietf.org/mailman/listinfo/oauth" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></pre>
                </blockquote>
                <p> <o:p></o:p></p>
                <p class="MsoNormal">_______________________________________________<br>
                  OAuth mailing list<br>
                  <a href="mailto:OAuth@ietf.org" moz-do-not-send="true"
                    class="moz-txt-link-freetext">OAuth@ietf.org</a><br>
                  <a href="https://www.ietf.org/mailman/listinfo/oauth"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></p>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>


From nobody Thu Dec  2 07:41:58 2021
Return-Path: <pieter.kasselman@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1259A3A1191 for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 07:41:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=microsoft.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 YWU_Bb2G617u for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 07:41:51 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2054.outbound.protection.outlook.com [104.47.14.54]) (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 9FB483A0652 for <oauth@ietf.org>; Thu,  2 Dec 2021 07:41:50 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MpqBJKc1uhd1Wsbt0cuRive9m985Bz7Yk38PLnqqnh2xbu0AvfoVTz+dEqWZ1qw6ulfPPdoiRxcHCMJ2TkizInHOebADzctQqSUzgV4YlAvEFpQ71KnCkAzMONHP5GnGhfUqqEM856AZbVytLTWYPVDXsP4bfJmGFME9EHbX8QU6cTC9+qTjiu62JPMrrYppVp8lZ0/a5aXKuryMNR9cn8mmkGb1YwnnZx/JO4ZRYSdQNi5WummGkknSMcUWB/LT/bbCp1yFw+VpaYmakKGNqYjzxExDIMs5g4Fxi01GYXg9vbL4o843WZTKbIr2PCE/ez0ejnqljRupSiT36Z5XaQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6isgAraQWqG66KI6PobajJ0y5D6ym/ie8NMMTOyDAbU=; b=EDHv+LQQIvm9l6ixeqPVeS3SYlxOAkvQnNYNeshxUzxce8AjDFqTDpecTfzv+MIHYl7QAu2CobISFpaMRDxWXmCNO60tpuI/U/4aZh6FVpBAusFhg4aS8ySbf4LA2PASgTOwh/LcA+/tLJGrj4Krm2hCOK+pBjBfdPqn13Pe7NALG8yP3/Bi0sUkNMWkitTK36xITXNZt1+zf/iCaxrBVFobBhPXtuY8NnIIQ7E63AsE/b+q5BxWjyRYYxhhU/p5KFQ9L0tWxthYjG0YbvJKB+693nj8XB0cg/AlK82wMt2FoojHLyVFYAbGIi2yzgbHuhl6eFFySeO9omjreCUjLA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6isgAraQWqG66KI6PobajJ0y5D6ym/ie8NMMTOyDAbU=; b=ejQ4cAhFooJK/xsDpNN08LhI55lRFHTsi7o64BuMXy5jiDj3qFmgfC7pU+jii+P25eIb01S21ysp8zEFz+IgwIhTAatZChLtJMKocL/B1aIT9igOnJUKpuaNQZss5eJza3q/JSyQ7MgJFxWHx4IUUM7I5ZAkHH7/8juvuSDnvsU=
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com (2603:10a6:20b:1b6::10) by AM6PR83MB0296.EURPRD83.prod.outlook.com (2603:10a6:209:6f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.1; Thu, 2 Dec 2021 15:41:46 +0000
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::3993:dd36:4660:fe6e]) by AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::3993:dd36:4660:fe6e%6]) with mapi id 15.20.4778.001; Thu, 2 Dec 2021 15:41:46 +0000
From: Pieter Kasselman <pieter.kasselman@microsoft.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>, Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>
CC: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
Thread-Index: AQHX5shEdGhaevvvSkuYWgOgh+XuTKwfOm1w
Date: Thu, 2 Dec 2021 15:41:45 +0000
Message-ID: <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com>
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com>
In-Reply-To: <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com>
Accept-Language: en-IE, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-02T15:41:33Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=3d0513a0-0ecf-4f5d-8dbb-b8d6b0ebc177; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dc91a991-a95d-4333-133c-08d9b5aa3f55
x-ms-traffictypediagnostic: AM6PR83MB0296:EE_
x-microsoft-antispam-prvs: <AM6PR83MB0296A5ACE12808E16D7F42B891699@AM6PR83MB0296.EURPRD83.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: VkF97v5Y3OoJLvpcXj+/0y/eJcLMnkReEs3OkFbXvyoNqWQxP9zUOxIJB2FhE6uVj/LwQHXCGz7nuUgOWOWJPiNV9Ox09o6aXdyqZAc1dtfrR63Zp5bbDfo6vK4u00F8U3zV9uFGPAiB8h+Ol6An55hbGfAAxSLZ8WXTbHyYIhH+BG/hMs/0AYDwOdroUXL75KzgyART7k8EBtXuUeICjgUTxj5vncxOYCbdMncW/r87YpgcRoZYboZeiWdTVxwLcPIGNL1t6v70QQntRIw7vmD6P+82U86OZGAdFO//vVu+uvap1IF9Kj58VRciskyO2U4DtapIPQ7cvtnyvydYKwk6Bo7uY32JVMXOFTWwKR0Qspqe/2XwO/U45WaoMATuB7y1oNrusru6fADpzmaP+75IRMQDLeC4UbIXgvIejoI6tsGgtO9GN6Gzhqt4u733tpqZ9RSjcAZcmaVGoG/RyPGWTzQVwC246lhxsnjvazrmdJfzI0ynBRPQUTZiJaYJmrWDz+q5hqFC0aiSE9YSQqskzcEohPa6zVJq1IBnFD03Wbqll0BIAWXPcFwKlAeeeYo8y5p3VqtRleKw6E1JGkvENp8jyzMyHqwrrgJ0vpdh9fZSxSx328YdYvLXkb2v6UXseHF2jrj3O5d2Ec3UWIkG+2sgUmAOBMUPpU8GqrbxDIA62mZdHOZ7pogz3wSDAZAM3aZLomqPnsWnQMZqA1PTq4kspiUAOmzBypNFhxbKTuFzGdMYCPQrIVEr6s8alEP+wU0Z6tdoqi9g4/HneI2boHoNp/0IkLRY6MpDA5pPSxRxMcFJbF3/95cePKUf2wYP2td2gLqSbXSScZNWGW+WRWG5EJVEHL0VWHqgRvWoB3mlCU25Qe2PlgzdBAIo
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR83MB0452.EURPRD83.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(66556008)(55016003)(66476007)(64756008)(38070700005)(82960400001)(52536014)(2906002)(66446008)(53546011)(86362001)(76116006)(110136005)(8676002)(7696005)(66946007)(8936002)(166002)(71200400001)(9686003)(122000001)(38100700002)(44832011)(10290500003)(83380400001)(316002)(966005)(186003)(33656002)(6506007)(5660300002)(54906003)(4326008)(508600001)(8990500004)(82950400001)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oO91Ph+Wc6mMkO8HpQoHurZEHs+SNNO1tq8/5yeB28u5x0akgnqQFwr+m2qb?= =?us-ascii?Q?54HwdVwA5nj+A/GJOIOvk30r6U1W9ws6Ii9PztbUH2ruwTTtHX0hhXpnMZLg?= =?us-ascii?Q?4+6MnVSK0YQ5qc7etrQm5RW4YZw7LRHAXJed/TJq+vVATuyXcE+gbNGdbEUO?= =?us-ascii?Q?e9opNKdksIPYvJZDUw0hutJhJyGA9oK7XHiVUc6GFQAT8NAcMOVOvU6fAo/s?= =?us-ascii?Q?Vc6dxR/REAQpwKK0NS7e4E8QyTHwMh4drn7R8n59GFOA+ViNGmSLuXoWAcaY?= =?us-ascii?Q?7aZOgTdAerFukolRMy8hmj1FGORrSWwU3u9JozBmBELgBa4IaoERH9ZYPumq?= =?us-ascii?Q?yIeZFBGKTKXzvm4BgfPZBgZmpdCILEf0jZM1SxvulBVBFYs39RQYmTbFqBrJ?= =?us-ascii?Q?qWdHVXAb40F0ooj8JAU9e3fD2FbKpyMWcsCImAOFecyax+dyf8q0f422SR9P?= =?us-ascii?Q?NebadncxDNpYU0ysOfL7OwAN8LDDKFv5FiPQyseHJT/wixEi0V8EAo3EBhvi?= =?us-ascii?Q?clvF7/EEZN6a0ETPoiyIiPTWvUw60AWFpsN0SmbwAcg2/WDO9SSofdE5LOAM?= =?us-ascii?Q?XMZuMsMM7ESmAdQOhmbNN/+WEJiNTRIt7d4jwcSxW5y2T3iA3yPBq9GJmNmD?= =?us-ascii?Q?Ue30+3cUl+hroQKYOT5IUgoFS/R7OHvzVThPDFaEZI8Ihha2fPrU9BBJxHEu?= =?us-ascii?Q?OtHR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UPiYYvGubjk/FX426egFFz?= =?us-ascii?Q?Ypcr7cyF5EhsKMZRQKfrzdZ6pC338/71v6nd89zcAg2rDMD4pXzwBlXjRAbs?= =?us-ascii?Q?YNuX8Q=3D=3D?=
Content-Type: multipart/alternative; boundary="_000_AM7PR83MB0452184E6C67477BF073FB6591699AM7PR83MB0452EURP_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR83MB0452.EURPRD83.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dc91a991-a95d-4333-133c-08d9b5aa3f55
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2021 15:41:45.9844 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: x7TnkCyaW4TfvgNUq7y6YPvO0yd2Y5qkHnqFAzTRP4lRnuONO0krOeCK8075XGs3RuL0fDR+4iXwVY4BHzgmKYhsvynkNXVTa3+iX8R+r+U=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR83MB0296
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/z10aJwn-SEeCtqLZcIPddrLTMVY>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 15:41:57 -0000

--_000_AM7PR83MB0452184E6C67477BF073FB6591699AM7PR83MB0452EURP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Thanks for the comments and engagement Warren.

The attacks we described and the ideas on mitigations are born out of attac=
k vectors we are observing in the wild. They are not negligible. We are see=
ing a new class of very sophisticated attackers, and if you're interested, =
this article provides good context on capability and sophistication of the =
attackers Brad Smith: Inside Microsoft during the SolarWinds hack (fastcomp=
any.com)<https://www.fastcompany.com/90672384/microsoft-president-brad-smit=
h-solarwinds-exclusive>. We are sharing this with the hope that the industr=
y will benefit from our experiences and incorporate it into standards and p=
roducts. Attacks that seemed impossibly complex are not only possible, but =
have become probable.

The proposed changes for DPoP are not meant to replace the need for one-tim=
e use tokens (single use tokens are preferable and we should continue to ex=
pect them), but instead address the limitations around implementing one-tim=
e use, especially at scale. The 60s window you mention below is sufficientl=
y long to be exploited by these sophisticated attackers.

Cheers

Pieter

From: OAuth <oauth-bounces@ietf.org> On Behalf Of Warren Parad
Sent: Wednesday 1 December 2021 15:29
To: Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org>
Cc: Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>; oauth@ietf=
.org
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Param=
eter

(e.g. one-time use in a certain timeframe etc).

Sure but couldn't we just reduce the lifetime? Even if the token isn't one =
time use, surely the reuse time is trivially short which would prevent agai=
nst exfiltration of the necessary security tokens to issue the attack?

I feel like the simpler solution will always win, which in this case is one=
-time use tokens, then the problem is moot, right? So this only comes into =
play if you want to allow token reuse in a time window. The previously sugg=
ested max allowed time window from OAuth 2.1 was 60s for auth codes. So we =
are saying that the attack surface is still too large, for the .01% of impl=
ementations that have multi-use tokens, and the .01% of implementations tha=
t use the maximum 60s reuse, and then the subset of those that aren't corre=
ctly scrubing their logs, and then the subset of those that have a vulnerab=
ility which allows for exfiltration of both those logged tokens and the log=
ged PKCE verifier?

Why are we making this more complicated for a majority of cases, which:

  *   Only have single use tokens
  *   Or Only have a very short lifetime
  *   Or Are already correctly sanitizing their logs
  *   Or Have defense in depth for their deployments.
If the implementation is so insecure that none of those are happening, woul=
dn't the implementation for this functionality also be suspect for an oppor=
tunity for attack?

I feel like we are justifying here that multi-use tokens are wrong, but sti=
ll want a solution to use them. Once we've proven that an deployment is not=
 okay with using multi-use tokens, then the conclusion should be "don't hav=
e multi-use tokens", not: "let's still have multi-use tokens, but come up w=
ith a complex way to prevent their multi-use from accidentally being abused=
".

Or am I missing something that would actually make this a non-negligible at=
tack vector?

- Warren


[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb=
48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693=
847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHC=
z6zXmW1PROTSc%3D&reserved=3D0>.


On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D40micro=
soft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
Hi Aaron, Neil

Thanks for the questions.

We agree that ideally authorization codes and PKCE proofs would never end u=
p in log files and one-time use would be perfectly implemented.

However, in practice these artefacts do find their way into log files in va=
rious places and one-time use may not always be practical (e.g. one-time us=
e in a certain timeframe etc).

The addition of these mitigations is not meant to replace the need for one-=
time use or good logging hygiene. Instead they provide pragmatic defence in=
 depth against real attacks rather than assuming perfect implementations. W=
e are deploying these mitigations and are sharing them for inclusion in DPo=
P to enable others to do the same.

Regarding the question about interrupting/intercepting the HTTPS connection=
, the attacker don't need to intercept the HTTPS connection or modify the c=
ontent in the TLS tunnel, rather they just need to prevent the authorizatio=
n code from being presented to the Authorization Server. It may even happen=
 due to a poor network connection. The poor connection may be engineered by=
 an attacker, or they may opportunistically benefit from it. The networks a=
re not perfect either.

Cheers

Pieter


From: OAuth <oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org>> On Beha=
lf Of Aaron Parecki
Sent: Wednesday 1 December 2021 00:05
To: Neil Madden <neil.madden@forgerock.com<mailto:neil.madden@forgerock.com=
>>
Cc: Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org<mailto:40mic=
rosoft.com@dmarc.ietf.org>>; oauth@ietf.org<mailto:oauth@ietf.org>
Subject: [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Parameter

I tend to agree with Neil here. I'm struggling to see the relevance of this=
 attack.

It seems like the PDF writeup describes two possible reasons an attacker co=
uld get access to the authorization code and PKCE code verifier.

1. The attacker has access to the logs of the token endpoint.
2. The attacker can intercept HTTPS connections between the client and AS (=
VPN, corporate network proxy, etc)

For 1, the solution is to stop logging the contents of the POST body, and s=
ecure your infrastructure. I don't think making the client jump through ext=
ra hoops is a good solution if you are already logging more than you should=
 be or you don't trust the people who have access to the infrastructure. If=
 this really is a concern, I suspect there are a lot more places in the flo=
w that would need to be patched up if you don't trust your own token endpoi=
nt.

For 2, if the attacker can intercept the HTTPS connection, then the propose=
d solution doesn't add anything because the attacker could modify the reque=
sts before it hits the authorization server anyway, and change which DPoP k=
ey the token gets bound to in the first place. Plus, the attacker would als=
o have access to anything else the client is sending to the AS, such as the=
 user's password when they authenticate at the AS.

Are there other attack vectors I'm missing that might actually be solved by=
 this mechanism?

Aaron


On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com<mai=
lto:neil.madden@forgerock.com>> wrote:
Sadly I couldn't make the DPoP session, but I'm not convinced the attack de=
scribed in the earlier message really needs to be prevented at all. The att=
ack largely hinges on auth codes not being one-time use, which is not a goo=
d idea, or otherwise on poor network security on the token endpoint. I'm no=
t convinced DPoP needs to protect against these things. Is there more to th=
is?

The proposed solutions also seem susceptible to the same problems they atte=
mpt to solve - if an attacker is somehow able to interrupt the client's (TL=
S-protected) token request, why are they somehow not able to interrupt/modi=
fy the (far less protected) redirect to the authorization endpoint?

- Neil

On 30 Nov 2021, at 20:15, Mike Jones <Michael.Jones=3D40microsoft.com@dmarc=
.ietf.org<mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org>> wrote:

As described during the OAuth Security Workshop session on DPoP, I created =
a pull request adding the dpop_jkt authorization request parameter to use f=
or binding the authorization code to the client's DPoP key.  Seehttps://git=
hub.com/danielfett/draft-dpop/pull/89<https://nam06.safelinks.protection.ou=
tlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%=
2F89&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd64=
1508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580=
905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1=
haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQ=
Krw%3D&reserved=3D0>.

This is an alternative to https://github.com/danielfett/draft-dpop/pull/86<=
https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.=
com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Dlgb=
9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>, which achieved=
 this binding using a new DPoP PKCE method.  Using this alternative allows =
PKCE implementations to be unmodified, while adding DPoP in new code, which=
 may be an advantage in some deployments.

Please review and comment.  Note that I plan to add more of the attack desc=
ription written by Pieter Kasselman to the security considerations in a fut=
ure commit.  This attack description was sent by Pieter yesterday in a mess=
age with the subject "Authorization Code Log File Attack (was DPoP Interim =
Meeting Minutes)".

                                                       -- Mike

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641=
508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377396938475809=
05%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2=
FS%2FE%3D&reserved=3D0>

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641=
508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377396938475809=
05%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2=
FS%2FE%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641=
508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377396938475809=
05%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2=
FS%2FE%3D&reserved=3D0>

--_000_AM7PR83MB0452184E6C67477BF073FB6591699AM7PR83MB0452EURP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:HelveticaNeue;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Lato;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1014645695;
	mso-list-template-ids:2135458452;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New",serif;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:108.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:180.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:216.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:252.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:288.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:324.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1828475569;
	mso-list-template-ids:1202068790;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:108.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:180.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:216.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:252.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:288.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:324.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-IE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Thanks fo=
r the comments and engagement Warren.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">The attac=
ks we described and the ideas on mitigations are born out of attack vectors=
 we are observing in the wild. They are not negligible. We are seeing a new=
 class of very sophisticated attackers,
 and if you&#8217;re interested, this article provides good context on capa=
bility and sophistication of the attackers
</span><a href=3D"https://www.fastcompany.com/90672384/microsoft-president-=
brad-smith-solarwinds-exclusive">Brad Smith: Inside Microsoft during the So=
larWinds hack (fastcompany.com)</a>. We are sharing this with the hope that=
 the industry will benefit from our
 experiences and incorporate it into standards and products. Attacks that s=
eemed impossibly complex are not only possible, but have become probable.
<span style=3D"mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">The propo=
sed changes for DPoP are not meant to replace the need for one-time use tok=
ens (single use tokens are preferable and we should continue to expect them=
), but instead address the limitations
 around implementing one-time use, especially at scale. The 60s window you =
mention below is sufficiently long to be exploited by these sophisticated a=
ttackers.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Cheers<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Pieter<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;oauth-bounces@ietf.org&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D40microsoft.com@dmarc.ie=
tf.org&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D40microsoft.com@dmarc.ietf.org&gt=
;; oauth@ietf.org<br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<p class=3D"MsoNormal">(e.g. one-time use in a certain timeframe etc).<o:p>=
</o:p></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Sure but couldn't we just reduce the lifetime? Even =
if the token isn't one time use, surely the reuse time is trivially short w=
hich would prevent against exfiltration of the necessary security tokens to=
 issue the attack?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I feel like the simpler&nbsp;solution will always wi=
n, which in this case is one-time use tokens, then the problem is moot, rig=
ht? So this only comes into play if you want to allow token reuse in a time=
 window. The previously suggested max allowed
 time window from OAuth 2.1 was 60s for auth codes. So we are saying that t=
he attack surface is still too large, for the .01% of implementations that =
have multi-use tokens, and the .01% of implementations that use the maximum=
 60s reuse, and then the subset
 of those that aren't correctly scrubing their logs, and then the subset of=
 those that have a vulnerability which allows for exfiltration of both thos=
e logged tokens and the logged PKCE verifier?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Why are we making this more complicated for a majori=
ty of cases, which:<o:p></o:p></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-=
alt:auto;mso-list:l0 level1 lfo3">
Only have single use tokens<o:p></o:p></li><li class=3D"MsoNormal" style=3D=
"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3=
">
Or Only have a very short lifetime<o:p></o:p></li><li class=3D"MsoNormal" s=
tyle=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 leve=
l1 lfo3">
Or Are already correctly sanitizing their logs<o:p></o:p></li><li class=3D"=
MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-=
list:l0 level1 lfo3">
Or Have defense in depth for their deployments.<o:p></o:p></li></ul>
<div>
<p class=3D"MsoNormal">If the implementation is so insecure that none of th=
ose are happening, wouldn't the implementation for this functionality also =
be suspect for an opportunity for attack?<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I feel like we are justifying here that multi-use to=
kens are wrong, but still want a solution to use them. Once we've proven th=
at an deployment is not okay with using multi-use tokens, then the conclusi=
on should be &quot;don't have multi-use
 tokens&quot;, not: &quot;let's still have multi-use tokens, but come up wi=
th a complex way to prevent their multi-use from accidentally being abused&=
quot;.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Or am I missing something that would actually make t=
his a non-negligible&nbsp;attack vector?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- Warren<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;padding:=
0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
&quot;Arial&quot;,sans-serif;color:black;border:none windowtext 1.0pt;paddi=
ng:0cm;mso-fareast-language:EN-US"><img border=3D"0" width=3D"199" height=
=3D"34" style=3D"width:2.0729in;height:.3541in" id=3D"_x0000_i1025" src=3D"=
https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56=
Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9G=
CeBRRzrSc8kWcUSNtuA"></span><span style=3D"mso-fareast-language:EN-US"><o:p=
></o:p></span></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-b=
ottom:none;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:&quot;Lato&quot;,sans-serif;mso-fareast-language:EN-US">Warren Parad</sp=
an></b><span style=3D"mso-fareast-language:EN-US"><o:p></o:p></span></p>
</div>
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-t=
op:none;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
.0pt;font-family:&quot;Lato&quot;,sans-serif;mso-fareast-language:EN-US">Fo=
under, CTO</span><span style=3D"mso-fareast-language:EN-US"><o:p></o:p></sp=
an></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">Secure your user da=
ta with IAM authorization as a service. Implement&nbsp;</span><a href=3D"ht=
tps://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.=
io%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb4=
8fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377396938=
47580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcs=
JHCz6zXmW1PROTSc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font=
-size:10.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</span><=
o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org">40micr=
osoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Hi Aaron, Neil<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Thanks for the questions.
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">We agree that ideally authorization codes and PKCE proofs would ne=
ver end up in log files and one-time use would be perfectly implemented.
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">However, in practice these artefacts do find their way into log fi=
les in various places and one-time use may not always be practical (e.g. on=
e-time use in a certain timeframe etc).
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The addition of these mitigations is not meant to replace the need=
 for one-time use or good logging hygiene. Instead they provide pragmatic d=
efence in depth against real attacks
 rather than assuming perfect implementations. We are deploying these mitig=
ations and are sharing them for inclusion in DPoP to enable others to do th=
e same.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Regarding the question about interrupting/intercepting the HTTPS c=
onnection, the attacker don&#8217;t need to intercept the HTTPS connection =
or modify the content in the TLS tunnel, rather
 they just need to prevent the authorization code from being presented to t=
he Authorization Server. It may even happen due to a poor network connectio=
n. The poor connection may be engineered by an attacker, or they may opport=
unistically benefit from it. The
 networks are not perfect either.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Cheers<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Pieter<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span lang=3D"EN-US">From:</span></b><span lang=3D"EN-US"> OAut=
h &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span lang=3D"EN-US">&g=
t;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;</span><a href=3D"mailto:neil.madden@forgerock.c=
om" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forgerock.com</span>=
</a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D</span><a href=3D"mailto:40micros=
oft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40microsoft.=
com@dmarc.ietf.org</span></a><span lang=3D"EN-US">&gt;;
</span><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><span lang=3D"EN=
-US">oauth@ietf.org</span></a><span lang=3D"EN-US"><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter</span><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">I tend to agree with Neil here. I'm struggling to see the relevanc=
e of this attack.&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">It seems like the PDF writeup describes two possible reasons an at=
tacker could get access to the authorization code and PKCE code verifier.<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">1. The attacker has access to the logs of the token endpoint.<o:p>=
</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">2. The attacker can intercept HTTPS connections between the client=
 and AS (VPN, corporate network proxy, etc)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">For 1, the solution is to stop logging the contents of the POST bo=
dy, and secure your infrastructure. I don't think making the client jump th=
rough extra hoops is a good solution
 if you are already logging more than you should be or you don't trust the =
people who have access to the infrastructure. If this really is a concern, =
I suspect there are a lot more places in the flow that would need to be pat=
ched up if you don't trust your
 own token endpoint.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">For 2, if the attacker can intercept the HTTPS connection, then th=
e proposed solution doesn't add anything because the attacker could modify =
the requests before it hits the authorization
 server anyway, and change which DPoP key the token gets bound to in the fi=
rst place. Plus, the attacker would also have access to anything else the c=
lient is sending to the AS, such as the user's password when they authentic=
ate at the AS.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Are there other attack vectors I'm missing that might actually be =
solved by this mechanism?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Aaron<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Tue, Nov 30, 2021 at 12:40 PM Neil Madden &lt;<a href=3D"mailto=
:neil.madden@forgerock.com" target=3D"_blank">neil.madden@forgerock.com</a>=
&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Sadly I couldn&#8217;t make the DPoP session, but I&#8217;m not co=
nvinced the attack described in the earlier message really needs to be prev=
ented at all. The attack largely hinges on auth
 codes not being one-time use, which is not a good idea, or otherwise on po=
or network security on the token endpoint. I&#8217;m not convinced DPoP nee=
ds to protect against these things. Is there more to this?<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The proposed solutions also seem susceptible to the same problems =
they attempt to solve - if an attacker is somehow able to interrupt the cli=
ent&#8217;s (TLS-protected) token request,
 why are they somehow not able to interrupt/modify the (far less protected)=
 redirect to the authorization endpoint?<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&#8212; Neil<o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t"><o:p>&nbsp;</o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On 30 Nov 2021, at 20:15, Mike Jones &lt;<a href=3D"mailto:Michael=
.Jones=3D40microsoft.com@dmarc.ietf.org" target=3D"_blank">Michael.Jones=3D=
40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">As described during the OAuth Security Workshop session on DPoP, I=
 created a pull request adding the dpop_jkt authorization request parameter=
 to use for binding the authorization
 code to the client&#8217;s DPoP key.&nbsp; See<a href=3D"https://nam06.saf=
elinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%=
2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.=
com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7=
C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJ=
QIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DASCRFFPMA7qI=
ItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" target=3D"_blank"><spa=
n style=3D"color:#0563C1">https://github.com/danielfett/draft-dpop/pull/89<=
/span></a>.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">This is an alternative to&nbsp;<a href=3D"https://nam06.safelinks.=
protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%2Fdraft=
-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb=
5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%=
7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2=
luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dlgb9WmnOwWVtNIFsZ1m=
QG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserved=3D0" target=3D"_blank"><span sty=
le=3D"color:#0563C1">https://github.com/danielfett/draft-dpop/pull/86</span=
></a>,
 which achieved this binding using a new DPoP PKCE method.&nbsp; Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Please review and comment.&nbsp; Note that I plan to add more of t=
he attack description written by Pieter Kasselman to the security considera=
tions in a future commit.&nbsp; This attack description
 was sent by Pieter yesterday in a message with the subject &#8220;Authoriz=
ation Code Log File Attack (was DPoP Interim Meeting Minutes)&#8221;.<o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.5pt;font-family:&quot;HelveticaNeue&qu=
ot;,serif">_______________________________________________<br>
OAuth mailing list<br>
</span><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank"><span style=3D"f=
ont-size:10.5pt;font-family:&quot;HelveticaNeue&quot;,serif;color:#0563C1">=
OAuth@ietf.org</span></a><span style=3D"font-size:10.5pt;font-family:&quot;=
HelveticaNeue&quot;,serif"><br>
</span><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhtt=
ps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;rese=
rved=3D0" target=3D"_blank"><span style=3D"font-size:10.5pt;font-family:&qu=
ot;HelveticaNeue&quot;,serif;color:#0563C1">https://www.ietf.org/mailman/li=
stinfo/oauth</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></=
o:p></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></=
o:p></p>
</blockquote>
</div>
</div>
</body>
</html>

--_000_AM7PR83MB0452184E6C67477BF073FB6591699AM7PR83MB0452EURP_--


From nobody Thu Dec  2 10:37:53 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FAFF3A13B1 for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 10:37:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 khnxsZ3EICyr for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 10:37:45 -0800 (PST)
Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (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 D1E093A0834 for <oauth@ietf.org>; Thu,  2 Dec 2021 10:37:44 -0800 (PST)
Received: by mail-yb1-xb2f.google.com with SMTP id f9so2072919ybq.10 for <oauth@ietf.org>; Thu, 02 Dec 2021 10:37:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+o52p57yhz0TqWixL3xDOKgSse6VVKGHgb81VEd930g=; b=E1iu77D1do4VEhtdzHwSX9m2izONjoIyory7KK4PjBJZHVlMtA90RAcpkWsm6EchQk rVCu9X3fU6T1hKiE6WyZyRJh9kv645+TT6IsLblLI183nRERu1qiWp2Kyrshb9r3DKEI q0bMAKXsWsGRhzLIsZOz4Kf0C12FCv14ohjFEjsl6AOnIRMWhAOJqFfijj96CewXzbws +HdwO4BvgQAD/SM31y3va10AIdp2XigleWfX53ZKprq+nGzA/5DLo1JMQ/uI8g+gJ3GQ IW1dJ9y7Tc16wRbYWmNvjZ1YmhQg4I11Z0IMUPS+DHntK4/xvonL5CxKQLqyHUTRxCKi JgAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+o52p57yhz0TqWixL3xDOKgSse6VVKGHgb81VEd930g=; b=QRMC207+eMxVo9rphLedkUudoALyulfthPhH5X5LigyJu1m5ZAQayglJ8a34mRWgpp nCrvkKA+NjaeOUXdhE7yrKI9Vx0uJFsVPWhU0vOp0/FtyiTxqkW0loJGjUUonFt90NBq /jIQHzIAK/MoQP9C+7uiRPsWytCokcT4aWULCMT0vfVIHwmpx1t576oOk2DcZHRRK7P2 BnmkaNahendNeD1pRuJP6UGFsvaOLd/0ftN/2MGzBQEw6+AwSxb1bvn7VkVEKYeKAzxk FUe2XOAYAZqWl/n2C+XBKlLPGz3FhZsO4+UQTRC87O90ANySdbnJlhFhmykcZH3QIXMj 3SLA==
X-Gm-Message-State: AOAM530EyB7jTZMfkqf+gU7XoJPfCPrRtYLPNVD3QEdNJn2Uv1G87N3W cmrWnZB13pEsc2Gj6zVBIrhwIAx6ldSLQv+MQBpL
X-Google-Smtp-Source: ABdhPJwAHvHzT2j3YblfuMZ1e6udDZAaLYDH7KGPGaLvuskUDVLMCNUT+y8cJfE4IhNjaRoQ4yOfdB2YBJUArRGsmQk=
X-Received: by 2002:a05:6902:1503:: with SMTP id q3mr16659059ybu.385.1638470262887;  Thu, 02 Dec 2021 10:37:42 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com>
In-Reply-To: <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Thu, 2 Dec 2021 19:37:31 +0100
Message-ID: <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com>
To: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>
Cc: Pieter Kasselman <pieter.kasselman@microsoft.com>,  Mike Jones <Michael.Jones@microsoft.com>, "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000feb0ac05d22e15fa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/DyfgDJXAo0R-w08gm6lqqpBtD4M>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 18:37:50 -0000

--000000000000feb0ac05d22e15fa
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The only mention of sophistication is this logical fallacy:
>
>  If this leading security company had been penetrated, it almost certainl=
y
> took an incredibly sophisticated attack.


But it leaves out exactly what that was. And it doesn't give any insight
into how this attack at MS would have been prevented despite the supply
chain vulnerability based on the second point that Aaron made. If they are
able to get the auth code, why aren't they able to get the DPoP signature?
And then send both of these?

Further in this case, it doesn't even matter if the attacker gets the
access token if that access token is bound to the client, because it's
worthless without the DPoP key. That's a much more secure solution than
issuing non-bound Bearer tokens as a response to the bound authorization
code. And if Bearer tokens are being used instead of bound tokens, then
those could still end up in the logs, and be exfiltrated.

In OAuth, the client already needs to authenticate with the AS, the spec is
SHOULD, and options the client_secret already. Adding in the DPoP signature
into the request is duplicating auth. If we don't like the client auth
mechanisms to the AS, we should directly provide an auth RFC recommending
better alternatives than sending a symmetric client_secret back to the AS.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
40microsoft.com@dmarc.ietf.org> wrote:

> Thanks for the comments and engagement Warren.
>
>
>
> The attacks we described and the ideas on mitigations are born out of
> attack vectors we are observing in the wild. They are not negligible. We
> are seeing a new class of very sophisticated attackers, and if you=E2=80=
=99re
> interested, this article provides good context on capability and
> sophistication of the attackers Brad Smith: Inside Microsoft during the
> SolarWinds hack (fastcompany.com)
> <https://www.fastcompany.com/90672384/microsoft-president-brad-smith-sola=
rwinds-exclusive>.
> We are sharing this with the hope that the industry will benefit from our
> experiences and incorporate it into standards and products. Attacks that
> seemed impossibly complex are not only possible, but have become probable=
.
>
>
>
> The proposed changes for DPoP are not meant to replace the need for
> one-time use tokens (single use tokens are preferable and we should
> continue to expect them), but instead address the limitations around
> implementing one-time use, especially at scale. The 60s window you mentio=
n
> below is sufficiently long to be exploited by these sophisticated attacke=
rs.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
> *Sent:* Wednesday 1 December 2021 15:29
> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org=
>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
> Parameter
>
>
>
> (e.g. one-time use in a certain timeframe etc).
>
>
>
> Sure but couldn't we just reduce the lifetime? Even if the token isn't on=
e
> time use, surely the reuse time is trivially short which would prevent
> against exfiltration of the necessary security tokens to issue the attack=
?
>
>
>
> I feel like the simpler solution will always win, which in this case is
> one-time use tokens, then the problem is moot, right? So this only comes
> into play if you want to allow token reuse in a time window. The previous=
ly
> suggested max allowed time window from OAuth 2.1 was 60s for auth codes. =
So
> we are saying that the attack surface is still too large, for the .01% of
> implementations that have multi-use tokens, and the .01% of implementatio=
ns
> that use the maximum 60s reuse, and then the subset of those that aren't
> correctly scrubing their logs, and then the subset of those that have a
> vulnerability which allows for exfiltration of both those logged tokens a=
nd
> the logged PKCE verifier?
>
>
>
> Why are we making this more complicated for a majority of cases, which:
>
>    - Only have single use tokens
>    - Or Only have a very short lifetime
>    - Or Are already correctly sanitizing their logs
>    - Or Have defense in depth for their deployments.
>
> If the implementation is so insecure that none of those are happening,
> wouldn't the implementation for this functionality also be suspect for an
> opportunity for attack?
>
>
>
> I feel like we are justifying here that multi-use tokens are wrong, but
> still want a solution to use them. Once we've proven that an deployment i=
s
> not okay with using multi-use tokens, then the conclusion should be "don'=
t
> have multi-use tokens", not: "let's still have multi-use tokens, but come
> up with a complex way to prevent their multi-use from accidentally being
> abused".
>
>
>
> Or am I missing something that would actually make this a
> non-negligible attack vector?
>
>
>
> - Warren
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb=
48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693=
847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHC=
z6zXmW1PROTSc%3D&reserved=3D0>
> .
>
>
>
>
>
> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Hi Aaron, Neil
>
>
>
> Thanks for the questions.
>
>
>
> We agree that ideally authorization codes and PKCE proofs would never end
> up in log files and one-time use would be perfectly implemented.
>
>
>
> However, in practice these artefacts do find their way into log files in
> various places and one-time use may not always be practical (e.g. one-tim=
e
> use in a certain timeframe etc).
>
>
>
> The addition of these mitigations is not meant to replace the need for
> one-time use or good logging hygiene. Instead they provide pragmatic
> defence in depth against real attacks rather than assuming perfect
> implementations. We are deploying these mitigations and are sharing them
> for inclusion in DPoP to enable others to do the same.
>
>
>
> Regarding the question about interrupting/intercepting the HTTPS
> connection, the attacker don=E2=80=99t need to intercept the HTTPS connec=
tion or
> modify the content in the TLS tunnel, rather they just need to prevent th=
e
> authorization code from being presented to the Authorization Server. It m=
ay
> even happen due to a poor network connection. The poor connection may be
> engineered by an attacker, or they may opportunistically benefit from it.
> The networks are not perfect either.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
> *Sent:* Wednesday 1 December 2021 00:05
> *To:* Neil Madden <neil.madden@forgerock.com>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
> Parameter
>
>
>
> I tend to agree with Neil here. I'm struggling to see the relevance of
> this attack.
>
>
>
> It seems like the PDF writeup describes two possible reasons an attacker
> could get access to the authorization code and PKCE code verifier.
>
>
>
> 1. The attacker has access to the logs of the token endpoint.
>
> 2. The attacker can intercept HTTPS connections between the client and AS
> (VPN, corporate network proxy, etc)
>
>
>
> For 1, the solution is to stop logging the contents of the POST body, and
> secure your infrastructure. I don't think making the client jump through
> extra hoops is a good solution if you are already logging more than you
> should be or you don't trust the people who have access to the
> infrastructure. If this really is a concern, I suspect there are a lot mo=
re
> places in the flow that would need to be patched up if you don't trust yo=
ur
> own token endpoint.
>
>
>
> For 2, if the attacker can intercept the HTTPS connection, then the
> proposed solution doesn't add anything because the attacker could modify
> the requests before it hits the authorization server anyway, and change
> which DPoP key the token gets bound to in the first place. Plus, the
> attacker would also have access to anything else the client is sending to
> the AS, such as the user's password when they authenticate at the AS.
>
>
>
> Are there other attack vectors I'm missing that might actually be solved
> by this mechanism?
>
>
>
> Aaron
>
>
>
>
>
> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com>
> wrote:
>
> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not convi=
nced the attack
> described in the earlier message really needs to be prevented at all. The
> attack largely hinges on auth codes not being one-time use, which is not =
a
> good idea, or otherwise on poor network security on the token endpoint. I=
=E2=80=99m
> not convinced DPoP needs to protect against these things. Is there more t=
o
> this?
>
>
>
> The proposed solutions also seem susceptible to the same problems they
> attempt to solve - if an attacker is somehow able to interrupt the client=
=E2=80=99s
> (TLS-protected) token request, why are they somehow not able to
> interrupt/modify the (far less protected) redirect to the authorization
> endpoint?
>
>
>
> =E2=80=94 Neil
>
>
>
> On 30 Nov 2021, at 20:15, Mike Jones <
> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>
>
>
> As described during the OAuth Security Workshop session on DPoP, I create=
d
> a pull request adding the dpop_jkt authorization request parameter to use
> for binding the authorization code to the client=E2=80=99s DPoP key.  See
> https://github.com/danielfett/draft-dpop/pull/89
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kassel=
man%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
ASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&reserved=3D0>
> .
>
>
>
> This is an alternative to https://github.com/danielfett/draft-dpop/pull/8=
6
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kassel=
man%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
lgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>,
> which achieved this binding using a new DPoP PKCE method.  Using this
> alternative allows PKCE implementations to be unmodified, while adding DP=
oP
> in new code, which may be an advantage in some deployments.
>
>
>
> Please review and comment.  Note that I plan to add more of the attack
> description written by Pieter Kasselman to the security considerations in=
 a
> future commit.  This attack description was sent by Pieter yesterday in a
> message with the subject =E2=80=9CAuthorization Code Log File Attack (was=
 DPoP
> Interim Meeting Minutes)=E2=80=9D.
>
>
>
>                                                        -- Mike
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pd=
cSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pd=
cSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pd=
cSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>
>

--000000000000feb0ac05d22e15fa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The only mention of sophistication is this logical fallacy=
:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0If this leading se=
curity company had been penetrated, it almost certainly took an incredibly =
sophisticated attack.</blockquote><div><br></div><div>But it leaves out exa=
ctly what that was. And it doesn&#39;t give any insight into how this attac=
k at MS would have been prevented despite the supply chain vulnerability ba=
sed on the second point that Aaron made. If they are able to get the auth c=
ode, why aren&#39;t they able to get the DPoP signature? And then send both=
 of these?</div><div><br>Further in this case, it doesn&#39;t even matter i=
f the attacker gets the access token if that access token is bound to the c=
lient, because it&#39;s worthless without the DPoP key. That&#39;s a much m=
ore secure solution than issuing non-bound Bearer tokens as a response to t=
he bound authorization code. And if Bearer tokens are being used instead of=
 bound tokens, then those could still end up in the logs, and be exfiltrate=
d.</div><div><br></div><div>In OAuth, the=C2=A0client already needs to auth=
enticate with the AS, the spec is SHOULD, and options the client_secret alr=
eady. Adding in the DPoP signature into the request is duplicating auth. If=
 we don&#39;t like the client auth mechanisms to the AS, we should directly=
 provide an auth RFC recommending better alternatives than sending a symmet=
ric client_secret back to the AS.</div><div><br></div><div><div><div dir=3D=
"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><table style=3D"border:none;border-collapse:collapse"><colgroup><c=
ol width=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"height:0=
pt"><td style=3D"border-width:1pt;border-style:solid;border-color:rgb(255,2=
55,255) rgb(204,204,204) rgb(255,255,255) rgb(255,255,255);vertical-align:t=
op;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;bor=
der-width:1pt;border-style:solid;border-color:rgb(255,255,255);margin-top:0=
pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color=
:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-spac=
e:pre-wrap"><span style=3D"border:none;display:inline-block;overflow:hidden=
;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent.com/DNi=
Dx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZ=
Jg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" he=
ight=3D"34" style=3D"margin-left: 0px; margin-top: 0px;"></span></span></p>=
</td><td style=3D"border-width:1pt;border-style:solid;border-color:rgb(255,=
255,255) rgb(255,255,255) rgb(255,255,255) rgb(204,204,204);vertical-align:=
top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;bo=
rder-left:1pt solid rgb(255,255,255);border-right:1pt solid rgb(255,255,255=
);border-top:1pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><=
span style=3D"font-size:11pt;font-family:Lato,sans-serif;background-color:t=
ransparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Wa=
rren Parad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1p=
t solid rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border-bot=
tom:1pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><font face=
=3D"Lato, sans-serif"><span style=3D"font-size:13.3333px;white-space:pre-wr=
ap">Founder, CTO</span></font></p></td></tr></tbody></table><span style=3D"=
font-size:x-small">Secure your user data with IAM authorization as a servic=
e. Implement=C2=A0</span><a href=3D"https://authress.io/" style=3D"font-siz=
e:x-small" target=3D"_blank">Authress</a><span style=3D"font-size:x-small">=
.</span><br></div></div></div><br></div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 2, 2021 at 4:42 PM Piet=
er Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc=
.ietf.org">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE" style=3D"overflow-wrap: break-word;">
<div class=3D"gmail-m_8092768285375316020WordSection1">
<p class=3D"MsoNormal"><span>Thanks for the comments and engagement Warren.=
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>The attacks we described and the ideas on miti=
gations are born out of attack vectors we are observing in the wild. They a=
re not negligible. We are seeing a new class of very sophisticated attacker=
s,
 and if you=E2=80=99re interested, this article provides good context on ca=
pability and sophistication of the attackers
</span><a href=3D"https://www.fastcompany.com/90672384/microsoft-president-=
brad-smith-solarwinds-exclusive" target=3D"_blank">Brad Smith: Inside Micro=
soft during the SolarWinds hack (fastcompany.com)</a>. We are sharing this =
with the hope that the industry will benefit from our
 experiences and incorporate it into standards and products. Attacks that s=
eemed impossibly complex are not only possible, but have become probable.
<span><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>The proposed changes for DPoP are not meant to=
 replace the need for one-time use tokens (single use tokens are preferable=
 and we should continue to expect them), but instead address the limitation=
s
 around implementing one-time use, especially at scale. The 60s window you =
mention below is sufficiently long to be exploited by these sophisticated a=
ttackers.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;<a href=3D"mailto:oauth-bounces@ietf.org" target=3D"_=
blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;; =
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<p class=3D"MsoNormal">(e.g. one-time use in a certain timeframe etc).<u></=
u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Sure but couldn&#39;t we just reduce the lifetime? E=
ven if the token isn&#39;t one time use, surely the reuse time is trivially=
 short which would prevent against exfiltration of the necessary security t=
okens to issue the attack?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I feel like the simpler=C2=A0solution will always wi=
n, which in this case is one-time use tokens, then the problem is moot, rig=
ht? So this only comes into play if you want to allow token reuse in a time=
 window. The previously suggested max allowed
 time window from OAuth 2.1 was 60s for auth codes. So we are saying that t=
he attack surface is still too large, for the .01% of implementations that =
have multi-use tokens, and the .01% of implementations that use the maximum=
 60s reuse, and then the subset
 of those that aren&#39;t correctly scrubing their logs, and then the subse=
t of those that have a vulnerability which allows for exfiltration of both =
those logged tokens and the logged PKCE verifier?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Why are we making this more complicated for a majori=
ty of cases, which:<u></u><u></u></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
Only have single use tokens<u></u><u></u></li><li class=3D"MsoNormal">
Or Only have a very short lifetime<u></u><u></u></li><li class=3D"MsoNormal=
">
Or Are already correctly sanitizing their logs<u></u><u></u></li><li class=
=3D"MsoNormal">
Or Have defense in depth for their deployments.<u></u><u></u></li></ul>
<div>
<p class=3D"MsoNormal">If the implementation is so insecure that none of th=
ose are happening, wouldn&#39;t the implementation for this functionality a=
lso be suspect for an opportunity for attack?<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I feel like we are justifying here that multi-use to=
kens are wrong, but still want a solution to use them. Once we&#39;ve prove=
n that an deployment is not okay with using multi-use tokens, then the conc=
lusion should be &quot;don&#39;t have multi-use
 tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, but come u=
p with a complex way to prevent their multi-use from accidentally being abu=
sed&quot;.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Or am I missing something that would actually make t=
his a non-negligible=C2=A0attack vector?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">- Warren<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0cm"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_8092768285375316020_x0000_i1025" src=3D"https://lh6=
.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbA=
PtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8k=
WcUSNtuA"></span><span><u></u><u></u></span></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><span><u></u><u></u></span></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><span><u></u><u></u></sp=
an></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48f=
d641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847=
580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6=
Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJH=
Cz6zXmW1PROTSc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-s=
ize:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u></u>=
<u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal">Hi Aaron, Neil<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks for the questions.
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We agree that ideally authorization codes and PKCE p=
roofs would never end up in log files and one-time use would be perfectly i=
mplemented.
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">However, in practice these artefacts do find their w=
ay into log files in various places and one-time use may not always be prac=
tical (e.g. one-time use in a certain timeframe etc).
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">The addition of these mitigations is not meant to re=
place the need for one-time use or good logging hygiene. Instead they provi=
de pragmatic defence in depth against real attacks
 rather than assuming perfect implementations. We are deploying these mitig=
ations and are sharing them for inclusion in DPoP to enable others to do th=
e same.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Regarding the question about interrupting/intercepti=
ng the HTTPS connection, the attacker don=E2=80=99t need to intercept the H=
TTPS connection or modify the content in the TLS tunnel, rather
 they just need to prevent the authorization code from being presented to t=
he Authorization Server. It may even happen due to a poor network connectio=
n. The poor connection may be engineered by an attacker, or they may opport=
unistically benefit from it. The
 networks are not perfect either.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Cheers<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Pieter<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" targ=
et=3D"_blank"><span lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span l=
ang=3D"EN-US">&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;</span><a href=3D"mailto:neil.madden@forgerock.c=
om" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forgerock.com</span>=
</a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D</span><a href=3D"mailto:40micros=
oft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40microsoft.=
com@dmarc.ietf.org</span></a><span lang=3D"EN-US">&gt;;
</span><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><span lang=3D"EN=
-US">oauth@ietf.org</span></a><span lang=3D"EN-US"><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter</span><u></u><u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">I tend to agree with Neil here. I&#39;m struggling t=
o see the relevance of this attack.=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">It seems like the PDF writeup describes two possible=
 reasons an attacker could get access to the authorization code and PKCE co=
de verifier.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">1. The attacker has access to the logs of the token =
endpoint.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">2. The attacker can intercept HTTPS connections betw=
een the client and AS (VPN, corporate network proxy, etc)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For 1, the solution is to stop logging the contents =
of the POST body, and secure your infrastructure. I don&#39;t think making =
the client jump through extra hoops is a good solution
 if you are already logging more than you should be or you don&#39;t trust =
the people who have access to the infrastructure. If this really is a conce=
rn, I suspect there are a lot more places in the flow that would need to be=
 patched up if you don&#39;t trust your
 own token endpoint.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For 2, if the attacker can intercept the HTTPS conne=
ction, then the proposed solution doesn&#39;t add anything because the atta=
cker could modify the requests before it hits the authorization
 server anyway, and change which DPoP key the token gets bound to in the fi=
rst place. Plus, the attacker would also have access to anything else the c=
lient is sending to the AS, such as the user&#39;s password when they authe=
nticate at the AS.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Are there other attack vectors I&#39;m missing that =
might actually be solved by this mechanism?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Tue, Nov 30, 2021 at 12:40 PM Neil Madden &lt;<a =
href=3D"mailto:neil.madden@forgerock.com" target=3D"_blank">neil.madden@for=
gerock.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">Sadly I couldn=E2=80=99t make the DPoP session, but =
I=E2=80=99m not convinced the attack described in the earlier message reall=
y needs to be prevented at all. The attack largely hinges on auth
 codes not being one-time use, which is not a good idea, or otherwise on po=
or network security on the token endpoint. I=E2=80=99m not convinced DPoP n=
eeds to protect against these things. Is there more to this?<u></u><u></u><=
/p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The proposed solutions also seem susceptible to the =
same problems they attempt to solve - if an attacker is somehow able to int=
errupt the client=E2=80=99s (TLS-protected) token request,
 why are they somehow not able to interrupt/modify the (far less protected)=
 redirect to the authorization endpoint?<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=E2=80=94 Neil<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><u></u>=C2=A0<u></u></p=
>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal">On 30 Nov 2021, at 20:15, Mike Jones &lt;<a href=3D"=
mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org" target=3D"_blank">Mi=
chael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></=
p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal">As described during the OAuth Security Workshop sess=
ion on DPoP, I created a pull request adding the dpop_jkt authorization req=
uest parameter to use for binding the authorization
 code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=3D"https://nam06.s=
afelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfet=
t%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.kasselman%40microsof=
t.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47=
%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL=
CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DASCRFFPMA7=
qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" target=3D"_blank"><s=
pan style=3D"color:rgb(5,99,193)">https://github.com/danielfett/draft-dpop/=
pull/89</span></a>.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">This is an alternative to=C2=A0<a href=3D"https://na=
m06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdani=
elfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cpieter.kasselman%40mic=
rosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd01=
1db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw=
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dlgb9W=
mnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserved=3D0" target=3D"_bl=
ank"><span style=3D"color:rgb(5,99,193)">https://github.com/danielfett/draf=
t-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Please review and comment.=C2=A0 Note that I plan to=
 add more of the attack description written by Pieter Kasselman to the secu=
rity considerations in a future commit.=C2=A0 This attack description
 was sent by Pieter yesterday in a message with the subject =E2=80=9CAuthor=
ization Code Log File Attack (was DPoP Interim Meeting Minutes)=E2=80=9D.<u=
></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:Helvetic=
aNeue,serif">_______________________________________________<br>
OAuth mailing list<br>
</span><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank"><span style=3D"f=
ont-size:10.5pt;font-family:HelveticaNeue,serif;color:rgb(5,99,193)">OAuth@=
ietf.org</span></a><span style=3D"font-size:10.5pt;font-family:HelveticaNeu=
e,serif"><br>
</span><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhtt=
ps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;rese=
rved=3D0" target=3D"_blank"><span style=3D"font-size:10.5pt;font-family:Hel=
veticaNeue,serif;color:rgb(5,99,193)">https://www.ietf.org/mailman/listinfo=
/oauth</span></a><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>

--000000000000feb0ac05d22e15fa--


From nobody Thu Dec  2 14:58:43 2021
Return-Path: <aaron@parecki.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 085213A0412 for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 14:58:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=parecki.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 y3yUMLZXMTwb for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 14:58:36 -0800 (PST)
Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 61B663A040B for <oauth@ietf.org>; Thu,  2 Dec 2021 14:58:36 -0800 (PST)
Received: by mail-io1-xd29.google.com with SMTP id m9so1602205iop.0 for <oauth@ietf.org>; Thu, 02 Dec 2021 14:58:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parecki.com; s=google;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ilOgGOvcP8QEmFdK2P9ZzbbL1gufnOTBoWwZ1vONPhM=; b=liFnUPVU3hkLCxKxZprnjmwubd0Hya2IzEKJn4SGYL9U9JyIg5PF1CI/5RoabJSI9q tGx1otkX9EpizX6ODIn0UJ2E/s0sUxJ1A2mA19aunJNaabeBrY6QyrZfBGv3bHEPzFN6 mZprxY4pnr53hVf1BoOD1J3wOBZrgr7kGplaRWBMIUsm9EkTap1cCp5pS+i2Fg6jGc7p wfkLpJs7nUxMadfpfpNx2q8cg/axeS5eHkqVPI9Obt8rWf+d7sFAgP4SpZQ/0YFkT13H xxWNuyCzz0SnU7Ijf3lu0lMrkeUvzqtcVXclacA84S/Hp3PI6NiVUhqjnjWAOuqX9LAj 9JcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ilOgGOvcP8QEmFdK2P9ZzbbL1gufnOTBoWwZ1vONPhM=; b=OQ4nJm9ZChDS1t/WaEERIweLeQGJIzuPnBHsqyMgyc7Et7QfA567P66nhZEUi43oYG kBPM1iQnjJdkNvyPwJ5XYx2lPF7V0W5Jc+Zib94ELjLu1M3UGCI2AuEVihfaVy4jL/al s7iQ5/yZDd998rB2L7cDDSNOQHdt+tzjOcsflyBrW/cA12wkBVwT4ODVGgihSP4Be9em EUYQqyfAbzJ4wK/Tfrh2rk4DI2pQ8tL6q3qsquA6lXNChPrhnVJo5mqrz0dZnciqm/W6 skI3y3ivSU+injoHVWEgjmH/W/gXHqET9J8cQpaPyqIUrNYltg0WNteAe3BiT4fNJgCA GXqg==
X-Gm-Message-State: AOAM5300/+69XHfHr+EzZ+yooYXeDbaAHc/YUG/ia9IkklOJgvLlL+d8 ZAEJDC8McUsrspYUqyO0OsPs6H6C19Nohg==
X-Google-Smtp-Source: ABdhPJym0rnrSLp7wmvL0NlC9Mmu6yzcGWbw/BSsWrMeI6WAmv0A50Kgywaex8Kyn6kwXBt6f75eJw==
X-Received: by 2002:a05:6638:160c:: with SMTP id x12mr20632006jas.60.1638485913946;  Thu, 02 Dec 2021 14:58:33 -0800 (PST)
Received: from mail-il1-f180.google.com (mail-il1-f180.google.com. [209.85.166.180]) by smtp.gmail.com with ESMTPSA id i26sm840227ila.12.2021.12.02.14.58.32 for <oauth@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Dec 2021 14:58:33 -0800 (PST)
Received: by mail-il1-f180.google.com with SMTP id w4so935188ilv.12 for <oauth@ietf.org>; Thu, 02 Dec 2021 14:58:32 -0800 (PST)
X-Received: by 2002:a05:6e02:1a8b:: with SMTP id k11mr15802980ilv.52.1638485912681;  Thu, 02 Dec 2021 14:58:32 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com>
In-Reply-To: <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com>
From: Aaron Parecki <aaron@parecki.com>
Date: Thu, 2 Dec 2021 14:58:21 -0800
X-Gmail-Original-Message-ID: <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com>
Message-ID: <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
Cc: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>,  "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000cb839405d231ba5d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/9GGheCiN58H5yeOSokE4RQn0aM8>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 22:58:41 -0000

--000000000000cb839405d231ba5d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi all, I've been giving this some more thought.

The problem occurs when the attacker has access to both the authorization
code as well as the PKCE code verifier. The assumption being made with PKCE
is that the first time the PKCE code verifier and authorization code are
seen together is in the POST request to the token endpoint. That means if
there is a way to observe this request, the attacker can complete the
exchange and get an access token.

Pieter's writeup in the PDF describes one way that can happen, by
exfiltrating log files. While I still agree with the sentiment in this
thread that this is a relatively obscure condition, I also agree that it is
actually something that can happen in the wild, especially since there are
entire companies built around the idea of real-time log file analysis.

That said, there are other ways an attacker could get access to these two
pieces of information. What are the different points in a request lifecycle
that could be attacked? The beginning, the middle and the end. We've talked
about attacking the end, which is the log file example. Attacking the
middle involves being in the middle of the TLS connection, which we also
know is possible with corporate network proxies and such. We haven't yet
talked about the beginning of the request. What can observe the beginning
of a request? Here's a concrete example:

Assume the OAuth client is a single-page app in a browser. The user is
using an ad blocker installed as a browser extension. The ad blocker can be
configured to observe and block network requests before they are made. If
the extension is configured to attack a particular OAuth server, the JS
client would make the token request containing the authorization code and
PKCE code verifier, then the extension would be able to observe that
request, block it, and ship the two values to the attacker's server where
they can be redeemed and associated with the attacker's own DPoP key. Even
perfectly single-use authorization codes don't help here either, because
the original request was completely blocked.

(Sidenote: To get ahead of any counterarguments here, yes, Chrome is
eventually migrating to their new "manifest v3" which deprecates the
webRequest API that allows this observation in favor of a different API
that lets the browser block requests without making the actual request data
available to the extension, which I am assuming they are doing in no small
part because of the possibility of what I just described. It sounds like
Mozilla is going to follow suit, but I haven't found concrete confirmation
of that. That said, it will be a while before these changes are rolled out
and support for the (dangerous) webRequest API is fully dropped, so this is
likely going to continue to be a potential attack vector for a few years at
least.)

Because of the ease of deployment of a malicious browser extension, I do
believe this is an important attack vector to consider and is worth
solving. I am going to save any judgment on the particular dpop_jwk
parameter proposal for a different thread, but I wanted to at least get on
the same page about the fact that this is something worth solving first.

Aaron


On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D
40rhosys.ch@dmarc.ietf.org> wrote:

> The only mention of sophistication is this logical fallacy:
>>
>>  If this leading security company had been penetrated, it almost
>> certainly took an incredibly sophisticated attack.
>
>
> But it leaves out exactly what that was. And it doesn't give any insight
> into how this attack at MS would have been prevented despite the supply
> chain vulnerability based on the second point that Aaron made. If they ar=
e
> able to get the auth code, why aren't they able to get the DPoP signature=
?
> And then send both of these?
>
> Further in this case, it doesn't even matter if the attacker gets the
> access token if that access token is bound to the client, because it's
> worthless without the DPoP key. That's a much more secure solution than
> issuing non-bound Bearer tokens as a response to the bound authorization
> code. And if Bearer tokens are being used instead of bound tokens, then
> those could still end up in the logs, and be exfiltrated.
>
> In OAuth, the client already needs to authenticate with the AS, the spec
> is SHOULD, and options the client_secret already. Adding in the DPoP
> signature into the request is duplicating auth. If we don't like the clie=
nt
> auth mechanisms to the AS, we should directly provide an auth RFC
> recommending better alternatives than sending a symmetric client_secret
> back to the AS.
>
> Warren Parad
>
> Founder, CTO
> Secure your user data with IAM authorization as a service. Implement
> Authress <https://authress.io/>.
>
>
> On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
>> Thanks for the comments and engagement Warren.
>>
>>
>>
>> The attacks we described and the ideas on mitigations are born out of
>> attack vectors we are observing in the wild. They are not negligible. We
>> are seeing a new class of very sophisticated attackers, and if you=E2=80=
=99re
>> interested, this article provides good context on capability and
>> sophistication of the attackers Brad Smith: Inside Microsoft during the
>> SolarWinds hack (fastcompany.com)
>> <https://www.fastcompany.com/90672384/microsoft-president-brad-smith-sol=
arwinds-exclusive>.
>> We are sharing this with the hope that the industry will benefit from ou=
r
>> experiences and incorporate it into standards and products. Attacks that
>> seemed impossibly complex are not only possible, but have become probabl=
e.
>>
>>
>>
>> The proposed changes for DPoP are not meant to replace the need for
>> one-time use tokens (single use tokens are preferable and we should
>> continue to expect them), but instead address the limitations around
>> implementing one-time use, especially at scale. The 60s window you menti=
on
>> below is sufficiently long to be exploited by these sophisticated attack=
ers.
>>
>>
>>
>> Cheers
>>
>>
>>
>> Pieter
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
>> *Sent:* Wednesday 1 December 2021 15:29
>> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.or=
g>
>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>> oauth@ietf.org
>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
>> Parameter
>>
>>
>>
>> (e.g. one-time use in a certain timeframe etc).
>>
>>
>>
>> Sure but couldn't we just reduce the lifetime? Even if the token isn't
>> one time use, surely the reuse time is trivially short which would preve=
nt
>> against exfiltration of the necessary security tokens to issue the attac=
k?
>>
>>
>>
>> I feel like the simpler solution will always win, which in this case is
>> one-time use tokens, then the problem is moot, right? So this only comes
>> into play if you want to allow token reuse in a time window. The previou=
sly
>> suggested max allowed time window from OAuth 2.1 was 60s for auth codes.=
 So
>> we are saying that the attack surface is still too large, for the .01% o=
f
>> implementations that have multi-use tokens, and the .01% of implementati=
ons
>> that use the maximum 60s reuse, and then the subset of those that aren't
>> correctly scrubing their logs, and then the subset of those that have a
>> vulnerability which allows for exfiltration of both those logged tokens =
and
>> the logged PKCE verifier?
>>
>>
>>
>> Why are we making this more complicated for a majority of cases, which:
>>
>>    - Only have single use tokens
>>    - Or Only have a very short lifetime
>>    - Or Are already correctly sanitizing their logs
>>    - Or Have defense in depth for their deployments.
>>
>> If the implementation is so insecure that none of those are happening,
>> wouldn't the implementation for this functionality also be suspect for a=
n
>> opportunity for attack?
>>
>>
>>
>> I feel like we are justifying here that multi-use tokens are wrong, but
>> still want a solution to use them. Once we've proven that an deployment =
is
>> not okay with using multi-use tokens, then the conclusion should be "don=
't
>> have multi-use tokens", not: "let's still have multi-use tokens, but com=
e
>> up with a complex way to prevent their multi-use from accidentally being
>> abused".
>>
>>
>>
>> Or am I missing something that would actually make this a
>> non-negligible attack vector?
>>
>>
>>
>> - Warren
>>
>>
>>
>> *Warren Parad*
>>
>> Founder, CTO
>>
>> Secure your user data with IAM authorization as a service. Implement
>> Authress
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Faut=
hress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfb=
b48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773969=
3847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJH=
Cz6zXmW1PROTSc%3D&reserved=3D0>
>> .
>>
>>
>>
>>
>>
>> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
>> 40microsoft.com@dmarc.ietf.org> wrote:
>>
>> Hi Aaron, Neil
>>
>>
>>
>> Thanks for the questions.
>>
>>
>>
>> We agree that ideally authorization codes and PKCE proofs would never en=
d
>> up in log files and one-time use would be perfectly implemented.
>>
>>
>>
>> However, in practice these artefacts do find their way into log files in
>> various places and one-time use may not always be practical (e.g. one-ti=
me
>> use in a certain timeframe etc).
>>
>>
>>
>> The addition of these mitigations is not meant to replace the need for
>> one-time use or good logging hygiene. Instead they provide pragmatic
>> defence in depth against real attacks rather than assuming perfect
>> implementations. We are deploying these mitigations and are sharing them
>> for inclusion in DPoP to enable others to do the same.
>>
>>
>>
>> Regarding the question about interrupting/intercepting the HTTPS
>> connection, the attacker don=E2=80=99t need to intercept the HTTPS conne=
ction or
>> modify the content in the TLS tunnel, rather they just need to prevent t=
he
>> authorization code from being presented to the Authorization Server. It =
may
>> even happen due to a poor network connection. The poor connection may be
>> engineered by an attacker, or they may opportunistically benefit from it=
.
>> The networks are not perfect either.
>>
>>
>>
>> Cheers
>>
>>
>>
>> Pieter
>>
>>
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
>> *Sent:* Wednesday 1 December 2021 00:05
>> *To:* Neil Madden <neil.madden@forgerock.com>
>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>> oauth@ietf.org
>> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
>> Parameter
>>
>>
>>
>> I tend to agree with Neil here. I'm struggling to see the relevance of
>> this attack.
>>
>>
>>
>> It seems like the PDF writeup describes two possible reasons an attacker
>> could get access to the authorization code and PKCE code verifier.
>>
>>
>>
>> 1. The attacker has access to the logs of the token endpoint.
>>
>> 2. The attacker can intercept HTTPS connections between the client and A=
S
>> (VPN, corporate network proxy, etc)
>>
>>
>>
>> For 1, the solution is to stop logging the contents of the POST body, an=
d
>> secure your infrastructure. I don't think making the client jump through
>> extra hoops is a good solution if you are already logging more than you
>> should be or you don't trust the people who have access to the
>> infrastructure. If this really is a concern, I suspect there are a lot m=
ore
>> places in the flow that would need to be patched up if you don't trust y=
our
>> own token endpoint.
>>
>>
>>
>> For 2, if the attacker can intercept the HTTPS connection, then the
>> proposed solution doesn't add anything because the attacker could modify
>> the requests before it hits the authorization server anyway, and change
>> which DPoP key the token gets bound to in the first place. Plus, the
>> attacker would also have access to anything else the client is sending t=
o
>> the AS, such as the user's password when they authenticate at the AS.
>>
>>
>>
>> Are there other attack vectors I'm missing that might actually be solved
>> by this mechanism?
>>
>>
>>
>> Aaron
>>
>>
>>
>>
>>
>> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com>
>> wrote:
>>
>> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not conv=
inced the attack
>> described in the earlier message really needs to be prevented at all. Th=
e
>> attack largely hinges on auth codes not being one-time use, which is not=
 a
>> good idea, or otherwise on poor network security on the token endpoint. =
I=E2=80=99m
>> not convinced DPoP needs to protect against these things. Is there more =
to
>> this?
>>
>>
>>
>> The proposed solutions also seem susceptible to the same problems they
>> attempt to solve - if an attacker is somehow able to interrupt the clien=
t=E2=80=99s
>> (TLS-protected) token request, why are they somehow not able to
>> interrupt/modify the (far less protected) redirect to the authorization
>> endpoint?
>>
>>
>>
>> =E2=80=94 Neil
>>
>>
>>
>> On 30 Nov 2021, at 20:15, Mike Jones <
>> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>>
>>
>>
>> As described during the OAuth Security Workshop session on DPoP, I
>> created a pull request adding the dpop_jkt authorization request paramet=
er
>> to use for binding the authorization code to the client=E2=80=99s DPoP k=
ey.  See
>> https://github.com/danielfett/draft-dpop/pull/89
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kasse=
lman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIj=
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&reserved=3D0>
>> .
>>
>>
>>
>> This is an alternative to
>> https://github.com/danielfett/draft-dpop/pull/86
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kasse=
lman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIj=
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>,
>> which achieved this binding using a new DPoP PKCE method.  Using this
>> alternative allows PKCE implementations to be unmodified, while adding D=
PoP
>> in new code, which may be an advantage in some deployments.
>>
>>
>>
>> Please review and comment.  Note that I plan to add more of the attack
>> description written by Pieter Kasselman to the security considerations i=
n a
>> future commit.  This attack description was sent by Pieter yesterday in =
a
>> message with the subject =E2=80=9CAuthorization Code Log File Attack (wa=
s DPoP
>> Interim Meeting Minutes)=E2=80=9D.
>>
>>
>>
>>                                                        -- Mike
>>
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0p=
dcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0p=
dcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0p=
dcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>
>> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--000000000000cb839405d231ba5d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all, I&#39;ve been giving this some more thought.=C2=A0=
<div><br></div><div>The problem occurs when the attacker has access to both=
 the authorization code as well as the PKCE code verifier. The assumption b=
eing made with PKCE is that the first time the PKCE code verifier and autho=
rization code are seen together is in the POST request to the token endpoin=
t. That means if there is a way to observe this request, the attacker can c=
omplete the exchange and get an access token.</div><div><br></div><div>Piet=
er&#39;s writeup in the PDF describes one way that can happen, by exfiltrat=
ing log files. While I still agree with the sentiment in this thread that t=
his is a relatively obscure condition, I also agree that it is actually som=
ething that can happen in the wild, especially since there are entire compa=
nies built around the idea of real-time log file analysis.</div><div><br></=
div><div>That said, there are other ways an attacker could get access to th=
ese two pieces of information. What are the different points in a request l=
ifecycle that could be attacked? The beginning, the middle and the end. We&=
#39;ve talked about attacking the end, which is the log file example. Attac=
king the middle involves being in the middle of the TLS connection, which w=
e also know is possible with corporate network proxies and such. We haven&#=
39;t yet talked about the beginning of the request. What can observe the be=
ginning of a request? Here&#39;s a concrete example:</div><div><br></div><d=
iv>Assume the OAuth client is a single-page app in a browser. The user is u=
sing an ad blocker installed as a browser extension. The ad blocker can be =
configured to observe and block network requests before they are made. If t=
he extension is configured to attack a particular OAuth server, the JS clie=
nt would make the token request containing the authorization code and PKCE =
code verifier, then the extension would be able to observe that request, bl=
ock it, and ship the two values to the attacker&#39;s server where they can=
 be redeemed and associated with the attacker&#39;s own DPoP key. Even perf=
ectly single-use authorization codes don&#39;t help here either, because th=
e original request was completely blocked.</div><div><br></div><div>(Sideno=
te: To get ahead of any counterarguments=C2=A0here, yes, Chrome is eventual=
ly migrating to their new &quot;manifest v3&quot; which deprecates the webR=
equest API that allows this observation in favor of a different API that le=
ts the browser block requests without making the actual request data availa=
ble to the extension, which I am assuming they are doing in no small part b=
ecause of the possibility of what I just described. It sounds like Mozilla =
is going to follow suit, but I haven&#39;t found concrete confirmation of t=
hat. That said, it will be a while before these changes are rolled out and =
support for the (dangerous) webRequest API is fully dropped, so this is lik=
ely going to continue to be a potential attack vector for a few years at le=
ast.)</div><div><br></div><div>Because of the ease of deployment of a malic=
ious browser extension, I do believe this is an important attack vector to =
consider and is worth solving. I am going to save any judgment on the parti=
cular dpop_jwk parameter proposal for a different thread, but I wanted to a=
t least get on the same page about the fact that this is something worth so=
lving first.</div><div><br></div><div>Aaron</div><div><br></div></div><br><=
div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec=
 2, 2021 at 10:38 AM Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.c=
h@dmarc.ietf.org">40rhosys.ch@dmarc.ietf.org</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">The only menti=
on of sophistication is this logical fallacy:<blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">=C2=A0If this leading security company had been penetra=
ted, it almost certainly took an incredibly sophisticated attack.</blockquo=
te><div><br></div><div>But it leaves out exactly what that was. And it does=
n&#39;t give any insight into how this attack at MS would have been prevent=
ed despite the supply chain vulnerability based on the second point that Aa=
ron made. If they are able to get the auth code, why aren&#39;t they able t=
o get the DPoP signature? And then send both of these?</div><div><br>Furthe=
r in this case, it doesn&#39;t even matter if the attacker gets the access =
token if that access token is bound to the client, because it&#39;s worthle=
ss without the DPoP key. That&#39;s a much more secure solution than issuin=
g non-bound Bearer tokens as a response to the bound authorization code. An=
d if Bearer tokens are being used instead of bound tokens, then those could=
 still end up in the logs, and be exfiltrated.</div><div><br></div><div>In =
OAuth, the=C2=A0client already needs to authenticate with the AS, the spec =
is SHOULD, and options the client_secret already. Adding in the DPoP signat=
ure into the request is duplicating auth. If we don&#39;t like the client a=
uth mechanisms to the AS, we should directly provide an auth RFC recommendi=
ng better alternatives than sending a symmetric client_secret back to the A=
S.</div><div><br></div><div><div><div dir=3D"ltr"><div dir=3D"ltr"><table s=
tyle=3D"border:none;border-collapse:collapse"><colgroup><col width=3D"214">=
<col width=3D"110"></colgroup><tbody><tr style=3D"height:0pt"><td style=3D"=
border-width:1pt;border-style:solid;border-color:rgb(255,255,255) rgb(204,2=
04,204) rgb(255,255,255) rgb(255,255,255);vertical-align:top;padding:5pt;ov=
erflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-width:1pt;bor=
der-style:solid;border-color:rgb(255,255,255);margin-top:0pt;margin-bottom:=
0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);backg=
round-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span=
 style=3D"border:none;display:inline-block;overflow:hidden;width:199px;heig=
ht:34px"><img src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oK=
evxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9K=
J1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"34" style=
=3D"margin-left: 0px; margin-top: 0px;"></span></span></p></td><td style=3D=
"border-width:1pt;border-style:solid;border-color:rgb(255,255,255) rgb(255,=
255,255) rgb(255,255,255) rgb(204,204,204);vertical-align:top;padding:5pt;o=
verflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt sol=
id rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border-top:1pt =
solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"fon=
t-size:11pt;font-family:Lato,sans-serif;background-color:transparent;font-w=
eight:700;vertical-align:baseline;white-space:pre-wrap">Warren Parad</span>=
</p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt solid rgb(255,2=
55,255);border-right:1pt solid rgb(255,255,255);border-bottom:1pt solid rgb=
(255,255,255);margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-se=
rif"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, CTO<=
/span></font></p></td></tr></tbody></table><span style=3D"font-size:x-small=
">Secure your user data with IAM authorization as a service. Implement=C2=
=A0</span><a href=3D"https://authress.io/" style=3D"font-size:x-small" targ=
et=3D"_blank">Authress</a><span style=3D"font-size:x-small">.</span><br></d=
iv></div></div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"l=
tr" class=3D"gmail_attr">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &l=
t;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" targ=
et=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE">
<div>
<p class=3D"MsoNormal"><span>Thanks for the comments and engagement Warren.=
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>The attacks we described and the ideas on miti=
gations are born out of attack vectors we are observing in the wild. They a=
re not negligible. We are seeing a new class of very sophisticated attacker=
s,
 and if you=E2=80=99re interested, this article provides good context on ca=
pability and sophistication of the attackers
</span><a href=3D"https://www.fastcompany.com/90672384/microsoft-president-=
brad-smith-solarwinds-exclusive" target=3D"_blank">Brad Smith: Inside Micro=
soft during the SolarWinds hack (fastcompany.com)</a>. We are sharing this =
with the hope that the industry will benefit from our
 experiences and incorporate it into standards and products. Attacks that s=
eemed impossibly complex are not only possible, but have become probable.
<span><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>The proposed changes for DPoP are not meant to=
 replace the need for one-time use tokens (single use tokens are preferable=
 and we should continue to expect them), but instead address the limitation=
s
 around implementing one-time use, especially at scale. The 60s window you =
mention below is sufficiently long to be exploited by these sophisticated a=
ttackers.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span>Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;<a href=3D"mailto:oauth-bounces@ietf.org" target=3D"_=
blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;; =
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<p class=3D"MsoNormal">(e.g. one-time use in a certain timeframe etc).<u></=
u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Sure but couldn&#39;t we just reduce the lifetime? E=
ven if the token isn&#39;t one time use, surely the reuse time is trivially=
 short which would prevent against exfiltration of the necessary security t=
okens to issue the attack?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I feel like the simpler=C2=A0solution will always wi=
n, which in this case is one-time use tokens, then the problem is moot, rig=
ht? So this only comes into play if you want to allow token reuse in a time=
 window. The previously suggested max allowed
 time window from OAuth 2.1 was 60s for auth codes. So we are saying that t=
he attack surface is still too large, for the .01% of implementations that =
have multi-use tokens, and the .01% of implementations that use the maximum=
 60s reuse, and then the subset
 of those that aren&#39;t correctly scrubing their logs, and then the subse=
t of those that have a vulnerability which allows for exfiltration of both =
those logged tokens and the logged PKCE verifier?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Why are we making this more complicated for a majori=
ty of cases, which:<u></u><u></u></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
Only have single use tokens<u></u><u></u></li><li class=3D"MsoNormal">
Or Only have a very short lifetime<u></u><u></u></li><li class=3D"MsoNormal=
">
Or Are already correctly sanitizing their logs<u></u><u></u></li><li class=
=3D"MsoNormal">
Or Have defense in depth for their deployments.<u></u><u></u></li></ul>
<div>
<p class=3D"MsoNormal">If the implementation is so insecure that none of th=
ose are happening, wouldn&#39;t the implementation for this functionality a=
lso be suspect for an opportunity for attack?<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I feel like we are justifying here that multi-use to=
kens are wrong, but still want a solution to use them. Once we&#39;ve prove=
n that an deployment is not okay with using multi-use tokens, then the conc=
lusion should be &quot;don&#39;t have multi-use
 tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, but come u=
p with a complex way to prevent their multi-use from accidentally being abu=
sed&quot;.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Or am I missing something that would actually make t=
his a non-negligible=C2=A0attack vector?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">- Warren<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0cm"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_3821978517138051902gmail-m_8092768285375316020_x000=
0_i1025" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYu=
yVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYs=
NHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><span><u></u><u></u></span></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><span><u></u><u></u></span></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><span><u></u><u></u></sp=
an></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48f=
d641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847=
580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6=
Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJH=
Cz6zXmW1PROTSc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-s=
ize:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u></u>=
<u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal">Hi Aaron, Neil<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks for the questions.
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We agree that ideally authorization codes and PKCE p=
roofs would never end up in log files and one-time use would be perfectly i=
mplemented.
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">However, in practice these artefacts do find their w=
ay into log files in various places and one-time use may not always be prac=
tical (e.g. one-time use in a certain timeframe etc).
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">The addition of these mitigations is not meant to re=
place the need for one-time use or good logging hygiene. Instead they provi=
de pragmatic defence in depth against real attacks
 rather than assuming perfect implementations. We are deploying these mitig=
ations and are sharing them for inclusion in DPoP to enable others to do th=
e same.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Regarding the question about interrupting/intercepti=
ng the HTTPS connection, the attacker don=E2=80=99t need to intercept the H=
TTPS connection or modify the content in the TLS tunnel, rather
 they just need to prevent the authorization code from being presented to t=
he Authorization Server. It may even happen due to a poor network connectio=
n. The poor connection may be engineered by an attacker, or they may opport=
unistically benefit from it. The
 networks are not perfect either.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Cheers<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Pieter<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" targ=
et=3D"_blank"><span lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span l=
ang=3D"EN-US">&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;</span><a href=3D"mailto:neil.madden@forgerock.c=
om" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forgerock.com</span>=
</a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D</span><a href=3D"mailto:40micros=
oft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40microsoft.=
com@dmarc.ietf.org</span></a><span lang=3D"EN-US">&gt;;
</span><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><span lang=3D"EN=
-US">oauth@ietf.org</span></a><span lang=3D"EN-US"><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter</span><u></u><u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">I tend to agree with Neil here. I&#39;m struggling t=
o see the relevance of this attack.=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">It seems like the PDF writeup describes two possible=
 reasons an attacker could get access to the authorization code and PKCE co=
de verifier.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">1. The attacker has access to the logs of the token =
endpoint.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">2. The attacker can intercept HTTPS connections betw=
een the client and AS (VPN, corporate network proxy, etc)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For 1, the solution is to stop logging the contents =
of the POST body, and secure your infrastructure. I don&#39;t think making =
the client jump through extra hoops is a good solution
 if you are already logging more than you should be or you don&#39;t trust =
the people who have access to the infrastructure. If this really is a conce=
rn, I suspect there are a lot more places in the flow that would need to be=
 patched up if you don&#39;t trust your
 own token endpoint.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For 2, if the attacker can intercept the HTTPS conne=
ction, then the proposed solution doesn&#39;t add anything because the atta=
cker could modify the requests before it hits the authorization
 server anyway, and change which DPoP key the token gets bound to in the fi=
rst place. Plus, the attacker would also have access to anything else the c=
lient is sending to the AS, such as the user&#39;s password when they authe=
nticate at the AS.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Are there other attack vectors I&#39;m missing that =
might actually be solved by this mechanism?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Tue, Nov 30, 2021 at 12:40 PM Neil Madden &lt;<a =
href=3D"mailto:neil.madden@forgerock.com" target=3D"_blank">neil.madden@for=
gerock.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">Sadly I couldn=E2=80=99t make the DPoP session, but =
I=E2=80=99m not convinced the attack described in the earlier message reall=
y needs to be prevented at all. The attack largely hinges on auth
 codes not being one-time use, which is not a good idea, or otherwise on po=
or network security on the token endpoint. I=E2=80=99m not convinced DPoP n=
eeds to protect against these things. Is there more to this?<u></u><u></u><=
/p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The proposed solutions also seem susceptible to the =
same problems they attempt to solve - if an attacker is somehow able to int=
errupt the client=E2=80=99s (TLS-protected) token request,
 why are they somehow not able to interrupt/modify the (far less protected)=
 redirect to the authorization endpoint?<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=E2=80=94 Neil<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><u></u>=C2=A0<u></u></p=
>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal">On 30 Nov 2021, at 20:15, Mike Jones &lt;<a href=3D"=
mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org" target=3D"_blank">Mi=
chael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></=
p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal">As described during the OAuth Security Workshop sess=
ion on DPoP, I created a pull request adding the dpop_jkt authorization req=
uest parameter to use for binding the authorization
 code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=3D"https://nam06.s=
afelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfet=
t%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.kasselman%40microsof=
t.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47=
%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL=
CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DASCRFFPMA7=
qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" target=3D"_blank"><s=
pan style=3D"color:rgb(5,99,193)">https://github.com/danielfett/draft-dpop/=
pull/89</span></a>.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">This is an alternative to=C2=A0<a href=3D"https://na=
m06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdani=
elfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cpieter.kasselman%40mic=
rosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd01=
1db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw=
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dlgb9W=
mnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserved=3D0" target=3D"_bl=
ank"><span style=3D"color:rgb(5,99,193)">https://github.com/danielfett/draf=
t-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Please review and comment.=C2=A0 Note that I plan to=
 add more of the attack description written by Pieter Kasselman to the secu=
rity considerations in a future commit.=C2=A0 This attack description
 was sent by Pieter yesterday in a message with the subject =E2=80=9CAuthor=
ization Code Log File Attack (was DPoP Interim Meeting Minutes)=E2=80=9D.<u=
></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:Helvetic=
aNeue,serif">_______________________________________________<br>
OAuth mailing list<br>
</span><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank"><span style=3D"f=
ont-size:10.5pt;font-family:HelveticaNeue,serif;color:rgb(5,99,193)">OAuth@=
ietf.org</span></a><span style=3D"font-size:10.5pt;font-family:HelveticaNeu=
e,serif"><br>
</span><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhtt=
ps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;rese=
rved=3D0" target=3D"_blank"><span style=3D"font-size:10.5pt;font-family:Hel=
veticaNeue,serif;color:rgb(5,99,193)">https://www.ietf.org/mailman/listinfo=
/oauth</span></a><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--000000000000cb839405d231ba5d--


From nobody Thu Dec  2 15:22:09 2021
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 908463A0787 for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 15:21:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=microsoft.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 MkOaPrEdDPP3 for <oauth@ietfa.amsl.com>; Thu,  2 Dec 2021 15:21:42 -0800 (PST)
Received: from na01-obe.outbound.protection.outlook.com (mail-cusazlp17011013.outbound.protection.outlook.com [40.93.13.13]) (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 A675E3A0772 for <oauth@ietf.org>; Thu,  2 Dec 2021 15:21:42 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XaKvMkTs9smBKF2ozLIPyo2TjW3WsSYb+jM73og7EkyallvYTfyIuArHLZAUT+DLqB68ixtqI1OvNAg8VRVJZNJlna3fVY2UTRu9a/SMTZ/NXFKVgqMJ3IsfZy/quPWWPM8ZgAeGT9x8m3s+PtgsXle//2Zliu/D669jddfyQLQkvk703xsy/QFhzLYiHKqmxI7mWJuzAlD0eXMccGx8YOfKt8A3Op/0MjPbVLaytD6abdwZuCFMdb8DkItj3OBylxU9cR019hG/92hzPhnDcav4YO64MLT/UDWwmqSQsHqsZSUwX49jy8mFmyEat5njZWbnI5yHu/BMbmfQAcZjNQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JpvrhHuBoPIHDnUKk2SWWgNbV/Zomvl84cUrNnPV5zI=; b=TPTTYdUjVntAauUqh1Z2t4KZyJuRnphaJ/XoNi3wVJk/pSwq4+pAp72dIvuVsYde3yRRMNZUwsw8IrVRIons/HNk9WzYFdwPVVaXIwvXNZ0eKufPRK6hgLOTGC/b/4M6ZvrUVwn5o4sckLt4ykQkNKHWC6+A8lN2YHHTMd1ipUSZ2SPt+M53aa+VVL51cS1IhSpopOAoOgjkROZmf6MRc0kfWdHG5erWmVAwCoOrGA1KtqlIdzAJwVfgeudYNCOqPmDc7ZW7BFxbnPIpFD9Ib9Iu7PvnEoKpemTcXSq/0w1Jx+kUA8T1UuVcfMyS7qm29kkQH3qIXD+ex1brxeqOmA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JpvrhHuBoPIHDnUKk2SWWgNbV/Zomvl84cUrNnPV5zI=; b=OapmHnvN9TJsWyNlF2Bu2CQHWHE1NVM7OlYUl2QwQhRK4VT+oG34kSdG3+geIlC0rwDZ4g7uYAKTvB1ABjxD87WBoFYWMChZMF/CnKb8DhgiF4N3jhDtfweGWLCU9CrXAQMH26i5s9XSWGfQTQrwbJuErtunq4zJ5b8CaGH8W1I=
Received: from CO1PR00MB0996.namprd00.prod.outlook.com (2603:10b6:303:97::16) by DM6PR00MB0875.namprd00.prod.outlook.com (2603:10b6:5:163::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4800.0; Thu, 2 Dec 2021 23:21:37 +0000
Received: from CO1PR00MB0996.namprd00.prod.outlook.com ([fe80::3023:f763:185d:d649]) by CO1PR00MB0996.namprd00.prod.outlook.com ([fe80::3023:f763:185d:d649%9]) with mapi id 15.20.4803.000; Thu, 2 Dec 2021 23:21:37 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Aaron Parecki <aaron@parecki.com>, Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
CC: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
Thread-Index: AQHX5sg37vVvTIsuw0C74O/gM5TjH6wfWKeAgAAxHICAAEjhgIAABjKw
Date: Thu, 2 Dec 2021 23:21:37 +0000
Message-ID: <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com>
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com>
In-Reply-To: <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-02T23:21:34Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=f279bba3-d911-4c9b-aa74-ac525b4ecaae; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dceea9c3-71d5-400c-55c1-08d9b5ea7d2c
x-ms-traffictypediagnostic: DM6PR00MB0875:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <DM6PR00MB08753EF4371FEDCD7E81B88FF5699@DM6PR00MB0875.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 2kdipG1djuHSFepE2eJPpDGeA5aLMn0YKdjHHCaBgVZoM1kQOsF5IYunwn5vgrFZUTZIw1ZmN7yK4+nLXl1WNIVqiMmM+ZcTSqklrGYhDpHS4968nZCr7AtGa9pN0MhfxSKheLyenR82bm1Wqi1hUVjwHaDfXkFptsIc4Ggb6mONaZaNa/d+pqvFF6U4JDhGNc43darXXikUOCkYcWtwt6h37co3qfV6rxqESwUCG299y3k4kWZCJdzd7C/mnNJQnOCCTRhel26dm7le8w8h9J/DgIDndGQuoCa3V+e05qQQ3itAbeGn7lOe5FjfK4NPufCkoW93iyA6idya1XCJ4rnwNq0pTciuTD0HkraaSH0r6KxJiM9DGhTLoZlORSEsBFyWNlt67JF44RwxARVt5c3nUB/4R5EkayrYEB9+Ehonk2bi1FgIeZkhUprKwIQTrWao4C9R7+xtbgzthMRbxyDXW1Nka2rIEbPzyU8+HGn5RZNLxnOoPRGIFJC3r/9cMsarFv0DhS0Uj+zqD5+c1lwrgWfKgLXxJ/sDvv+kffNR4qQ2bHT8rcNFr//GUas/nJx9sFK12V9WJR9cUehmkuBHDIL+Y8EFk1qMKI5yslj/IXn5x4ieKNF/iB8q0EIePDIEZRrHERsrS9Upphab7Dd1z2q+fh9UqllE39xrS1iP9YuXH9+HniENaYKBmF+4jJ6k4Ye5MUOCrJOd4GmJ+GUPEIPHt3Vnk81x2XSGwKCax+upkHxnbhkZlkHwT0HgmDfAMQqu0a7lmC1tY/zX0rijg60rFJCJYj2rdvixiTCH6wu2ibL+vXQNWtqqtk1aPFi7f9kxY1dXb5NAWKCBhxl+IeWProR5eTkMiucs7qhlgws1hzxBf/xYIzXA0IwR
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:CO1PR00MB0996.namprd00.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(166002)(38100700002)(55016003)(86362001)(122000001)(66556008)(316002)(82950400001)(82960400001)(110136005)(8676002)(54906003)(4326008)(66946007)(76116006)(38070700005)(8936002)(66476007)(66446008)(2906002)(64756008)(7696005)(33656002)(52536014)(30864003)(5660300002)(83380400001)(66574015)(71200400001)(186003)(6506007)(10290500003)(53546011)(9686003)(8990500004)(508600001)(966005)(579004)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UWdoWXZqbTdMR09ib01uMVp1WHdYT0FPRXpLcTNHQ0JOQnFGN24yNDlJRDlC?= =?utf-8?B?WEtmV3JXS1VzeWRKYVB5dmp1TG9xNlo0QXQyS2YvaGhmcWpaS3NsVnRXNzNW?= =?utf-8?B?MmdVdnlzRStZNGdoWkpRcjg0b2pHenJuTHlodE5PczBMZzFQY1R1YS9pc09r?= =?utf-8?B?eEpXR1ZoQ1gvTzUxanVyNzdEQzdBeUE0d2JCTFgwKzBtdUhvak5vUG95VUJn?= =?utf-8?B?RDRUamQ0bEQwYmY3dTFNcGsrNWNNV1ljVnNWVmJzWEFSQzkyR1VTN3A4YWts?= =?utf-8?B?QzlUQkN6eWRaQTZKYmdtQXc2ZGNqSjV2YzFVbm9ydUVvODQ3c1B2VnNpbVRL?= =?utf-8?B?TVUvTTdJZGt0eS8vSXFMMzJoOEYycy9hcjllcVRibVB1WFVmdk82dTdXUFNi?= =?utf-8?B?dnppR2VvR09qVm1qck1mUDNTcEJET2NjaHRwaVpXRVdRSCtuQWFoVFQ1cFlH?= =?utf-8?B?eWsxRm5CdG5QNE5aZlR6NCtNOGNnemI4ZGlMMjhtc0tqSEN6dVNxWmxGQmhy?= =?utf-8?B?R0FpVTZCWHRiWC9VYk1UeTNaSjhGYm1FMDdRYWpSSnVrSGFLcU1XL0xDS2Vn?= =?utf-8?B?L25hRy9tb0pSSENicFk2bU5OQjBhemtiLzcrYlVsb0tUMWd0RnJIYW90NDhF?= =?utf-8?B?dVRoaDBLbnJUNTcwVGwzbmJPdkRiYXgweFV0aDVOb24vYWVJRFlaL2dLL3Br?= =?utf-8?B?aEZqUUdMNUF0bE1zOHJRSkhQNVhBWER6cnRwYzZaZk9le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4S1N5RXovYit6ZHJQbXhzU01aSzNBTG1ucEN5?= =?utf-8?B?WWJ3UWlzR3ZhMmpxOTlqbGFPTGIxZTlPZkVmUGhTTmZvaTUxaUpqMk56NXZh?= =?utf-8?B?NmZvYzdRenJDeUxwRVVVTUlPY0tnVjNFMlZoR3h6cUJ6SWwzZTlMS2RkR0RS?= =?utf-8?B?R0JZQXVEd0hqdk1mc2lWNWNHajhBd2NZT1ZJRkNURldoaXBRdDhCRlhtRXVF?= =?utf-8?B?VDhDSU9uNFVnN2tlRVlQTnVsL2tCVzFLcWM0eXZtR1FmcWFhc01hS3VGQmhl?= =?utf-8?B?bGZGUzJiUlZGYk9TNnU1TWs5a1BZVzNjY3psNUVyWDJCTmlMTE1YeEhuZWM2?= =?utf-8?B?ZG9NYkc1SURHU3l6SkFqeXZUSjlLTVRLNnhOOWxZaU1BcmdRcE5RZW14MUtD?= =?utf-8?B?U1Vwcll0STB1dVhweHVHelJMMGU2R3dLVitveHdxK3VTbXBKQ0dUTExuRTA1?= =?utf-8?B?Y0VUZjNOS3dOMW0yRTN2Q3AwSXR6WDdCVFk0RzNvdzhIemp5REVxT0lUK1pr?= =?utf-8?B?M0Vnc2ZyWXdYejNGRG5xNzlXbkdRL2Y5RnBFd2ZjTzZEbTFTbUpmRzIrbFNP?= =?utf-8?Q?U56w2kABpeofV8uv5+8ZublObz8w6CzoGvh6GkCWps=3D?=
Content-Type: multipart/alternative; boundary="_000_CO1PR00MB0996290BF6F4B1CDBE5704A4F5699CO1PR00MB0996namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CO1PR00MB0996.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dceea9c3-71d5-400c-55c1-08d9b5ea7d2c
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2021 23:21:37.5068 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: fSuQ6/2NtbSRAycD5PwkaF5OldWiQml5v/QePoOCf3n2TDfXhVwAWlQNZVWScJEDNdUGeiT35EMrG5qcqncMGA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR00MB0875
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/nnMBmH0Fw6LmffB6Ctz9cBP7CTY>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 23:21:49 -0000

--_000_CO1PR00MB0996290BF6F4B1CDBE5704A4F5699CO1PR00MB0996namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VGhhbmtzIGZvciB0aGlzIHRob3VnaHRmdWwgYW5hbHlzaXMsIEFhcm9uLiAgSSBiZWxpZXZlIHlv
deKAmXJlIHNwb3Qgb24gdGhhdCB0aGVzZSBhdHRhY2tzIGNhbiBvY2N1ciDigJx3aGVuIHRoZSBh
dHRhY2tlciBoYXMgYWNjZXNzIHRvIGJvdGggdGhlIGF1dGhvcml6YXRpb24gY29kZSBhcyB3ZWxs
IGFzIHRoZSBQS0NFIGNvZGUgdmVyaWZpZXIu4oCdDQoNCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIC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d24lN0NUV0Zw
Ykdac2IzZDhleUpXSWpvaU1DNHdMakF3TURBaUxDSlFJam9pVjJsdU16SWlMQ0pCVGlJNklrMWhh
V3dpTENKWFZDSTZNbjAlM0QlN0MzMDAwJnNkYXRhPXZ1QlkwcGRjU2lNWFFGMjEzWlZMbTR5Tk1G
aFJxTTFqV2xyV1N6biUyRlMlMkZFJTNEJnJlc2VydmVkPTA+DQpfX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KT0F1dGggbWFpbGluZyBsaXN0DQpPQXV0aEBp
ZXRmLm9yZzxtYWlsdG86T0F1dGhAaWV0Zi5vcmc+DQpodHRwczovL3d3dy5pZXRmLm9yZy9tYWls
bWFuL2xpc3RpbmZvL29hdXRoDQo=

--_000_CO1PR00MB0996290BF6F4B1CDBE5704A4F5699CO1PR00MB0996namp_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTUgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPCEtLVtp
ZiAhbXNvXT48c3R5bGU+d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XSWpvaU1DNHdMakF3TURBaUxDSlFJam9pVjJsdU16SWlM
Q0pCVGlJNklrMWhhV3dpTENKWFZDSTZNbjAlM0QlN0MzMDAwJmFtcDtzZGF0YT12dUJZMHBkY1Np
TVhRRjIxM1pWTG00eU5NRmhScU0xaldscldTem4lMkZTJTJGRSUzRCZhbXA7cmVzZXJ2ZWQ9MCIg
dGFyZ2V0PSJfYmxhbmsiPmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vb2F1
dGg8L2E+PG86cD48L286cD48L3NwYW4+PC9wPg0KPC9ibG9ja3F1b3RlPg0KPC9kaXY+DQo8L2Rp
dj4NCjwvZGl2Pg0KPC9ibG9ja3F1b3RlPg0KPC9kaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXzxicj4NCk9BdXRo
IG1haWxpbmcgbGlzdDxicj4NCjxhIGhyZWY9Im1haWx0bzpPQXV0aEBpZXRmLm9yZyIgdGFyZ2V0
PSJfYmxhbmsiPk9BdXRoQGlldGYub3JnPC9hPjxicj4NCjxhIGhyZWY9Imh0dHBzOi8vd3d3Lmll
dGYub3JnL21haWxtYW4vbGlzdGluZm8vb2F1dGgiIHRhcmdldD0iX2JsYW5rIj5odHRwczovL3d3
dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL29hdXRoPC9hPjxvOnA+PC9vOnA+PC9wPg0KPC9i
bG9ja3F1b3RlPg0KPC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_CO1PR00MB0996290BF6F4B1CDBE5704A4F5699CO1PR00MB0996namp_--


From nobody Fri Dec  3 08:02:10 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD3E93A0B80 for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 08:02:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 BvrD1RKCGjWD for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 08:02:03 -0800 (PST)
Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (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 604953A0B8A for <oauth@ietf.org>; Fri,  3 Dec 2021 08:02:03 -0800 (PST)
Received: by mail-yb1-xb2f.google.com with SMTP id f9so10600854ybq.10 for <oauth@ietf.org>; Fri, 03 Dec 2021 08:02:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=20II3w6JzqNii5gK1zYDxeWwM91jWKDvOTvDOHr0AiQ=; b=aO71mPI7DICD4ApXB9LjjTOfSFsaVCNVZ+xw8OFCJmyKLWy0yXbpv9GID3d+61UD2e CMGbLhNjSJyEFhkEsvHVhUs7ar/TIOKZ5E9F/dU8XGnR1pxkuckwbPiZ26s9OzHBs1X/ cX1mBgEgMdFgsp0MFLaDebgxzj8gGsuW4E+dMD6cC2wjGjm+pvnOewgMLTaOX+K0mH3N knhqGKGy1MqG32cZYIVm1dQCDQm5Ildc/h8DoNdqCOBmlORT11yZJ99k/ONzGMvWHLnP Tbs0qJ//BYounxyn/i85O6bN2svudQxisaypRaYoBMm87DgNrNRESnTcb+S9dK3Iq4fz BcJA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=20II3w6JzqNii5gK1zYDxeWwM91jWKDvOTvDOHr0AiQ=; b=vFd+0xzPXFrMcgvpsVrodLj4XAwpzYYjAnDXHelWrHsCtLmMM7O0BGmVZj3/LfGpPt uAqYjs0lPcMuEYZ9qF871hULGk5hqvRUntAS1T49NzskkHce6DgnfBsT1e+jtQV7fKjb qWNigg7RLpXDVvsctzdaIEI5IARv+ZcmkhQWdQ3Z0W55kmWn1t2+U3EmkhDdZm2sKAF3 58SEhg3Z1l6G4mpt6wFALWu3lIpgUjbpiv0U8Z6Off3dRFDVx2fDGROckJp6UaiiLlmN Ucy9evEkV4pEHQRjb1Xfyhg6Dv2oFwK9JdJZ6UUqOUbpEKWZTpt5/mykr/kicUvAvWiw M+KQ==
X-Gm-Message-State: AOAM531RZeVDEevPFuQwBLYdnDv6+IGZ6B4rfNjeRtaqCv7KhrYRDGGq EP1H06yBhRsxI+iRz3fI3Qy0qOIJY/bs8me2DOEZ
X-Google-Smtp-Source: ABdhPJynw+9ba3oa1cDDPMObtiaFuBydhkV4HGKwb8c7dlVryzFhY7ur5DeiqefeqmR2QTCEE0H0l+LVTiS4If00O0I=
X-Received: by 2002:a25:6d08:: with SMTP id i8mr23838630ybc.706.1638547321084;  Fri, 03 Dec 2021 08:02:01 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com> <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com>
In-Reply-To: <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Fri, 3 Dec 2021 17:01:50 +0100
Message-ID: <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
Cc: Aaron Parecki <aaron@parecki.com>, Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>,  Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>,  "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000056fb205d2400791"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/6WnUqIgwke66ZqGMKgpBDPuJb-s>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 16:02:09 -0000

--000000000000056fb205d2400791
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

While I agree this is a problem, adding the thumbprint to the authorization
request only increases the difficulty for the malicious MITM attack to need
to also intercept the authorization request in addition to the token
request to swap out the dpop_jkt as well. If I'm right, then it doesn't
make sense to implement this as the solution.

While I agree, we could move the dpop_jwk determination to the
authorization request, instead of the token, it doesn't solve the problem.
What it does say is that the authorization request user-agent is the one
that has the key, and not the one doing the code exchange. Well this is
actually weird in the case of non-public clients, because it doesn't make
sense from that client perspective, as the "front-end" would need to now
have the constructed dpop_jkt even though it doesn't have the dpop key.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Fri, Dec 3, 2021 at 12:22 AM Mike Jones <Michael.Jones=3D
40microsoft.com@dmarc.ietf.org> wrote:

> Thanks for this thoughtful analysis, Aaron.  I believe you=E2=80=99re spo=
t on that
> these attacks can occur =E2=80=9Cwhen the attacker has access to both the
> authorization code as well as the PKCE code verifier.=E2=80=9D
>
>
>
>                                                        -- Mike
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of * Aaron Parecki
> *Sent:* Thursday, December 2, 2021 2:58 PM
> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
> *Cc:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org=
>;
> oauth@ietf.org
> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
> Parameter
>
>
>
> Hi all, I've been giving this some more thought.
>
>
>
> The problem occurs when the attacker has access to both the authorization
> code as well as the PKCE code verifier. The assumption being made with PK=
CE
> is that the first time the PKCE code verifier and authorization code are
> seen together is in the POST request to the token endpoint. That means if
> there is a way to observe this request, the attacker can complete the
> exchange and get an access token.
>
>
>
> Pieter's writeup in the PDF describes one way that can happen, by
> exfiltrating log files. While I still agree with the sentiment in this
> thread that this is a relatively obscure condition, I also agree that it =
is
> actually something that can happen in the wild, especially since there ar=
e
> entire companies built around the idea of real-time log file analysis.
>
>
>
> That said, there are other ways an attacker could get access to these two
> pieces of information. What are the different points in a request lifecyc=
le
> that could be attacked? The beginning, the middle and the end. We've talk=
ed
> about attacking the end, which is the log file example. Attacking the
> middle involves being in the middle of the TLS connection, which we also
> know is possible with corporate network proxies and such. We haven't yet
> talked about the beginning of the request. What can observe the beginning
> of a request? Here's a concrete example:
>
>
>
> Assume the OAuth client is a single-page app in a browser. The user is
> using an ad blocker installed as a browser extension. The ad blocker can =
be
> configured to observe and block network requests before they are made. If
> the extension is configured to attack a particular OAuth server, the JS
> client would make the token request containing the authorization code and
> PKCE code verifier, then the extension would be able to observe that
> request, block it, and ship the two values to the attacker's server where
> they can be redeemed and associated with the attacker's own DPoP key. Eve=
n
> perfectly single-use authorization codes don't help here either, because
> the original request was completely blocked.
>
>
>
> (Sidenote: To get ahead of any counterarguments here, yes, Chrome is
> eventually migrating to their new "manifest v3" which deprecates the
> webRequest API that allows this observation in favor of a different API
> that lets the browser block requests without making the actual request da=
ta
> available to the extension, which I am assuming they are doing in no smal=
l
> part because of the possibility of what I just described. It sounds like
> Mozilla is going to follow suit, but I haven't found concrete confirmatio=
n
> of that. That said, it will be a while before these changes are rolled ou=
t
> and support for the (dangerous) webRequest API is fully dropped, so this =
is
> likely going to continue to be a potential attack vector for a few years =
at
> least.)
>
>
>
> Because of the ease of deployment of a malicious browser extension, I do
> believe this is an important attack vector to consider and is worth
> solving. I am going to save any judgment on the particular dpop_jwk
> parameter proposal for a different thread, but I wanted to at least get o=
n
> the same page about the fact that this is something worth solving first.
>
>
>
> Aaron
>
>
>
>
>
> On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D
> 40rhosys.ch@dmarc.ietf.org> wrote:
>
> The only mention of sophistication is this logical fallacy:
>
>  If this leading security company had been penetrated, it almost certainl=
y
> took an incredibly sophisticated attack.
>
>
>
> But it leaves out exactly what that was. And it doesn't give any insight
> into how this attack at MS would have been prevented despite the supply
> chain vulnerability based on the second point that Aaron made. If they ar=
e
> able to get the auth code, why aren't they able to get the DPoP signature=
?
> And then send both of these?
>
>
> Further in this case, it doesn't even matter if the attacker gets the
> access token if that access token is bound to the client, because it's
> worthless without the DPoP key. That's a much more secure solution than
> issuing non-bound Bearer tokens as a response to the bound authorization
> code. And if Bearer tokens are being used instead of bound tokens, then
> those could still end up in the logs, and be exfiltrated.
>
>
>
> In OAuth, the client already needs to authenticate with the AS, the spec
> is SHOULD, and options the client_secret already. Adding in the DPoP
> signature into the request is duplicating auth. If we don't like the clie=
nt
> auth mechanisms to the AS, we should directly provide an auth RFC
> recommending better alternatives than sending a symmetric client_secret
> back to the AS.
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress <https://authress.io/>.
>
>
>
>
>
> On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Thanks for the comments and engagement Warren.
>
>
>
> The attacks we described and the ideas on mitigations are born out of
> attack vectors we are observing in the wild. They are not negligible. We
> are seeing a new class of very sophisticated attackers, and if you=E2=80=
=99re
> interested, this article provides good context on capability and
> sophistication of the attackers Brad Smith: Inside Microsoft during the
> SolarWinds hack (fastcompany.com)
> <https://www.fastcompany.com/90672384/microsoft-president-brad-smith-sola=
rwinds-exclusive>.
> We are sharing this with the hope that the industry will benefit from our
> experiences and incorporate it into standards and products. Attacks that
> seemed impossibly complex are not only possible, but have become probable=
.
>
>
>
> The proposed changes for DPoP are not meant to replace the need for
> one-time use tokens (single use tokens are preferable and we should
> continue to expect them), but instead address the limitations around
> implementing one-time use, especially at scale. The 60s window you mentio=
n
> below is sufficiently long to be exploited by these sophisticated attacke=
rs.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
> *Sent:* Wednesday 1 December 2021 15:29
> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org=
>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
> Parameter
>
>
>
> (e.g. one-time use in a certain timeframe etc).
>
>
>
> Sure but couldn't we just reduce the lifetime? Even if the token isn't on=
e
> time use, surely the reuse time is trivially short which would prevent
> against exfiltration of the necessary security tokens to issue the attack=
?
>
>
>
> I feel like the simpler solution will always win, which in this case is
> one-time use tokens, then the problem is moot, right? So this only comes
> into play if you want to allow token reuse in a time window. The previous=
ly
> suggested max allowed time window from OAuth 2.1 was 60s for auth codes. =
So
> we are saying that the attack surface is still too large, for the .01% of
> implementations that have multi-use tokens, and the .01% of implementatio=
ns
> that use the maximum 60s reuse, and then the subset of those that aren't
> correctly scrubing their logs, and then the subset of those that have a
> vulnerability which allows for exfiltration of both those logged tokens a=
nd
> the logged PKCE verifier?
>
>
>
> Why are we making this more complicated for a majority of cases, which:
>
>    - Only have single use tokens
>    - Or Only have a very short lifetime
>    - Or Are already correctly sanitizing their logs
>    - Or Have defense in depth for their deployments.
>
> If the implementation is so insecure that none of those are happening,
> wouldn't the implementation for this functionality also be suspect for an
> opportunity for attack?
>
>
>
> I feel like we are justifying here that multi-use tokens are wrong, but
> still want a solution to use them. Once we've proven that an deployment i=
s
> not okay with using multi-use tokens, then the conclusion should be "don'=
t
> have multi-use tokens", not: "let's still have multi-use tokens, but come
> up with a complex way to prevent their multi-use from accidentally being
> abused".
>
>
>
> Or am I missing something that would actually make this a
> non-negligible attack vector?
>
>
>
> - Warren
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb=
48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693=
847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHC=
z6zXmW1PROTSc%3D&reserved=3D0>
> .
>
>
>
>
>
> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Hi Aaron, Neil
>
>
>
> Thanks for the questions.
>
>
>
> We agree that ideally authorization codes and PKCE proofs would never end
> up in log files and one-time use would be perfectly implemented.
>
>
>
> However, in practice these artefacts do find their way into log files in
> various places and one-time use may not always be practical (e.g. one-tim=
e
> use in a certain timeframe etc).
>
>
>
> The addition of these mitigations is not meant to replace the need for
> one-time use or good logging hygiene. Instead they provide pragmatic
> defence in depth against real attacks rather than assuming perfect
> implementations. We are deploying these mitigations and are sharing them
> for inclusion in DPoP to enable others to do the same.
>
>
>
> Regarding the question about interrupting/intercepting the HTTPS
> connection, the attacker don=E2=80=99t need to intercept the HTTPS connec=
tion or
> modify the content in the TLS tunnel, rather they just need to prevent th=
e
> authorization code from being presented to the Authorization Server. It m=
ay
> even happen due to a poor network connection. The poor connection may be
> engineered by an attacker, or they may opportunistically benefit from it.
> The networks are not perfect either.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
> *Sent:* Wednesday 1 December 2021 00:05
> *To:* Neil Madden <neil.madden@forgerock.com>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
> Parameter
>
>
>
> I tend to agree with Neil here. I'm struggling to see the relevance of
> this attack.
>
>
>
> It seems like the PDF writeup describes two possible reasons an attacker
> could get access to the authorization code and PKCE code verifier.
>
>
>
> 1. The attacker has access to the logs of the token endpoint.
>
> 2. The attacker can intercept HTTPS connections between the client and AS
> (VPN, corporate network proxy, etc)
>
>
>
> For 1, the solution is to stop logging the contents of the POST body, and
> secure your infrastructure. I don't think making the client jump through
> extra hoops is a good solution if you are already logging more than you
> should be or you don't trust the people who have access to the
> infrastructure. If this really is a concern, I suspect there are a lot mo=
re
> places in the flow that would need to be patched up if you don't trust yo=
ur
> own token endpoint.
>
>
>
> For 2, if the attacker can intercept the HTTPS connection, then the
> proposed solution doesn't add anything because the attacker could modify
> the requests before it hits the authorization server anyway, and change
> which DPoP key the token gets bound to in the first place. Plus, the
> attacker would also have access to anything else the client is sending to
> the AS, such as the user's password when they authenticate at the AS.
>
>
>
> Are there other attack vectors I'm missing that might actually be solved
> by this mechanism?
>
>
>
> Aaron
>
>
>
>
>
> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com>
> wrote:
>
> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not convi=
nced the attack
> described in the earlier message really needs to be prevented at all. The
> attack largely hinges on auth codes not being one-time use, which is not =
a
> good idea, or otherwise on poor network security on the token endpoint. I=
=E2=80=99m
> not convinced DPoP needs to protect against these things. Is there more t=
o
> this?
>
>
>
> The proposed solutions also seem susceptible to the same problems they
> attempt to solve - if an attacker is somehow able to interrupt the client=
=E2=80=99s
> (TLS-protected) token request, why are they somehow not able to
> interrupt/modify the (far less protected) redirect to the authorization
> endpoint?
>
>
>
> =E2=80=94 Neil
>
>
>
> On 30 Nov 2021, at 20:15, Mike Jones <
> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>
>
>
> As described during the OAuth Security Workshop session on DPoP, I create=
d
> a pull request adding the dpop_jkt authorization request parameter to use
> for binding the authorization code to the client=E2=80=99s DPoP key.  See
> https://github.com/danielfett/draft-dpop/pull/89
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kassel=
man%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
ASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&reserved=3D0>
> .
>
>
>
> This is an alternative to https://github.com/danielfett/draft-dpop/pull/8=
6
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kassel=
man%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
lgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>,
> which achieved this binding using a new DPoP PKCE method.  Using this
> alternative allows PKCE implementations to be unmodified, while adding DP=
oP
> in new code, which may be an advantage in some deployments.
>
>
>
> Please review and comment.  Note that I plan to add more of the attack
> description written by Pieter Kasselman to the security considerations in=
 a
> future commit.  This attack description was sent by Pieter yesterday in a
> message with the subject =E2=80=9CAuthorization Code Log File Attack (was=
 DPoP
> Interim Meeting Minutes)=E2=80=9D.
>
>
>
>                                                        -- Mike
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pd=
cSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pd=
cSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0pd=
cSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--000000000000056fb205d2400791
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>While I agree this is a problem, adding the thumbprin=
t to the authorization request only increases the difficulty for the malici=
ous MITM attack to need to also intercept the authorization request in addi=
tion to the token request to swap out the dpop_jkt as well. If I&#39;m righ=
t, then it doesn&#39;t make sense to implement this as the solution.</div><=
div><br></div><div>While I agree, we could move the dpop_jwk determination =
to the authorization request, instead of the token, it doesn&#39;t solve th=
e problem. What it does say is that the authorization request user-agent is=
 the one that has the key, and not the one doing the code exchange. Well th=
is is actually weird in the case of non-public clients, because it doesn&#3=
9;t make sense from that client perspective, as the &quot;front-end&quot; w=
ould need to now have the constructed dpop_jkt even though it doesn&#39;t h=
ave the dpop key.</div><div><br></div><div><div><div dir=3D"ltr" class=3D"g=
mail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><table =
style=3D"border:none;border-collapse:collapse"><colgroup><col width=3D"214"=
><col width=3D"110"></colgroup><tbody><tr style=3D"height:0pt"><td style=3D=
"border-width:1pt;border-style:solid;border-color:rgb(255,255,255) rgb(204,=
204,204) rgb(255,255,255) rgb(255,255,255);vertical-align:top;padding:5pt;o=
verflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-width:1pt;bo=
rder-style:solid;border-color:rgb(255,255,255);margin-top:0pt;margin-bottom=
:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);back=
ground-color:transparent;vertical-align:baseline;white-space:pre-wrap"><spa=
n style=3D"border:none;display:inline-block;overflow:hidden;width:199px;hei=
ght:34px"><img src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1o=
KevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9=
KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"34" styl=
e=3D"margin-left: 0px; margin-top: 0px;"></span></span></p></td><td style=
=3D"border-width:1pt;border-style:solid;border-color:rgb(255,255,255) rgb(2=
55,255,255) rgb(255,255,255) rgb(204,204,204);vertical-align:top;padding:5p=
t;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt =
solid rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border-top:1=
pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"=
font-size:11pt;font-family:Lato,sans-serif;background-color:transparent;fon=
t-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Parad</sp=
an></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt solid rgb(25=
5,255,255);border-right:1pt solid rgb(255,255,255);border-bottom:1pt solid =
rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans=
-serif"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, C=
TO</span></font></p></td></tr></tbody></table><span style=3D"font-size:x-sm=
all">Secure your user data with IAM authorization as a service. Implement=
=C2=A0</span><a href=3D"https://authress.io/" style=3D"font-size:x-small" t=
arget=3D"_blank">Authress</a><span style=3D"font-size:x-small">.</span><br>=
</div></div></div><br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Fri, Dec 3, 2021 at 12:22 AM Mike Jones &l=
t;Michael.Jones=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org">40micro=
soft.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">





<div lang=3D"EN-US" style=3D"overflow-wrap: break-word;">
<div class=3D"gmail-m_4440014231398409192WordSection1">
<p class=3D"MsoNormal">Thanks for this thoughtful analysis, Aaron.=C2=A0 I =
believe you=E2=80=99re spot on that these attacks can occur =E2=80=9Cwhen t=
he attacker has access to both the authorization code as well as the PKCE c=
ode verifier.=E2=80=9D<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt; <b>On Behalf =
Of </b>
Aaron Parecki<br>
<b>Sent:</b> Thursday, December 2, 2021 2:58 PM<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;; <a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org=
</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">Hi all, I&#39;ve been giving this some more thought.=
=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The problem occurs when the attacker has access to b=
oth the authorization code as well as the PKCE code verifier. The assumptio=
n being made with PKCE is that the first time the PKCE code verifier and au=
thorization code are seen together
 is in the POST request to the token endpoint. That means if there is a way=
 to observe this request, the attacker can complete the exchange and get an=
 access token.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pieter&#39;s writeup in the PDF describes one way th=
at can happen, by exfiltrating log files. While I still agree with the sent=
iment in this thread that this is a relatively obscure condition, I also ag=
ree that it is actually something that
 can happen in the wild, especially since there are entire companies built =
around the idea of real-time log file analysis.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">That said, there are other ways an attacker could ge=
t access to these two pieces of information. What are the different points =
in a request lifecycle that could be attacked? The beginning, the middle an=
d the end. We&#39;ve talked about attacking
 the end, which is the log file example. Attacking the middle involves bein=
g in the middle of the TLS connection, which we also know is possible with =
corporate network proxies and such. We haven&#39;t yet talked about the beg=
inning of the request. What can observe
 the beginning of a request? Here&#39;s a concrete example:<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Assume the OAuth client is a single-page app in a br=
owser. The user is using an ad blocker installed as a browser extension. Th=
e ad blocker can be configured to observe and block network requests before=
 they are made. If the extension is
 configured to attack a particular OAuth server, the JS client would make t=
he token request containing the authorization code and PKCE code verifier, =
then the extension would be able to observe that request, block it, and shi=
p the two values to the attacker&#39;s
 server where they can be redeemed and associated with the attacker&#39;s o=
wn DPoP key. Even perfectly single-use authorization codes don&#39;t help h=
ere either, because the original request was completely blocked.<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">(Sidenote: To get ahead of any counterarguments=C2=
=A0here, yes, Chrome is eventually migrating to their new &quot;manifest v3=
&quot; which deprecates the webRequest API that allows this observation in =
favor of a different API that lets the browser block
 requests without making the actual request data available to the extension=
, which I am assuming they are doing in no small part because of the possib=
ility of what I just described. It sounds like Mozilla is going to follow s=
uit, but I haven&#39;t found concrete
 confirmation of that. That said, it will be a while before these changes a=
re rolled out and support for the (dangerous) webRequest API is fully dropp=
ed, so this is likely going to continue to be a potential attack vector for=
 a few years at least.)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Because of the ease of deployment of a malicious bro=
wser extension, I do believe this is an important attack vector to consider=
 and is worth solving. I am going to save any judgment on the particular dp=
op_jwk parameter proposal for a different
 thread, but I wanted to at least get on the same page about the fact that =
this is something worth solving first.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 10:38 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal">The only mention of sophistication is this logical f=
allacy:<u></u><u></u></p>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<p class=3D"MsoNormal">=C2=A0If this leading security company had been pene=
trated, it almost certainly took an incredibly sophisticated attack.<u></u>=
<u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But it leaves out exactly what that was. And it does=
n&#39;t give any insight into how this attack at MS would have been prevent=
ed despite the supply chain vulnerability based on the second point that Aa=
ron made. If they are able to get the
 auth code, why aren&#39;t they able to get the DPoP signature? And then se=
nd both of these?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Further in this case, it doesn&#39;t even matter if the attacker gets the a=
ccess token if that access token is bound to the client, because it&#39;s w=
orthless without the DPoP key. That&#39;s a much more secure solution than =
issuing non-bound Bearer tokens as a response
 to the bound authorization code. And if Bearer tokens are being used inste=
ad of bound tokens, then those could still end up in the logs, and be exfil=
trated.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">In OAuth, the=C2=A0client already needs to authentic=
ate with the AS, the spec is SHOULD, and options the client_secret already.=
 Adding in the DPoP signature into the request is duplicating auth. If we d=
on&#39;t like the client auth mechanisms to
 the AS, we should directly provide an auth RFC recommending better alterna=
tives than sending a symmetric client_secret back to the AS.<u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_4440014231398409192_x0000_i1026" src=3D"https://lh6=
.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbA=
PtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8k=
WcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://authress.io/" target=3D"_blank"><span style=3D"font-size:10pt">Authress=
</span></a><span style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the comments and eng=
agement Warren.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The attacks we described and th=
e ideas on mitigations are born out of attack vectors we are observing in t=
he wild. They are not negligible. We are seeing a new
 class of very sophisticated attackers, and if you=E2=80=99re interested, t=
his article provides good context on capability and sophistication of the a=
ttackers
<a href=3D"https://www.fastcompany.com/90672384/microsoft-president-brad-sm=
ith-solarwinds-exclusive" target=3D"_blank">
Brad Smith: Inside Microsoft during the SolarWinds hack (fastcompany.com)</=
a>. We are sharing this with the hope that the industry will benefit from o=
ur experiences and incorporate it into standards and products. Attacks that=
 seemed impossibly complex are not
 only possible, but have become probable. <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed changes for DPoP a=
re not meant to replace the need for one-time use tokens (single use tokens=
 are preferable and we should continue to expect them),
 but instead address the limitations around implementing one-time use, espe=
cially at scale. The 60s window you mention below is sufficiently long to b=
e exploited by these sophisticated attackers.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<p class=3D"MsoNormal"><span lang=3D"EN-IE">(e.g. one-time use in a certain=
 timeframe etc).<u></u><u></u></span></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sure but couldn&#39;t we just r=
educe the lifetime? Even if the token isn&#39;t one time use, surely the re=
use time is trivially short which would prevent against exfiltration
 of the necessary security tokens to issue the attack?<u></u><u></u></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like the simpler=C2=A0so=
lution will always win, which in this case is one-time use tokens, then the=
 problem is moot, right? So this only comes into play if
 you want to allow token reuse in a time window. The previously suggested m=
ax allowed time window from OAuth 2.1 was 60s for auth codes. So we are say=
ing that the attack surface is still too large, for the .01% of implementat=
ions that have multi-use tokens,
 and the .01% of implementations that use the maximum 60s reuse, and then t=
he subset of those that aren&#39;t correctly scrubing their logs, and then =
the subset of those that have a vulnerability which allows for exfiltration=
 of both those logged tokens and the
 logged PKCE verifier?<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Why are we making this more com=
plicated for a majority of cases, which:<u></u><u></u></span></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
<span lang=3D"EN-IE">Only have single use tokens<u></u><u></u></span></li><=
li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Only have a very short lifetime<u></u><u></u></span=
></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Are already correctly sanitizing their logs<u></u><=
u></u></span></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Have defense in depth for their deployments.<u></u>=
<u></u></span></li></ul>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">If the implementation is so ins=
ecure that none of those are happening, wouldn&#39;t the implementation for=
 this functionality also be suspect for an opportunity for
 attack?<u></u><u></u></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like we are justifying h=
ere that multi-use tokens are wrong, but still want a solution to use them.=
 Once we&#39;ve proven that an deployment is not okay with
 using multi-use tokens, then the conclusion should be &quot;don&#39;t have=
 multi-use tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, =
but come up with a complex way to prevent their multi-use from accidentally=
 being abused&quot;.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Or am I missing something that =
would actually make this a non-negligible=C2=A0attack vector?<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">- Warren<u></u><u></u></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0in"><img border=3D"0" width=3D"199=
" height=3D"34" style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_=
4440014231398409192_x0000_i1025" src=3D"https://lh6.googleusercontent.com/D=
NiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBh=
aZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><u></u>=
<u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span lang=3D"EN-IE" style=3D"font-size:10pt">Secure=
 your user data with IAM authorization as a service. Implement=C2=A0</span>=
<span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselm=
an%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91a=
b2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi=
MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHCz6zXmW1PROTSc%3D&amp;reserved=3D0" tar=
get=3D"_blank"><span style=3D"font-size:10pt">Authress</span></a></span><sp=
an lang=3D"EN-IE" style=3D"font-size:10pt">.</span><span lang=3D"EN-IE"><u>=
</u><u></u></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Wed, Dec 1, 2021 at 4:14 PM =
Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@d=
marc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Hi Aaron, Neil<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the questions.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">We agree that ideally authoriza=
tion codes and PKCE proofs would never end up in log files and one-time use=
 would be perfectly implemented.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">However, in practice these arte=
facts do find their way into log files in various places and one-time use m=
ay not always be practical (e.g. one-time use in a certain
 timeframe etc). <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The addition of these mitigatio=
ns is not meant to replace the need for one-time use or good logging hygien=
e. Instead they provide pragmatic defence in depth against
 real attacks rather than assuming perfect implementations. We are deployin=
g these mitigations and are sharing them for inclusion in DPoP to enable ot=
hers to do the same.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Regarding the question about in=
terrupting/intercepting the HTTPS connection, the attacker don=E2=80=99t ne=
ed to intercept the HTTPS connection or modify the content in
 the TLS tunnel, rather they just need to prevent the authorization code fr=
om being presented to the Authorization Server. It may even happen due to a=
 poor network connection. The poor connection may be engineered by an attac=
ker, or they may opportunistically
 benefit from it. The networks are not perfect either.<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=
=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">o=
auth-bounces@ietf.org</span></a></span>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<span lang=3D"EN-IE"><a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forger=
ock.com</span></a></span>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<span lang=3D"EN-IE"><a href=3D"m=
ailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US=
">40microsoft.com@dmarc.ietf.org</span></a></span>&gt;;
<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth@ietf.org</span></a></span><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I tend to agree with Neil here.=
 I&#39;m struggling to see the relevance of this attack.=C2=A0<u></u><u></u=
></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">It seems like the PDF writeup d=
escribes two possible reasons an attacker could get access to the authoriza=
tion code and PKCE code verifier.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">1. The attacker has access to t=
he logs of the token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">2. The attacker can intercept H=
TTPS connections between the client and AS (VPN, corporate network proxy, e=
tc)<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 1, the solution is to stop =
logging the contents of the POST body, and secure your infrastructure. I do=
n&#39;t think making the client jump through extra hoops
 is a good solution if you are already logging more than you should be or y=
ou don&#39;t trust the people who have access to the infrastructure. If thi=
s really is a concern, I suspect there are a lot more places in the flow th=
at would need to be patched up if you
 don&#39;t trust your own token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 2, if the attacker can inte=
rcept the HTTPS connection, then the proposed solution doesn&#39;t add anyt=
hing because the attacker could modify the requests before
 it hits the authorization server anyway, and change which DPoP key the tok=
en gets bound to in the first place. Plus, the attacker would also have acc=
ess to anything else the client is sending to the AS, such as the user&#39;=
s password when they authenticate at
 the AS.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Are there other attack vectors =
I&#39;m missing that might actually be solved by this mechanism?<u></u><u><=
/u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Aaron<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Tue, Nov 30, 2021 at 12:40 P=
M Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_b=
lank">neil.madden@forgerock.com</a>&gt; wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sadly I couldn=E2=80=99t make t=
he DPoP session, but I=E2=80=99m not convinced the attack described in the =
earlier message really needs to be prevented at all. The attack largely
 hinges on auth codes not being one-time use, which is not a good idea, or =
otherwise on poor network security on the token endpoint. I=E2=80=99m not c=
onvinced DPoP needs to protect against these things. Is there more to this?=
<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed solutions also see=
m susceptible to the same problems they attempt to solve - if an attacker i=
s somehow able to interrupt the client=E2=80=99s (TLS-protected)
 token request, why are they somehow not able to interrupt/modify the (far =
less protected) redirect to the authorization endpoint?<u></u><u></u></span=
></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=E2=80=94 Neil<u></u><u></u></s=
pan></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-IE">=
=C2=A0<u></u><u></u></span></p>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On 30 Nov 2021, at 20:15, Mike =
Jones &lt;<a href=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org"=
 target=3D"_blank">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">As described during the OAuth S=
ecurity Workshop session on DPoP, I created a pull request adding the dpop_=
jkt authorization request parameter to use for binding
 the authorization code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=
=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" t=
arget=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://github.com/dan=
ielfett/draft-dpop/pull/89</span></a>.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">This is an alternative to=C2=A0=
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserv=
ed=3D0" target=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://githu=
b.com/danielfett/draft-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Please review and comment.=C2=
=A0 Note that I plan to add more of the attack description written by Piete=
r Kasselman to the security considerations in a future commit.=C2=A0
 This attack description was sent by Pieter yesterday in a message with the=
 subject =E2=80=9CAuthorization Code Log File Attack (was DPoP Interim Meet=
ing Minutes)=E2=80=9D.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mi=
ke<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE" style=3D"font-size:10.5pt;font-=
family:&quot;Times New Roman&quot;,serif">_________________________________=
______________<br>
OAuth mailing list<br>
</span><span lang=3D"EN-IE"><a href=3D"mailto:OAuth@ietf.org" target=3D"_bl=
ank"><span style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot=
;,serif;color:rgb(5,99,193)">OAuth@ietf.org</span></a></span><span lang=3D"=
EN-IE" style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot;,se=
rif"><br>
</span><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&a=
mp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd6415=
08d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773969384758090=
5%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSz=
n%2FS%2FE%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:1=
0.5pt;font-family:&quot;Times New Roman&quot;,serif;color:rgb(5,99,193)">ht=
tps://www.ietf.org/mailman/listinfo/oauth</span></a><u></u><u></u></span></=
p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/oauth</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--000000000000056fb205d2400791--


From nobody Fri Dec  3 08:22:40 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 974713A0C1C for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 08:22:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 hVb02PInzw6j for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 08:22:27 -0800 (PST)
Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (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 191F03A0BDE for <oauth@ietf.org>; Fri,  3 Dec 2021 08:22:27 -0800 (PST)
Received: by mail-yb1-xb29.google.com with SMTP id q74so10734343ybq.11 for <oauth@ietf.org>; Fri, 03 Dec 2021 08:22:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4XFiqPiOgh0WGHilzKmIgtRkpCbw9xFbzeqxrTPmPGY=; b=OGRt7OR9wURNKir1oA0/AAdFwScsQYf9dMgWdK1/sfiqhEzwKzhYAF4qaWxi4YkeU7 b4oZLaElSGs7nVeL5NJoM2GaI1pBoCZtd/2rNuKQfRB0rZLit/0LQOBY1eKi/6gbXJac 9bTWrr94swJIRMGwnJQ1+uwzwran3msvIbNukdi1dbR90Kf8wT/G4hpraoH7jUHtBj9O UhcBGz9xQr+F4rNbTGMFp/QDwlJsXsPA2mydPK+7q64zxos2GoMV9Ce+NlTZ+KGpAgXQ qJ1ReLKSDMZ+bAWTl6DSiQBWBFHu8ExGKnORgcARro8AfWYVvhXVCQk/mf19uAgvQ0VD 8OCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4XFiqPiOgh0WGHilzKmIgtRkpCbw9xFbzeqxrTPmPGY=; b=6Jf7WNxz5tjA7UVpJ9BwAESNXIxdgBYorTNhTHgcZIUfvGW2i1Rx5zNzk19OdqZnuo UZNB1PiDQBimTcy5WGxaA+bjc3b7U5nsXUCUFCikBmr//hFBl5Xx0GDIVsLSj8NkbrJT ImXFyyx/K7T7xO7bsZkGyTfrEhEx08aBFNNR4VpUDbApUnI6/W4cYIE9Y6whjT+7Pre+ avZX2Vc2FHZ0l0gePTEMIyLbWJxVrFtM0w6PZXP/rjcoJWAd+g3GtyLnH8/+n9heh9sB KSbZTAiWi98Kah97g+MzYqWxjtrkbL3C9kK00MiI1HEf9KHT2gcTwFmhpjpX/uW59/x6 Yzag==
X-Gm-Message-State: AOAM5322hdtItqMTtP4boKhtpsLG2FJspwKgJdciA6eJLm4GxyGIx492 BusIGTvSoxxzwYr2vpIigstuFWvCoI3ZsarROzFk
X-Google-Smtp-Source: ABdhPJxDz8DgIwizYVM/pavaRUHSx6sn6viSVg+HBI/1VAXYiNBRNcFuo1R3ual+nA9DNGdhk7CsaIx6Bsz7T6KW3jw=
X-Received: by 2002:a25:6744:: with SMTP id b65mr23534565ybc.57.1638548544922;  Fri, 03 Dec 2021 08:22:24 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com> <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com> <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com>
In-Reply-To: <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Fri, 3 Dec 2021 17:22:14 +0100
Message-ID: <CAJot-L10T-ihs-b5yu0-=9i7LEFME+05enpNYE-eJRZJ5UWN-g@mail.gmail.com>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
Cc: Aaron Parecki <aaron@parecki.com>, Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>,  Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>,  "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f7c05805d2404f71"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/N43ha-FzFc6AxdAeU4B3Xc-hna0>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 16:22:39 -0000

--000000000000f7c05805d2404f71
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I think the allowed keys would have to be pre-registered in the AS.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Fri, Dec 3, 2021 at 5:01 PM Warren Parad <wparad@rhosys.ch> wrote:

> While I agree this is a problem, adding the thumbprint to the
> authorization request only increases the difficulty for the malicious MIT=
M
> attack to need to also intercept the authorization request in addition to
> the token request to swap out the dpop_jkt as well. If I'm right, then it
> doesn't make sense to implement this as the solution.
>
> While I agree, we could move the dpop_jwk determination to the
> authorization request, instead of the token, it doesn't solve the problem=
.
> What it does say is that the authorization request user-agent is the one
> that has the key, and not the one doing the code exchange. Well this is
> actually weird in the case of non-public clients, because it doesn't make
> sense from that client perspective, as the "front-end" would need to now
> have the constructed dpop_jkt even though it doesn't have the dpop key.
>
> Warren Parad
>
> Founder, CTO
> Secure your user data with IAM authorization as a service. Implement
> Authress <https://authress.io/>.
>
>
> On Fri, Dec 3, 2021 at 12:22 AM Mike Jones <Michael.Jones=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
>> Thanks for this thoughtful analysis, Aaron.  I believe you=E2=80=99re sp=
ot on
>> that these attacks can occur =E2=80=9Cwhen the attacker has access to bo=
th the
>> authorization code as well as the PKCE code verifier.=E2=80=9D
>>
>>
>>
>>                                                        -- Mike
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of * Aaron Parecki
>> *Sent:* Thursday, December 2, 2021 2:58 PM
>> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
>> *Cc:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.or=
g>;
>> oauth@ietf.org
>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
>> Parameter
>>
>>
>>
>> Hi all, I've been giving this some more thought.
>>
>>
>>
>> The problem occurs when the attacker has access to both the authorizatio=
n
>> code as well as the PKCE code verifier. The assumption being made with P=
KCE
>> is that the first time the PKCE code verifier and authorization code are
>> seen together is in the POST request to the token endpoint. That means i=
f
>> there is a way to observe this request, the attacker can complete the
>> exchange and get an access token.
>>
>>
>>
>> Pieter's writeup in the PDF describes one way that can happen, by
>> exfiltrating log files. While I still agree with the sentiment in this
>> thread that this is a relatively obscure condition, I also agree that it=
 is
>> actually something that can happen in the wild, especially since there a=
re
>> entire companies built around the idea of real-time log file analysis.
>>
>>
>>
>> That said, there are other ways an attacker could get access to these tw=
o
>> pieces of information. What are the different points in a request lifecy=
cle
>> that could be attacked? The beginning, the middle and the end. We've tal=
ked
>> about attacking the end, which is the log file example. Attacking the
>> middle involves being in the middle of the TLS connection, which we also
>> know is possible with corporate network proxies and such. We haven't yet
>> talked about the beginning of the request. What can observe the beginnin=
g
>> of a request? Here's a concrete example:
>>
>>
>>
>> Assume the OAuth client is a single-page app in a browser. The user is
>> using an ad blocker installed as a browser extension. The ad blocker can=
 be
>> configured to observe and block network requests before they are made. I=
f
>> the extension is configured to attack a particular OAuth server, the JS
>> client would make the token request containing the authorization code an=
d
>> PKCE code verifier, then the extension would be able to observe that
>> request, block it, and ship the two values to the attacker's server wher=
e
>> they can be redeemed and associated with the attacker's own DPoP key. Ev=
en
>> perfectly single-use authorization codes don't help here either, because
>> the original request was completely blocked.
>>
>>
>>
>> (Sidenote: To get ahead of any counterarguments here, yes, Chrome is
>> eventually migrating to their new "manifest v3" which deprecates the
>> webRequest API that allows this observation in favor of a different API
>> that lets the browser block requests without making the actual request d=
ata
>> available to the extension, which I am assuming they are doing in no sma=
ll
>> part because of the possibility of what I just described. It sounds like
>> Mozilla is going to follow suit, but I haven't found concrete confirmati=
on
>> of that. That said, it will be a while before these changes are rolled o=
ut
>> and support for the (dangerous) webRequest API is fully dropped, so this=
 is
>> likely going to continue to be a potential attack vector for a few years=
 at
>> least.)
>>
>>
>>
>> Because of the ease of deployment of a malicious browser extension, I do
>> believe this is an important attack vector to consider and is worth
>> solving. I am going to save any judgment on the particular dpop_jwk
>> parameter proposal for a different thread, but I wanted to at least get =
on
>> the same page about the fact that this is something worth solving first.
>>
>>
>>
>> Aaron
>>
>>
>>
>>
>>
>> On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D
>> 40rhosys.ch@dmarc.ietf.org> wrote:
>>
>> The only mention of sophistication is this logical fallacy:
>>
>>  If this leading security company had been penetrated, it almost
>> certainly took an incredibly sophisticated attack.
>>
>>
>>
>> But it leaves out exactly what that was. And it doesn't give any insight
>> into how this attack at MS would have been prevented despite the supply
>> chain vulnerability based on the second point that Aaron made. If they a=
re
>> able to get the auth code, why aren't they able to get the DPoP signatur=
e?
>> And then send both of these?
>>
>>
>> Further in this case, it doesn't even matter if the attacker gets the
>> access token if that access token is bound to the client, because it's
>> worthless without the DPoP key. That's a much more secure solution than
>> issuing non-bound Bearer tokens as a response to the bound authorization
>> code. And if Bearer tokens are being used instead of bound tokens, then
>> those could still end up in the logs, and be exfiltrated.
>>
>>
>>
>> In OAuth, the client already needs to authenticate with the AS, the spec
>> is SHOULD, and options the client_secret already. Adding in the DPoP
>> signature into the request is duplicating auth. If we don't like the cli=
ent
>> auth mechanisms to the AS, we should directly provide an auth RFC
>> recommending better alternatives than sending a symmetric client_secret
>> back to the AS.
>>
>>
>>
>> *Warren Parad*
>>
>> Founder, CTO
>>
>> Secure your user data with IAM authorization as a service. Implement
>> Authress <https://authress.io/>.
>>
>>
>>
>>
>>
>> On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
>> 40microsoft.com@dmarc.ietf.org> wrote:
>>
>> Thanks for the comments and engagement Warren.
>>
>>
>>
>> The attacks we described and the ideas on mitigations are born out of
>> attack vectors we are observing in the wild. They are not negligible. We
>> are seeing a new class of very sophisticated attackers, and if you=E2=80=
=99re
>> interested, this article provides good context on capability and
>> sophistication of the attackers Brad Smith: Inside Microsoft during the
>> SolarWinds hack (fastcompany.com)
>> <https://www.fastcompany.com/90672384/microsoft-president-brad-smith-sol=
arwinds-exclusive>.
>> We are sharing this with the hope that the industry will benefit from ou=
r
>> experiences and incorporate it into standards and products. Attacks that
>> seemed impossibly complex are not only possible, but have become probabl=
e.
>>
>>
>>
>> The proposed changes for DPoP are not meant to replace the need for
>> one-time use tokens (single use tokens are preferable and we should
>> continue to expect them), but instead address the limitations around
>> implementing one-time use, especially at scale. The 60s window you menti=
on
>> below is sufficiently long to be exploited by these sophisticated attack=
ers.
>>
>>
>>
>> Cheers
>>
>>
>>
>> Pieter
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
>> *Sent:* Wednesday 1 December 2021 15:29
>> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.or=
g>
>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>> oauth@ietf.org
>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
>> Parameter
>>
>>
>>
>> (e.g. one-time use in a certain timeframe etc).
>>
>>
>>
>> Sure but couldn't we just reduce the lifetime? Even if the token isn't
>> one time use, surely the reuse time is trivially short which would preve=
nt
>> against exfiltration of the necessary security tokens to issue the attac=
k?
>>
>>
>>
>> I feel like the simpler solution will always win, which in this case is
>> one-time use tokens, then the problem is moot, right? So this only comes
>> into play if you want to allow token reuse in a time window. The previou=
sly
>> suggested max allowed time window from OAuth 2.1 was 60s for auth codes.=
 So
>> we are saying that the attack surface is still too large, for the .01% o=
f
>> implementations that have multi-use tokens, and the .01% of implementati=
ons
>> that use the maximum 60s reuse, and then the subset of those that aren't
>> correctly scrubing their logs, and then the subset of those that have a
>> vulnerability which allows for exfiltration of both those logged tokens =
and
>> the logged PKCE verifier?
>>
>>
>>
>> Why are we making this more complicated for a majority of cases, which:
>>
>>    - Only have single use tokens
>>    - Or Only have a very short lifetime
>>    - Or Are already correctly sanitizing their logs
>>    - Or Have defense in depth for their deployments.
>>
>> If the implementation is so insecure that none of those are happening,
>> wouldn't the implementation for this functionality also be suspect for a=
n
>> opportunity for attack?
>>
>>
>>
>> I feel like we are justifying here that multi-use tokens are wrong, but
>> still want a solution to use them. Once we've proven that an deployment =
is
>> not okay with using multi-use tokens, then the conclusion should be "don=
't
>> have multi-use tokens", not: "let's still have multi-use tokens, but com=
e
>> up with a complex way to prevent their multi-use from accidentally being
>> abused".
>>
>>
>>
>> Or am I missing something that would actually make this a
>> non-negligible attack vector?
>>
>>
>>
>> - Warren
>>
>>
>>
>> *Warren Parad*
>>
>> Founder, CTO
>>
>> Secure your user data with IAM authorization as a service. Implement
>> Authress
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Faut=
hress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfb=
b48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773969=
3847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJH=
Cz6zXmW1PROTSc%3D&reserved=3D0>
>> .
>>
>>
>>
>>
>>
>> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
>> 40microsoft.com@dmarc.ietf.org> wrote:
>>
>> Hi Aaron, Neil
>>
>>
>>
>> Thanks for the questions.
>>
>>
>>
>> We agree that ideally authorization codes and PKCE proofs would never en=
d
>> up in log files and one-time use would be perfectly implemented.
>>
>>
>>
>> However, in practice these artefacts do find their way into log files in
>> various places and one-time use may not always be practical (e.g. one-ti=
me
>> use in a certain timeframe etc).
>>
>>
>>
>> The addition of these mitigations is not meant to replace the need for
>> one-time use or good logging hygiene. Instead they provide pragmatic
>> defence in depth against real attacks rather than assuming perfect
>> implementations. We are deploying these mitigations and are sharing them
>> for inclusion in DPoP to enable others to do the same.
>>
>>
>>
>> Regarding the question about interrupting/intercepting the HTTPS
>> connection, the attacker don=E2=80=99t need to intercept the HTTPS conne=
ction or
>> modify the content in the TLS tunnel, rather they just need to prevent t=
he
>> authorization code from being presented to the Authorization Server. It =
may
>> even happen due to a poor network connection. The poor connection may be
>> engineered by an attacker, or they may opportunistically benefit from it=
.
>> The networks are not perfect either.
>>
>>
>>
>> Cheers
>>
>>
>>
>> Pieter
>>
>>
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
>> *Sent:* Wednesday 1 December 2021 00:05
>> *To:* Neil Madden <neil.madden@forgerock.com>
>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>> oauth@ietf.org
>> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
>> Parameter
>>
>>
>>
>> I tend to agree with Neil here. I'm struggling to see the relevance of
>> this attack.
>>
>>
>>
>> It seems like the PDF writeup describes two possible reasons an attacker
>> could get access to the authorization code and PKCE code verifier.
>>
>>
>>
>> 1. The attacker has access to the logs of the token endpoint.
>>
>> 2. The attacker can intercept HTTPS connections between the client and A=
S
>> (VPN, corporate network proxy, etc)
>>
>>
>>
>> For 1, the solution is to stop logging the contents of the POST body, an=
d
>> secure your infrastructure. I don't think making the client jump through
>> extra hoops is a good solution if you are already logging more than you
>> should be or you don't trust the people who have access to the
>> infrastructure. If this really is a concern, I suspect there are a lot m=
ore
>> places in the flow that would need to be patched up if you don't trust y=
our
>> own token endpoint.
>>
>>
>>
>> For 2, if the attacker can intercept the HTTPS connection, then the
>> proposed solution doesn't add anything because the attacker could modify
>> the requests before it hits the authorization server anyway, and change
>> which DPoP key the token gets bound to in the first place. Plus, the
>> attacker would also have access to anything else the client is sending t=
o
>> the AS, such as the user's password when they authenticate at the AS.
>>
>>
>>
>> Are there other attack vectors I'm missing that might actually be solved
>> by this mechanism?
>>
>>
>>
>> Aaron
>>
>>
>>
>>
>>
>> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com>
>> wrote:
>>
>> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not conv=
inced the attack
>> described in the earlier message really needs to be prevented at all. Th=
e
>> attack largely hinges on auth codes not being one-time use, which is not=
 a
>> good idea, or otherwise on poor network security on the token endpoint. =
I=E2=80=99m
>> not convinced DPoP needs to protect against these things. Is there more =
to
>> this?
>>
>>
>>
>> The proposed solutions also seem susceptible to the same problems they
>> attempt to solve - if an attacker is somehow able to interrupt the clien=
t=E2=80=99s
>> (TLS-protected) token request, why are they somehow not able to
>> interrupt/modify the (far less protected) redirect to the authorization
>> endpoint?
>>
>>
>>
>> =E2=80=94 Neil
>>
>>
>>
>> On 30 Nov 2021, at 20:15, Mike Jones <
>> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>>
>>
>>
>> As described during the OAuth Security Workshop session on DPoP, I
>> created a pull request adding the dpop_jkt authorization request paramet=
er
>> to use for binding the authorization code to the client=E2=80=99s DPoP k=
ey.  See
>> https://github.com/danielfett/draft-dpop/pull/89
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kasse=
lman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIj=
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&reserved=3D0>
>> .
>>
>>
>>
>> This is an alternative to
>> https://github.com/danielfett/draft-dpop/pull/86
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kasse=
lman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIj=
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>,
>> which achieved this binding using a new DPoP PKCE method.  Using this
>> alternative allows PKCE implementations to be unmodified, while adding D=
PoP
>> in new code, which may be an advantage in some deployments.
>>
>>
>>
>> Please review and comment.  Note that I plan to add more of the attack
>> description written by Pieter Kasselman to the security considerations i=
n a
>> future commit.  This attack description was sent by Pieter yesterday in =
a
>> message with the subject =E2=80=9CAuthorization Code Log File Attack (wa=
s DPoP
>> Interim Meeting Minutes)=E2=80=9D.
>>
>>
>>
>>                                                        -- Mike
>>
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0p=
dcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0p=
dcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0p=
dcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>

--000000000000f7c05805d2404f71
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I think the allowed keys would have to be pre-registe=
red=C2=A0in the AS.</div><div><br></div><div><div dir=3D"ltr" data-smartmai=
l=3D"gmail_signature"><div dir=3D"ltr"><table style=3D"border:none;border-c=
ollapse:collapse"><colgroup><col width=3D"214"><col width=3D"110"></colgrou=
p><tbody><tr style=3D"height:0pt"><td style=3D"border-left:solid #ffffff 1p=
t;border-right:solid #cccccc 1pt;border-bottom:solid #ffffff 1pt;border-top=
:solid #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidd=
en"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;b=
order-right:solid #ffffff 1pt;border-top:solid #ffffff 1pt;border-bottom:so=
lid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:=
11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertic=
al-align:baseline;white-space:pre-wrap"><span style=3D"border:none;display:=
inline-block;overflow:hidden;width:199px;height:34px"><img src=3D"https://l=
h6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUK=
bAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc=
8kWcUSNtuA" width=3D"199" height=3D"34" style=3D"margin-left:0px;margin-top=
:0px"></span></span></p></td><td style=3D"border-left:solid #cccccc 1pt;bor=
der-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;border-top:soli=
d #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><=
p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;border=
-right:solid #ffffff 1pt;border-top:solid #ffffff 1pt;margin-top:0pt;margin=
-bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,sans-serif;back=
ground-color:transparent;font-weight:700;vertical-align:baseline;white-spac=
e:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;=
border-left:solid #ffffff 1pt;border-right:solid #ffffff 1pt;border-bottom:=
solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, san=
s-serif"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, =
CTO</span></font></p></td></tr></tbody></table><span style=3D"font-size:x-s=
mall">Secure your user data with IAM authorization as a service. Implement=
=C2=A0</span><a href=3D"https://authress.io/" style=3D"font-size:x-small" t=
arget=3D"_blank">Authress</a><span style=3D"font-size:x-small">.</span><br>=
</div></div></div><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"=
 class=3D"gmail_attr">On Fri, Dec 3, 2021 at 5:01 PM Warren Parad &lt;<a hr=
ef=3D"mailto:wparad@rhosys.ch" target=3D"_blank">wparad@rhosys.ch</a>&gt; w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div>While I agree this is a problem, adding the thumbprint to the=
 authorization request only increases the difficulty for the malicious MITM=
 attack to need to also intercept the authorization request in addition to =
the token request to swap out the dpop_jkt as well. If I&#39;m right, then =
it doesn&#39;t make sense to implement this as the solution.</div><div><br>=
</div><div>While I agree, we could move the dpop_jwk determination to the a=
uthorization request, instead of the token, it doesn&#39;t solve the proble=
m. What it does say is that the authorization request user-agent is the one=
 that has the key, and not the one doing the code exchange. Well this is ac=
tually weird in the case of non-public clients, because it doesn&#39;t make=
 sense from that client perspective, as the &quot;front-end&quot; would nee=
d to now have the constructed dpop_jkt even though it doesn&#39;t have the =
dpop key.</div><div><br></div><div><div><div dir=3D"ltr"><div dir=3D"ltr"><=
table style=3D"border:none;border-collapse:collapse"><colgroup><col width=
=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"height:0pt"><td =
style=3D"border-width:1pt;border-style:solid;border-color:rgb(255,255,255) =
rgb(204,204,204) rgb(255,255,255) rgb(255,255,255);vertical-align:top;paddi=
ng:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-widt=
h:1pt;border-style:solid;border-color:rgb(255,255,255);margin-top:0pt;margi=
n-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0=
,0);background-color:transparent;vertical-align:baseline;white-space:pre-wr=
ap"><span style=3D"border:none;display:inline-block;overflow:hidden;width:1=
99px;height:34px"><img src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrS=
qMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45Y=
Oc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"=
34" style=3D"margin-left: 0px; margin-top: 0px;"></span></span></p></td><td=
 style=3D"border-width:1pt;border-style:solid;border-color:rgb(255,255,255)=
 rgb(255,255,255) rgb(255,255,255) rgb(204,204,204);vertical-align:top;padd=
ing:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-lef=
t:1pt solid rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border=
-top:1pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span sty=
le=3D"font-size:11pt;font-family:Lato,sans-serif;background-color:transpare=
nt;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Par=
ad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt solid =
rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border-bottom:1pt =
solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato=
, sans-serif"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Foun=
der, CTO</span></font></p></td></tr></tbody></table><span style=3D"font-siz=
e:x-small">Secure your user data with IAM authorization as a service. Imple=
ment=C2=A0</span><a href=3D"https://authress.io/" style=3D"font-size:x-smal=
l" target=3D"_blank">Authress</a><span style=3D"font-size:x-small">.</span>=
<br></div></div></div><br></div></div><br><div class=3D"gmail_quote"><div d=
ir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 3, 2021 at 12:22 AM Mike Jones =
&lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" targe=
t=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal">Thanks for this thoughtful analysis, Aaron.=C2=A0 I =
believe you=E2=80=99re spot on that these attacks can occur =E2=80=9Cwhen t=
he attacker has access to both the authorization code as well as the PKCE c=
ode verifier.=E2=80=9D<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt; <b>On Behalf =
Of </b>
Aaron Parecki<br>
<b>Sent:</b> Thursday, December 2, 2021 2:58 PM<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;; <a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org=
</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">Hi all, I&#39;ve been giving this some more thought.=
=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The problem occurs when the attacker has access to b=
oth the authorization code as well as the PKCE code verifier. The assumptio=
n being made with PKCE is that the first time the PKCE code verifier and au=
thorization code are seen together
 is in the POST request to the token endpoint. That means if there is a way=
 to observe this request, the attacker can complete the exchange and get an=
 access token.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pieter&#39;s writeup in the PDF describes one way th=
at can happen, by exfiltrating log files. While I still agree with the sent=
iment in this thread that this is a relatively obscure condition, I also ag=
ree that it is actually something that
 can happen in the wild, especially since there are entire companies built =
around the idea of real-time log file analysis.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">That said, there are other ways an attacker could ge=
t access to these two pieces of information. What are the different points =
in a request lifecycle that could be attacked? The beginning, the middle an=
d the end. We&#39;ve talked about attacking
 the end, which is the log file example. Attacking the middle involves bein=
g in the middle of the TLS connection, which we also know is possible with =
corporate network proxies and such. We haven&#39;t yet talked about the beg=
inning of the request. What can observe
 the beginning of a request? Here&#39;s a concrete example:<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Assume the OAuth client is a single-page app in a br=
owser. The user is using an ad blocker installed as a browser extension. Th=
e ad blocker can be configured to observe and block network requests before=
 they are made. If the extension is
 configured to attack a particular OAuth server, the JS client would make t=
he token request containing the authorization code and PKCE code verifier, =
then the extension would be able to observe that request, block it, and shi=
p the two values to the attacker&#39;s
 server where they can be redeemed and associated with the attacker&#39;s o=
wn DPoP key. Even perfectly single-use authorization codes don&#39;t help h=
ere either, because the original request was completely blocked.<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">(Sidenote: To get ahead of any counterarguments=C2=
=A0here, yes, Chrome is eventually migrating to their new &quot;manifest v3=
&quot; which deprecates the webRequest API that allows this observation in =
favor of a different API that lets the browser block
 requests without making the actual request data available to the extension=
, which I am assuming they are doing in no small part because of the possib=
ility of what I just described. It sounds like Mozilla is going to follow s=
uit, but I haven&#39;t found concrete
 confirmation of that. That said, it will be a while before these changes a=
re rolled out and support for the (dangerous) webRequest API is fully dropp=
ed, so this is likely going to continue to be a potential attack vector for=
 a few years at least.)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Because of the ease of deployment of a malicious bro=
wser extension, I do believe this is an important attack vector to consider=
 and is worth solving. I am going to save any judgment on the particular dp=
op_jwk parameter proposal for a different
 thread, but I wanted to at least get on the same page about the fact that =
this is something worth solving first.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 10:38 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal">The only mention of sophistication is this logical f=
allacy:<u></u><u></u></p>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<p class=3D"MsoNormal">=C2=A0If this leading security company had been pene=
trated, it almost certainly took an incredibly sophisticated attack.<u></u>=
<u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But it leaves out exactly what that was. And it does=
n&#39;t give any insight into how this attack at MS would have been prevent=
ed despite the supply chain vulnerability based on the second point that Aa=
ron made. If they are able to get the
 auth code, why aren&#39;t they able to get the DPoP signature? And then se=
nd both of these?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Further in this case, it doesn&#39;t even matter if the attacker gets the a=
ccess token if that access token is bound to the client, because it&#39;s w=
orthless without the DPoP key. That&#39;s a much more secure solution than =
issuing non-bound Bearer tokens as a response
 to the bound authorization code. And if Bearer tokens are being used inste=
ad of bound tokens, then those could still end up in the logs, and be exfil=
trated.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">In OAuth, the=C2=A0client already needs to authentic=
ate with the AS, the spec is SHOULD, and options the client_secret already.=
 Adding in the DPoP signature into the request is duplicating auth. If we d=
on&#39;t like the client auth mechanisms to
 the AS, we should directly provide an auth RFC recommending better alterna=
tives than sending a symmetric client_secret back to the AS.<u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_-6277497618792752229gmail-m_3900149451974999695gmai=
l-m_4440014231398409192_x0000_i1026" src=3D"https://lh6.googleusercontent.c=
om/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkP=
YdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><u>=
</u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://authress.io/" target=3D"_blank"><span style=3D"font-size:10pt">Authress=
</span></a><span style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the comments and eng=
agement Warren.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The attacks we described and th=
e ideas on mitigations are born out of attack vectors we are observing in t=
he wild. They are not negligible. We are seeing a new
 class of very sophisticated attackers, and if you=E2=80=99re interested, t=
his article provides good context on capability and sophistication of the a=
ttackers
<a href=3D"https://www.fastcompany.com/90672384/microsoft-president-brad-sm=
ith-solarwinds-exclusive" target=3D"_blank">
Brad Smith: Inside Microsoft during the SolarWinds hack (fastcompany.com)</=
a>. We are sharing this with the hope that the industry will benefit from o=
ur experiences and incorporate it into standards and products. Attacks that=
 seemed impossibly complex are not
 only possible, but have become probable. <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed changes for DPoP a=
re not meant to replace the need for one-time use tokens (single use tokens=
 are preferable and we should continue to expect them),
 but instead address the limitations around implementing one-time use, espe=
cially at scale. The 60s window you mention below is sufficiently long to b=
e exploited by these sophisticated attackers.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<p class=3D"MsoNormal"><span lang=3D"EN-IE">(e.g. one-time use in a certain=
 timeframe etc).<u></u><u></u></span></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sure but couldn&#39;t we just r=
educe the lifetime? Even if the token isn&#39;t one time use, surely the re=
use time is trivially short which would prevent against exfiltration
 of the necessary security tokens to issue the attack?<u></u><u></u></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like the simpler=C2=A0so=
lution will always win, which in this case is one-time use tokens, then the=
 problem is moot, right? So this only comes into play if
 you want to allow token reuse in a time window. The previously suggested m=
ax allowed time window from OAuth 2.1 was 60s for auth codes. So we are say=
ing that the attack surface is still too large, for the .01% of implementat=
ions that have multi-use tokens,
 and the .01% of implementations that use the maximum 60s reuse, and then t=
he subset of those that aren&#39;t correctly scrubing their logs, and then =
the subset of those that have a vulnerability which allows for exfiltration=
 of both those logged tokens and the
 logged PKCE verifier?<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Why are we making this more com=
plicated for a majority of cases, which:<u></u><u></u></span></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
<span lang=3D"EN-IE">Only have single use tokens<u></u><u></u></span></li><=
li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Only have a very short lifetime<u></u><u></u></span=
></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Are already correctly sanitizing their logs<u></u><=
u></u></span></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Have defense in depth for their deployments.<u></u>=
<u></u></span></li></ul>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">If the implementation is so ins=
ecure that none of those are happening, wouldn&#39;t the implementation for=
 this functionality also be suspect for an opportunity for
 attack?<u></u><u></u></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like we are justifying h=
ere that multi-use tokens are wrong, but still want a solution to use them.=
 Once we&#39;ve proven that an deployment is not okay with
 using multi-use tokens, then the conclusion should be &quot;don&#39;t have=
 multi-use tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, =
but come up with a complex way to prevent their multi-use from accidentally=
 being abused&quot;.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Or am I missing something that =
would actually make this a non-negligible=C2=A0attack vector?<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">- Warren<u></u><u></u></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0in"><img border=3D"0" width=3D"199=
" height=3D"34" style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_=
-6277497618792752229gmail-m_3900149451974999695gmail-m_4440014231398409192_=
x0000_i1025" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKe=
vxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ=
1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span lang=3D"EN-IE" style=3D"font-size:10pt">Secure=
 your user data with IAM authorization as a service. Implement=C2=A0</span>=
<span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselm=
an%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91a=
b2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi=
MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHCz6zXmW1PROTSc%3D&amp;reserved=3D0" tar=
get=3D"_blank"><span style=3D"font-size:10pt">Authress</span></a></span><sp=
an lang=3D"EN-IE" style=3D"font-size:10pt">.</span><span lang=3D"EN-IE"><u>=
</u><u></u></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Wed, Dec 1, 2021 at 4:14 PM =
Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@d=
marc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Hi Aaron, Neil<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the questions.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">We agree that ideally authoriza=
tion codes and PKCE proofs would never end up in log files and one-time use=
 would be perfectly implemented.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">However, in practice these arte=
facts do find their way into log files in various places and one-time use m=
ay not always be practical (e.g. one-time use in a certain
 timeframe etc). <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The addition of these mitigatio=
ns is not meant to replace the need for one-time use or good logging hygien=
e. Instead they provide pragmatic defence in depth against
 real attacks rather than assuming perfect implementations. We are deployin=
g these mitigations and are sharing them for inclusion in DPoP to enable ot=
hers to do the same.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Regarding the question about in=
terrupting/intercepting the HTTPS connection, the attacker don=E2=80=99t ne=
ed to intercept the HTTPS connection or modify the content in
 the TLS tunnel, rather they just need to prevent the authorization code fr=
om being presented to the Authorization Server. It may even happen due to a=
 poor network connection. The poor connection may be engineered by an attac=
ker, or they may opportunistically
 benefit from it. The networks are not perfect either.<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=
=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">o=
auth-bounces@ietf.org</span></a></span>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<span lang=3D"EN-IE"><a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forger=
ock.com</span></a></span>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<span lang=3D"EN-IE"><a href=3D"m=
ailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US=
">40microsoft.com@dmarc.ietf.org</span></a></span>&gt;;
<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth@ietf.org</span></a></span><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I tend to agree with Neil here.=
 I&#39;m struggling to see the relevance of this attack.=C2=A0<u></u><u></u=
></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">It seems like the PDF writeup d=
escribes two possible reasons an attacker could get access to the authoriza=
tion code and PKCE code verifier.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">1. The attacker has access to t=
he logs of the token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">2. The attacker can intercept H=
TTPS connections between the client and AS (VPN, corporate network proxy, e=
tc)<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 1, the solution is to stop =
logging the contents of the POST body, and secure your infrastructure. I do=
n&#39;t think making the client jump through extra hoops
 is a good solution if you are already logging more than you should be or y=
ou don&#39;t trust the people who have access to the infrastructure. If thi=
s really is a concern, I suspect there are a lot more places in the flow th=
at would need to be patched up if you
 don&#39;t trust your own token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 2, if the attacker can inte=
rcept the HTTPS connection, then the proposed solution doesn&#39;t add anyt=
hing because the attacker could modify the requests before
 it hits the authorization server anyway, and change which DPoP key the tok=
en gets bound to in the first place. Plus, the attacker would also have acc=
ess to anything else the client is sending to the AS, such as the user&#39;=
s password when they authenticate at
 the AS.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Are there other attack vectors =
I&#39;m missing that might actually be solved by this mechanism?<u></u><u><=
/u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Aaron<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Tue, Nov 30, 2021 at 12:40 P=
M Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_b=
lank">neil.madden@forgerock.com</a>&gt; wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sadly I couldn=E2=80=99t make t=
he DPoP session, but I=E2=80=99m not convinced the attack described in the =
earlier message really needs to be prevented at all. The attack largely
 hinges on auth codes not being one-time use, which is not a good idea, or =
otherwise on poor network security on the token endpoint. I=E2=80=99m not c=
onvinced DPoP needs to protect against these things. Is there more to this?=
<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed solutions also see=
m susceptible to the same problems they attempt to solve - if an attacker i=
s somehow able to interrupt the client=E2=80=99s (TLS-protected)
 token request, why are they somehow not able to interrupt/modify the (far =
less protected) redirect to the authorization endpoint?<u></u><u></u></span=
></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=E2=80=94 Neil<u></u><u></u></s=
pan></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-IE">=
=C2=A0<u></u><u></u></span></p>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On 30 Nov 2021, at 20:15, Mike =
Jones &lt;<a href=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org"=
 target=3D"_blank">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">As described during the OAuth S=
ecurity Workshop session on DPoP, I created a pull request adding the dpop_=
jkt authorization request parameter to use for binding
 the authorization code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=
=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" t=
arget=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://github.com/dan=
ielfett/draft-dpop/pull/89</span></a>.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">This is an alternative to=C2=A0=
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserv=
ed=3D0" target=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://githu=
b.com/danielfett/draft-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Please review and comment.=C2=
=A0 Note that I plan to add more of the attack description written by Piete=
r Kasselman to the security considerations in a future commit.=C2=A0
 This attack description was sent by Pieter yesterday in a message with the=
 subject =E2=80=9CAuthorization Code Log File Attack (was DPoP Interim Meet=
ing Minutes)=E2=80=9D.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mi=
ke<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE" style=3D"font-size:10.5pt;font-=
family:&quot;Times New Roman&quot;,serif">_________________________________=
______________<br>
OAuth mailing list<br>
</span><span lang=3D"EN-IE"><a href=3D"mailto:OAuth@ietf.org" target=3D"_bl=
ank"><span style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot=
;,serif;color:rgb(5,99,193)">OAuth@ietf.org</span></a></span><span lang=3D"=
EN-IE" style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot;,se=
rif"><br>
</span><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&a=
mp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd6415=
08d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773969384758090=
5%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSz=
n%2FS%2FE%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:1=
0.5pt;font-family:&quot;Times New Roman&quot;,serif;color:rgb(5,99,193)">ht=
tps://www.ietf.org/mailman/listinfo/oauth</span></a><u></u><u></u></span></=
p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/oauth</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>
</blockquote></div>

--000000000000f7c05805d2404f71--


From nobody Fri Dec  3 13:12:20 2021
Return-Path: <iana-shared@icann.org>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1FA1A3A0949; Fri,  3 Dec 2021 13:12:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.628
X-Spam-Level: 
X-Spam-Status: No, score=-0.628 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MISSING_HEADERS=1.021, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 cr5s7BSs7XPc; Fri,  3 Dec 2021 13:12:09 -0800 (PST)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [IPv6:2620:0:2d0:201::1:81]) (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 A12843A0975; Fri,  3 Dec 2021 13:12:09 -0800 (PST)
Received: from request4.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 36D79E20D1; Fri,  3 Dec 2021 21:12:07 +0000 (UTC)
Received: by request4.lax.icann.org (Postfix, from userid 48) id 3384320880; Fri,  3 Dec 2021 21:12:07 +0000 (UTC)
RT-Owner: michelle.cotton
From: "Michelle Cotton via RT" <drafts-expert-review-comment@iana.org>
Reply-To: drafts-expert-review-comment@iana.org
In-Reply-To: <rt-4.4.3-13191-1637789245-1034.1216703-9-0@icann.org>
References: <RT-Ticket-1216703@icann.org> <rt-4.4.3-1907-1637090376-1238.1216703-9-0@icann.org> <rt-4.4.3-1915-1637096963-365.1216703-9-0@icann.org> <rt-4.4.3-13191-1637789245-1034.1216703-9-0@icann.org>
Message-ID: <rt-4.4.3-30385-1638565927-212.1216703-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1216703
X-Managed-BY: RT 4.4.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: michelle.cotton@icann.org
CC: ve7jtb@ve7jtb.com, oauth@ietf.org, oauth-ext-review@ietf.org, nat@sakimura.org, michael.jones@microsoft.com, dick.hardt@gmail.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 03 Dec 2021 21:12:07 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/oTOLR1HpdyHsBA_LndVJ66GQcXY>
Subject: [OAUTH-WG] [IANA #1216703] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 21:12:14 -0000

Hello,

Just checking in to see if you had a chance to review this.

Thank you,

Michelle Cotton
IANA Services

On Wed Nov 24 21:27:25 2021, amanda.baber wrote:
> Attn: Michael, Nat, John and Dick (OAuth Authorization Server Metadata
> registry experts)
> 
> I'm resending a review request for a document that's listed on the
> next IESG telechat. Can you get to this before 12/2?
> 
> Please let us know if approval from all four experts is required.
> 
> thanks,
> 
> Amanda Baber
> IANA Operations Manager
> 
> On Tue Nov 16 21:09:23 2021, michelle.cotton wrote:
> > Mailing List/Expert Review requested
> >
> > Attn: Michael, Nat, John and Dick (OAuth Authorization Server
> > Metadata
> > registry experts)
> >
> > As the designated experts for the OAuth Authorization Server Metadata
> > registry, can you review the proposed registration in draft-oauth-
> > iss-
> > auth-resp for us? Please see:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> >
> > A single, new registration is being requested:
> >
> > Metadata Name: authorization_response_iss_parameter_supported
> > Metadata Description: Boolean value indicating whether the
> > authorization server provides the iss parameter in the authorization
> > response.
> > Change Controller: IESG
> > Reference: [ RFC-to-be; Section 3 ]
> >
> > If this is request is OK, when the IESG approves the document for
> > publication, we'll make the registration at
> >
> > https://www.iana.org/assignments/oauth-parameters/
> >
> > If you're the first expert to submit a review, please let us know
> > whether you want us to wait for both reviewers to respond before we
> > mark the document "IANA OK" (or send your comments to the authors, if
> > the registrations aren't OK).
> >
> > The IESG has asked us to set a two-week deadline for registration
> > reviews. The due date for this request is 2021-11-30.
> >
> > Thank you,
> >
> > Michelle Cotton
> > IANA Services


From nobody Fri Dec  3 13:13:51 2021
Return-Path: <iana-shared@icann.org>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9AD193A0839; Fri,  3 Dec 2021 13:13:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.628
X-Spam-Level: 
X-Spam-Status: No, score=-0.628 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MISSING_HEADERS=1.021, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 OVpEnAm6AsNo; Fri,  3 Dec 2021 13:13:44 -0800 (PST)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [IPv6:2620:0:2d0:201::1:81]) (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 A76D73A0975; Fri,  3 Dec 2021 13:13:44 -0800 (PST)
Received: from request4.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 4F630E2155; Fri,  3 Dec 2021 21:13:44 +0000 (UTC)
Received: by request4.lax.icann.org (Postfix, from userid 48) id 4CAC820880; Fri,  3 Dec 2021 21:13:44 +0000 (UTC)
RT-Owner: michelle.cotton
From: "Michelle Cotton via RT" <drafts-expert-review-comment@iana.org>
Reply-To: drafts-expert-review-comment@iana.org
In-Reply-To: <rt-4.4.3-13193-1637789298-46.1216704-9-0@icann.org>
References: <RT-Ticket-1216704@icann.org> <rt-4.4.3-1775-1637091070-1032.1216704-9-0@icann.org> <rt-4.4.3-1775-1637097479-856.1216704-9-0@icann.org> <rt-4.4.3-13193-1637789298-46.1216704-9-0@icann.org>
Message-ID: <rt-4.4.3-28976-1638566024-60.1216704-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1216704
X-Managed-BY: RT 4.4.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: michelle.cotton@icann.org
CC: oauth@ietf.org, oauth-ext-review@ietf.org, hannes.tschofenig@arm.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 03 Dec 2021 21:13:44 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/JCnbbpfaQ_TBQOIKlbkMVZWAgGw>
Subject: [OAUTH-WG] [IANA #1216704] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters) (2)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 21:13:49 -0000

Hello Hannes, 

Can you get this review to us ASAP?

Thanks in advance.

Michelle Cotton
IANA Services

On Wed Nov 24 21:28:18 2021, amanda.baber wrote:
> Attn: Hannes (OAuth Parameters registry expert)
> 
> I'm resending a review request for a document that's listed on the
> next IESG telechat. Can you get to this before 12/2?
> 
> thanks,
> 
> Amanda Baber
> IANA Operations Manager
> 
> On Tue Nov 16 21:17:59 2021, michelle.cotton wrote:
> > Mailing List/Expert Review requested
> >
> > Attn: Hannes (OAuth Parameters registry expert)
> >
> > As the designated expert for the OAuth Parameters registry, can you
> > review the proposed registration in draft-oauth-iss-auth-resp for us?
> > Please see:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> >
> > A single, new registration is being requested:
> >
> > Name: iss
> > Parameter Usage Location: authorization response
> > Change Controller: IESG
> > Reference: [ RFC-to-be; Section 2 ]
> >
> > If this is request is OK, when the IESG approves the document for
> > publication, we'll make the registration at
> >
> > https://www.iana.org/assignments/oauth-parameters/
> >
> > The IESG has asked us to set a two-week deadline for registration
> > reviews. The due date for this request is 2021-11-30.
> >
> > Thank you,
> >
> > Michelle Cotton
> > IANA Services


From nobody Fri Dec  3 13:17:44 2021
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14FA93A09B1 for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 13:17:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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 YH34lCiIQLzh for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 13:17:38 -0800 (PST)
Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 2228E3A09AE for <oauth@ietf.org>; Fri,  3 Dec 2021 13:17:38 -0800 (PST)
Received: by mail-lf1-x12b.google.com with SMTP id c32so9489751lfv.4 for <oauth@ietf.org>; Fri, 03 Dec 2021 13:17:38 -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=YQLs74DNU1ECL/nKLO0cN8gfAqUceYW8zmf6Sw8XGOs=; b=L8sV6L7q3nS8RLx9aSG7TWYOeFfGegb/jnsmFVpIygVtt8ib64c+rfMfhI4GLjalnC 8LMvDcEJ9RdiiBy5LJEroKJ7i4H/MANozRikWVlpyr2zYBqoMbhnjcycYDnejccu+zFH R8YN24MWHUC0Zv4CGzTdtW1xzUMtziHx6GxGlha3HjOv5yEl1ghqlkTh/z3rAq6Yz+gK mZuZUcciDgQNoIm+0MJ2+3Tcye+B5D8TN9iZZwDrX9ozZYk5GKs7yTJAOVNhc+OMyQjl uLGK6fWlKjoF/5zrIwGg87EXJfKsWpMcrREcBkJSCPmE0HY9T4iMa4QEJaNSSgdg7s3M SQKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YQLs74DNU1ECL/nKLO0cN8gfAqUceYW8zmf6Sw8XGOs=; b=VKRqGKRDkmtBZbOvyjrFYMAc5BX4tW8Yfj6jnWfiXp7mNT4d42O4z9h+ZExCRrRROj cY5LsuQDmxKhvsDuRy1Rr4uc6GAeyVmH7jX47MrN8MqE7sNC4LiXifI9v5vSmNJlhhgm XzlX7ELHSqdDjLGmKD8fy6dR8uaakUnaxdiPUHFjTf5eDg2cTGWVsG2EhuSMwjIb0EVJ 6mAbW5lHm+2RTkura9L8vBePrZGaRgZ/F+d873Gb2qkWXGVFpz+wGDyRGD1HRf8bX1Yx KhAWK/VddcM2kEmaBRt9wnoqfVGu+m9ZrVJPmDa5HWAamwOhxRXluETPQDtQX+6ZC7eP HL9Q==
X-Gm-Message-State: AOAM532MvBShxxKq01R+o70S4iXYdWcANMjF7hdaw0gsGCd7vWehH97l vkxk1ubSMIY3cRof/sMBDuwjHBQDSPd77MluAMxj3epSWxY9ULFz3DU5qb9fjlHbmmcJzSWIiwt YzrcYeWysfljE9ljqVmOmCg==
X-Google-Smtp-Source: ABdhPJxXm1R2pyk06qsZ0MPPTbTDrAkf/AEuAaP6nADZsfPNc/2NzpyK74raAft9nMnKKb6Ye2Ixdzk4BhEywCWRaBI=
X-Received: by 2002:a05:6512:3e1e:: with SMTP id i30mr19186866lfv.560.1638566253273;  Fri, 03 Dec 2021 13:17:33 -0800 (PST)
MIME-Version: 1.0
References: <RT-Ticket-1216704@icann.org> <rt-4.4.3-1775-1637091070-1032.1216704-9-0@icann.org> <rt-4.4.3-1775-1637097479-856.1216704-9-0@icann.org> <rt-4.4.3-13193-1637789298-46.1216704-9-0@icann.org> <rt-4.4.3-28976-1638566024-60.1216704-9-0@icann.org>
In-Reply-To: <rt-4.4.3-28976-1638566024-60.1216704-9-0@icann.org>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 3 Dec 2021 14:17:06 -0700
Message-ID: <CA+k3eCQv1i4JpXjZURoQ1xoXJZnemvu-BhpKs6ya9FF1M5umqw@mail.gmail.com>
To: drafts-expert-review-comment@iana.org
Cc: oauth-ext-review@ietf.org, Hannes.Tschofenig@arm.com, oauth@ietf.org
Content-Type: multipart/alternative; boundary="00000000000077cee305d2446fe4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/mCHjj6FOv83rEpkIxFKM_yWCL1k>
Subject: Re: [OAUTH-WG] [oauth-ext-review] [IANA #1216704] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters) (2)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 21:17:43 -0000

--00000000000077cee305d2446fe4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Note that IESG review resulted in a small update to the registration
request text:
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-iss-auth-resp-04#sec=
tion-5.2
and https://mailarchive.ietf.org/arch/msg/oauth/_TGNv0-yBhS6VdAkzQ93ZHxbQRc=
/

On Fri, Dec 3, 2021 at 2:14 PM Michelle Cotton via RT <
drafts-expert-review-comment@iana.org> wrote:

> Hello Hannes,
>
> Can you get this review to us ASAP?
>
> Thanks in advance.
>
> Michelle Cotton
> IANA Services
>
> On Wed Nov 24 21:28:18 2021, amanda.baber wrote:
> > Attn: Hannes (OAuth Parameters registry expert)
> >
> > I'm resending a review request for a document that's listed on the
> > next IESG telechat. Can you get to this before 12/2?
> >
> > thanks,
> >
> > Amanda Baber
> > IANA Operations Manager
> >
> > On Tue Nov 16 21:17:59 2021, michelle.cotton wrote:
> > > Mailing List/Expert Review requested
> > >
> > > Attn: Hannes (OAuth Parameters registry expert)
> > >
> > > As the designated expert for the OAuth Parameters registry, can you
> > > review the proposed registration in draft-oauth-iss-auth-resp for us?
> > > Please see:
> > >
> > > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> > >
> > > A single, new registration is being requested:
> > >
> > > Name: iss
> > > Parameter Usage Location: authorization response
> > > Change Controller: IESG
> > > Reference: [ RFC-to-be; Section 2 ]
> > >
> > > If this is request is OK, when the IESG approves the document for
> > > publication, we'll make the registration at
> > >
> > > https://www.iana.org/assignments/oauth-parameters/
> > >
> > > The IESG has asked us to set a two-week deadline for registration
> > > reviews. The due date for this request is 2021-11-30.
> > >
> > > Thank you,
> > >
> > > Michelle Cotton
> > > IANA Services
>
> _______________________________________________
> oauth-ext-review mailing list
> oauth-ext-review@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth-ext-review
>

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

--00000000000077cee305d2446fe4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Note that IESG review resulted in a small update to t=
he registration request text: <a href=3D"https://datatracker.ietf.org/doc/h=
tml/draft-ietf-oauth-iss-auth-resp-04#section-5.2">https://datatracker.ietf=
.org/doc/html/draft-ietf-oauth-iss-auth-resp-04#section-5.2</a> and <a href=
=3D"https://mailarchive.ietf.org/arch/msg/oauth/_TGNv0-yBhS6VdAkzQ93ZHxbQRc=
/">https://mailarchive.ietf.org/arch/msg/oauth/_TGNv0-yBhS6VdAkzQ93ZHxbQRc/=
</a></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">On Fri, Dec 3, 2021 at 2:14 PM Michelle Cotton via RT &lt;<a href=
=3D"mailto:drafts-expert-review-comment@iana.org">drafts-expert-review-comm=
ent@iana.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">Hello Hannes, <br>
<br>
Can you get this review to us ASAP?<br>
<br>
Thanks in advance.<br>
<br>
Michelle Cotton<br>
IANA Services<br>
<br>
On Wed Nov 24 21:28:18 2021, amanda.baber wrote:<br>
&gt; Attn: Hannes (OAuth Parameters registry expert)<br>
&gt; <br>
&gt; I&#39;m resending a review request for a document that&#39;s listed on=
 the<br>
&gt; next IESG telechat. Can you get to this before 12/2?<br>
&gt; <br>
&gt; thanks,<br>
&gt; <br>
&gt; Amanda Baber<br>
&gt; IANA Operations Manager<br>
&gt; <br>
&gt; On Tue Nov 16 21:17:59 2021, michelle.cotton wrote:<br>
&gt; &gt; Mailing List/Expert Review requested<br>
&gt; &gt;<br>
&gt; &gt; Attn: Hannes (OAuth Parameters registry expert)<br>
&gt; &gt;<br>
&gt; &gt; As the designated expert for the OAuth Parameters registry, can y=
ou<br>
&gt; &gt; review the proposed registration in draft-oauth-iss-auth-resp for=
 us?<br>
&gt; &gt; Please see:<br>
&gt; &gt;<br>
&gt; &gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-=
auth-resp/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.o=
rg/doc/draft-ietf-oauth-iss-auth-resp/</a><br>
&gt; &gt;<br>
&gt; &gt; A single, new registration is being requested:<br>
&gt; &gt;<br>
&gt; &gt; Name: iss<br>
&gt; &gt; Parameter Usage Location: authorization response<br>
&gt; &gt; Change Controller: IESG<br>
&gt; &gt; Reference: [ RFC-to-be; Section 2 ]<br>
&gt; &gt;<br>
&gt; &gt; If this is request is OK, when the IESG approves the document for=
<br>
&gt; &gt; publication, we&#39;ll make the registration at<br>
&gt; &gt;<br>
&gt; &gt; <a href=3D"https://www.iana.org/assignments/oauth-parameters/" re=
l=3D"noreferrer" target=3D"_blank">https://www.iana.org/assignments/oauth-p=
arameters/</a><br>
&gt; &gt;<br>
&gt; &gt; The IESG has asked us to set a two-week deadline for registration=
<br>
&gt; &gt; reviews. The due date for this request is 2021-11-30.<br>
&gt; &gt;<br>
&gt; &gt; Thank you,<br>
&gt; &gt;<br>
&gt; &gt; Michelle Cotton<br>
&gt; &gt; IANA Services<br>
<br>
_______________________________________________<br>
oauth-ext-review mailing list<br>
<a href=3D"mailto:oauth-ext-review@ietf.org" target=3D"_blank">oauth-ext-re=
view@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth-ext-review" rel=3D"n=
oreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth-ex=
t-review</a><br>
</blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:ba=
seline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-=
ui,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,C=
antarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><=
span style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:=
baseline;background:transparent;font-family:proxima-nova-zendesk,system-ui,=
-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ub=
untu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"=
><font size=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidenti=
al and privileged material for the sole use of the intended recipient(s). A=
ny review, use, distribution or disclosure by others is strictly prohibited=
.=C2=A0 If you have received this communication in error, please notify the=
 sender immediately by e-mail and delete the message and any file attachmen=
ts from your computer. Thank you.</font></span></i>
--00000000000077cee305d2446fe4--


From nobody Fri Dec  3 13:45:54 2021
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5CDBE3A09F2 for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 13:45:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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 0h3QlPYIEUhf for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 13:45:46 -0800 (PST)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 4CE9E3A09EE for <oauth@ietf.org>; Fri,  3 Dec 2021 13:45:46 -0800 (PST)
Received: by mail-lf1-x133.google.com with SMTP id r26so9587455lfn.8 for <oauth@ietf.org>; Fri, 03 Dec 2021 13:45:46 -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=6lOHc3JuyKzfc/a29IW62/QkiZ6JrtdlRYswuhM/ZrM=; b=VWiujld6f2UgHOO7YEWkAb1lzoRl6QIETbesSkBTruwuVN9sWzu7hvbhfDF28g+Ko7 9wmIJfDB6CmGpzUndYs7upp3ARcZuvZwIXbaW2mFay4tW1/16KQPZ6//Ymww480XgRnC et6qCbJkcJKCEp5kB9fO7FlvkmeyTk8Beb14aHJR4fz8ixqfBLSCSFEHkqg+0/p8RPut 6hA6lxdZIE8eME1Ihgf9Yqr7yIUVSHKF5u6Vdrxywn8wbius9nnZe05CFcZ0wATcDb9g lhAWPwOuUX1H3ls/3dDFbTxEDIY5uqHvchOJlsRwvLW+91C1pUztOdL8KHkd+N0hVCo7 8qUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6lOHc3JuyKzfc/a29IW62/QkiZ6JrtdlRYswuhM/ZrM=; b=e200lAEwhEdkUsjJWFu6yKCn9woUZReb56fxZiraKO15Qg4N9ECdO1HOWx38M7ux0p EpzQJTwjq7ToVSQRg2h0JcN2GLkbh4mIjtQlgnZR5pUxZmI5uDrkRCpqnryUL4jwVRzC 2zU5PFQjfr+h0TxY60LwbWAE74slc9H1FYtpkXG1+6giDq1h2g/woyltpuYAr0pjehWM XeOEgQFsa6+hSqWpvzqoYJDEd7797fNLsK4e6QjpAcmILH+UOh7hgr1IEkQYtxVxN6GR KcU8LnTJiNlPLbCeNByFK0uqfy2aOOiCF8/uFCKExc77HV4m5c/yp8TZU83HGHkwsAXH 8N7Q==
X-Gm-Message-State: AOAM532tPEbV3XRG3nuwZCk6oPlBy4z6r829mBiFCfAC0XcUdZDI81QL 92LBHz1DdBlWgRD8Xpc+yVb/22HBcObQc7mf/8oc7keTCOdIkuXNPaXmAlHosFAE+oCJNXZsAKS 2Aib6tQhxF/eswQ8DTOTyjA==
X-Google-Smtp-Source: ABdhPJwrPVxYgbwqLM7XzIpdpJC+s3/d+zcDA+pWKbdJlI/3F9mR9uKZlvFd5s5tJRz6lF7mnlKnnq9nDT1f0A3t9ZQ=
X-Received: by 2002:a19:5e59:: with SMTP id z25mr20604543lfi.686.1638567943791;  Fri, 03 Dec 2021 13:45:43 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09970FB8EB1884B8BF5A090CF5B09@PH0PR00MB0997.namprd00.prod.outlook.com> <BB556582-2CEC-4A73-ABF3-BFB9EB12B0D0@forgerock.com> <CA+k3eCTqx_w2d6um+kOW1er9Xe6DhsboXqGxSWWZeKWERUMzfA@mail.gmail.com> <EC811423-50B1-439D-A25A-D5AAD89B6CD3@forgerock.com>
In-Reply-To: <EC811423-50B1-439D-A25A-D5AAD89B6CD3@forgerock.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 3 Dec 2021 14:45:17 -0700
Message-ID: <CA+k3eCRS1KY_UUN=pcRRfDN0RcpDa2ROr7fptiAMPQ7ABi6HYg@mail.gmail.com>
To: Neil Madden <neil.madden@forgerock.com>
Cc: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, oauth@ietf.org
Content-Type: multipart/alternative; boundary="0000000000003b18b005d244d405"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/DEmWIR1lY7q2AbaSXP6HguWlK5s>
Subject: Re: [OAUTH-WG] New Version Notification for draft-ietf-oauth-dpop-04.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 21:45:52 -0000

--0000000000003b18b005d244d405
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Yeah, I think you're right. I was only thinking about shared caches. I'll
look to add something to sec 8.1. But, being nowhere near expert on HTTP
coaching myself, I'm reluctant to add normative requirements. So the text
will likely be more of a brief note/reminder than a normative MUST.

The discussions at OSW about nonce handling were useful but didn't come to
any conclusions. If you have any thoughts or suggestions there, they'd be
welcome. I'm hopeful we can find some guidance that is simple and makes
implementation simple (like definitely not synchronizing nonces across
instances of distributed client software) but that's proving a bit elusive
thus far.

On Mon, Nov 29, 2021 at 12:10 PM Neil Madden <neil.madden@forgerock.com>
wrote:

> I=E2=80=99m by no means a HTTP caching expert (*), but
> https://datatracker.ietf.org/doc/html/rfc7234#section-3 says that the
> non-cacheability of responses to requests with Authorization headers only
> applies to shared caches. So could a user-agent itself cache the response
> and incorrectly return a stale DPoP-Nonce response on a subsequent reques=
t?
>
> But I think you=E2=80=99re right that this only applies, at most, to sect=
ion 8.1,
> as DPoP only allows the Authorization header for making requests to the R=
S
> (unlike RFC 6750).
>
> (*) I know a joke about HTTP caching, but I think you=E2=80=99ve already =
heard it.
>
> =E2=80=94 Neil
>
>
> On 29 Nov 2021, at 18:03, Brian Campbell <bcampbell@pingidentity.com>
> wrote:
>
> I'm preparing some slides for a DPoP session tomowwo at the OAuth
> Security Workshop https://barcamps.eu/osw2021/ so looking back at some
> threads like this one trying to compile a list of issues needing attentio=
n.
> The stateful handling of server-supplied nonces is one such topic. I was
> about to add a topic for Cache-Control but, in doing/thinking about it, I
> believe that all cases that would use a DPoP-Nonce response header are
> already not cacheable - response to POST, 401 challenge, response to a
> request containing an authorization header - so I don't think anything is
> needed. But let me know if I'm missing something.
>
> On Wed, Oct 6, 2021 at 1:54 PM Neil Madden <neil.madden@forgerock.com>
> wrote:
>
>> Overall I think thus is good, but I have a few comments/suggestions:
>>
>> I think the stateful handling of server-supplied nonces (ie the client
>> reuses the same nonce until the server sends a new one) perhaps needs to=
 be
>> clarified with respect to clients making concurrent requests. Especially
>> clients using multiple access tokens and/or DPoP keys (eg for different
>> users). Is the nonce specific to a particular access token?
>>
>> And we also need to consider a client that is itself a cluster of server=
s
>> - does such a client need to synchronise nonces across instances? Does t=
he
>> AS/RS need to? (I can imagine this getting quite complex with different
>> requests from different client machines hitting different AS/RS servers)=
.
>>
>> I think probably any use of the DPoP-Nonce response header should also b=
e
>> accompanied by Cache-Control: private (or no-store) and this should be a
>> MUST. I think we=E2=80=99ve also missed that the DPoP header on requests=
 should
>> also have Cache-Control: no-store added, at least when not sending the
>> access token in an Authorization header.
>>
>> It seems slightly odd that the WWW-Authenticate challenge for RS
>> server-supplied nonces isn=E2=80=99t self-contained, but I don=E2=80=99t=
 see anything that
>> says it should be so that is probably ok. (And I can see the consistency
>> argument for using the header).
>>
>> It does seem a shame to pay the cost of a challenge-response roundtrip
>> and not to do a key exchange to speed up subsequent requests, but never
>> mind.
>>
>> =E2=80=94 Neil
>>
>> On 6 Oct 2021, at 17:37, Mike Jones <Michael.Jones=3D
>> 40microsoft.com@dmarc.ietf.org> wrote:
>>
>> =EF=BB=BF
>>
>> FYI, I wrote about the nonce support at https://self-issued.info/?p=3D21=
94
>> and https://twitter.com/selfissued/status/1445789505902899206.
>>
>>
>>
>>                                                        -- Mike
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of * Brian Campbell
>> *Sent:* Monday, October 4, 2021 3:11 PM
>> *To:* oauth <oauth@ietf.org>
>> *Subject:* [OAUTH-WG] Fwd: New Version Notification for
>> draft-ietf-oauth-dpop-04.txt
>>
>>
>>
>>
>>
>> WG,
>>
>>
>>
>> The collective DPoP co-authors are pleased to announce that a new -04
>> revision of DPoP has been published. The doc history snippet is copied
>> below for quick/easy reference. The main change here is the addition of =
an
>> option for a server-provided nonce in the DPoP proof.
>>
>>
>>    -04
>>    *  Added the option for a server-provided nonce in the DPoP proof.
>>    *  Registered the invalid_dpop_proof and use_dpop_nonce error codes.
>>    *  Removed fictitious uses of realm from the examples, as they added
>>       no value.
>>    *  State that if the introspection response has a token_type, it has
>>       to be DPoP.
>>    *  Mention that RFC7235 allows multiple authentication schemes in
>>       WWW-Authenticate with a 401.
>>    *  Editorial fixes.
>>
>> ---------- Forwarded message ---------
>> From: <internet-drafts@ietf.org>
>> Date: Mon, Oct 4, 2021 at 4:05 PM
>> Subject: New Version Notification for draft-ietf-oauth-dpop-04.txt
>> To: ...
>>
>>
>>
>>
>> A new version of I-D, draft-ietf-oauth-dpop-04.txt
>> has been successfully submitted by Brian Campbell and posted to the
>> IETF repository.
>>
>> Name:           draft-ietf-oauth-dpop
>> Revision:       04
>> Title:          OAuth 2.0 Demonstrating Proof-of-Possession at the
>> Application Layer (DPoP)
>> Document date:  2021-10-04
>> Group:          oauth
>> Pages:          37
>> URL:
>> https://www.ietf.org/archive/id/draft-ietf-oauth-dpop-04.txt
>> Status:         https://datatracker.ietf.org/doc/draft-ietf-oauth-dpop/
>> Html:
>> https://www.ietf.org/archive/id/draft-ietf-oauth-dpop-04.html
>> Htmlized:
>> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop
>> Diff:
>> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-oauth-dpop-04
>>
>> Abstract:
>>    This document describes a mechanism for sender-constraining OAuth 2.0
>>    tokens via a proof-of-possession mechanism on the application level.
>>    This mechanism allows for the detection of replay attacks with access
>>    and refresh tokens.
>>
>>
>>
>>
>> The IETF Secretariat
>>
>>
>> *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 send=
er
>> immediately by e-mail and delete the message and any file attachments fr=
om
>> your computer. Thank you.*
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>>
>> Manage My Preferences <https://preferences.forgerock.com/>, Unsubscribe
>> <https://preferences.forgerock.com/>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>
> *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 sende=
r
> immediately by e-mail and delete the message and any file attachments fro=
m
> your computer. Thank you.*
>
>
>

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

--0000000000003b18b005d244d405
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Yeah, I think you&#39;re right. I was only thinking a=
bout shared caches. I&#39;ll look to add something to sec 8.1. But, being n=
owhere near expert on HTTP coaching myself, I&#39;m reluctant to add normat=
ive requirements. So the text will likely be more of a brief note/reminder =
than a normative MUST. <br></div><div><br></div><div>The discussions at OSW=
 about  nonce handling were useful but didn&#39;t come to any conclusions. =
If you have any thoughts or suggestions there, they&#39;d be welcome. I&#39=
;m hopeful we can find some guidance that is simple and makes implementatio=
n simple (like definitely not synchronizing nonces across instances of dist=
ributed client software) but that&#39;s proving a bit elusive thus far. <br=
></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Mon, Nov 29, 2021 at 12:10 PM Neil Madden &lt;<a href=3D"mailto:n=
eil.madden@forgerock.com">neil.madden@forgerock.com</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><div style=3D"overflow-w=
rap: break-word;">I=E2=80=99m by no means a HTTP caching expert (*), but=C2=
=A0<a href=3D"https://datatracker.ietf.org/doc/html/rfc7234#section-3" targ=
et=3D"_blank">https://datatracker.ietf.org/doc/html/rfc7234#section-3</a>=
=C2=A0says that the non-cacheability of responses to requests with Authoriz=
ation headers only applies to shared caches. So could a user-agent itself c=
ache the response and incorrectly return a stale DPoP-Nonce response on a s=
ubsequent request?=C2=A0<div><br></div><div><div>But I think you=E2=80=99re=
 right that this only applies, at most, to section 8.1, as DPoP only allows=
 the Authorization header for making requests to the RS (unlike RFC 6750).<=
/div><div><br></div><div>(*) I know a joke about HTTP caching, but I think =
you=E2=80=99ve already heard it.</div><div><br></div><div>=E2=80=94 Neil</d=
iv><div><br>
<div><br><blockquote type=3D"cite"><div>On 29 Nov 2021, at 18:03, Brian Cam=
pbell &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">b=
campbell@pingidentity.com</a>&gt; wrote:</div><br><div><div dir=3D"ltr"><di=
v>I&#39;m preparing some slides for a <span id=3D"gmail-m_-6042622215225849=
235:5xa.1" role=3D"menuitem" aria-haspopup=3D"true">DPoP</span> session <sp=
an id=3D"gmail-m_-6042622215225849235:5xa.2" role=3D"menuitem" aria-haspopu=
p=3D"true">tomowwo</span> at the OAuth Security Workshop <a href=3D"https:/=
/barcamps.eu/osw2021/" target=3D"_blank">https://barcamps.eu/osw2021/</a> s=
o looking back at some threads like this one trying to compile a list of is=
sues needing attention. The stateful handling of server-supplied <span>nonc=
es is one such topic. I was about to add a topic for Cache-Control but, in =
doing/thinking about it, I believe that all cases that would use a <span id=
=3D"gmail-m_-6042622215225849235:5xa.3" role=3D"menuitem" aria-haspopup=3D"=
true">DPoP</span>-Nonce response header are already not cacheable - respons=
e to POST, 401 challenge, response to a request containing an authorization=
 header - so I don&#39;t think anything is needed. But let me know if I&#39=
;m missing something. <br></span></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Wed, Oct 6, 2021 at 1:54 PM Neil Madden=
 &lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_blank">neil.ma=
dden@forgerock.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex"><div dir=3D"auto"><div dir=3D"ltr">Overall I think thus i=
s good, but I have a few comments/suggestions:</div><div dir=3D"ltr"><br></=
div><div dir=3D"ltr">I think the stateful handling of server-supplied nonce=
s (ie the client reuses the same nonce until the server sends a new one) pe=
rhaps needs to be clarified with respect to clients making concurrent reque=
sts. Especially clients using multiple access tokens and/or DPoP keys (eg f=
or different users). Is the nonce specific to a particular access token?=C2=
=A0</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">And we also need to co=
nsider a client that is itself a cluster of servers - does such a client ne=
ed to synchronise nonces across instances? Does the AS/RS need to? (I can i=
magine this getting quite complex with different requests from different cl=
ient machines hitting different AS/RS servers).=C2=A0</div><div dir=3D"ltr"=
><br></div><div dir=3D"ltr">I think probably any use of the DPoP-Nonce resp=
onse header should also be accompanied by Cache-Control: private (or no-sto=
re) and this should be a MUST. I think we=E2=80=99ve also missed that the D=
PoP header on requests should also have Cache-Control: no-store added, at l=
east when not sending the access token in an Authorization header.=C2=A0</d=
iv><div dir=3D"ltr"><br></div><div dir=3D"ltr">It seems slightly odd that t=
he WWW-Authenticate challenge for RS server-supplied nonces isn=E2=80=99t s=
elf-contained, but I don=E2=80=99t see anything that says it should be so t=
hat is probably ok. (And I can see the consistency argument for using the h=
eader).=C2=A0</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">It does seem=
 a shame to pay the cost of a challenge-response roundtrip and not to do a =
key exchange to speed up subsequent requests, but never mind.=C2=A0</div><d=
iv dir=3D"ltr"><br></div><div dir=3D"ltr">=E2=80=94 Neil</div><div dir=3D"l=
tr"><br><blockquote type=3D"cite">On 6 Oct 2021, at 17:37, Mike Jones &lt;M=
ichael.Jones=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=3D"=
_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br><br></blockquote><=
/div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF






<div><p class=3D"MsoNormal"><span style=3D"color:rgb(0,32,96)">FYI, I wrote=
 about the nonce support at
<a href=3D"https://self-issued.info/?p=3D2194" target=3D"_blank">https://se=
lf-issued.info/?p=3D2194</a> and
<a href=3D"https://twitter.com/selfissued/status/1445789505902899206" targe=
t=3D"_blank">https://twitter.com/selfissued/status/1445789505902899206</a>.=
<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"color:rgb(0,=
32,96)"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"color:rgb(0,32,96)">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></spa=
n></p><p class=3D"MsoNormal"><span style=3D"color:rgb(0,32,96)"><u></u>=C2=
=A0<u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
><p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-boun=
ces@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt; <b>On Behalf=
 Of </b>
Brian Campbell<br>
<b>Sent:</b> Monday, October 4, 2021 3:11 PM<br>
<b>To:</b> oauth &lt;<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oa=
uth@ietf.org</a>&gt;<br>
<b>Subject:</b> [OAUTH-WG] Fwd: New Version Notification for draft-ietf-oau=
th-dpop-04.txt<u></u><u></u></p>
</div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div><p class=3D"MsoNormal">WG,<u></u><u></u></p>
</div>
<div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div><p class=3D"MsoNormal">The collective DPoP co-authors are pleased to a=
nnounce that a new -04 revision of DPoP has been published. The doc history=
 snippet is copied below for quick/easy reference. The main change here is =
the addition of an option for a server-provided
 nonce in the DPoP proof.<u></u><u></u></p>
</div><p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><br>
=C2=A0 =C2=A0-04<br>
=C2=A0 =C2=A0* =C2=A0Added the option for a server-provided nonce in the DP=
oP proof.<br>
=C2=A0 =C2=A0* =C2=A0Registered the invalid_dpop_proof and use_dpop_nonce e=
rror codes.<br>
=C2=A0 =C2=A0* =C2=A0Removed fictitious uses of realm from the examples, as=
 they added<br>
=C2=A0 =C2=A0 =C2=A0 no value.<br>
=C2=A0 =C2=A0* =C2=A0State that if the introspection response has a token_t=
ype, it has<br>
=C2=A0 =C2=A0 =C2=A0 to be DPoP.<br>
=C2=A0 =C2=A0* =C2=A0Mention that RFC7235 allows multiple authentication sc=
hemes in<br>
=C2=A0 =C2=A0 =C2=A0 WWW-Authenticate with a 401.<br>
=C2=A0 =C2=A0* =C2=A0Editorial fixes.<br>
<br>
<u></u><u></u></p>
<div>
<div><p class=3D"MsoNormal">---------- Forwarded message ---------<br>
From: &lt;<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blank">int=
ernet-drafts@ietf.org</a>&gt;<br>
Date: Mon, Oct 4, 2021 at 4:05 PM<br>
Subject: New Version Notification for draft-ietf-oauth-dpop-04.txt<br>
To: ...<u></u><u></u></p>
</div><p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><br>
<br>
<br>
A new version of I-D, draft-ietf-oauth-dpop-04.txt<br>
has been successfully submitted by Brian Campbell and posted to the<br>
IETF repository.<br>
<br>
Name:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0draft-ietf-oauth-dpop<br>
Revision:=C2=A0 =C2=A0 =C2=A0 =C2=A004<br>
Title:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OAuth 2.0 Demonstrating Proof-of-P=
ossession at the Application Layer (DPoP)<br>
Document date:=C2=A0 2021-10-04<br>
Group:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 oauth<br>
Pages:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 37<br>
URL:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.ietf.o=
rg/archive/id/draft-ietf-oauth-dpop-04.txt" target=3D"_blank">
https://www.ietf.org/archive/id/draft-ietf-oauth-dpop-04.txt</a><br>
Status:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://datatracker.iet=
f.org/doc/draft-ietf-oauth-dpop/" target=3D"_blank">https://datatracker.iet=
f.org/doc/draft-ietf-oauth-dpop/</a><br>
Html:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://www.ietf.o=
rg/archive/id/draft-ietf-oauth-dpop-04.html" target=3D"_blank">https://www.=
ietf.org/archive/id/draft-ietf-oauth-dpop-04.html</a><br>
Htmlized:=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://datatracker.ietf.org=
/doc/html/draft-ietf-oauth-dpop" target=3D"_blank">https://datatracker.ietf=
.org/doc/html/draft-ietf-oauth-dpop</a><br>
Diff:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://www.ietf.o=
rg/rfcdiff?url2=3Ddraft-ietf-oauth-dpop-04" target=3D"_blank">https://www.i=
etf.org/rfcdiff?url2=3Ddraft-ietf-oauth-dpop-04</a><br>
<br>
Abstract:<br>
=C2=A0 =C2=A0This document describes a mechanism for sender-constraining OA=
uth 2.0<br>
=C2=A0 =C2=A0tokens via a proof-of-possession mechanism on the application =
level.<br>
=C2=A0 =C2=A0This mechanism allows for the detection of replay attacks with=
 access<br>
=C2=A0 =C2=A0and refresh tokens.<br>
<br>
<br>
<br>
<br>
The IETF Secretariat<br>
<br>
<u></u><u></u></p>
</div>
</div><p class=3D"MsoNormal"><br>
<b><i><span style=3D"font-size:10pt;font-family:&quot;Segoe UI&quot;,sans-s=
erif;color:rgb(85,85,85);border:1pt none windowtext;padding:0in">CONFIDENTI=
ALITY NOTICE: This email may contain confidential and privileged material f=
or the sole use of the intended recipient(s).
 Any review, use, distribution or disclosure by others is strictly prohibit=
ed.=C2=A0 If you have received this communication in error, please notify t=
he sender immediately by e-mail and delete the message and any file attachm=
ents from your computer. Thank you.</span></i></b><u></u><u></u></p>
</div>


<span>_______________________________________________</span><br><span>OAuth=
 mailing list</span><br><span><a href=3D"mailto:OAuth@ietf.org" target=3D"_=
blank">OAuth@ietf.org</a></span><br><span><a href=3D"https://www.ietf.org/m=
ailman/listinfo/oauth" target=3D"_blank">https://www.ietf.org/mailman/listi=
nfo/oauth</a></span><br></div></blockquote></div>
<br>
<div><span style=3D"color:rgb(23,43,77);font-family:-apple-system,BlinkMacS=
ystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen,Ubuntu,&quot;Fira Sans&quot;,&=
quot;Droid Sans&quot;,&quot;Helvetica Neue&quot;,sans-serif;background-colo=
r:rgb(255,255,255)"><font size=3D"1"><a href=3D"https://preferences.forgero=
ck.com/" target=3D"_blank">Manage My Preferences</a>, <a href=3D"https://pr=
eferences.forgerock.com/" target=3D"_blank">Unsubscribe</a></font></span></=
div><br>_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px none;outline:currentcolor non=
e 0px;vertical-align:baseline;background:rgb(255,255,255) none repeat scrol=
l 0% 0%;font-family:proxima-nova-zendesk,system-ui,-apple-system,system-ui,=
&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,Cantarell,&quot;Helvetica Ne=
ue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><span style=3D"margin:0px;pa=
dding:0px;border:0px none;outline:currentcolor none 0px;vertical-align:base=
line;background:transparent none repeat scroll 0% 0%;font-family:proxima-no=
va-zendesk,system-ui,-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,=
Roboto,Oxygen-Sans,Ubuntu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-s=
erif;font-weight:600"><font size=3D"2">CONFIDENTIALITY NOTICE: This email m=
ay contain confidential and privileged material for the sole use of the int=
ended recipient(s). Any review, use, distribution or disclosure by others i=
s strictly prohibited.=C2=A0 If you have received this communication in err=
or, please notify the sender immediately by e-mail and delete the message a=
nd any file attachments from your computer. Thank you.</font></span></i></d=
iv></blockquote></div><br></div></div></div></blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:ba=
seline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-=
ui,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,C=
antarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><=
span style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:=
baseline;background:transparent;font-family:proxima-nova-zendesk,system-ui,=
-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ub=
untu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"=
><font size=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidenti=
al and privileged material for the sole use of the intended recipient(s). A=
ny review, use, distribution or disclosure by others is strictly prohibited=
.=C2=A0 If you have received this communication in error, please notify the=
 sender immediately by e-mail and delete the message and any file attachmen=
ts from your computer. Thank you.</font></span></i>
--0000000000003b18b005d244d405--


From nobody Fri Dec  3 14:12:16 2021
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5D393A0A37 for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 14:12:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=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 cBQYW0EF3zlu for <oauth@ietfa.amsl.com>; Fri,  3 Dec 2021 14:12:09 -0800 (PST)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 1B5813A0A21 for <oauth@ietf.org>; Fri,  3 Dec 2021 14:12:09 -0800 (PST)
Received: by mail-lf1-x12f.google.com with SMTP id bu18so9882806lfb.0 for <oauth@ietf.org>; Fri, 03 Dec 2021 14:12:08 -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=y+ywEARxuNNpj4aFNDDXnwe4gR5QU/WPE11mwYq/dBw=; b=UNJCP8ry30wePzfpk8F0hTqorJAEfabCBrSzdRvFKpN63Vp5Lykuwf2FC/7bFgLyLT 9sE+czkzASfsTKu7ALTyWDP5bYupNqguiy1gwmPrhk+Gokp1u2Zgwk6xDq7jDoiK2waG zbiqCP/RM9hCXEIf7UMWbdBfGdouh4YopL4e6QK9xoop7xe8bLukB9Uv/IfyTvAME340 DpPYq2CjQYGdDhDe6ymddAso4gXnBFmiZ4QZuRaVv8Hdw5lDOEFZ3lZ2NEc0U699NF8V nx2A+UdlZL/cj8j3sRMUdcEJu32y2V9Y4hThfj3TkEK0bCj54mJ5gcM+bnRXuJp+WMso 2+xg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y+ywEARxuNNpj4aFNDDXnwe4gR5QU/WPE11mwYq/dBw=; b=UeH/DEaSwvOQO+XMwvt9D49Kc1Fe2ywyEHZ5vIf2CGHW+id9CWnTsEhA7/s+tMTDzK 4HJgvunYpQ/66pL6Lasqn4NEly6QyeYi8alIC6xYU9HP3LmtCRgiP7bDm2yXLBBcwpLg 88+x7nbzkxliBACNMQeOpfkC21Al/VjB9DwlHPcLYqp8pHVbW0z43G2uw+KqEj6e/iY4 JEIsdDt8YXrbIsPkqbM9bETcY3gwX9EHi8M46fOd3Mjs6sseueeoHnmrpx+eZv82hzG1 3b7J8wZIcH7CFEe5ZFdw+8gfTjrzd/3nhW9U3yvl3U7K9X+l/ZI9Q/QRoAv9D8uh3ggN ziNA==
X-Gm-Message-State: AOAM531WXznsPXBeTaO9CZCk9RAYndm3oigtKO3bsSiowvJUhJdrhzeu zbvbF4rwE9Um4VOkN7j7mPdGfGpfrs4Sg0Hd9+ay+6U5On3mIMv0woio08YQrbe6gqyPzIAbtuj JL2nMcPVwMBL2Xg==
X-Google-Smtp-Source: ABdhPJzI2+DhxL6lTcYQk/VlED5waYU7gpmNDsfjQZx2uR4PYdNb+Ezv/JsBfcN94QBBEECZOFarZlTaGU/Zb1bbC4g=
X-Received: by 2002:a19:5e59:: with SMTP id z25mr20712140lfi.686.1638569526432;  Fri, 03 Dec 2021 14:12:06 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com> <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com> <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com> <CAJot-L10T-ihs-b5yu0-=9i7LEFME+05enpNYE-eJRZJ5UWN-g@mail.gmail.com>
In-Reply-To: <CAJot-L10T-ihs-b5yu0-=9i7LEFME+05enpNYE-eJRZJ5UWN-g@mail.gmail.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 3 Dec 2021 15:11:39 -0700
Message-ID: <CA+k3eCQimdMmQYBtJPooN9NjbtXOKUxyVY0AJPb-b2NzeLcodA@mail.gmail.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
Cc: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>,  Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>,  "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000090474c05d2453281"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/zSmtTD6IOIWeDWukc8-A8wH8loE>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Dec 2021 22:12:15 -0000

--00000000000090474c05d2453281
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I can't help but wonder if defining this E2E binding allowance as a
composite s256 + dpop_jkt PKCE method might be worth (re)considering here?
As a PCKE method it'd be decoupled from the main flow and could be used in
a more targeted way for situations that call for it while not imposing the
extra cost/complexity on situations that don't need it.

On Fri, Dec 3, 2021 at 9:23 AM Warren Parad <wparad=3D
40rhosys.ch@dmarc.ietf.org> wrote:

> I think the allowed keys would have to be pre-registered in the AS.
>
> Warren Parad
>
> Founder, CTO
> Secure your user data with IAM authorization as a service. Implement
> Authress <https://authress.io/>.
>
>
> On Fri, Dec 3, 2021 at 5:01 PM Warren Parad <wparad@rhosys.ch> wrote:
>
>> While I agree this is a problem, adding the thumbprint to the
>> authorization request only increases the difficulty for the malicious MI=
TM
>> attack to need to also intercept the authorization request in addition t=
o
>> the token request to swap out the dpop_jkt as well. If I'm right, then i=
t
>> doesn't make sense to implement this as the solution.
>>
>> While I agree, we could move the dpop_jwk determination to the
>> authorization request, instead of the token, it doesn't solve the proble=
m.
>> What it does say is that the authorization request user-agent is the one
>> that has the key, and not the one doing the code exchange. Well this is
>> actually weird in the case of non-public clients, because it doesn't mak=
e
>> sense from that client perspective, as the "front-end" would need to now
>> have the constructed dpop_jkt even though it doesn't have the dpop key.
>>
>> Warren Parad
>>
>> Founder, CTO
>> Secure your user data with IAM authorization as a service. Implement
>> Authress <https://authress.io/>.
>>
>>
>> On Fri, Dec 3, 2021 at 12:22 AM Mike Jones <Michael.Jones=3D
>> 40microsoft.com@dmarc.ietf.org> wrote:
>>
>>> Thanks for this thoughtful analysis, Aaron.  I believe you=E2=80=99re s=
pot on
>>> that these attacks can occur =E2=80=9Cwhen the attacker has access to b=
oth the
>>> authorization code as well as the PKCE code verifier.=E2=80=9D
>>>
>>>
>>>
>>>                                                        -- Mike
>>>
>>>
>>>
>>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of * Aaron Parecki
>>> *Sent:* Thursday, December 2, 2021 2:58 PM
>>> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
>>> *Cc:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.o=
rg>;
>>> oauth@ietf.org
>>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
>>> Parameter
>>>
>>>
>>>
>>> Hi all, I've been giving this some more thought.
>>>
>>>
>>>
>>> The problem occurs when the attacker has access to both the
>>> authorization code as well as the PKCE code verifier. The assumption be=
ing
>>> made with PKCE is that the first time the PKCE code verifier and
>>> authorization code are seen together is in the POST request to the toke=
n
>>> endpoint. That means if there is a way to observe this request, the
>>> attacker can complete the exchange and get an access token.
>>>
>>>
>>>
>>> Pieter's writeup in the PDF describes one way that can happen, by
>>> exfiltrating log files. While I still agree with the sentiment in this
>>> thread that this is a relatively obscure condition, I also agree that i=
t is
>>> actually something that can happen in the wild, especially since there =
are
>>> entire companies built around the idea of real-time log file analysis.
>>>
>>>
>>>
>>> That said, there are other ways an attacker could get access to these
>>> two pieces of information. What are the different points in a request
>>> lifecycle that could be attacked? The beginning, the middle and the end=
.
>>> We've talked about attacking the end, which is the log file example.
>>> Attacking the middle involves being in the middle of the TLS connection=
,
>>> which we also know is possible with corporate network proxies and such.=
 We
>>> haven't yet talked about the beginning of the request. What can observe=
 the
>>> beginning of a request? Here's a concrete example:
>>>
>>>
>>>
>>> Assume the OAuth client is a single-page app in a browser. The user is
>>> using an ad blocker installed as a browser extension. The ad blocker ca=
n be
>>> configured to observe and block network requests before they are made. =
If
>>> the extension is configured to attack a particular OAuth server, the JS
>>> client would make the token request containing the authorization code a=
nd
>>> PKCE code verifier, then the extension would be able to observe that
>>> request, block it, and ship the two values to the attacker's server whe=
re
>>> they can be redeemed and associated with the attacker's own DPoP key. E=
ven
>>> perfectly single-use authorization codes don't help here either, becaus=
e
>>> the original request was completely blocked.
>>>
>>>
>>>
>>> (Sidenote: To get ahead of any counterarguments here, yes, Chrome is
>>> eventually migrating to their new "manifest v3" which deprecates the
>>> webRequest API that allows this observation in favor of a different API
>>> that lets the browser block requests without making the actual request =
data
>>> available to the extension, which I am assuming they are doing in no sm=
all
>>> part because of the possibility of what I just described. It sounds lik=
e
>>> Mozilla is going to follow suit, but I haven't found concrete confirmat=
ion
>>> of that. That said, it will be a while before these changes are rolled =
out
>>> and support for the (dangerous) webRequest API is fully dropped, so thi=
s is
>>> likely going to continue to be a potential attack vector for a few year=
s at
>>> least.)
>>>
>>>
>>>
>>> Because of the ease of deployment of a malicious browser extension, I d=
o
>>> believe this is an important attack vector to consider and is worth
>>> solving. I am going to save any judgment on the particular dpop_jwk
>>> parameter proposal for a different thread, but I wanted to at least get=
 on
>>> the same page about the fact that this is something worth solving first=
.
>>>
>>>
>>>
>>> Aaron
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D
>>> 40rhosys.ch@dmarc.ietf.org> wrote:
>>>
>>> The only mention of sophistication is this logical fallacy:
>>>
>>>  If this leading security company had been penetrated, it almost
>>> certainly took an incredibly sophisticated attack.
>>>
>>>
>>>
>>> But it leaves out exactly what that was. And it doesn't give any insigh=
t
>>> into how this attack at MS would have been prevented despite the supply
>>> chain vulnerability based on the second point that Aaron made. If they =
are
>>> able to get the auth code, why aren't they able to get the DPoP signatu=
re?
>>> And then send both of these?
>>>
>>>
>>> Further in this case, it doesn't even matter if the attacker gets the
>>> access token if that access token is bound to the client, because it's
>>> worthless without the DPoP key. That's a much more secure solution than
>>> issuing non-bound Bearer tokens as a response to the bound authorizatio=
n
>>> code. And if Bearer tokens are being used instead of bound tokens, then
>>> those could still end up in the logs, and be exfiltrated.
>>>
>>>
>>>
>>> In OAuth, the client already needs to authenticate with the AS, the spe=
c
>>> is SHOULD, and options the client_secret already. Adding in the DPoP
>>> signature into the request is duplicating auth. If we don't like the cl=
ient
>>> auth mechanisms to the AS, we should directly provide an auth RFC
>>> recommending better alternatives than sending a symmetric client_secret
>>> back to the AS.
>>>
>>>
>>>
>>> *Warren Parad*
>>>
>>> Founder, CTO
>>>
>>> Secure your user data with IAM authorization as a service. Implement
>>> Authress <https://authress.io/>.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
>>> 40microsoft.com@dmarc.ietf.org> wrote:
>>>
>>> Thanks for the comments and engagement Warren.
>>>
>>>
>>>
>>> The attacks we described and the ideas on mitigations are born out of
>>> attack vectors we are observing in the wild. They are not negligible. W=
e
>>> are seeing a new class of very sophisticated attackers, and if you=E2=
=80=99re
>>> interested, this article provides good context on capability and
>>> sophistication of the attackers Brad Smith: Inside Microsoft during the
>>> SolarWinds hack (fastcompany.com)
>>> <https://www.fastcompany.com/90672384/microsoft-president-brad-smith-so=
larwinds-exclusive>.
>>> We are sharing this with the hope that the industry will benefit from o=
ur
>>> experiences and incorporate it into standards and products. Attacks tha=
t
>>> seemed impossibly complex are not only possible, but have become probab=
le.
>>>
>>>
>>>
>>> The proposed changes for DPoP are not meant to replace the need for
>>> one-time use tokens (single use tokens are preferable and we should
>>> continue to expect them), but instead address the limitations around
>>> implementing one-time use, especially at scale. The 60s window you ment=
ion
>>> below is sufficiently long to be exploited by these sophisticated attac=
kers.
>>>
>>>
>>>
>>> Cheers
>>>
>>>
>>>
>>> Pieter
>>>
>>>
>>>
>>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
>>> *Sent:* Wednesday 1 December 2021 15:29
>>> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.o=
rg>
>>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>>> oauth@ietf.org
>>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
>>> Parameter
>>>
>>>
>>>
>>> (e.g. one-time use in a certain timeframe etc).
>>>
>>>
>>>
>>> Sure but couldn't we just reduce the lifetime? Even if the token isn't
>>> one time use, surely the reuse time is trivially short which would prev=
ent
>>> against exfiltration of the necessary security tokens to issue the atta=
ck?
>>>
>>>
>>>
>>> I feel like the simpler solution will always win, which in this case is
>>> one-time use tokens, then the problem is moot, right? So this only come=
s
>>> into play if you want to allow token reuse in a time window. The previo=
usly
>>> suggested max allowed time window from OAuth 2.1 was 60s for auth codes=
. So
>>> we are saying that the attack surface is still too large, for the .01% =
of
>>> implementations that have multi-use tokens, and the .01% of implementat=
ions
>>> that use the maximum 60s reuse, and then the subset of those that aren'=
t
>>> correctly scrubing their logs, and then the subset of those that have a
>>> vulnerability which allows for exfiltration of both those logged tokens=
 and
>>> the logged PKCE verifier?
>>>
>>>
>>>
>>> Why are we making this more complicated for a majority of cases, which:
>>>
>>>    - Only have single use tokens
>>>    - Or Only have a very short lifetime
>>>    - Or Are already correctly sanitizing their logs
>>>    - Or Have defense in depth for their deployments.
>>>
>>> If the implementation is so insecure that none of those are happening,
>>> wouldn't the implementation for this functionality also be suspect for =
an
>>> opportunity for attack?
>>>
>>>
>>>
>>> I feel like we are justifying here that multi-use tokens are wrong, but
>>> still want a solution to use them. Once we've proven that an deployment=
 is
>>> not okay with using multi-use tokens, then the conclusion should be "do=
n't
>>> have multi-use tokens", not: "let's still have multi-use tokens, but co=
me
>>> up with a complex way to prevent their multi-use from accidentally bein=
g
>>> abused".
>>>
>>>
>>>
>>> Or am I missing something that would actually make this a
>>> non-negligible attack vector?
>>>
>>>
>>>
>>> - Warren
>>>
>>>
>>>
>>> *Warren Parad*
>>>
>>> Founder, CTO
>>>
>>> Secure your user data with IAM authorization as a service. Implement
>>> Authress
>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fau=
thress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbf=
bb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377396=
93847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJ=
BTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJ=
HCz6zXmW1PROTSc%3D&reserved=3D0>
>>> .
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
>>> 40microsoft.com@dmarc.ietf.org> wrote:
>>>
>>> Hi Aaron, Neil
>>>
>>>
>>>
>>> Thanks for the questions.
>>>
>>>
>>>
>>> We agree that ideally authorization codes and PKCE proofs would never
>>> end up in log files and one-time use would be perfectly implemented.
>>>
>>>
>>>
>>> However, in practice these artefacts do find their way into log files i=
n
>>> various places and one-time use may not always be practical (e.g. one-t=
ime
>>> use in a certain timeframe etc).
>>>
>>>
>>>
>>> The addition of these mitigations is not meant to replace the need for
>>> one-time use or good logging hygiene. Instead they provide pragmatic
>>> defence in depth against real attacks rather than assuming perfect
>>> implementations. We are deploying these mitigations and are sharing the=
m
>>> for inclusion in DPoP to enable others to do the same.
>>>
>>>
>>>
>>> Regarding the question about interrupting/intercepting the HTTPS
>>> connection, the attacker don=E2=80=99t need to intercept the HTTPS conn=
ection or
>>> modify the content in the TLS tunnel, rather they just need to prevent =
the
>>> authorization code from being presented to the Authorization Server. It=
 may
>>> even happen due to a poor network connection. The poor connection may b=
e
>>> engineered by an attacker, or they may opportunistically benefit from i=
t.
>>> The networks are not perfect either.
>>>
>>>
>>>
>>> Cheers
>>>
>>>
>>>
>>> Pieter
>>>
>>>
>>>
>>>
>>>
>>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
>>> *Sent:* Wednesday 1 December 2021 00:05
>>> *To:* Neil Madden <neil.madden@forgerock.com>
>>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>>> oauth@ietf.org
>>> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
>>> Parameter
>>>
>>>
>>>
>>> I tend to agree with Neil here. I'm struggling to see the relevance of
>>> this attack.
>>>
>>>
>>>
>>> It seems like the PDF writeup describes two possible reasons an attacke=
r
>>> could get access to the authorization code and PKCE code verifier.
>>>
>>>
>>>
>>> 1. The attacker has access to the logs of the token endpoint.
>>>
>>> 2. The attacker can intercept HTTPS connections between the client and
>>> AS (VPN, corporate network proxy, etc)
>>>
>>>
>>>
>>> For 1, the solution is to stop logging the contents of the POST body,
>>> and secure your infrastructure. I don't think making the client jump
>>> through extra hoops is a good solution if you are already logging more =
than
>>> you should be or you don't trust the people who have access to the
>>> infrastructure. If this really is a concern, I suspect there are a lot =
more
>>> places in the flow that would need to be patched up if you don't trust =
your
>>> own token endpoint.
>>>
>>>
>>>
>>> For 2, if the attacker can intercept the HTTPS connection, then the
>>> proposed solution doesn't add anything because the attacker could modif=
y
>>> the requests before it hits the authorization server anyway, and change
>>> which DPoP key the token gets bound to in the first place. Plus, the
>>> attacker would also have access to anything else the client is sending =
to
>>> the AS, such as the user's password when they authenticate at the AS.
>>>
>>>
>>>
>>> Are there other attack vectors I'm missing that might actually be solve=
d
>>> by this mechanism?
>>>
>>>
>>>
>>> Aaron
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com=
>
>>> wrote:
>>>
>>> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not con=
vinced the attack
>>> described in the earlier message really needs to be prevented at all. T=
he
>>> attack largely hinges on auth codes not being one-time use, which is no=
t a
>>> good idea, or otherwise on poor network security on the token endpoint.=
 I=E2=80=99m
>>> not convinced DPoP needs to protect against these things. Is there more=
 to
>>> this?
>>>
>>>
>>>
>>> The proposed solutions also seem susceptible to the same problems they
>>> attempt to solve - if an attacker is somehow able to interrupt the clie=
nt=E2=80=99s
>>> (TLS-protected) token request, why are they somehow not able to
>>> interrupt/modify the (far less protected) redirect to the authorization
>>> endpoint?
>>>
>>>
>>>
>>> =E2=80=94 Neil
>>>
>>>
>>>
>>> On 30 Nov 2021, at 20:15, Mike Jones <
>>> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>>>
>>>
>>>
>>> As described during the OAuth Security Workshop session on DPoP, I
>>> created a pull request adding the dpop_jkt authorization request parame=
ter
>>> to use for binding the authorization code to the client=E2=80=99s DPoP =
key.  See
>>> https://github.com/danielfett/draft-dpop/pull/89
>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi=
thub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kass=
elman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af=
91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWI=
joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&reserved=3D0>
>>> .
>>>
>>>
>>>
>>> This is an alternative to
>>> https://github.com/danielfett/draft-dpop/pull/86
>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi=
thub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kass=
elman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af=
91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWI=
joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>,
>>> which achieved this binding using a new DPoP PKCE method.  Using this
>>> alternative allows PKCE implementations to be unmodified, while adding =
DPoP
>>> in new code, which may be an advantage in some deployments.
>>>
>>>
>>>
>>> Please review and comment.  Note that I plan to add more of the attack
>>> description written by Pieter Kasselman to the security considerations =
in a
>>> future commit.  This attack description was sent by Pieter yesterday in=
 a
>>> message with the subject =E2=80=9CAuthorization Code Log File Attack (w=
as DPoP
>>> Interim Meeting Minutes)=E2=80=9D.
>>>
>>>
>>>
>>>                                                        -- Mike
>>>
>>>
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fww=
w.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%4=
0microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7=
cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w=
LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0=
pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>>
>>>
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fww=
w.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%4=
0microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7=
cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w=
LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0=
pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fww=
w.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%4=
0microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7=
cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w=
LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY0=
pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

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

--00000000000090474c05d2453281
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I can&#39;t help but wonder if defining this E2E bind=
ing allowance as a composite s256 + dpop_jkt PKCE method might be worth (re=
)considering here? As a PCKE method it&#39;d be decoupled from the main flo=
w and could be used in a more targeted way for situations that call for it =
while not imposing the extra cost/complexity on situations that don&#39;t n=
eed it. <br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Fri, Dec 3, 2021 at 9:23 AM Warren Parad &lt;wparad=3D=
<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhosys.ch=
@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div>I think the allowed keys would have to=
 be pre-registered=C2=A0in the AS.</div><div><br></div><div><div dir=3D"ltr=
"><div dir=3D"ltr"><table style=3D"border:medium none;border-collapse:colla=
pse"><colgroup><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr =
style=3D"height:0pt"><td style=3D"border-color:rgb(255,255,255) rgb(204,204=
,204) rgb(255,255,255) rgb(255,255,255);border-style:solid;border-width:1pt=
;vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"li=
ne-height:1.2;border-color:rgb(255,255,255);border-style:solid;border-width=
:1pt;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-f=
amily:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:ba=
seline;white-space:pre-wrap"><span style=3D"border:medium none;display:inli=
ne-block;overflow:hidden;width:199px;height:34px"><img src=3D"https://lh6.g=
oogleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPt=
rJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWc=
USNtuA" style=3D"margin-left: 0px; margin-top: 0px;" width=3D"199" height=
=3D"34"></span></span></p></td><td style=3D"border-color:rgb(255,255,255) r=
gb(255,255,255) rgb(255,255,255) rgb(204,204,204);border-style:solid;border=
-width:1pt;vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" s=
tyle=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);border-right=
:1pt solid rgb(255,255,255);border-top:1pt solid rgb(255,255,255);margin-to=
p:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,san=
s-serif;background-color:transparent;font-weight:700;vertical-align:baselin=
e;white-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line=
-height:1.2;border-left:1pt solid rgb(255,255,255);border-right:1pt solid r=
gb(255,255,255);border-bottom:1pt solid rgb(255,255,255);margin-top:0pt;mar=
gin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"font-size:13=
.3333px;white-space:pre-wrap">Founder, CTO</span></font></p></td></tr></tbo=
dy></table><span style=3D"font-size:x-small">Secure your user data with IAM=
 authorization as a service. Implement=C2=A0</span><a href=3D"https://authr=
ess.io/" style=3D"font-size:x-small" target=3D"_blank">Authress</a><span st=
yle=3D"font-size:x-small">.</span><br></div></div></div><br></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 3, =
2021 at 5:01 PM Warren Parad &lt;<a href=3D"mailto:wparad@rhosys.ch" target=
=3D"_blank">wparad@rhosys.ch</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><div dir=3D"ltr"><div>While I agree this is a p=
roblem, adding the thumbprint to the authorization request only increases t=
he difficulty for the malicious MITM attack to need to also intercept the a=
uthorization request in addition to the token request to swap out the dpop_=
jkt as well. If I&#39;m right, then it doesn&#39;t make sense to implement =
this as the solution.</div><div><br></div><div>While I agree, we could move=
 the dpop_jwk determination to the authorization request, instead of the to=
ken, it doesn&#39;t solve the problem. What it does say is that the authori=
zation request user-agent is the one that has the key, and not the one doin=
g the code exchange. Well this is actually weird in the case of non-public =
clients, because it doesn&#39;t make sense from that client perspective, as=
 the &quot;front-end&quot; would need to now have the constructed dpop_jkt =
even though it doesn&#39;t have the dpop key.</div><div><br></div><div><div=
><div dir=3D"ltr"><div dir=3D"ltr"><table style=3D"border:medium none;borde=
r-collapse:collapse"><colgroup><col width=3D"214"><col width=3D"110"></colg=
roup><tbody><tr style=3D"height:0pt"><td style=3D"border-width:1pt;border-s=
tyle:solid;border-color:rgb(255,255,255) rgb(204,204,204) rgb(255,255,255) =
rgb(255,255,255);vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"=
ltr" style=3D"line-height:1.2;border-width:1pt;border-style:solid;border-co=
lor:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"font-=
size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;v=
ertical-align:baseline;white-space:pre-wrap"><span style=3D"border:medium n=
one;display:inline-block;overflow:hidden;width:199px;height:34px"><img src=
=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZO=
sW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hju=
Im9GCeBRRzrSc8kWcUSNtuA" style=3D"margin-left: 0px; margin-top: 0px;" width=
=3D"199" height=3D"34"></span></span></p></td><td style=3D"border-width:1pt=
;border-style:solid;border-color:rgb(255,255,255) rgb(255,255,255) rgb(255,=
255,255) rgb(204,204,204);vertical-align:top;padding:5pt;overflow:hidden"><=
p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt solid rgb(255,255,25=
5);border-right:1pt solid rgb(255,255,255);border-top:1pt solid rgb(255,255=
,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-=
family:Lato,sans-serif;background-color:transparent;font-weight:700;vertica=
l-align:baseline;white-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr=
" style=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);border-ri=
ght:1pt solid rgb(255,255,255);border-bottom:1pt solid rgb(255,255,255);mar=
gin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=
=3D"font-size:13.3333px;white-space:pre-wrap">Founder, CTO</span></font></p=
></td></tr></tbody></table><span style=3D"font-size:x-small">Secure your us=
er data with IAM authorization as a service. Implement=C2=A0</span><a href=
=3D"https://authress.io/" style=3D"font-size:x-small" target=3D"_blank">Aut=
hress</a><span style=3D"font-size:x-small">.</span><br></div></div></div><b=
r></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Fri, Dec 3, 2021 at 12:22 AM Mike Jones &lt;Michael.Jones=3D<a h=
ref=3D"mailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft=
.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">





<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal">Thanks for this thoughtful analysis, Aaron.=C2=A0 I =
believe you=E2=80=99re spot on that these attacks can occur =E2=80=9Cwhen t=
he attacker has access to both the authorization code as well as the PKCE c=
ode verifier.=E2=80=9D<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt; <b>On Behalf =
Of </b>
Aaron Parecki<br>
<b>Sent:</b> Thursday, December 2, 2021 2:58 PM<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;; <a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org=
</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">Hi all, I&#39;ve been giving this some more thought.=
=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The problem occurs when the attacker has access to b=
oth the authorization code as well as the PKCE code verifier. The assumptio=
n being made with PKCE is that the first time the PKCE code verifier and au=
thorization code are seen together
 is in the POST request to the token endpoint. That means if there is a way=
 to observe this request, the attacker can complete the exchange and get an=
 access token.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pieter&#39;s writeup in the PDF describes one way th=
at can happen, by exfiltrating log files. While I still agree with the sent=
iment in this thread that this is a relatively obscure condition, I also ag=
ree that it is actually something that
 can happen in the wild, especially since there are entire companies built =
around the idea of real-time log file analysis.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">That said, there are other ways an attacker could ge=
t access to these two pieces of information. What are the different points =
in a request lifecycle that could be attacked? The beginning, the middle an=
d the end. We&#39;ve talked about attacking
 the end, which is the log file example. Attacking the middle involves bein=
g in the middle of the TLS connection, which we also know is possible with =
corporate network proxies and such. We haven&#39;t yet talked about the beg=
inning of the request. What can observe
 the beginning of a request? Here&#39;s a concrete example:<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Assume the OAuth client is a single-page app in a br=
owser. The user is using an ad blocker installed as a browser extension. Th=
e ad blocker can be configured to observe and block network requests before=
 they are made. If the extension is
 configured to attack a particular OAuth server, the JS client would make t=
he token request containing the authorization code and PKCE code verifier, =
then the extension would be able to observe that request, block it, and shi=
p the two values to the attacker&#39;s
 server where they can be redeemed and associated with the attacker&#39;s o=
wn DPoP key. Even perfectly single-use authorization codes don&#39;t help h=
ere either, because the original request was completely blocked.<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">(Sidenote: To get ahead of any counterarguments=C2=
=A0here, yes, Chrome is eventually migrating to their new &quot;manifest v3=
&quot; which deprecates the webRequest API that allows this observation in =
favor of a different API that lets the browser block
 requests without making the actual request data available to the extension=
, which I am assuming they are doing in no small part because of the possib=
ility of what I just described. It sounds like Mozilla is going to follow s=
uit, but I haven&#39;t found concrete
 confirmation of that. That said, it will be a while before these changes a=
re rolled out and support for the (dangerous) webRequest API is fully dropp=
ed, so this is likely going to continue to be a potential attack vector for=
 a few years at least.)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Because of the ease of deployment of a malicious bro=
wser extension, I do believe this is an important attack vector to consider=
 and is worth solving. I am going to save any judgment on the particular dp=
op_jwk parameter proposal for a different
 thread, but I wanted to at least get on the same page about the fact that =
this is something worth solving first.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 10:38 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal">The only mention of sophistication is this logical f=
allacy:<u></u><u></u></p>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class=3D"MsoNormal">=C2=A0If this leading security company had been pene=
trated, it almost certainly took an incredibly sophisticated attack.<u></u>=
<u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But it leaves out exactly what that was. And it does=
n&#39;t give any insight into how this attack at MS would have been prevent=
ed despite the supply chain vulnerability based on the second point that Aa=
ron made. If they are able to get the
 auth code, why aren&#39;t they able to get the DPoP signature? And then se=
nd both of these?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Further in this case, it doesn&#39;t even matter if the attacker gets the a=
ccess token if that access token is bound to the client, because it&#39;s w=
orthless without the DPoP key. That&#39;s a much more secure solution than =
issuing non-bound Bearer tokens as a response
 to the bound authorization code. And if Bearer tokens are being used inste=
ad of bound tokens, then those could still end up in the logs, and be exfil=
trated.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">In OAuth, the=C2=A0client already needs to authentic=
ate with the AS, the spec is SHOULD, and options the client_secret already.=
 Adding in the DPoP signature into the request is duplicating auth. If we d=
on&#39;t like the client auth mechanisms to
 the AS, we should directly provide an auth RFC recommending better alterna=
tives than sending a symmetric client_secret back to the AS.<u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"=
0" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204=
,204,204) white white;padding:5pt;overflow:hidden" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:medium none;padding:0in"><span style=3D"font-=
family:Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"=
><img style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_7577119568=
980540244gmail-m_4295621141365843873gmail-m_-6277497618792752229gmail-m_390=
0149451974999695gmail-m_4440014231398409192_x0000_i1026" src=3D"https://lh6=
.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbA=
PtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8k=
WcUSNtuA" width=3D"199" height=3D"34" border=3D"0"></span><u></u><u></u></p=
>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid=
 solid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidd=
en" valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid soli=
d none;border-width:1pt 1pt medium;padding:0in">
<p style=3D"margin:0in;border:medium none;padding:0in"><b><span style=3D"fo=
nt-family:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid=
 solid;border-width:medium 1pt 1pt;padding:0in">
<p style=3D"margin:0in;border:medium none;padding:0in"><span style=3D"font-=
size:10pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p=
>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://authress.io/" target=3D"_blank"><span style=3D"font-size:10pt">Authress=
</span></a><span style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the comments and eng=
agement Warren.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The attacks we described and th=
e ideas on mitigations are born out of attack vectors we are observing in t=
he wild. They are not negligible. We are seeing a new
 class of very sophisticated attackers, and if you=E2=80=99re interested, t=
his article provides good context on capability and sophistication of the a=
ttackers
<a href=3D"https://www.fastcompany.com/90672384/microsoft-president-brad-sm=
ith-solarwinds-exclusive" target=3D"_blank">
Brad Smith: Inside Microsoft during the SolarWinds hack (fastcompany.com)</=
a>. We are sharing this with the hope that the industry will benefit from o=
ur experiences and incorporate it into standards and products. Attacks that=
 seemed impossibly complex are not
 only possible, but have become probable. <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed changes for DPoP a=
re not meant to replace the need for one-time use tokens (single use tokens=
 are preferable and we should continue to expect them),
 but instead address the limitations around implementing one-time use, espe=
cially at scale. The 60s window you mention below is sufficiently long to b=
e exploited by these sophisticated attackers.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<p class=3D"MsoNormal"><span lang=3D"EN-IE">(e.g. one-time use in a certain=
 timeframe etc).<u></u><u></u></span></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sure but couldn&#39;t we just r=
educe the lifetime? Even if the token isn&#39;t one time use, surely the re=
use time is trivially short which would prevent against exfiltration
 of the necessary security tokens to issue the attack?<u></u><u></u></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like the simpler=C2=A0so=
lution will always win, which in this case is one-time use tokens, then the=
 problem is moot, right? So this only comes into play if
 you want to allow token reuse in a time window. The previously suggested m=
ax allowed time window from OAuth 2.1 was 60s for auth codes. So we are say=
ing that the attack surface is still too large, for the .01% of implementat=
ions that have multi-use tokens,
 and the .01% of implementations that use the maximum 60s reuse, and then t=
he subset of those that aren&#39;t correctly scrubing their logs, and then =
the subset of those that have a vulnerability which allows for exfiltration=
 of both those logged tokens and the
 logged PKCE verifier?<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Why are we making this more com=
plicated for a majority of cases, which:<u></u><u></u></span></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
<span lang=3D"EN-IE">Only have single use tokens<u></u><u></u></span></li><=
li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Only have a very short lifetime<u></u><u></u></span=
></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Are already correctly sanitizing their logs<u></u><=
u></u></span></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Have defense in depth for their deployments.<u></u>=
<u></u></span></li></ul>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">If the implementation is so ins=
ecure that none of those are happening, wouldn&#39;t the implementation for=
 this functionality also be suspect for an opportunity for
 attack?<u></u><u></u></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like we are justifying h=
ere that multi-use tokens are wrong, but still want a solution to use them.=
 Once we&#39;ve proven that an deployment is not okay with
 using multi-use tokens, then the conclusion should be &quot;don&#39;t have=
 multi-use tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, =
but come up with a complex way to prevent their multi-use from accidentally=
 being abused&quot;.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Or am I missing something that =
would actually make this a non-negligible=C2=A0attack vector?<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">- Warren<u></u><u></u></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"=
0" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204=
,204,204) white white;padding:5pt" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0in"><img style=3D"width: 2.0729in;=
 height: 0.3541in;" id=3D"gmail-m_7577119568980540244gmail-m_42956211413658=
43873gmail-m_-6277497618792752229gmail-m_3900149451974999695gmail-m_4440014=
231398409192_x0000_i1025" src=3D"https://lh6.googleusercontent.com/DNiDx1QG=
IrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO=
45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=
=3D"34" border=3D"0"></span><u></u><u></u></p>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid=
 solid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidd=
en" valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid soli=
d none;border-width:1pt 1pt medium;padding:0in">
<p style=3D"margin:0in"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid=
 solid;border-width:medium 1pt 1pt;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt" lang=3D"EN-IE">Secure=
 your user data with IAM authorization as a service. Implement=C2=A0</span>=
<span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselm=
an%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91a=
b2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi=
MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHCz6zXmW1PROTSc%3D&amp;reserved=3D0" tar=
get=3D"_blank"><span style=3D"font-size:10pt">Authress</span></a></span><sp=
an style=3D"font-size:10pt" lang=3D"EN-IE">.</span><span lang=3D"EN-IE"><u>=
</u><u></u></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Wed, Dec 1, 2021 at 4:14 PM =
Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@d=
marc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Hi Aaron, Neil<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the questions.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">We agree that ideally authoriza=
tion codes and PKCE proofs would never end up in log files and one-time use=
 would be perfectly implemented.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">However, in practice these arte=
facts do find their way into log files in various places and one-time use m=
ay not always be practical (e.g. one-time use in a certain
 timeframe etc). <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The addition of these mitigatio=
ns is not meant to replace the need for one-time use or good logging hygien=
e. Instead they provide pragmatic defence in depth against
 real attacks rather than assuming perfect implementations. We are deployin=
g these mitigations and are sharing them for inclusion in DPoP to enable ot=
hers to do the same.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Regarding the question about in=
terrupting/intercepting the HTTPS connection, the attacker don=E2=80=99t ne=
ed to intercept the HTTPS connection or modify the content in
 the TLS tunnel, rather they just need to prevent the authorization code fr=
om being presented to the Authorization Server. It may even happen due to a=
 poor network connection. The poor connection may be engineered by an attac=
ker, or they may opportunistically
 benefit from it. The networks are not perfect either.<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=
=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">o=
auth-bounces@ietf.org</span></a></span>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<span lang=3D"EN-IE"><a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forger=
ock.com</span></a></span>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<span lang=3D"EN-IE"><a href=3D"m=
ailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US=
">40microsoft.com@dmarc.ietf.org</span></a></span>&gt;;
<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth@ietf.org</span></a></span><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I tend to agree with Neil here.=
 I&#39;m struggling to see the relevance of this attack.=C2=A0<u></u><u></u=
></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">It seems like the PDF writeup d=
escribes two possible reasons an attacker could get access to the authoriza=
tion code and PKCE code verifier.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">1. The attacker has access to t=
he logs of the token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">2. The attacker can intercept H=
TTPS connections between the client and AS (VPN, corporate network proxy, e=
tc)<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 1, the solution is to stop =
logging the contents of the POST body, and secure your infrastructure. I do=
n&#39;t think making the client jump through extra hoops
 is a good solution if you are already logging more than you should be or y=
ou don&#39;t trust the people who have access to the infrastructure. If thi=
s really is a concern, I suspect there are a lot more places in the flow th=
at would need to be patched up if you
 don&#39;t trust your own token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 2, if the attacker can inte=
rcept the HTTPS connection, then the proposed solution doesn&#39;t add anyt=
hing because the attacker could modify the requests before
 it hits the authorization server anyway, and change which DPoP key the tok=
en gets bound to in the first place. Plus, the attacker would also have acc=
ess to anything else the client is sending to the AS, such as the user&#39;=
s password when they authenticate at
 the AS.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Are there other attack vectors =
I&#39;m missing that might actually be solved by this mechanism?<u></u><u><=
/u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Aaron<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Tue, Nov 30, 2021 at 12:40 P=
M Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_b=
lank">neil.madden@forgerock.com</a>&gt; wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sadly I couldn=E2=80=99t make t=
he DPoP session, but I=E2=80=99m not convinced the attack described in the =
earlier message really needs to be prevented at all. The attack largely
 hinges on auth codes not being one-time use, which is not a good idea, or =
otherwise on poor network security on the token endpoint. I=E2=80=99m not c=
onvinced DPoP needs to protect against these things. Is there more to this?=
<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed solutions also see=
m susceptible to the same problems they attempt to solve - if an attacker i=
s somehow able to interrupt the client=E2=80=99s (TLS-protected)
 token request, why are they somehow not able to interrupt/modify the (far =
less protected) redirect to the authorization endpoint?<u></u><u></u></span=
></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=E2=80=94 Neil<u></u><u></u></s=
pan></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-IE">=
=C2=A0<u></u><u></u></span></p>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On 30 Nov 2021, at 20:15, Mike =
Jones &lt;<a href=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org"=
 target=3D"_blank">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">As described during the OAuth S=
ecurity Workshop session on DPoP, I created a pull request adding the dpop_=
jkt authorization request parameter to use for binding
 the authorization code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=
=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" t=
arget=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://github.com/dan=
ielfett/draft-dpop/pull/89</span></a>.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">This is an alternative to=C2=A0=
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserv=
ed=3D0" target=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://githu=
b.com/danielfett/draft-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Please review and comment.=C2=
=A0 Note that I plan to add more of the attack description written by Piete=
r Kasselman to the security considerations in a future commit.=C2=A0
 This attack description was sent by Pieter yesterday in a message with the=
 subject =E2=80=9CAuthorization Code Log File Attack (was DPoP Interim Meet=
ing Minutes)=E2=80=9D.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mi=
ke<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ti=
mes New Roman&quot;,serif" lang=3D"EN-IE">_________________________________=
______________<br>
OAuth mailing list<br>
</span><span lang=3D"EN-IE"><a href=3D"mailto:OAuth@ietf.org" target=3D"_bl=
ank"><span style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot=
;,serif;color:rgb(5,99,193)">OAuth@ietf.org</span></a></span><span style=3D=
"font-size:10.5pt;font-family:&quot;Times New Roman&quot;,serif" lang=3D"EN=
-IE"><br>
</span><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&a=
mp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd6415=
08d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773969384758090=
5%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSz=
n%2FS%2FE%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:1=
0.5pt;font-family:&quot;Times New Roman&quot;,serif;color:rgb(5,99,193)">ht=
tps://www.ietf.org/mailman/listinfo/oauth</span></a><u></u><u></u></span></=
p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/oauth</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:ba=
seline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-=
ui,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,C=
antarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><=
span style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:=
baseline;background:transparent;font-family:proxima-nova-zendesk,system-ui,=
-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ub=
untu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"=
><font size=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidenti=
al and privileged material for the sole use of the intended recipient(s). A=
ny review, use, distribution or disclosure by others is strictly prohibited=
.=C2=A0 If you have received this communication in error, please notify the=
 sender immediately by e-mail and delete the message and any file attachmen=
ts from your computer. Thank you.</font></span></i>
--00000000000090474c05d2453281--


From nobody Sat Dec  4 04:45:52 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 132E53A08A4 for <oauth@ietfa.amsl.com>; Sat,  4 Dec 2021 04:45:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 69JcA7CMz-LF for <oauth@ietfa.amsl.com>; Sat,  4 Dec 2021 04:45:44 -0800 (PST)
Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 1C7233A08A8 for <oauth@ietf.org>; Sat,  4 Dec 2021 04:45:44 -0800 (PST)
Received: by mail-yb1-xb2c.google.com with SMTP id e136so17501682ybc.4 for <oauth@ietf.org>; Sat, 04 Dec 2021 04:45:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W8pqIfLyRBjYvgmvRPpDEwiPlVkUd+bTIb6RUfyNT0A=; b=ODbfAKfbXCRsJRiWA0odnJrjME4/FhshwGamXGOqlvZYn+xEU+hfNL26sWdtMnvoJn /moDCCg665x9/Ef0MDLDCBdgh3PWED7cKoPtej9Vt1zfOEKp3WCni2ltJt2qlCEvkuRs jcTROKcguXTaevsrbS0OVKtQEAhjSfpFUFsUdJgK9ZOm3Faz8SWWPXm2d2buzMEoy8tW GB7KG2Ziv5GjMB5oh7rVNYZXPGjUiQOik+clgYW8SRhKqkDT2JlsH52d4ZGo9PUahrE3 U78oagTGPWVWI5p0xs7MLKdz+ylFR6rse6P6hx6Y/dQBNF3AiEFNMyZBapH5CfrKJu3x nABg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W8pqIfLyRBjYvgmvRPpDEwiPlVkUd+bTIb6RUfyNT0A=; b=8CGjwEH2EEmPQx+0Trr7wfw7jUaPuqi7HxRh5dgLN03GN/yQmYQCZXWALuWtJw7fKN Q8W7W6f0JGzBb0jQgsPJI1PXldzuW9ASRkwHOy9zFshKVoW0x6uQs9TNwYDX41PTg+Nc 3j3yRolb7iTx1sEFDqCqZJSdGnizqlymmaMjixswRb9cBlduP+vV6He3PmwhLAcJuzaO GA/5WqSXLPNfIiy1ZZw0zurpUXQf5k5LcLY+DLxn/FSOQtNQQb7YGTqRnIJKVuc0KDCb /ekqrkAXkUI10ijpTnb+v30OJ1eFj4ua4GOaSqfUth82vKUXc50IyOqxuT/e9yBsBG0p /xTA==
X-Gm-Message-State: AOAM533qZJxengBjIi5NYITFClFaBIfB6+NIz8aTpmApfPGxHyi8ioIi K+rBIgGvF4VDUYXteLpO2tjbYASV0aaL+7LrvFc9
X-Google-Smtp-Source: ABdhPJw31VhlJm+wAyNLzATrRKD/XKS+CljPaSh8A/y4BObkaXCJTnlRYrpwjOzJI2RgjoP6GIXUQZGnxkGMCnPNls4=
X-Received: by 2002:a25:cad5:: with SMTP id a204mr29716335ybg.234.1638621942093;  Sat, 04 Dec 2021 04:45:42 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com> <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com> <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com> <CAJot-L10T-ihs-b5yu0-=9i7LEFME+05enpNYE-eJRZJ5UWN-g@mail.gmail.com> <CA+k3eCQimdMmQYBtJPooN9NjbtXOKUxyVY0AJPb-b2NzeLcodA@mail.gmail.com>
In-Reply-To: <CA+k3eCQimdMmQYBtJPooN9NjbtXOKUxyVY0AJPb-b2NzeLcodA@mail.gmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Sat, 4 Dec 2021 13:45:31 +0100
Message-ID: <CAJot-L0uHRS9TABXLvUK5tEoko+oquuyd-D6i==oBkhFQLFiJg@mail.gmail.com>
To: Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>
Cc: Mike Jones <Michael.Jones@microsoft.com>,  Pieter Kasselman <pieter.kasselman@microsoft.com>, "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c7afce05d2516639"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/LWD4ItlSJ45irSsyVJD7HoK4r88>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Dec 2021 12:45:50 -0000

--000000000000c7afce05d2516639
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I'm still struggling to see how this prevents the compromised extension
attack we are considering though. As far as I can tell the only way to
avoid it is to guarantee the auth flow is for a trusted authority to
approve the auth code exchange. We just need the user-agent to get involved
and intercept the authorization response and handle the auth code exchange
before ever passing the auth code through possibly untrusted malicious
executors. This leaves us back with the browser removing dangerous APIs or
explicitly doing the auth code exchange, which would be a larger hurdle to
cross.

For the log file exfiltration of the auth code and PKCE, I would actually
like to understand more about the nature of code reuse in this situation.
Perhaps it is just a matter of better handling in these cases, and
disallowing code reuse explicitly for public clients. Even if we believe
code reuse has to happen for confidential ones, must it also happen for
public clients? If we could prove that there exists a solution for public
clients or a lack of a need, then disallowing multi-use auth codes resolves
the exfiltration attack.


Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Fri, Dec 3, 2021 at 11:12 PM Brian Campbell <bcampbell=3D
40pingidentity.com@dmarc.ietf.org> wrote:

> I can't help but wonder if defining this E2E binding allowance as a
> composite s256 + dpop_jkt PKCE method might be worth (re)considering here=
?
> As a PCKE method it'd be decoupled from the main flow and could be used i=
n
> a more targeted way for situations that call for it while not imposing th=
e
> extra cost/complexity on situations that don't need it.
>
> On Fri, Dec 3, 2021 at 9:23 AM Warren Parad <wparad=3D
> 40rhosys.ch@dmarc.ietf.org> wrote:
>
>> I think the allowed keys would have to be pre-registered in the AS.
>>
>> Warren Parad
>>
>> Founder, CTO
>> Secure your user data with IAM authorization as a service. Implement
>> Authress <https://authress.io/>.
>>
>>
>> On Fri, Dec 3, 2021 at 5:01 PM Warren Parad <wparad@rhosys.ch> wrote:
>>
>>> While I agree this is a problem, adding the thumbprint to the
>>> authorization request only increases the difficulty for the malicious M=
ITM
>>> attack to need to also intercept the authorization request in addition =
to
>>> the token request to swap out the dpop_jkt as well. If I'm right, then =
it
>>> doesn't make sense to implement this as the solution.
>>>
>>> While I agree, we could move the dpop_jwk determination to the
>>> authorization request, instead of the token, it doesn't solve the probl=
em.
>>> What it does say is that the authorization request user-agent is the on=
e
>>> that has the key, and not the one doing the code exchange. Well this is
>>> actually weird in the case of non-public clients, because it doesn't ma=
ke
>>> sense from that client perspective, as the "front-end" would need to no=
w
>>> have the constructed dpop_jkt even though it doesn't have the dpop key.
>>>
>>> Warren Parad
>>>
>>> Founder, CTO
>>> Secure your user data with IAM authorization as a service. Implement
>>> Authress <https://authress.io/>.
>>>
>>>
>>> On Fri, Dec 3, 2021 at 12:22 AM Mike Jones <Michael.Jones=3D
>>> 40microsoft.com@dmarc.ietf.org> wrote:
>>>
>>>> Thanks for this thoughtful analysis, Aaron.  I believe you=E2=80=99re =
spot on
>>>> that these attacks can occur =E2=80=9Cwhen the attacker has access to =
both the
>>>> authorization code as well as the PKCE code verifier.=E2=80=9D
>>>>
>>>>
>>>>
>>>>                                                        -- Mike
>>>>
>>>>
>>>>
>>>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of * Aaron Parecki
>>>> *Sent:* Thursday, December 2, 2021 2:58 PM
>>>> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
>>>> *Cc:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.=
org>;
>>>> oauth@ietf.org
>>>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization
>>>> Request Parameter
>>>>
>>>>
>>>>
>>>> Hi all, I've been giving this some more thought.
>>>>
>>>>
>>>>
>>>> The problem occurs when the attacker has access to both the
>>>> authorization code as well as the PKCE code verifier. The assumption b=
eing
>>>> made with PKCE is that the first time the PKCE code verifier and
>>>> authorization code are seen together is in the POST request to the tok=
en
>>>> endpoint. That means if there is a way to observe this request, the
>>>> attacker can complete the exchange and get an access token.
>>>>
>>>>
>>>>
>>>> Pieter's writeup in the PDF describes one way that can happen, by
>>>> exfiltrating log files. While I still agree with the sentiment in this
>>>> thread that this is a relatively obscure condition, I also agree that =
it is
>>>> actually something that can happen in the wild, especially since there=
 are
>>>> entire companies built around the idea of real-time log file analysis.
>>>>
>>>>
>>>>
>>>> That said, there are other ways an attacker could get access to these
>>>> two pieces of information. What are the different points in a request
>>>> lifecycle that could be attacked? The beginning, the middle and the en=
d.
>>>> We've talked about attacking the end, which is the log file example.
>>>> Attacking the middle involves being in the middle of the TLS connectio=
n,
>>>> which we also know is possible with corporate network proxies and such=
. We
>>>> haven't yet talked about the beginning of the request. What can observ=
e the
>>>> beginning of a request? Here's a concrete example:
>>>>
>>>>
>>>>
>>>> Assume the OAuth client is a single-page app in a browser. The user is
>>>> using an ad blocker installed as a browser extension. The ad blocker c=
an be
>>>> configured to observe and block network requests before they are made.=
 If
>>>> the extension is configured to attack a particular OAuth server, the J=
S
>>>> client would make the token request containing the authorization code =
and
>>>> PKCE code verifier, then the extension would be able to observe that
>>>> request, block it, and ship the two values to the attacker's server wh=
ere
>>>> they can be redeemed and associated with the attacker's own DPoP key. =
Even
>>>> perfectly single-use authorization codes don't help here either, becau=
se
>>>> the original request was completely blocked.
>>>>
>>>>
>>>>
>>>> (Sidenote: To get ahead of any counterarguments here, yes, Chrome is
>>>> eventually migrating to their new "manifest v3" which deprecates the
>>>> webRequest API that allows this observation in favor of a different AP=
I
>>>> that lets the browser block requests without making the actual request=
 data
>>>> available to the extension, which I am assuming they are doing in no s=
mall
>>>> part because of the possibility of what I just described. It sounds li=
ke
>>>> Mozilla is going to follow suit, but I haven't found concrete confirma=
tion
>>>> of that. That said, it will be a while before these changes are rolled=
 out
>>>> and support for the (dangerous) webRequest API is fully dropped, so th=
is is
>>>> likely going to continue to be a potential attack vector for a few yea=
rs at
>>>> least.)
>>>>
>>>>
>>>>
>>>> Because of the ease of deployment of a malicious browser extension, I
>>>> do believe this is an important attack vector to consider and is worth
>>>> solving. I am going to save any judgment on the particular dpop_jwk
>>>> parameter proposal for a different thread, but I wanted to at least ge=
t on
>>>> the same page about the fact that this is something worth solving firs=
t.
>>>>
>>>>
>>>>
>>>> Aaron
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D
>>>> 40rhosys.ch@dmarc.ietf.org> wrote:
>>>>
>>>> The only mention of sophistication is this logical fallacy:
>>>>
>>>>  If this leading security company had been penetrated, it almost
>>>> certainly took an incredibly sophisticated attack.
>>>>
>>>>
>>>>
>>>> But it leaves out exactly what that was. And it doesn't give any
>>>> insight into how this attack at MS would have been prevented despite t=
he
>>>> supply chain vulnerability based on the second point that Aaron made. =
If
>>>> they are able to get the auth code, why aren't they able to get the DP=
oP
>>>> signature? And then send both of these?
>>>>
>>>>
>>>> Further in this case, it doesn't even matter if the attacker gets the
>>>> access token if that access token is bound to the client, because it's
>>>> worthless without the DPoP key. That's a much more secure solution tha=
n
>>>> issuing non-bound Bearer tokens as a response to the bound authorizati=
on
>>>> code. And if Bearer tokens are being used instead of bound tokens, the=
n
>>>> those could still end up in the logs, and be exfiltrated.
>>>>
>>>>
>>>>
>>>> In OAuth, the client already needs to authenticate with the AS, the
>>>> spec is SHOULD, and options the client_secret already. Adding in the D=
PoP
>>>> signature into the request is duplicating auth. If we don't like the c=
lient
>>>> auth mechanisms to the AS, we should directly provide an auth RFC
>>>> recommending better alternatives than sending a symmetric client_secre=
t
>>>> back to the AS.
>>>>
>>>>
>>>>
>>>> *Warren Parad*
>>>>
>>>> Founder, CTO
>>>>
>>>> Secure your user data with IAM authorization as a service. Implement
>>>> Authress <https://authress.io/>.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
>>>> 40microsoft.com@dmarc.ietf.org> wrote:
>>>>
>>>> Thanks for the comments and engagement Warren.
>>>>
>>>>
>>>>
>>>> The attacks we described and the ideas on mitigations are born out of
>>>> attack vectors we are observing in the wild. They are not negligible. =
We
>>>> are seeing a new class of very sophisticated attackers, and if you=E2=
=80=99re
>>>> interested, this article provides good context on capability and
>>>> sophistication of the attackers Brad Smith: Inside Microsoft during
>>>> the SolarWinds hack (fastcompany.com)
>>>> <https://www.fastcompany.com/90672384/microsoft-president-brad-smith-s=
olarwinds-exclusive>.
>>>> We are sharing this with the hope that the industry will benefit from =
our
>>>> experiences and incorporate it into standards and products. Attacks th=
at
>>>> seemed impossibly complex are not only possible, but have become proba=
ble.
>>>>
>>>>
>>>>
>>>> The proposed changes for DPoP are not meant to replace the need for
>>>> one-time use tokens (single use tokens are preferable and we should
>>>> continue to expect them), but instead address the limitations around
>>>> implementing one-time use, especially at scale. The 60s window you men=
tion
>>>> below is sufficiently long to be exploited by these sophisticated atta=
ckers.
>>>>
>>>>
>>>>
>>>> Cheers
>>>>
>>>>
>>>>
>>>> Pieter
>>>>
>>>>
>>>>
>>>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
>>>> *Sent:* Wednesday 1 December 2021 15:29
>>>> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.=
org
>>>> >
>>>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>>>> oauth@ietf.org
>>>> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization
>>>> Request Parameter
>>>>
>>>>
>>>>
>>>> (e.g. one-time use in a certain timeframe etc).
>>>>
>>>>
>>>>
>>>> Sure but couldn't we just reduce the lifetime? Even if the token isn't
>>>> one time use, surely the reuse time is trivially short which would pre=
vent
>>>> against exfiltration of the necessary security tokens to issue the att=
ack?
>>>>
>>>>
>>>>
>>>> I feel like the simpler solution will always win, which in this case i=
s
>>>> one-time use tokens, then the problem is moot, right? So this only com=
es
>>>> into play if you want to allow token reuse in a time window. The previ=
ously
>>>> suggested max allowed time window from OAuth 2.1 was 60s for auth code=
s. So
>>>> we are saying that the attack surface is still too large, for the .01%=
 of
>>>> implementations that have multi-use tokens, and the .01% of implementa=
tions
>>>> that use the maximum 60s reuse, and then the subset of those that aren=
't
>>>> correctly scrubing their logs, and then the subset of those that have =
a
>>>> vulnerability which allows for exfiltration of both those logged token=
s and
>>>> the logged PKCE verifier?
>>>>
>>>>
>>>>
>>>> Why are we making this more complicated for a majority of cases, which=
:
>>>>
>>>>    - Only have single use tokens
>>>>    - Or Only have a very short lifetime
>>>>    - Or Are already correctly sanitizing their logs
>>>>    - Or Have defense in depth for their deployments.
>>>>
>>>> If the implementation is so insecure that none of those are happening,
>>>> wouldn't the implementation for this functionality also be suspect for=
 an
>>>> opportunity for attack?
>>>>
>>>>
>>>>
>>>> I feel like we are justifying here that multi-use tokens are wrong, bu=
t
>>>> still want a solution to use them. Once we've proven that an deploymen=
t is
>>>> not okay with using multi-use tokens, then the conclusion should be "d=
on't
>>>> have multi-use tokens", not: "let's still have multi-use tokens, but c=
ome
>>>> up with a complex way to prevent their multi-use from accidentally bei=
ng
>>>> abused".
>>>>
>>>>
>>>>
>>>> Or am I missing something that would actually make this a
>>>> non-negligible attack vector?
>>>>
>>>>
>>>>
>>>> - Warren
>>>>
>>>>
>>>>
>>>> *Warren Parad*
>>>>
>>>> Founder, CTO
>>>>
>>>> Secure your user data with IAM authorization as a service. Implement
>>>> Authress
>>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fa=
uthress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcb=
fbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739=
693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC=
JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcs=
JHCz6zXmW1PROTSc%3D&reserved=3D0>
>>>> .
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
>>>> 40microsoft.com@dmarc.ietf.org> wrote:
>>>>
>>>> Hi Aaron, Neil
>>>>
>>>>
>>>>
>>>> Thanks for the questions.
>>>>
>>>>
>>>>
>>>> We agree that ideally authorization codes and PKCE proofs would never
>>>> end up in log files and one-time use would be perfectly implemented.
>>>>
>>>>
>>>>
>>>> However, in practice these artefacts do find their way into log files
>>>> in various places and one-time use may not always be practical (e.g.
>>>> one-time use in a certain timeframe etc).
>>>>
>>>>
>>>>
>>>> The addition of these mitigations is not meant to replace the need for
>>>> one-time use or good logging hygiene. Instead they provide pragmatic
>>>> defence in depth against real attacks rather than assuming perfect
>>>> implementations. We are deploying these mitigations and are sharing th=
em
>>>> for inclusion in DPoP to enable others to do the same.
>>>>
>>>>
>>>>
>>>> Regarding the question about interrupting/intercepting the HTTPS
>>>> connection, the attacker don=E2=80=99t need to intercept the HTTPS con=
nection or
>>>> modify the content in the TLS tunnel, rather they just need to prevent=
 the
>>>> authorization code from being presented to the Authorization Server. I=
t may
>>>> even happen due to a poor network connection. The poor connection may =
be
>>>> engineered by an attacker, or they may opportunistically benefit from =
it.
>>>> The networks are not perfect either.
>>>>
>>>>
>>>>
>>>> Cheers
>>>>
>>>>
>>>>
>>>> Pieter
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
>>>> *Sent:* Wednesday 1 December 2021 00:05
>>>> *To:* Neil Madden <neil.madden@forgerock.com>
>>>> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
>>>> oauth@ietf.org
>>>> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
>>>> Parameter
>>>>
>>>>
>>>>
>>>> I tend to agree with Neil here. I'm struggling to see the relevance of
>>>> this attack.
>>>>
>>>>
>>>>
>>>> It seems like the PDF writeup describes two possible reasons an
>>>> attacker could get access to the authorization code and PKCE code veri=
fier.
>>>>
>>>>
>>>>
>>>> 1. The attacker has access to the logs of the token endpoint.
>>>>
>>>> 2. The attacker can intercept HTTPS connections between the client and
>>>> AS (VPN, corporate network proxy, etc)
>>>>
>>>>
>>>>
>>>> For 1, the solution is to stop logging the contents of the POST body,
>>>> and secure your infrastructure. I don't think making the client jump
>>>> through extra hoops is a good solution if you are already logging more=
 than
>>>> you should be or you don't trust the people who have access to the
>>>> infrastructure. If this really is a concern, I suspect there are a lot=
 more
>>>> places in the flow that would need to be patched up if you don't trust=
 your
>>>> own token endpoint.
>>>>
>>>>
>>>>
>>>> For 2, if the attacker can intercept the HTTPS connection, then the
>>>> proposed solution doesn't add anything because the attacker could modi=
fy
>>>> the requests before it hits the authorization server anyway, and chang=
e
>>>> which DPoP key the token gets bound to in the first place. Plus, the
>>>> attacker would also have access to anything else the client is sending=
 to
>>>> the AS, such as the user's password when they authenticate at the AS.
>>>>
>>>>
>>>>
>>>> Are there other attack vectors I'm missing that might actually be
>>>> solved by this mechanism?
>>>>
>>>>
>>>>
>>>> Aaron
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.co=
m>
>>>> wrote:
>>>>
>>>> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not co=
nvinced the
>>>> attack described in the earlier message really needs to be prevented a=
t
>>>> all. The attack largely hinges on auth codes not being one-time use, w=
hich
>>>> is not a good idea, or otherwise on poor network security on the token
>>>> endpoint. I=E2=80=99m not convinced DPoP needs to protect against thes=
e things. Is
>>>> there more to this?
>>>>
>>>>
>>>>
>>>> The proposed solutions also seem susceptible to the same problems they
>>>> attempt to solve - if an attacker is somehow able to interrupt the cli=
ent=E2=80=99s
>>>> (TLS-protected) token request, why are they somehow not able to
>>>> interrupt/modify the (far less protected) redirect to the authorizatio=
n
>>>> endpoint?
>>>>
>>>>
>>>>
>>>> =E2=80=94 Neil
>>>>
>>>>
>>>>
>>>> On 30 Nov 2021, at 20:15, Mike Jones <
>>>> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>>>>
>>>>
>>>>
>>>> As described during the OAuth Security Workshop session on DPoP, I
>>>> created a pull request adding the dpop_jkt authorization request param=
eter
>>>> to use for binding the authorization code to the client=E2=80=99s DPoP=
 key.  See
>>>> https://github.com/danielfett/draft-dpop/pull/89
>>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fg=
ithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cpieter.kas=
selman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141a=
f91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJW=
IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&reserved=3D0>
>>>> .
>>>>
>>>>
>>>>
>>>> This is an alternative to
>>>> https://github.com/danielfett/draft-dpop/pull/86
>>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fg=
ithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cpieter.kas=
selman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141a=
f91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJW=
IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&reserved=3D0>,
>>>> which achieved this binding using a new DPoP PKCE method.  Using this
>>>> alternative allows PKCE implementations to be unmodified, while adding=
 DPoP
>>>> in new code, which may be an advantage in some deployments.
>>>>
>>>>
>>>>
>>>> Please review and comment.  Note that I plan to add more of the attack
>>>> description written by Pieter Kasselman to the security considerations=
 in a
>>>> future commit.  This attack description was sent by Pieter yesterday i=
n a
>>>> message with the subject =E2=80=9CAuthorization Code Log File Attack (=
was DPoP
>>>> Interim Meeting Minutes)=E2=80=9D.
>>>>
>>>>
>>>>
>>>>                                                        -- Mike
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fw=
ww.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%=
40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d=
7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4=
wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY=
0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fw=
ww.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%=
40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d=
7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4=
wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY=
0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fw=
ww.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%=
40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91ab2d=
7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4=
wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DvuBY=
0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&reserved=3D0>
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>>
>>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>
> *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 sende=
r
> immediately by e-mail and delete the message and any file attachments fro=
m
> your computer. Thank you.*

--000000000000c7afce05d2516639
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m still struggling to see how this prevents the comp=
romised extension attack we are considering though. As far as I can tell th=
e only way to avoid it is to guarantee the auth flow is for a trusted autho=
rity to approve the auth code exchange. We just need the user-agent to get =
involved and intercept the authorization response and handle the auth code =
exchange before ever passing the auth code through possibly untrusted malic=
ious executors. This leaves us back with the browser removing dangerous API=
s or explicitly=C2=A0doing the auth code exchange, which would be a larger =
hurdle to cross.<div><br></div><div>For the log file exfiltration of the au=
th code and PKCE, I would actually like to understand more about the nature=
 of code reuse in this situation. Perhaps it is just a matter of better han=
dling in these cases, and disallowing code reuse explicitly for public clie=
nts. Even if we believe code reuse has to happen for confidential ones, mus=
t it also happen for public clients? If we could prove that there exists a =
solution for public clients or a lack of a need, then disallowing multi-use=
 auth codes resolves the exfiltration attack.</div><div><br><div><br clear=
=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"=
gmail_signature"><div dir=3D"ltr"><table style=3D"border:none;border-collap=
se:collapse"><colgroup><col width=3D"214"><col width=3D"110"></colgroup><tb=
ody><tr style=3D"height:0pt"><td style=3D"border-width:1pt;border-style:sol=
id;border-color:rgb(255,255,255) rgb(204,204,204) rgb(255,255,255) rgb(255,=
255,255);vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" sty=
le=3D"line-height:1.2;border-width:1pt;border-style:solid;border-color:rgb(=
255,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11p=
t;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-=
align:baseline;white-space:pre-wrap"><span style=3D"border:none;display:inl=
ine-block;overflow:hidden;width:199px;height:34px"><img src=3D"https://lh6.=
googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAP=
trJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kW=
cUSNtuA" width=3D"199" height=3D"34" style=3D"margin-left: 0px; margin-top:=
 0px;"></span></span></p></td><td style=3D"border-width:1pt;border-style:so=
lid;border-color:rgb(255,255,255) rgb(255,255,255) rgb(255,255,255) rgb(204=
,204,204);vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" st=
yle=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);border-right:=
1pt solid rgb(255,255,255);border-top:1pt solid rgb(255,255,255);margin-top=
:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,sans=
-serif;background-color:transparent;font-weight:700;vertical-align:baseline=
;white-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-=
height:1.2;border-left:1pt solid rgb(255,255,255);border-right:1pt solid rg=
b(255,255,255);border-bottom:1pt solid rgb(255,255,255);margin-top:0pt;marg=
in-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"font-size:13.=
3333px;white-space:pre-wrap">Founder, CTO</span></font></p></td></tr></tbod=
y></table><span style=3D"font-size:x-small">Secure your user data with IAM =
authorization as a service. Implement=C2=A0</span><a href=3D"https://authre=
ss.io/" style=3D"font-size:x-small" target=3D"_blank">Authress</a><span sty=
le=3D"font-size:x-small">.</span><br></div></div></div><br></div></div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On F=
ri, Dec 3, 2021 at 11:12 PM Brian Campbell &lt;bcampbell=3D<a href=3D"mailt=
o:40pingidentity.com@dmarc.ietf.org">40pingidentity.com@dmarc.ietf.org</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div =
dir=3D"ltr"><div>I can&#39;t help but wonder if defining this E2E binding a=
llowance as a composite s256 + dpop_jkt PKCE method might be worth (re)cons=
idering here? As a PCKE method it&#39;d be decoupled from the main flow and=
 could be used in a more targeted way for situations that call for it while=
 not imposing the extra cost/complexity on situations that don&#39;t need i=
t. <br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">On Fri, Dec 3, 2021 at 9:23 AM Warren Parad &lt;wparad=3D<a hr=
ef=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhosys.ch@dmar=
c.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div>I think the allowed keys would have to be =
pre-registered=C2=A0in the AS.</div><div><br></div><div><div dir=3D"ltr"><d=
iv dir=3D"ltr"><table style=3D"border:medium none;border-collapse:collapse"=
><colgroup><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr styl=
e=3D"height:0pt"><td style=3D"border-color:rgb(255,255,255) rgb(204,204,204=
) rgb(255,255,255) rgb(255,255,255);border-style:solid;border-width:1pt;ver=
tical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-h=
eight:1.2;border-color:rgb(255,255,255);border-style:solid;border-width:1pt=
;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-famil=
y:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseli=
ne;white-space:pre-wrap"><span style=3D"border:medium none;display:inline-b=
lock;overflow:hidden;width:199px;height:34px"><img src=3D"https://lh6.googl=
eusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSN=
w4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNt=
uA" style=3D"margin-left: 0px; margin-top: 0px;" width=3D"199" height=3D"34=
"></span></span></p></td><td style=3D"border-color:rgb(255,255,255) rgb(255=
,255,255) rgb(255,255,255) rgb(204,204,204);border-style:solid;border-width=
:1pt;vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=
=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);border-right:1pt=
 solid rgb(255,255,255);border-top:1pt solid rgb(255,255,255);margin-top:0p=
t;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,sans-se=
rif;background-color:transparent;font-weight:700;vertical-align:baseline;wh=
ite-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-hei=
ght:1.2;border-left:1pt solid rgb(255,255,255);border-right:1pt solid rgb(2=
55,255,255);border-bottom:1pt solid rgb(255,255,255);margin-top:0pt;margin-=
bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"font-size:13.333=
3px;white-space:pre-wrap">Founder, CTO</span></font></p></td></tr></tbody><=
/table><span style=3D"font-size:x-small">Secure your user data with IAM aut=
horization as a service. Implement=C2=A0</span><a href=3D"https://authress.=
io/" style=3D"font-size:x-small" target=3D"_blank">Authress</a><span style=
=3D"font-size:x-small">.</span><br></div></div></div><br></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 3, 202=
1 at 5:01 PM Warren Parad &lt;<a href=3D"mailto:wparad@rhosys.ch" target=3D=
"_blank">wparad@rhosys.ch</a>&gt; wrote:<br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex"><div dir=3D"ltr"><div>While I agree this is a prob=
lem, adding the thumbprint to the authorization request only increases the =
difficulty for the malicious MITM attack to need to also intercept the auth=
orization request in addition to the token request to swap out the dpop_jkt=
 as well. If I&#39;m right, then it doesn&#39;t make sense to implement thi=
s as the solution.</div><div><br></div><div>While I agree, we could move th=
e dpop_jwk determination to the authorization request, instead of the token=
, it doesn&#39;t solve the problem. What it does say is that the authorizat=
ion request user-agent is the one that has the key, and not the one doing t=
he code exchange. Well this is actually weird in the case of non-public cli=
ents, because it doesn&#39;t make sense from that client perspective, as th=
e &quot;front-end&quot; would need to now have the constructed dpop_jkt eve=
n though it doesn&#39;t have the dpop key.</div><div><br></div><div><div><d=
iv dir=3D"ltr"><div dir=3D"ltr"><table style=3D"border:medium none;border-c=
ollapse:collapse"><colgroup><col width=3D"214"><col width=3D"110"></colgrou=
p><tbody><tr style=3D"height:0pt"><td style=3D"border-width:1pt;border-styl=
e:solid;border-color:rgb(255,255,255) rgb(204,204,204) rgb(255,255,255) rgb=
(255,255,255);vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr=
" style=3D"line-height:1.2;border-width:1pt;border-style:solid;border-color=
:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"font-siz=
e:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vert=
ical-align:baseline;white-space:pre-wrap"><span style=3D"border:medium none=
;display:inline-block;overflow:hidden;width:199px;height:34px"><img src=3D"=
https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56=
Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9G=
CeBRRzrSc8kWcUSNtuA" style=3D"margin-left: 0px; margin-top: 0px;" width=3D"=
199" height=3D"34"></span></span></p></td><td style=3D"border-width:1pt;bor=
der-style:solid;border-color:rgb(255,255,255) rgb(255,255,255) rgb(255,255,=
255) rgb(204,204,204);vertical-align:top;padding:5pt;overflow:hidden"><p di=
r=3D"ltr" style=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);b=
order-right:1pt solid rgb(255,255,255);border-top:1pt solid rgb(255,255,255=
);margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-fami=
ly:Lato,sans-serif;background-color:transparent;font-weight:700;vertical-al=
ign:baseline;white-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" st=
yle=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);border-right:=
1pt solid rgb(255,255,255);border-bottom:1pt solid rgb(255,255,255);margin-=
top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"f=
ont-size:13.3333px;white-space:pre-wrap">Founder, CTO</span></font></p></td=
></tr></tbody></table><span style=3D"font-size:x-small">Secure your user da=
ta with IAM authorization as a service. Implement=C2=A0</span><a href=3D"ht=
tps://authress.io/" style=3D"font-size:x-small" target=3D"_blank">Authress<=
/a><span style=3D"font-size:x-small">.</span><br></div></div></div><br></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Fri, Dec 3, 2021 at 12:22 AM Mike Jones &lt;Michael.Jones=3D<a href=3D=
"mailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@d=
marc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex">





<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal">Thanks for this thoughtful analysis, Aaron.=C2=A0 I =
believe you=E2=80=99re spot on that these attacks can occur =E2=80=9Cwhen t=
he attacker has access to both the authorization code as well as the PKCE c=
ode verifier.=E2=80=9D<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt; <b>On Behalf =
Of </b>
Aaron Parecki<br>
<b>Sent:</b> Thursday, December 2, 2021 2:58 PM<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;; <a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org=
</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">Hi all, I&#39;ve been giving this some more thought.=
=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The problem occurs when the attacker has access to b=
oth the authorization code as well as the PKCE code verifier. The assumptio=
n being made with PKCE is that the first time the PKCE code verifier and au=
thorization code are seen together
 is in the POST request to the token endpoint. That means if there is a way=
 to observe this request, the attacker can complete the exchange and get an=
 access token.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pieter&#39;s writeup in the PDF describes one way th=
at can happen, by exfiltrating log files. While I still agree with the sent=
iment in this thread that this is a relatively obscure condition, I also ag=
ree that it is actually something that
 can happen in the wild, especially since there are entire companies built =
around the idea of real-time log file analysis.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">That said, there are other ways an attacker could ge=
t access to these two pieces of information. What are the different points =
in a request lifecycle that could be attacked? The beginning, the middle an=
d the end. We&#39;ve talked about attacking
 the end, which is the log file example. Attacking the middle involves bein=
g in the middle of the TLS connection, which we also know is possible with =
corporate network proxies and such. We haven&#39;t yet talked about the beg=
inning of the request. What can observe
 the beginning of a request? Here&#39;s a concrete example:<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Assume the OAuth client is a single-page app in a br=
owser. The user is using an ad blocker installed as a browser extension. Th=
e ad blocker can be configured to observe and block network requests before=
 they are made. If the extension is
 configured to attack a particular OAuth server, the JS client would make t=
he token request containing the authorization code and PKCE code verifier, =
then the extension would be able to observe that request, block it, and shi=
p the two values to the attacker&#39;s
 server where they can be redeemed and associated with the attacker&#39;s o=
wn DPoP key. Even perfectly single-use authorization codes don&#39;t help h=
ere either, because the original request was completely blocked.<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">(Sidenote: To get ahead of any counterarguments=C2=
=A0here, yes, Chrome is eventually migrating to their new &quot;manifest v3=
&quot; which deprecates the webRequest API that allows this observation in =
favor of a different API that lets the browser block
 requests without making the actual request data available to the extension=
, which I am assuming they are doing in no small part because of the possib=
ility of what I just described. It sounds like Mozilla is going to follow s=
uit, but I haven&#39;t found concrete
 confirmation of that. That said, it will be a while before these changes a=
re rolled out and support for the (dangerous) webRequest API is fully dropp=
ed, so this is likely going to continue to be a potential attack vector for=
 a few years at least.)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Because of the ease of deployment of a malicious bro=
wser extension, I do believe this is an important attack vector to consider=
 and is worth solving. I am going to save any judgment on the particular dp=
op_jwk parameter proposal for a different
 thread, but I wanted to at least get on the same page about the fact that =
this is something worth solving first.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 10:38 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal">The only mention of sophistication is this logical f=
allacy:<u></u><u></u></p>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class=3D"MsoNormal">=C2=A0If this leading security company had been pene=
trated, it almost certainly took an incredibly sophisticated attack.<u></u>=
<u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But it leaves out exactly what that was. And it does=
n&#39;t give any insight into how this attack at MS would have been prevent=
ed despite the supply chain vulnerability based on the second point that Aa=
ron made. If they are able to get the
 auth code, why aren&#39;t they able to get the DPoP signature? And then se=
nd both of these?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Further in this case, it doesn&#39;t even matter if the attacker gets the a=
ccess token if that access token is bound to the client, because it&#39;s w=
orthless without the DPoP key. That&#39;s a much more secure solution than =
issuing non-bound Bearer tokens as a response
 to the bound authorization code. And if Bearer tokens are being used inste=
ad of bound tokens, then those could still end up in the logs, and be exfil=
trated.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">In OAuth, the=C2=A0client already needs to authentic=
ate with the AS, the spec is SHOULD, and options the client_secret already.=
 Adding in the DPoP signature into the request is duplicating auth. If we d=
on&#39;t like the client auth mechanisms to
 the AS, we should directly provide an auth RFC recommending better alterna=
tives than sending a symmetric client_secret back to the AS.<u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"=
0" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204=
,204,204) white white;padding:5pt;overflow:hidden" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:medium none;padding:0in"><span style=3D"font-=
family:Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"=
><img style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_-209891019=
558757728gmail-m_7577119568980540244gmail-m_4295621141365843873gmail-m_-627=
7497618792752229gmail-m_3900149451974999695gmail-m_4440014231398409192_x000=
0_i1026" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYu=
yVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYs=
NHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"34" border=3D"=
0"></span><u></u><u></u></p>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid=
 solid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidd=
en" valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid soli=
d none;border-width:1pt 1pt medium;padding:0in">
<p style=3D"margin:0in;border:medium none;padding:0in"><b><span style=3D"fo=
nt-family:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid=
 solid;border-width:medium 1pt 1pt;padding:0in">
<p style=3D"margin:0in;border:medium none;padding:0in"><span style=3D"font-=
size:10pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p=
>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://authress.io/" target=3D"_blank"><span style=3D"font-size:10pt">Authress=
</span></a><span style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the comments and eng=
agement Warren.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The attacks we described and th=
e ideas on mitigations are born out of attack vectors we are observing in t=
he wild. They are not negligible. We are seeing a new
 class of very sophisticated attackers, and if you=E2=80=99re interested, t=
his article provides good context on capability and sophistication of the a=
ttackers
<a href=3D"https://www.fastcompany.com/90672384/microsoft-president-brad-sm=
ith-solarwinds-exclusive" target=3D"_blank">
Brad Smith: Inside Microsoft during the SolarWinds hack (fastcompany.com)</=
a>. We are sharing this with the hope that the industry will benefit from o=
ur experiences and incorporate it into standards and products. Attacks that=
 seemed impossibly complex are not
 only possible, but have become probable. <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed changes for DPoP a=
re not meant to replace the need for one-time use tokens (single use tokens=
 are preferable and we should continue to expect them),
 but instead address the limitations around implementing one-time use, espe=
cially at scale. The 60s window you mention below is sufficiently long to b=
e exploited by these sophisticated attackers.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<p class=3D"MsoNormal"><span lang=3D"EN-IE">(e.g. one-time use in a certain=
 timeframe etc).<u></u><u></u></span></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sure but couldn&#39;t we just r=
educe the lifetime? Even if the token isn&#39;t one time use, surely the re=
use time is trivially short which would prevent against exfiltration
 of the necessary security tokens to issue the attack?<u></u><u></u></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like the simpler=C2=A0so=
lution will always win, which in this case is one-time use tokens, then the=
 problem is moot, right? So this only comes into play if
 you want to allow token reuse in a time window. The previously suggested m=
ax allowed time window from OAuth 2.1 was 60s for auth codes. So we are say=
ing that the attack surface is still too large, for the .01% of implementat=
ions that have multi-use tokens,
 and the .01% of implementations that use the maximum 60s reuse, and then t=
he subset of those that aren&#39;t correctly scrubing their logs, and then =
the subset of those that have a vulnerability which allows for exfiltration=
 of both those logged tokens and the
 logged PKCE verifier?<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Why are we making this more com=
plicated for a majority of cases, which:<u></u><u></u></span></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
<span lang=3D"EN-IE">Only have single use tokens<u></u><u></u></span></li><=
li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Only have a very short lifetime<u></u><u></u></span=
></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Are already correctly sanitizing their logs<u></u><=
u></u></span></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Have defense in depth for their deployments.<u></u>=
<u></u></span></li></ul>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">If the implementation is so ins=
ecure that none of those are happening, wouldn&#39;t the implementation for=
 this functionality also be suspect for an opportunity for
 attack?<u></u><u></u></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like we are justifying h=
ere that multi-use tokens are wrong, but still want a solution to use them.=
 Once we&#39;ve proven that an deployment is not okay with
 using multi-use tokens, then the conclusion should be &quot;don&#39;t have=
 multi-use tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, =
but come up with a complex way to prevent their multi-use from accidentally=
 being abused&quot;.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Or am I missing something that =
would actually make this a non-negligible=C2=A0attack vector?<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">- Warren<u></u><u></u></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"=
0" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204=
,204,204) white white;padding:5pt" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0in"><img style=3D"width: 2.0729in;=
 height: 0.3541in;" id=3D"gmail-m_-209891019558757728gmail-m_75771195689805=
40244gmail-m_4295621141365843873gmail-m_-6277497618792752229gmail-m_3900149=
451974999695gmail-m_4440014231398409192_x0000_i1025" src=3D"https://lh6.goo=
gleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJ=
SNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUS=
NtuA" width=3D"199" height=3D"34" border=3D"0"></span><u></u><u></u></p>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid=
 solid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidd=
en" valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid soli=
d none;border-width:1pt 1pt medium;padding:0in">
<p style=3D"margin:0in"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid=
 solid;border-width:medium 1pt 1pt;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt" lang=3D"EN-IE">Secure=
 your user data with IAM authorization as a service. Implement=C2=A0</span>=
<span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselm=
an%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f141af91a=
b2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi=
MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D%2FBkvuWZ3FVTcdTtfe%2FoLurIGxcsJHCz6zXmW1PROTSc%3D&amp;reserved=3D0" tar=
get=3D"_blank"><span style=3D"font-size:10pt">Authress</span></a></span><sp=
an style=3D"font-size:10pt" lang=3D"EN-IE">.</span><span lang=3D"EN-IE"><u>=
</u><u></u></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Wed, Dec 1, 2021 at 4:14 PM =
Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@d=
marc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Hi Aaron, Neil<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the questions.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">We agree that ideally authoriza=
tion codes and PKCE proofs would never end up in log files and one-time use=
 would be perfectly implemented.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">However, in practice these arte=
facts do find their way into log files in various places and one-time use m=
ay not always be practical (e.g. one-time use in a certain
 timeframe etc). <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The addition of these mitigatio=
ns is not meant to replace the need for one-time use or good logging hygien=
e. Instead they provide pragmatic defence in depth against
 real attacks rather than assuming perfect implementations. We are deployin=
g these mitigations and are sharing them for inclusion in DPoP to enable ot=
hers to do the same.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Regarding the question about in=
terrupting/intercepting the HTTPS connection, the attacker don=E2=80=99t ne=
ed to intercept the HTTPS connection or modify the content in
 the TLS tunnel, rather they just need to prevent the authorization code fr=
om being presented to the Authorization Server. It may even happen due to a=
 poor network connection. The poor connection may be engineered by an attac=
ker, or they may opportunistically
 benefit from it. The networks are not perfect either.<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"=
>
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=
=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">o=
auth-bounces@ietf.org</span></a></span>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<span lang=3D"EN-IE"><a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forger=
ock.com</span></a></span>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<span lang=3D"EN-IE"><a href=3D"m=
ailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US=
">40microsoft.com@dmarc.ietf.org</span></a></span>&gt;;
<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth@ietf.org</span></a></span><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<span lang=3D"EN-IE"><u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I tend to agree with Neil here.=
 I&#39;m struggling to see the relevance of this attack.=C2=A0<u></u><u></u=
></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">It seems like the PDF writeup d=
escribes two possible reasons an attacker could get access to the authoriza=
tion code and PKCE code verifier.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">1. The attacker has access to t=
he logs of the token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">2. The attacker can intercept H=
TTPS connections between the client and AS (VPN, corporate network proxy, e=
tc)<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 1, the solution is to stop =
logging the contents of the POST body, and secure your infrastructure. I do=
n&#39;t think making the client jump through extra hoops
 is a good solution if you are already logging more than you should be or y=
ou don&#39;t trust the people who have access to the infrastructure. If thi=
s really is a concern, I suspect there are a lot more places in the flow th=
at would need to be patched up if you
 don&#39;t trust your own token endpoint.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 2, if the attacker can inte=
rcept the HTTPS connection, then the proposed solution doesn&#39;t add anyt=
hing because the attacker could modify the requests before
 it hits the authorization server anyway, and change which DPoP key the tok=
en gets bound to in the first place. Plus, the attacker would also have acc=
ess to anything else the client is sending to the AS, such as the user&#39;=
s password when they authenticate at
 the AS.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Are there other attack vectors =
I&#39;m missing that might actually be solved by this mechanism?<u></u><u><=
/u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Aaron<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Tue, Nov 30, 2021 at 12:40 P=
M Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_b=
lank">neil.madden@forgerock.com</a>&gt; wrote:<u></u><u></u></span></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sadly I couldn=E2=80=99t make t=
he DPoP session, but I=E2=80=99m not convinced the attack described in the =
earlier message really needs to be prevented at all. The attack largely
 hinges on auth codes not being one-time use, which is not a good idea, or =
otherwise on poor network security on the token endpoint. I=E2=80=99m not c=
onvinced DPoP needs to protect against these things. Is there more to this?=
<u></u><u></u></span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed solutions also see=
m susceptible to the same problems they attempt to solve - if an attacker i=
s somehow able to interrupt the client=E2=80=99s (TLS-protected)
 token request, why are they somehow not able to interrupt/modify the (far =
less protected) redirect to the authorization endpoint?<u></u><u></u></span=
></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=E2=80=94 Neil<u></u><u></u></s=
pan></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-IE">=
=C2=A0<u></u><u></u></span></p>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On 30 Nov 2021, at 20:15, Mike =
Jones &lt;<a href=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org"=
 target=3D"_blank">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">As described during the OAuth S=
ecurity Workshop session on DPoP, I created a pull request adding the dpop_=
jkt authorization request parameter to use for binding
 the authorization code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=
=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DASCRFFPMA7qIItkxpVTrVaJtC53R2niWOzB0l0GQKrw%3D&amp;reserved=3D0" t=
arget=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://github.com/dan=
ielfett/draft-dpop/pull/89</span></a>.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">This is an alternative to=C2=A0=
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cp=
ieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZ=
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3=
000&amp;sdata=3Dlgb9WmnOwWVtNIFsZ1mQG4jSBQYLZv%2BETe6HIKFeerg%3D&amp;reserv=
ed=3D0" target=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://githu=
b.com/danielfett/draft-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.<u></u><u></u>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Please review and comment.=C2=
=A0 Note that I plan to add more of the attack description written by Piete=
r Kasselman to the security considerations in a future commit.=C2=A0
 This attack description was sent by Pieter yesterday in a message with the=
 subject =E2=80=9CAuthorization Code Log File Attack (was DPoP Interim Meet=
ing Minutes)=E2=80=9D.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mi=
ke<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ti=
mes New Roman&quot;,serif" lang=3D"EN-IE">_________________________________=
______________<br>
OAuth mailing list<br>
</span><span lang=3D"EN-IE"><a href=3D"mailto:OAuth@ietf.org" target=3D"_bl=
ank"><span style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot=
;,serif;color:rgb(5,99,193)">OAuth@ietf.org</span></a></span><span style=3D=
"font-size:10.5pt;font-family:&quot;Times New Roman&quot;,serif" lang=3D"EN=
-IE"><br>
</span><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&a=
mp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Cb5c71bfcbfbb48fd6415=
08d9b4df5fcf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63773969384758090=
5%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSz=
n%2FS%2FE%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:1=
0.5pt;font-family:&quot;Times New Roman&quot;,serif;color:rgb(5,99,193)">ht=
tps://www.ietf.org/mailman/listinfo/oauth</span></a><u></u><u></u></span></=
p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Cb5c71bfcbfbb48fd641508d9b4df5fcf%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637739693847580905%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DvuBY0pdcSiMXQF213ZVLm4yNMFhRqM1jWlrWSzn%2FS%2FE%3D&amp;reserved=3D=
0" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u>=
<u></u></span></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/oauth</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:ba=
seline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-=
ui,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,C=
antarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><=
span style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:=
baseline;background:transparent;font-family:proxima-nova-zendesk,system-ui,=
-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ub=
untu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"=
><font size=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidenti=
al and privileged material for the sole use of the intended recipient(s). A=
ny review, use, distribution or disclosure by others is strictly prohibited=
.=C2=A0 If you have received this communication in error, please notify the=
 sender immediately by e-mail and delete the message and any file attachmen=
ts from your computer. Thank you.</font></span></i></blockquote></div>

--000000000000c7afce05d2516639--


From nobody Thu Dec  9 05:23:36 2021
Return-Path: <dmitryt@backbase.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FD1F3A0C19 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 05:23:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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=backbase.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 CA1Ns7Jmqkey for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 05:23:30 -0800 (PST)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 7FB613A0C14 for <oauth@ietf.org>; Thu,  9 Dec 2021 05:23:30 -0800 (PST)
Received: by mail-lj1-x232.google.com with SMTP id 13so8909644ljj.11 for <oauth@ietf.org>; Thu, 09 Dec 2021 05:23:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=backbase.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=TFxLrJ274LtudfqsfkRQxZ/xalbJjVJ/JGzLoqSQdxQ=; b=V9WvI58lmGkt9jyqURLSRa4AH6qra5Qj4JHu0rGeN28b+HZr4p2upFTtaetAxzGUnH QZvAoaYziLKd+9kcbuTAgg6IPsFwTiHBnuqOMr/6TccjsR6LGZ4M4nDYb40rLaeXzK6x H8UDglSiRzZ0dIk+bt6GD7RcJs9CqSROZMgFHOTZRmkmQISFYwyFbFkbOMrS4r0RQwwA flxvsQ02+oc9d+HpYSblsf4OOY9WHePJr0X5ixDIky+GYr4OFMXxmNM0OmdpTR9wAeSM eIvifIUxI5LhlBZB2hJ5FCZVsCfHAOHVZmZouSMNj6OByFTBtuUibsdX7mzbQQEznro0 PVGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TFxLrJ274LtudfqsfkRQxZ/xalbJjVJ/JGzLoqSQdxQ=; b=hTUsRtoqv4ji50SfAL8lRGePmi9HF+dLHhgZmK0mZWrTRIPOaGJQEHC+hGko/bXWR9 EFNGukOtH86UNnrIeAcVZa9s1DS8250ceh64fhIR6F6MynXtWAS/1MfCS/f8gp27hA06 v+I6IvT+unQnRvbzOI3NWz+zpU5JpgnZmzrRPkAwioYfqThjpueZUnA3QF1+9SgiiG3c +uZn5NyidiXVBdMSli30HudzyRzo7E001eY4F5ZhuQ9qmeZhEIwT6vPXiwWunGa15P6c z1vDxZ0YwDRznNNbJOpVSlzJ9pz2L28XieAVa9KOw4zpqfdTTUYZ0r0b1AmOfmX6fW2C ZFHA==
X-Gm-Message-State: AOAM5331T1r4zcdkV2FAluoDNp+KCuA0Q0OAOxpese94ccvYRz4qm2K7 YX+1p7MSQlVdulbZXpC1h3TgdXelE6Cm/WJrvaAip2PMxX6QNg==
X-Google-Smtp-Source: ABdhPJziLdV/tvDhakJKVZKbl7qk5SCmxfncdC1jJ+gNgFwO/qfOABTGIdA8N1yFfuAu+vKgwzAFNvgDmg51lJV+F5Y=
X-Received: by 2002:a05:651c:555:: with SMTP id q21mr6456580ljp.193.1639056207497;  Thu, 09 Dec 2021 05:23:27 -0800 (PST)
MIME-Version: 1.0
From: Dmitry Telegin <dmitryt@backbase.com>
Date: Thu, 9 Dec 2021 16:23:16 +0300
Message-ID: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com>
To: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000003f6ff05d2b6836f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/djB2kWG5cXnbfbJjLr3EKzV23T4>
Subject: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 13:23:35 -0000

--00000000000003f6ff05d2b6836f
Content-Type: text/plain; charset="UTF-8"

There following changes to RFC 8705 have been proposed:
- introduce a new error code (e.g. "invalid_mtls_certificate") to be used
when the certificate is required by the AS/RS, but the underlying stack has
been misconfigured and the client didn't send one;
- for bound token use, change Authorization scheme from Bearer to MTLS;
- for token response returning a bound token, change token_type from Bearer
to MTLS

See discussion:
https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/

Accepting the changes would imply a new RFC and the obsolescence of the
current one. Two questions so far:
- what's the group's general stance on this, would that be a welcome change?
- if so, could we also hear from the implementors if there any other issues
/ suggested changes.

Dmitry
Backbase / Keycloak

--00000000000003f6ff05d2b6836f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>There following changes to RFC 8705 have been propose=
d:</div><div>- introduce a new error code (e.g. &quot;invalid_mtls_certific=
ate&quot;) to be used when the certificate is required by the AS/RS, but th=
e underlying stack has been misconfigured and the client didn&#39;t send on=
e;</div><div>- for bound token use, change Authorization scheme from Bearer=
 to MTLS;</div><div>- for token response returning a bound token, change to=
ken_type from Bearer to MTLS<br></div><div><br></div><div>See discussion: <=
a href=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk=
-8LMqc/">https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-=
8LMqc/</a></div><div><br></div><div>Accepting the changes would imply a new=
 RFC and the obsolescence of the current one. Two questions so far:</div><d=
iv>- what&#39;s the group&#39;s general stance on this, would that be a wel=
come change?<br></div><div>- if so, could we also hear from the implementor=
s if there any  other issues / suggested changes.</div><div><br></div><div>=
Dmitry</div><div>Backbase / Keycloak<br></div><div><br></div></div>

--00000000000003f6ff05d2b6836f--


From nobody Thu Dec  9 05:38:36 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A18E53A0C94 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 05:38:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 sHNlDK3oCje9 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 05:38:30 -0800 (PST)
Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (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 021303A0C52 for <oauth@ietf.org>; Thu,  9 Dec 2021 05:38:29 -0800 (PST)
Received: by mail-yb1-xb29.google.com with SMTP id f9so13691679ybq.10 for <oauth@ietf.org>; Thu, 09 Dec 2021 05:38:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GDX64+QyZYuWnwZeSoS3aa/IuC49cCZipIn+4QWz1fg=; b=h5mUkGI9gzBcRAk9LyHeoPasd7sPpzEJOdo3ivTuo/ph+bncmltQhLwPH22kCzOLjR Hfh2ETjGAWZxsNxPaCmnfpLcN9Pwq8Y3BjIIWRuZLAM3Hy6J/sohIzkrY9NBfLXRSD4u MCvOjGGHU/AXpLK/QrDaGfgvQpiUFI2bWeQzi/PttgO0Xfx1/bknvVAA85ZADS/Au8ie ypQQqYpGL5WmmUc2lXkS2Q+eOmNlh46ORcN0uoHDrFfvoeOrPs72X/XaC7B3vVuYTzIT m2naDkcVrROJgQCIZdbwoGAqfa0FYqr/ov/quaNY8P74RZL/wFnJo64UDYrqjdYiNdWQ a4dA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GDX64+QyZYuWnwZeSoS3aa/IuC49cCZipIn+4QWz1fg=; b=kwYT/1jiL5z5GvGZJWBCqMR//XULQbbJZJURxF8HDtN8xis0DL9dOq1xu+2xEoG9Dv HzPFj938qdiz2bOLPaG09r76UHQpfuTZ1frSCYRachC+Z1P9Pr4gMIWMM5osJXpeaVYE nApnp9DxVz7ikcmVQ+JzktwCrAsxgObiznUfxoewVc9lmVaMGrasm2C0JsG4QQkC/fLC Km1f3BG8kWXMyeXatYlbk3c4lmyyQfH6TgtO+O4yw2hez+Ue+uMLh9HAoS4SecRmMnzB 1XFpqAY48S2YmHXcMAyZYUYsom5Bu2fuklgLu9Ql5KIg20n4Mq/PaYQfegLB9zekRiKn VgTQ==
X-Gm-Message-State: AOAM530pFg6CaAFggVVNmfQHcXvloHpWo4R2DIXIcNQPJbYzKgvaOQMp lKB1zUpVR653qrGpeR5fnjbopwHNgRlDiYXP964A4XTn+oF1
X-Google-Smtp-Source: ABdhPJxEPNJE7NcEoC2y7l5MhJ9sLL8vc/qZ+pEsXcaMSoORIATRSChruU4cdSktEfzTBWiA1+COujSCla2kYkr9OR8=
X-Received: by 2002:a25:6744:: with SMTP id b65mr6290748ybc.57.1639057108379;  Thu, 09 Dec 2021 05:38:28 -0800 (PST)
MIME-Version: 1.0
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com>
In-Reply-To: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Thu, 9 Dec 2021 14:38:17 +0100
Message-ID: <CAJot-L3WZOd+X=p495cEmOKfArChyAAZbRu+5gFkbENVD-kKcA@mail.gmail.com>
To: Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>
Cc: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b6424a05d2b6b8c1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/bxPpg2M1colAh9ZAzR0Y-F3wi7w>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 13:38:35 -0000

--000000000000b6424a05d2b6b8c1
Content-Type: text/plain; charset="UTF-8"

Could you share a bit about the security implications that precipitates
needing to change the token type. I.e. what's the attack vector that is
closed by adding this?

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Thu, Dec 9, 2021 at 2:24 PM Dmitry Telegin <dmitryt=
40backbase.com@dmarc.ietf.org> wrote:

> There following changes to RFC 8705 have been proposed:
> - introduce a new error code (e.g. "invalid_mtls_certificate") to be used
> when the certificate is required by the AS/RS, but the underlying stack has
> been misconfigured and the client didn't send one;
> - for bound token use, change Authorization scheme from Bearer to MTLS;
> - for token response returning a bound token, change token_type from
> Bearer to MTLS
>
> See discussion:
> https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/
>
> Accepting the changes would imply a new RFC and the obsolescence of the
> current one. Two questions so far:
> - what's the group's general stance on this, would that be a welcome
> change?
> - if so, could we also hear from the implementors if there any other
> issues / suggested changes.
>
> Dmitry
> Backbase / Keycloak
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--000000000000b6424a05d2b6b8c1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Could you share a bit about the security implications that=
 precipitates needing to change the token type. I.e. what&#39;s the attack =
vector that is closed by adding this?<div><div><br clear=3D"all"><div><div =
dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><d=
iv dir=3D"ltr"><table style=3D"border:none;border-collapse:collapse"><colgr=
oup><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"he=
ight:0pt"><td style=3D"border-left:solid #ffffff 1pt;border-right:solid #cc=
cccc 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;verti=
cal-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=
=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #fffff=
f 1pt;border-top:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margin-t=
op:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;c=
olor:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-=
space:pre-wrap"><span style=3D"border:none;display:inline-block;overflow:hi=
dden;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent.com=
/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYd=
BhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199=
" height=3D"34" style=3D"margin-left:0px;margin-top:0px"></span></span></p>=
</td><td style=3D"border-left:solid #cccccc 1pt;border-right:solid #ffffff =
1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;vertical-a=
lign:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=3D"l=
ine-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #ffffff 1pt=
;border-top:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span style=
=3D"font-size:11pt;font-family:Lato,sans-serif;background-color:transparent=
;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Parad=
</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #fffff=
f 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margin=
-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"=
font-size:13.3333px;white-space:pre-wrap">Founder, CTO</span></font></p></t=
d></tr></tbody></table><span style=3D"font-size:x-small">Secure your user d=
ata with IAM authorization as a service. Implement=C2=A0</span><a href=3D"h=
ttps://authress.io/" style=3D"font-size:x-small" target=3D"_blank">Authress=
</a><span style=3D"font-size:x-small">.</span><br></div></div></div><br></d=
iv></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Thu, Dec 9, 2021 at 2:24 PM Dmitry Telegin &lt;dmitryt=3D<a hre=
f=3D"mailto:40backbase.com@dmarc.ietf.org">40backbase.com@dmarc.ietf.org</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di=
v dir=3D"ltr"><div>There following changes to RFC 8705 have been proposed:<=
/div><div>- introduce a new error code (e.g. &quot;invalid_mtls_certificate=
&quot;) to be used when the certificate is required by the AS/RS, but the u=
nderlying stack has been misconfigured and the client didn&#39;t send one;<=
/div><div>- for bound token use, change Authorization scheme from Bearer to=
 MTLS;</div><div>- for token response returning a bound token, change token=
_type from Bearer to MTLS<br></div><div><br></div><div>See discussion: <a h=
ref=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8L=
Mqc/" target=3D"_blank">https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0=
Rwa2YocsR484xk-8LMqc/</a></div><div><br></div><div>Accepting the changes wo=
uld imply a new RFC and the obsolescence of the current one. Two questions =
so far:</div><div>- what&#39;s the group&#39;s general stance on this, woul=
d that be a welcome change?<br></div><div>- if so, could we also hear from =
the implementors if there any  other issues / suggested changes.</div><div>=
<br></div><div>Dmitry</div><div>Backbase / Keycloak<br></div><div><br></div=
></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--000000000000b6424a05d2b6b8c1--


From nobody Thu Dec  9 05:52:22 2021
Return-Path: <neil.madden@forgerock.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 863293A0CAC for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 05:52:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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 (1024-bit key) header.d=forgerock.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 Oars9nYd00E7 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 05:52:15 -0800 (PST)
Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 80DAC3A0CA0 for <oauth@ietf.org>; Thu,  9 Dec 2021 05:52:15 -0800 (PST)
Received: by mail-ed1-x52f.google.com with SMTP id t5so19863606edd.0 for <oauth@ietf.org>; Thu, 09 Dec 2021 05:52:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xsFwgoWYJ9r3W+54fravaRUBict8fR5QunNDBudfgz8=; b=dQCsQ1BQ1zcTVTF+92WSuorNpHFy5IglWrw7jPlq8qcqb6mB5Qsvv327Wso6PU35Mp 1x5lk3HYFpschUIz2N9vY4FDlS89Zk6n/EI1rfdeOkwTHTNovZ7pLb69SPq97Bf4FSZg 8OhdJ1iqKGuNNJxATwhPXarzZiihNAY7LLtYE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xsFwgoWYJ9r3W+54fravaRUBict8fR5QunNDBudfgz8=; b=a8vIe1sUx/V+Mq3PN/GZ1s7/Tcu8XHUu4sfSUxF9S4kRY2JxXMKk3MicrLDhNDY6iI HshHJziXQopy8ZA9bnFDGqBQQqLg2T0zHOqnJND6fvRxwJu1Yy9tgcQ2KGSO5wzjcxHy 6CFps76rJaRs3RgrtHrqnykT+DgsLfMY13T//0G/QPntfzHk3NlblYWr1COTBFYj1IHw dzRw5j8plqoHDkYRMKP8u48Tk2SmCxOxKINqwyzhIUPc1DCpUgmIVWsbTXsjkEm86W49 JzleazKDwUjPqK/VEvVDaTUTaB2zt/062mmuxTG0dFiK/dchaIG4Wc3yKphr2L42XoJY 5bzw==
X-Gm-Message-State: AOAM530tqxOUy8cXz4/txUeqTPZDM7mlCbZtKE3K4TH7Pz9xLUeEIz4Z jiPOfelXFfXP0z0KDN3leBGlQLTmgC5qvA==
X-Google-Smtp-Source: ABdhPJwsL+y0XhpjvvI22yiyYWtTYg6P9sjLKLuorOSDxMJqL5uFwWjMm/T1b68zbcg/0A7fx9kPjQ==
X-Received: by 2002:a17:907:7fa9:: with SMTP id qk41mr15455286ejc.422.1639057928296;  Thu, 09 Dec 2021 05:52:08 -0800 (PST)
Received: from [172.16.130.172] (78-33-22-162.static.enta.net. [78.33.22.162]) by smtp.gmail.com with ESMTPSA id hv17sm2968779ejc.71.2021.12.09.05.52.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Dec 2021 05:52:08 -0800 (PST)
From: Neil Madden <neil.madden@forgerock.com>
Message-Id: <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2ACEE23D-688C-4143-8C59-878BD7587842"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Thu, 9 Dec 2021 13:52:06 +0000
In-Reply-To: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com>
Cc: oauth <oauth@ietf.org>
To: Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/QsCluRHULh0PX5t90FKsIv-A8rs>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 13:52:21 -0000

--Apple-Mail=_2ACEE23D-688C-4143-8C59-878BD7587842
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I don=E2=80=99t mind about a new error code, although I think it=E2=80=99s=
 of limited value - error codes (rather than descriptive error =
*messages*) imply that the client may be able to dynamically react to =
the situation and so something different. But TLS client certs are =
usually configured statically, so it seems highly unlikely that the =
client could satisfy this requirement on its own. (Especially without =
all the other hints that would be missing from the TLS layer, like =
trusted CAs, supported signature algorithms, etc).

I am against changing the token type/scheme from Bearer to MTLS.  Mostly =
because of backwards compatibility issues - we already have customers =
that have deployed mTLS widely, but also because of conceptual issues I =
have generally with distinct token_type/schemes:

1. Whether an access token is mTLS-bound or a pure bearer token is a =
property of what the RS enforces, not intrinsic to the token. As far as =
I am aware, there is no spec anywhere that says what an RS should do if =
it doesn=E2=80=99t understand a particular confirmation method =
associated with an access token. So you can easily at present have a =
situation where an AT is valid at multiple RSes, some of which =
understand mTLS-binding and some of which do not. Indeed, this is very =
likely (and desirable) when you are in the process of rolling out =
stronger security mechanisms on an RS-by-RS basis. (And what if you =
later decide to move from mTLS to DPoP?) IMO requiring that ATs always =
have one and only one associated PoP mechanism is a recipe for =
ossification.

2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme should =
be primarily about how the AT itself is conveyed to the RS, not about =
how any associated proof is. Although =E2=80=9CBearer=E2=80=9D is not =
the most appropriate name, I would rather we stuck to that one scheme =
for conveying ATs regardless of whether they are pure bearer tokens, =
bound tokens, or whatever. To me, the important part of =E2=80=9CBearer=E2=
=80=9D is that it tells the RS that it can send this token directly to =
an introspection endpoint (or examine it locally) without first =
performing some additional processing on it.

3. I am generally in favour of allowing ATs to have 0, 1, 2 or any =
number of confirmation methods associated with them. If we want to make =
it easier for a client to figure out which ones an RS supports, I=E2=80=99=
d rather see this as an enhancement to the Bearer WWW-Authentication =
challenge - e.g. WWW-Authenticate: Bearer =E2=80=A6 =
supported_cnf_methods=3Dmtls,dpop

Anyway, can of worms well and truly opened=E2=80=A6

=E2=80=94 Neil

> On 9 Dec 2021, at 13:23, Dmitry Telegin =
<dmitryt=3D40backbase.com@dmarc.ietf.org> wrote:
>=20
> There following changes to RFC 8705 have been proposed:
> - introduce a new error code (e.g. "invalid_mtls_certificate") to be =
used when the certificate is required by the AS/RS, but the underlying =
stack has been misconfigured and the client didn't send one;
> - for bound token use, change Authorization scheme from Bearer to =
MTLS;
> - for token response returning a bound token, change token_type from =
Bearer to MTLS
>=20
> See discussion: =
https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/ =
<https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/>=

>=20
> Accepting the changes would imply a new RFC and the obsolescence of =
the current one. Two questions so far:
> - what's the group's general stance on this, would that be a welcome =
change?
> - if so, could we also hear from the implementors if there any other =
issues / suggested changes.
>=20
> Dmitry
> Backbase / Keycloak
>=20
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


--Apple-Mail=_2ACEE23D-688C-4143-8C59-878BD7587842
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I =
don=E2=80=99t mind about a new error code, although I think it=E2=80=99s =
of limited value - error codes (rather than descriptive error =
*messages*) imply that the client may be able to dynamically react to =
the situation and so something different. But TLS client certs are =
usually configured statically, so it seems highly unlikely that the =
client could satisfy this requirement on its own. (Especially without =
all the other hints that would be missing from the TLS layer, like =
trusted CAs, supported signature algorithms, etc).<div class=3D""><br =
class=3D""></div><div class=3D"">I am against changing the token =
type/scheme from Bearer to MTLS. &nbsp;Mostly because of backwards =
compatibility issues - we already have customers that have deployed mTLS =
widely, but also because of conceptual issues I have generally with =
distinct token_type/schemes:</div><div class=3D""><br =
class=3D""></div><div class=3D"">1. Whether an access token is =
mTLS-bound or a pure bearer token is a property of what the RS enforces, =
not intrinsic to the token. As far as I am aware, there is no spec =
anywhere that says what an RS should do if it doesn=E2=80=99t understand =
a particular confirmation method associated with an access token. So you =
can easily at present have a situation where an AT is valid at multiple =
RSes, some of which understand mTLS-binding and some of which do not. =
Indeed, this is very likely (and desirable) when you are in the process =
of rolling out stronger security mechanisms on an RS-by-RS basis. (And =
what if you later decide to move from mTLS to DPoP?) IMO requiring that =
ATs always have one and only one associated PoP mechanism is a recipe =
for ossification.</div><div class=3D""><br class=3D""></div><div =
class=3D"">2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization =
scheme should be primarily about how the AT itself is conveyed to the =
RS, not about how any associated proof is. Although =E2=80=9CBearer=E2=80=9D=
 is not the most appropriate name, I would rather we stuck to that one =
scheme for conveying ATs regardless of whether they are pure bearer =
tokens, bound tokens, or whatever. To me, the important part of =
=E2=80=9CBearer=E2=80=9D is that it tells the RS that it can send this =
token directly to an introspection endpoint (or examine it locally) =
without first performing some additional processing on it.</div><div =
class=3D""><br class=3D""></div><div class=3D"">3. I am generally in =
favour of allowing ATs to have 0, 1, 2 or any number of confirmation =
methods associated with them. If we want to make it easier for a client =
to figure out which ones an RS supports, I=E2=80=99d rather see this as =
an enhancement to the Bearer WWW-Authentication challenge - e.g. =
WWW-Authenticate: Bearer =E2=80=A6 =
supported_cnf_methods=3Dmtls,dpop</div><div class=3D""><br =
class=3D""></div><div class=3D"">Anyway, can of worms well and truly =
opened=E2=80=A6</div><div class=3D""><br class=3D""></div><div =
class=3D"">=E2=80=94 Neil<br class=3D"">
<div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 9 Dec 2021, at 13:23, Dmitry Telegin &lt;<a =
href=3D"mailto:dmitryt=3D40backbase.com@dmarc.ietf.org" =
class=3D"">dmitryt=3D40backbase.com@dmarc.ietf.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"">There following changes to RFC =
8705 have been proposed:</div><div class=3D"">- introduce a new error =
code (e.g. "invalid_mtls_certificate") to be used when the certificate =
is required by the AS/RS, but the underlying stack has been =
misconfigured and the client didn't send one;</div><div class=3D"">- for =
bound token use, change Authorization scheme from Bearer to =
MTLS;</div><div class=3D"">- for token response returning a bound token, =
change token_type from Bearer to MTLS<br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D"">See discussion: <a =
href=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-=
8LMqc/" =
class=3D"">https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484=
xk-8LMqc/</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Accepting the changes would imply a new RFC and the =
obsolescence of the current one. Two questions so far:</div><div =
class=3D"">- what's the group's general stance on this, would that be a =
welcome change?<br class=3D""></div><div class=3D"">- if so, could we =
also hear from the implementors if there any  other issues / suggested =
changes.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Dmitry</div><div class=3D"">Backbase / Keycloak<br =
class=3D""></div><div class=3D""><br class=3D""></div></div>
_______________________________________________<br class=3D"">OAuth =
mailing list<br class=3D""><a href=3D"mailto:OAuth@ietf.org" =
class=3D"">OAuth@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/oauth<br =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_2ACEE23D-688C-4143-8C59-878BD7587842--


From nobody Thu Dec  9 06:10:37 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB0E73A0CB3 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 06:10:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rhosys.ch
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 bhG2wl4oK3JI for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 06:10:31 -0800 (PST)
Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 1A08F3A083D for <oauth@ietf.org>; Thu,  9 Dec 2021 06:10:31 -0800 (PST)
Received: by mail-yb1-xb2d.google.com with SMTP id v64so13935130ybi.5 for <oauth@ietf.org>; Thu, 09 Dec 2021 06:10:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eOF1LVJZr0aWmdXspniDWhSUKU5n+5VSgq3YNJm4/dE=; b=GFiMftSos0+PA9/sC3KnDoli9xCKZZwfy+IrK3nI30Xy93ebZSrcXbSXqhcI4WE29V FEYgvbxpNcUq0TFvGfNubaiZv2aVib3RsJnM4xxgwx5cpZ5unBVq0ThcbvuxGx3b9ViD R2rfAKPSTCoETtjv/lsRDqmXu96Q+FCPc4RPoEcEDvhu0jygWqBl/BPLgIhlNZCLblXD exFLyTM5tPDgNkBcapd8YQZJ2yWQGPjbp1KQbBc5stdjnVwcjOJqYfdvK7s/5c8b7iTr KCZ+a46QpgpGBdU9lVUaZ+yariB5/Cdu9g2Fw9k8dIm1QBVwkbChPgoVfGBX7mSUQHhE Mv3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eOF1LVJZr0aWmdXspniDWhSUKU5n+5VSgq3YNJm4/dE=; b=yDI8wjvwJF6IglCENbPEWnOIKAGSMLHGNyzmofkxYK2d6d1vjgIHOceUGY4hRJZaJ8 KyvWdg8gIMv4BzbxSTHEevxT8ZQ5hpe9PRcAMK822iQ5/bGgsLxLA8gjtsgggeOXxrdk ZuHj76Opsdwde+fgqFxwfaeDCy20MHMOMtw2XqrWPbxbFl3STgf4TSGAxjyua1y3+GCk WPvLrV3iC98YxOvRBuKEcDqLuCju3tgRUb9VcDyw2ZmgB9FRYY6RXjREZlp3yD3Hw3GZ Bk6LlCU+sEETPZgAmBCdGuwd+LiAuClsPBExVtCYiGIJJhqI+CHJaRT96u/7Fegf9i+d V/pw==
X-Gm-Message-State: AOAM5307gPGv44yU3NOKv5R2r1xqNxetgr7NgowYHXGaa7K2TmieXMzU c24UVWXvHzXBxYPF0fIBUV250IOmnOWZz8tAXJSI
X-Google-Smtp-Source: ABdhPJw2Fg+XFsypKvLT9z9rK++pctGMAjpL1Ols0NHiLv/zvgmZSN2E9C4m8X9laD+e2LIH2FS4w7QE5WhXwmquvik=
X-Received: by 2002:a25:2304:: with SMTP id j4mr6117189ybj.359.1639059029049;  Thu, 09 Dec 2021 06:10:29 -0800 (PST)
MIME-Version: 1.0
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com>
In-Reply-To: <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Thu, 9 Dec 2021 15:10:18 +0100
Message-ID: <CAJot-L0zMULtKZTGgVhSgHocbg-VcCvre3gPNSzXGjWDOUxW2A@mail.gmail.com>
To: Neil Madden <neil.madden@forgerock.com>
Cc: Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000031542305d2b72b30"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/FeBbrFDP3FMw92_lPyWNsBXLPG4>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 14:10:35 -0000

--00000000000031542305d2b72b30
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This is a great answer.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Thu, Dec 9, 2021 at 2:52 PM Neil Madden <neil.madden@forgerock.com>
wrote:

> I don=E2=80=99t mind about a new error code, although I think it=E2=80=99=
s of limited
> value - error codes (rather than descriptive error *messages*) imply that
> the client may be able to dynamically react to the situation and so
> something different. But TLS client certs are usually configured
> statically, so it seems highly unlikely that the client could satisfy thi=
s
> requirement on its own. (Especially without all the other hints that woul=
d
> be missing from the TLS layer, like trusted CAs, supported signature
> algorithms, etc).
>
> I am against changing the token type/scheme from Bearer to MTLS.  Mostly
> because of backwards compatibility issues - we already have customers tha=
t
> have deployed mTLS widely, but also because of conceptual issues I have
> generally with distinct token_type/schemes:
>
> 1. Whether an access token is mTLS-bound or a pure bearer token is a
> property of what the RS enforces, not intrinsic to the token. As far as I
> am aware, there is no spec anywhere that says what an RS should do if it
> doesn=E2=80=99t understand a particular confirmation method associated wi=
th an
> access token. So you can easily at present have a situation where an AT i=
s
> valid at multiple RSes, some of which understand mTLS-binding and some of
> which do not. Indeed, this is very likely (and desirable) when you are in
> the process of rolling out stronger security mechanisms on an RS-by-RS
> basis. (And what if you later decide to move from mTLS to DPoP?) IMO
> requiring that ATs always have one and only one associated PoP mechanism =
is
> a recipe for ossification.
>
> 2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme should b=
e primarily about
> how the AT itself is conveyed to the RS, not about how any associated pro=
of
> is. Although =E2=80=9CBearer=E2=80=9D is not the most appropriate name, I=
 would rather we
> stuck to that one scheme for conveying ATs regardless of whether they are
> pure bearer tokens, bound tokens, or whatever. To me, the important part =
of
> =E2=80=9CBearer=E2=80=9D is that it tells the RS that it can send this to=
ken directly to an
> introspection endpoint (or examine it locally) without first performing
> some additional processing on it.
>
> 3. I am generally in favour of allowing ATs to have 0, 1, 2 or any number
> of confirmation methods associated with them. If we want to make it easie=
r
> for a client to figure out which ones an RS supports, I=E2=80=99d rather =
see this
> as an enhancement to the Bearer WWW-Authentication challenge - e.g.
> WWW-Authenticate: Bearer =E2=80=A6 supported_cnf_methods=3Dmtls,dpop
>
> Anyway, can of worms well and truly opened=E2=80=A6
>
> =E2=80=94 Neil
>
> On 9 Dec 2021, at 13:23, Dmitry Telegin <
> dmitryt=3D40backbase.com@dmarc.ietf.org> wrote:
>
> There following changes to RFC 8705 have been proposed:
> - introduce a new error code (e.g. "invalid_mtls_certificate") to be used
> when the certificate is required by the AS/RS, but the underlying stack h=
as
> been misconfigured and the client didn't send one;
> - for bound token use, change Authorization scheme from Bearer to MTLS;
> - for token response returning a bound token, change token_type from
> Bearer to MTLS
>
> See discussion:
> https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/
>
> Accepting the changes would imply a new RFC and the obsolescence of the
> current one. Two questions so far:
> - what's the group's general stance on this, would that be a welcome
> change?
> - if so, could we also hear from the implementors if there any other
> issues / suggested changes.
>
> Dmitry
> Backbase / Keycloak
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--00000000000031542305d2b72b30
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This is a great answer.<div><br clear=3D"all"><div><div di=
r=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div=
 dir=3D"ltr"><table style=3D"border:none;border-collapse:collapse"><colgrou=
p><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"heig=
ht:0pt"><td style=3D"border-left:solid #ffffff 1pt;border-right:solid #cccc=
cc 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;vertica=
l-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=
=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #fffff=
f 1pt;border-top:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margin-t=
op:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;c=
olor:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-=
space:pre-wrap"><span style=3D"border:none;display:inline-block;overflow:hi=
dden;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent.com=
/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYd=
BhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199=
" height=3D"34" style=3D"margin-left:0px;margin-top:0px"></span></span></p>=
</td><td style=3D"border-left:solid #cccccc 1pt;border-right:solid #ffffff =
1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;vertical-a=
lign:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=3D"l=
ine-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #ffffff 1pt=
;border-top:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span style=
=3D"font-size:11pt;font-family:Lato,sans-serif;background-color:transparent=
;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Parad=
</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #fffff=
f 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margin=
-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"=
font-size:13.3333px;white-space:pre-wrap">Founder, CTO</span></font></p></t=
d></tr></tbody></table><span style=3D"font-size:x-small">Secure your user d=
ata with IAM authorization as a service. Implement=C2=A0</span><a href=3D"h=
ttps://authress.io/" style=3D"font-size:x-small" target=3D"_blank">Authress=
</a><span style=3D"font-size:x-small">.</span><br></div></div></div><br></d=
iv></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_att=
r">On Thu, Dec 9, 2021 at 2:52 PM Neil Madden &lt;<a href=3D"mailto:neil.ma=
dden@forgerock.com">neil.madden@forgerock.com</a>&gt; wrote:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><div style=3D"overflow-wrap: b=
reak-word;">I don=E2=80=99t mind about a new error code, although I think i=
t=E2=80=99s of limited value - error codes (rather than descriptive error *=
messages*) imply that the client may be able to dynamically react to the si=
tuation and so something different. But TLS client certs are usually config=
ured statically, so it seems highly unlikely that the client could satisfy =
this requirement on its own. (Especially without all the other hints that w=
ould be missing from the TLS layer, like trusted CAs, supported signature a=
lgorithms, etc).<div><br></div><div>I am against changing the token type/sc=
heme from Bearer to MTLS.=C2=A0 Mostly because of backwards compatibility i=
ssues - we already have customers that have deployed mTLS widely, but also =
because of conceptual issues I have generally with distinct token_type/sche=
mes:</div><div><br></div><div>1. Whether an access token is mTLS-bound or a=
 pure bearer token is a property of what the RS enforces, not intrinsic to =
the token. As far as I am aware, there is no spec anywhere that says what a=
n RS should do if it doesn=E2=80=99t understand a particular confirmation m=
ethod associated with an access token. So you can easily at present have a =
situation where an AT is valid at multiple RSes, some of which understand m=
TLS-binding and some of which do not. Indeed, this is very likely (and desi=
rable) when you are in the process of rolling out stronger security mechani=
sms on an RS-by-RS basis. (And what if you later decide to move from mTLS t=
o DPoP?) IMO requiring that ATs always have one and only one associated PoP=
 mechanism is a recipe for ossification.</div><div><br></div><div>2. IMO th=
e =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme should be primarily=
 about how the AT itself is conveyed to the RS, not about how any associate=
d proof is. Although =E2=80=9CBearer=E2=80=9D is not the most appropriate n=
ame, I would rather we stuck to that one scheme for conveying ATs regardles=
s of whether they are pure bearer tokens, bound tokens, or whatever. To me,=
 the important part of =E2=80=9CBearer=E2=80=9D is that it tells the RS tha=
t it can send this token directly to an introspection endpoint (or examine =
it locally) without first performing some additional processing on it.</div=
><div><br></div><div>3. I am generally in favour of allowing ATs to have 0,=
 1, 2 or any number of confirmation methods associated with them. If we wan=
t to make it easier for a client to figure out which ones an RS supports, I=
=E2=80=99d rather see this as an enhancement to the Bearer WWW-Authenticati=
on challenge - e.g. WWW-Authenticate: Bearer =E2=80=A6 supported_cnf_method=
s=3Dmtls,dpop</div><div><br></div><div>Anyway, can of worms well and truly =
opened=E2=80=A6</div><div><br></div><div>=E2=80=94 Neil<br>
<div><br><blockquote type=3D"cite"><div>On 9 Dec 2021, at 13:23, Dmitry Tel=
egin &lt;<a href=3D"mailto:dmitryt=3D40backbase.com@dmarc.ietf.org" target=
=3D"_blank">dmitryt=3D40backbase.com@dmarc.ietf.org</a>&gt; wrote:</div><br=
><div><div dir=3D"ltr"><div>There following changes to RFC 8705 have been p=
roposed:</div><div>- introduce a new error code (e.g. &quot;invalid_mtls_ce=
rtificate&quot;) to be used when the certificate is required by the AS/RS, =
but the underlying stack has been misconfigured and the client didn&#39;t s=
end one;</div><div>- for bound token use, change Authorization scheme from =
Bearer to MTLS;</div><div>- for token response returning a bound token, cha=
nge token_type from Bearer to MTLS<br></div><div><br></div><div>See discuss=
ion: <a href=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2Yocs=
R484xk-8LMqc/" target=3D"_blank">https://mailarchive.ietf.org/arch/msg/oaut=
h/XfeH2q0Rwa2YocsR484xk-8LMqc/</a></div><div><br></div><div>Accepting the c=
hanges would imply a new RFC and the obsolescence of the current one. Two q=
uestions so far:</div><div>- what&#39;s the group&#39;s general stance on t=
his, would that be a welcome change?<br></div><div>- if so, could we also h=
ear from the implementors if there any  other issues / suggested changes.</=
div><div><br></div><div>Dmitry</div><div>Backbase / Keycloak<br></div><div>=
<br></div></div>
_______________________________________________<br>OAuth mailing list<br><a=
 href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">http=
s://www.ietf.org/mailman/listinfo/oauth</a><br></div></blockquote></div><br=
></div></div>_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--00000000000031542305d2b72b30--


From nobody Thu Dec  9 12:36:20 2021
Return-Path: <jricher@mit.edu>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8313F3A0A0A for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 12:36:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.497
X-Spam-Level: 
X-Spam-Status: No, score=-1.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 4GgUucQrbYHX for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 12:36:15 -0800 (PST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 6142A3A0A09 for <oauth@ietf.org>; Thu,  9 Dec 2021 12:36:15 -0800 (PST)
Received: from smtpclient.apple (static-71-174-62-56.bstnma.fios.verizon.net [71.174.62.56]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1B9Ka4xV027520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 9 Dec 2021 15:36:05 -0500
From: Justin Richer <jricher@mit.edu>
Message-Id: <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3A1EFE47-BD1F-4431-98BD-825C92BDA09F"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Thu, 9 Dec 2021 15:36:04 -0500
In-Reply-To: <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com>
Cc: Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
To: Neil Madden <neil.madden@forgerock.com>
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/4NRCFXUhj4mKgJHE-2VmWJo3oRU>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 20:36:20 -0000

--Apple-Mail=_3A1EFE47-BD1F-4431-98BD-825C92BDA09F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I disagree with this take. If there are confirmation methods at all, =
it=E2=80=99s no longer a Bearer token, and pretending that it is =
doesn=E2=80=99t help anyone. I think combining confirmation methods is =
interesting, but then you get into a weird space of how to define the =
combinations, and what to do if one is missing, etc. It opens up a weird =
space for interop problems. It=E2=80=99s not insurmountable, but I =
don=E2=80=99t think it=E2=80=99s a trivial as it might look at first.

Plus, the =E2=80=9Cbackwards compatible=E2=80=9D argument is what led to =
the existing RFC using Bearer again. In my view, this actually opens up =
the possibility of downgrade attacks against the RS, where a lazy RS =
doesn=E2=80=99t check the binding because it sees =E2=80=9CBearer=E2=80=9D=
 and calls it a day. The thing is, turning off that kind of checking is =
the kind of problem that fails open, like turning off XML signature =
validation in a SAML environment. The good assertions still pass, and =
bad assertions happen to also look fine. I don=E2=80=99t think that=E2=80=99=
s a good space to be in, and re-using =E2=80=9CBearer=E2=80=9D like the =
existing spec does is a problem for that reason.

I would personally love to see a bis of this RFC, but because of inertia =
around existing deployments, I don=E2=80=99t expect it. I think we=E2=80=99=
d see a lot of confusion around which version of things to use.

 =E2=80=94 Justin

> On Dec 9, 2021, at 8:52 AM, Neil Madden <neil.madden@forgerock.com> =
wrote:
>=20
> I don=E2=80=99t mind about a new error code, although I think it=E2=80=99=
s of limited value - error codes (rather than descriptive error =
*messages*) imply that the client may be able to dynamically react to =
the situation and so something different. But TLS client certs are =
usually configured statically, so it seems highly unlikely that the =
client could satisfy this requirement on its own. (Especially without =
all the other hints that would be missing from the TLS layer, like =
trusted CAs, supported signature algorithms, etc).
>=20
> I am against changing the token type/scheme from Bearer to MTLS.  =
Mostly because of backwards compatibility issues - we already have =
customers that have deployed mTLS widely, but also because of conceptual =
issues I have generally with distinct token_type/schemes:
>=20
> 1. Whether an access token is mTLS-bound or a pure bearer token is a =
property of what the RS enforces, not intrinsic to the token. As far as =
I am aware, there is no spec anywhere that says what an RS should do if =
it doesn=E2=80=99t understand a particular confirmation method =
associated with an access token. So you can easily at present have a =
situation where an AT is valid at multiple RSes, some of which =
understand mTLS-binding and some of which do not. Indeed, this is very =
likely (and desirable) when you are in the process of rolling out =
stronger security mechanisms on an RS-by-RS basis. (And what if you =
later decide to move from mTLS to DPoP?) IMO requiring that ATs always =
have one and only one associated PoP mechanism is a recipe for =
ossification.
>=20
> 2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme =
should be primarily about how the AT itself is conveyed to the RS, not =
about how any associated proof is. Although =E2=80=9CBearer=E2=80=9D is =
not the most appropriate name, I would rather we stuck to that one =
scheme for conveying ATs regardless of whether they are pure bearer =
tokens, bound tokens, or whatever. To me, the important part of =
=E2=80=9CBearer=E2=80=9D is that it tells the RS that it can send this =
token directly to an introspection endpoint (or examine it locally) =
without first performing some additional processing on it.
>=20
> 3. I am generally in favour of allowing ATs to have 0, 1, 2 or any =
number of confirmation methods associated with them. If we want to make =
it easier for a client to figure out which ones an RS supports, I=E2=80=99=
d rather see this as an enhancement to the Bearer WWW-Authentication =
challenge - e.g. WWW-Authenticate: Bearer =E2=80=A6 =
supported_cnf_methods=3Dmtls,dpop
>=20
> Anyway, can of worms well and truly opened=E2=80=A6
>=20
> =E2=80=94 Neil
>=20
>> On 9 Dec 2021, at 13:23, Dmitry Telegin =
<dmitryt=3D40backbase.com@dmarc.ietf.org =
<mailto:dmitryt=3D40backbase.com@dmarc.ietf.org>> wrote:
>>=20
>> There following changes to RFC 8705 have been proposed:
>> - introduce a new error code (e.g. "invalid_mtls_certificate") to be =
used when the certificate is required by the AS/RS, but the underlying =
stack has been misconfigured and the client didn't send one;
>> - for bound token use, change Authorization scheme from Bearer to =
MTLS;
>> - for token response returning a bound token, change token_type from =
Bearer to MTLS
>>=20
>> See discussion: =
https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/ =
<https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/>=

>>=20
>> Accepting the changes would imply a new RFC and the obsolescence of =
the current one. Two questions so far:
>> - what's the group's general stance on this, would that be a welcome =
change?
>> - if so, could we also hear from the implementors if there any other =
issues / suggested changes.
>>=20
>> Dmitry
>> Backbase / Keycloak
>>=20
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>> https://www.ietf.org/mailman/listinfo/oauth
>=20
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


--Apple-Mail=_3A1EFE47-BD1F-4431-98BD-825C92BDA09F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I =
disagree with this take. If there are confirmation methods at all, =
it=E2=80=99s no longer a Bearer token, and pretending that it is =
doesn=E2=80=99t help anyone. I think combining confirmation methods is =
interesting, but then you get into a weird space of how to define the =
combinations, and what to do if one is missing, etc. It opens up a weird =
space for interop problems. It=E2=80=99s not insurmountable, but I =
don=E2=80=99t think it=E2=80=99s a trivial as it might look at =
first.<div class=3D""><br class=3D""></div><div class=3D"">Plus, the =
=E2=80=9Cbackwards compatible=E2=80=9D argument is what led to the =
existing RFC using Bearer again. In my view, this actually opens up the =
possibility of downgrade attacks against the RS, where a lazy RS =
doesn=E2=80=99t check the binding because it sees =E2=80=9CBearer=E2=80=9D=
 and calls it a day. The thing is, turning off that kind of checking is =
the kind of problem that fails open, like turning off XML signature =
validation in a SAML environment. The good assertions still pass, and =
bad assertions happen to also look fine. I don=E2=80=99t think that=E2=80=99=
s a good space to be in, and re-using =E2=80=9CBearer=E2=80=9D like the =
existing spec does is a problem for that reason.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I would personally love to see a bis of =
this RFC, but because of inertia around existing deployments, I don=E2=80=99=
t expect it. I think we=E2=80=99d see a lot of confusion around which =
version of things to use.</div><div class=3D""><br class=3D""></div><div =
class=3D"">&nbsp;=E2=80=94 Justin<br class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On Dec =
9, 2021, at 8:52 AM, Neil Madden &lt;<a =
href=3D"mailto:neil.madden@forgerock.com" =
class=3D"">neil.madden@forgerock.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D"">I don=E2=80=99t mind =
about a new error code, although I think it=E2=80=99s of limited value - =
error codes (rather than descriptive error *messages*) imply that the =
client may be able to dynamically react to the situation and so =
something different. But TLS client certs are usually configured =
statically, so it seems highly unlikely that the client could satisfy =
this requirement on its own. (Especially without all the other hints =
that would be missing from the TLS layer, like trusted CAs, supported =
signature algorithms, etc).<div class=3D""><br class=3D""></div><div =
class=3D"">I am against changing the token type/scheme from Bearer to =
MTLS. &nbsp;Mostly because of backwards compatibility issues - we =
already have customers that have deployed mTLS widely, but also because =
of conceptual issues I have generally with distinct =
token_type/schemes:</div><div class=3D""><br class=3D""></div><div =
class=3D"">1. Whether an access token is mTLS-bound or a pure bearer =
token is a property of what the RS enforces, not intrinsic to the token. =
As far as I am aware, there is no spec anywhere that says what an RS =
should do if it doesn=E2=80=99t understand a particular confirmation =
method associated with an access token. So you can easily at present =
have a situation where an AT is valid at multiple RSes, some of which =
understand mTLS-binding and some of which do not. Indeed, this is very =
likely (and desirable) when you are in the process of rolling out =
stronger security mechanisms on an RS-by-RS basis. (And what if you =
later decide to move from mTLS to DPoP?) IMO requiring that ATs always =
have one and only one associated PoP mechanism is a recipe for =
ossification.</div><div class=3D""><br class=3D""></div><div class=3D"">2.=
 IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme should be =
primarily about how the AT itself is conveyed to the RS, not about how =
any associated proof is. Although =E2=80=9CBearer=E2=80=9D is not the =
most appropriate name, I would rather we stuck to that one scheme for =
conveying ATs regardless of whether they are pure bearer tokens, bound =
tokens, or whatever. To me, the important part of =E2=80=9CBearer=E2=80=9D=
 is that it tells the RS that it can send this token directly to an =
introspection endpoint (or examine it locally) without first performing =
some additional processing on it.</div><div class=3D""><br =
class=3D""></div><div class=3D"">3. I am generally in favour of allowing =
ATs to have 0, 1, 2 or any number of confirmation methods associated =
with them. If we want to make it easier for a client to figure out which =
ones an RS supports, I=E2=80=99d rather see this as an enhancement to =
the Bearer WWW-Authentication challenge - e.g. WWW-Authenticate: Bearer =
=E2=80=A6 supported_cnf_methods=3Dmtls,dpop</div><div class=3D""><br =
class=3D""></div><div class=3D"">Anyway, can of worms well and truly =
opened=E2=80=A6</div><div class=3D""><br class=3D""></div><div =
class=3D"">=E2=80=94 Neil<br class=3D"">
<div class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 9 Dec 2021, at 13:23, Dmitry Telegin &lt;<a =
href=3D"mailto:dmitryt=3D40backbase.com@dmarc.ietf.org" =
class=3D"">dmitryt=3D40backbase.com@dmarc.ietf.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"">There following changes to RFC =
8705 have been proposed:</div><div class=3D"">- introduce a new error =
code (e.g. "invalid_mtls_certificate") to be used when the certificate =
is required by the AS/RS, but the underlying stack has been =
misconfigured and the client didn't send one;</div><div class=3D"">- for =
bound token use, change Authorization scheme from Bearer to =
MTLS;</div><div class=3D"">- for token response returning a bound token, =
change token_type from Bearer to MTLS<br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D"">See discussion: <a =
href=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-=
8LMqc/" =
class=3D"">https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484=
xk-8LMqc/</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Accepting the changes would imply a new RFC and the =
obsolescence of the current one. Two questions so far:</div><div =
class=3D"">- what's the group's general stance on this, would that be a =
welcome change?<br class=3D""></div><div class=3D"">- if so, could we =
also hear from the implementors if there any  other issues / suggested =
changes.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Dmitry</div><div class=3D"">Backbase / Keycloak<br =
class=3D""></div><div class=3D""><br class=3D""></div></div>
_______________________________________________<br class=3D"">OAuth =
mailing list<br class=3D""><a href=3D"mailto:OAuth@ietf.org" =
class=3D"">OAuth@ietf.org</a><br class=3D""><a =
href=3D"https://www.ietf.org/mailman/listinfo/oauth" =
class=3D"">https://www.ietf.org/mailman/listinfo/oauth</a><br =
class=3D""></div></blockquote></div><br =
class=3D""></div></div>_______________________________________________<br =
class=3D"">OAuth mailing list<br class=3D""><a =
href=3D"mailto:OAuth@ietf.org" class=3D"">OAuth@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/oauth<br =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_3A1EFE47-BD1F-4431-98BD-825C92BDA09F--


From nobody Thu Dec  9 13:00:18 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FA0D3A0E76 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 13:00:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rhosys.ch
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 m1HkvDLVU_M9 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 13:00:11 -0800 (PST)
Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 BD3503A0E78 for <oauth@ietf.org>; Thu,  9 Dec 2021 13:00:11 -0800 (PST)
Received: by mail-yb1-xb36.google.com with SMTP id 131so16658201ybc.7 for <oauth@ietf.org>; Thu, 09 Dec 2021 13:00:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Geji1fCeGiAuSi9InO5pxGK6rM46Igj+lvbPZ/FyN3w=; b=LE0N29ZEXyazsLbl4bAfwapkObIilCZKUL8SCbDDZWc5vI00D2d20tni7ILeTxDfrE xCWnt2WiIdn9T5Fw+KyX+5erKgRs7FjRS4UmQJnjPv0XkUVY4FmR9dc11Et0CqkOzSJi CzugHmsuC2/5M4H7ID15wmjF59zNUDmuY206zmbvxBDcd5IWeJ7dKCKQQYdy8vmqOw8A FzDaN1IpEXJJgMpDECU1ShiVeQixb/tSQ5O8rUc8dqdnmXw4sY2bVJLWxFwcJmBbDdah JosOFx5R17MtyiDgNMSUrBs3UqivtRWNPZk8xRWaaoak4qIGHUqqArYHq1pkJUc2Uqqm DSBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Geji1fCeGiAuSi9InO5pxGK6rM46Igj+lvbPZ/FyN3w=; b=q9HwmboL5XgztDstKgW/w78zKA6kii/gZIA4UnB52w9BCO1eDP+XHmDzSYpJhg9mfe 4BrUDGf8m6EZKvdnXr/Za1KukAsD8H89Q9AbkSBChvbov/Nm37bvgugZLwKE9ULB51FV xjYtx8+z6vJ9U3+FsJlbzDMb4ZvwH/dnJSuHyawVtDBKpppaGBNXAD6lYkDmvgph5+pF AMHgnmbr+SGYV0VCzqLzyU05uC5Gj/31/RLqhwoyGEZTS5DdocmI8LNzwuv/1K/hPyxA 5//d+DyZHOFK4zQsBxnjTEhdOuHvKv0/ywoIq5X58KffMeU6vzV14/iqnzu9n3qX+kxY mdXg==
X-Gm-Message-State: AOAM533O32ymqpHDtWr4h+aAe9C4R6FcICUyrryAXf9zRLVbXqshu/T/ IJNq6aeW+ntsi/8d7GqVrfnItcbLUPi8EAsvFARWL7LZLw==
X-Google-Smtp-Source: ABdhPJw9lLk8amGwHcHfnDhbdnBefutdaELD9GXcCFhWQmBlE9/k8JxR+pcS+YdHcacViezPQ+tlpupadONfkz1UDAY=
X-Received: by 2002:a25:8802:: with SMTP id c2mr8982339ybl.297.1639083609005;  Thu, 09 Dec 2021 13:00:09 -0800 (PST)
MIME-Version: 1.0
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com> <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu>
In-Reply-To: <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu>
From: Warren Parad <wparad@rhosys.ch>
Date: Thu, 9 Dec 2021 21:59:58 +0100
Message-ID: <CAJot-L2oeE-3tYVXGPEpVqJGbS+Q32Z5+37822cdVMdfmFqbHQ@mail.gmail.com>
To: Justin Richer <jricher@mit.edu>
Cc: Neil Madden <neil.madden@forgerock.com>, oauth <oauth@ietf.org>,  Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="00000000000045b7f705d2bce400"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Bl0xkO5pMcK3rCspk7zgGPWArWg>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 21:00:17 -0000

--00000000000045b7f705d2bce400
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

So if we are saying that it must be a different value than Bearer because
the RS can be lazy. Well the RS can be lazy even with MTLS and decide not
to validate, so having a different token type just adds complexity without
improving anything. I think we would need to justify a situation where an
RS can have both mTLS clients and non-mTLS clients and would need to know
whether or not to trust tokens coming from a particular client if that
client is using mTLS.

The problem with this is, the RS would need to start making decisions about
access control based on whether or not the client used mTLS to send the
request (otherwise accepting non-mTLS would prevent the benefit of ever
having mTLS). That leads to the issue of different levels of access control
that is not visible for the RS and clients by inspecting a request and/or
token
AND
The RS would need to know during requests whether or not mTLS was used.
That's just bonkers, no one is going to write a service to pass around a
magic flag just so they can do differentiated access control checks based
on whether mTLS was used.

If we want to signal that the token should be used with mTLS and not
without, that to me says "claim" as "*mtls: true"*. Further, Bearer says
"use this as is, it doesn't need to be modified", the token doesn't need to
be modified to use it with mTLS so Bearer is correct.

I really wish we would stop trying to create different token values for the
part of the Authorization header string that comes before the token. Having
DPoP token type is bothering me as well, do we need it there, probably not,
but that's not this discussion. At this point we should consider the
*token_type* functionality fundamentally broken, and realistically a
vestigial piece of OAuth that neither offers value nor should be reasonably
used for any purpose. If so desired, then let's put the mTLS signaling flag
as a claim where anyone and everyone can see it without having to magically
know what protocol was used to convey the HTTP message to the RS.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Thu, Dec 9, 2021 at 9:36 PM Justin Richer <jricher@mit.edu> wrote:

> I disagree with this take. If there are confirmation methods at all, it=
=E2=80=99s
> no longer a Bearer token, and pretending that it is doesn=E2=80=99t help =
anyone. I
> think combining confirmation methods is interesting, but then you get int=
o
> a weird space of how to define the combinations, and what to do if one is
> missing, etc. It opens up a weird space for interop problems. It=E2=80=99=
s not
> insurmountable, but I don=E2=80=99t think it=E2=80=99s a trivial as it mi=
ght look at first.
>
> Plus, the =E2=80=9Cbackwards compatible=E2=80=9D argument is what led to =
the existing RFC
> using Bearer again. In my view, this actually opens up the possibility of
> downgrade attacks against the RS, where a lazy RS doesn=E2=80=99t check t=
he binding
> because it sees =E2=80=9CBearer=E2=80=9D and calls it a day. The thing is=
, turning off that
> kind of checking is the kind of problem that fails open, like turning off
> XML signature validation in a SAML environment. The good assertions still
> pass, and bad assertions happen to also look fine. I don=E2=80=99t think =
that=E2=80=99s a
> good space to be in, and re-using =E2=80=9CBearer=E2=80=9D like the exist=
ing spec does is a
> problem for that reason.
>
> I would personally love to see a bis of this RFC, but because of inertia
> around existing deployments, I don=E2=80=99t expect it. I think we=E2=80=
=99d see a lot of
> confusion around which version of things to use.
>
>  =E2=80=94 Justin
>
> On Dec 9, 2021, at 8:52 AM, Neil Madden <neil.madden@forgerock.com> wrote=
:
>
> I don=E2=80=99t mind about a new error code, although I think it=E2=80=99=
s of limited
> value - error codes (rather than descriptive error *messages*) imply that
> the client may be able to dynamically react to the situation and so
> something different. But TLS client certs are usually configured
> statically, so it seems highly unlikely that the client could satisfy thi=
s
> requirement on its own. (Especially without all the other hints that woul=
d
> be missing from the TLS layer, like trusted CAs, supported signature
> algorithms, etc).
>
> I am against changing the token type/scheme from Bearer to MTLS.  Mostly
> because of backwards compatibility issues - we already have customers tha=
t
> have deployed mTLS widely, but also because of conceptual issues I have
> generally with distinct token_type/schemes:
>
> 1. Whether an access token is mTLS-bound or a pure bearer token is a
> property of what the RS enforces, not intrinsic to the token. As far as I
> am aware, there is no spec anywhere that says what an RS should do if it
> doesn=E2=80=99t understand a particular confirmation method associated wi=
th an
> access token. So you can easily at present have a situation where an AT i=
s
> valid at multiple RSes, some of which understand mTLS-binding and some of
> which do not. Indeed, this is very likely (and desirable) when you are in
> the process of rolling out stronger security mechanisms on an RS-by-RS
> basis. (And what if you later decide to move from mTLS to DPoP?) IMO
> requiring that ATs always have one and only one associated PoP mechanism =
is
> a recipe for ossification.
>
> 2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme should b=
e primarily about
> how the AT itself is conveyed to the RS, not about how any associated pro=
of
> is. Although =E2=80=9CBearer=E2=80=9D is not the most appropriate name, I=
 would rather we
> stuck to that one scheme for conveying ATs regardless of whether they are
> pure bearer tokens, bound tokens, or whatever. To me, the important part =
of
> =E2=80=9CBearer=E2=80=9D is that it tells the RS that it can send this to=
ken directly to an
> introspection endpoint (or examine it locally) without first performing
> some additional processing on it.
>
> 3. I am generally in favour of allowing ATs to have 0, 1, 2 or any number
> of confirmation methods associated with them. If we want to make it easie=
r
> for a client to figure out which ones an RS supports, I=E2=80=99d rather =
see this
> as an enhancement to the Bearer WWW-Authentication challenge - e.g.
> WWW-Authenticate: Bearer =E2=80=A6 supported_cnf_methods=3Dmtls,dpop
>
> Anyway, can of worms well and truly opened=E2=80=A6
>
> =E2=80=94 Neil
>
> On 9 Dec 2021, at 13:23, Dmitry Telegin <
> dmitryt=3D40backbase.com@dmarc.ietf.org> wrote:
>
> There following changes to RFC 8705 have been proposed:
> - introduce a new error code (e.g. "invalid_mtls_certificate") to be used
> when the certificate is required by the AS/RS, but the underlying stack h=
as
> been misconfigured and the client didn't send one;
> - for bound token use, change Authorization scheme from Bearer to MTLS;
> - for token response returning a bound token, change token_type from
> Bearer to MTLS
>
> See discussion:
> https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/
>
> Accepting the changes would imply a new RFC and the obsolescence of the
> current one. Two questions so far:
> - what's the group's general stance on this, would that be a welcome
> change?
> - if so, could we also hear from the implementors if there any other
> issues / suggested changes.
>
> Dmitry
> Backbase / Keycloak
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--00000000000045b7f705d2bce400
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">So if we are saying that it must be a different value than=
 Bearer because the RS can be lazy. Well the RS can be lazy even with MTLS =
and decide not to validate, so having a different=C2=A0token type just adds=
 complexity without improving anything. I think we would need to justify a =
situation where an RS can have both mTLS clients and non-mTLS clients and w=
ould need to know whether or not to trust tokens coming from a particular c=
lient if that client is using mTLS.<div><br></div><div>The problem with thi=
s is, the RS would=C2=A0need to start making decisions about access control=
 based on whether or not the client used mTLS to send the request (otherwis=
e accepting non-mTLS would prevent the benefit of ever having mTLS). That l=
eads to the issue of different levels of access control that is not visible=
 for the RS and clients by inspecting a request and/or token</div><div>AND<=
br></div><div>The RS would need to know during requests whether or not mTLS=
 was used. That&#39;s just bonkers, no one is going to write a service to p=
ass around a magic flag just so they can do differentiated access control c=
hecks based on whether mTLS was used.<br></div><div><div><br></div><div>If =
we want to signal=C2=A0that the token should be used with mTLS and not with=
out, that to me says &quot;claim&quot; as &quot;<b>mtls: true&quot;</b>. Fu=
rther, Bearer says &quot;use this as is, it doesn&#39;t need to be modified=
&quot;, the token doesn&#39;t need to be modified to use it with=C2=A0mTLS =
so Bearer is correct.</div><div><br></div><div>I really wish we would stop =
trying to create different token values for the part of the Authorization h=
eader string that comes before the token. Having DPoP token type is botheri=
ng=C2=A0me as well, do we need it there, probably not, but that&#39;s not t=
his discussion. At this point we should consider the <b>token_type</b>=C2=
=A0functionality fundamentally broken, and realistically a vestigial piece =
of OAuth that neither offers value nor should be reasonably used for any pu=
rpose. If so desired, then let&#39;s put the mTLS signaling=C2=A0flag as a =
claim where anyone and everyone can see it without having to magically know=
 what protocol was used to convey the HTTP message to the RS.</div><div><br=
><div><div><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=
=3D"gmail_signature"><div dir=3D"ltr"><table style=3D"border:none;border-co=
llapse:collapse"><colgroup><col width=3D"214"><col width=3D"110"></colgroup=
><tbody><tr style=3D"height:0pt"><td style=3D"border-left:solid #ffffff 1pt=
;border-right:solid #cccccc 1pt;border-bottom:solid #ffffff 1pt;border-top:=
solid #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidde=
n"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;bo=
rder-right:solid #ffffff 1pt;border-top:solid #ffffff 1pt;border-bottom:sol=
id #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:1=
1pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertica=
l-align:baseline;white-space:pre-wrap"><span style=3D"border:none;display:i=
nline-block;overflow:hidden;width:199px;height:34px"><img src=3D"https://lh=
6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKb=
APtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8=
kWcUSNtuA" width=3D"199" height=3D"34" style=3D"margin-left:0px;margin-top:=
0px"></span></span></p></td><td style=3D"border-left:solid #cccccc 1pt;bord=
er-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;border-top:solid=
 #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p=
 dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-=
right:solid #ffffff 1pt;border-top:solid #ffffff 1pt;margin-top:0pt;margin-=
bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,sans-serif;backg=
round-color:transparent;font-weight:700;vertical-align:baseline;white-space=
:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;b=
order-left:solid #ffffff 1pt;border-right:solid #ffffff 1pt;border-bottom:s=
olid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans=
-serif"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, C=
TO</span></font></p></td></tr></tbody></table><span style=3D"font-size:x-sm=
all">Secure your user data with IAM authorization as a service. Implement=
=C2=A0</span><a href=3D"https://authress.io/" style=3D"font-size:x-small" t=
arget=3D"_blank">Authress</a><span style=3D"font-size:x-small">.</span><br>=
</div></div></div><br></div></div></div></div></div><br><div class=3D"gmail=
_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 9, 2021 at 9:36 P=
M Justin Richer &lt;<a href=3D"mailto:jricher@mit.edu">jricher@mit.edu</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div =
style=3D"overflow-wrap: break-word;">I disagree with this take. If there ar=
e confirmation methods at all, it=E2=80=99s no longer a Bearer token, and p=
retending that it is doesn=E2=80=99t help anyone. I think combining confirm=
ation methods is interesting, but then you get into a weird space of how to=
 define the combinations, and what to do if one is missing, etc. It opens u=
p a weird space for interop problems. It=E2=80=99s not insurmountable, but =
I don=E2=80=99t think it=E2=80=99s a trivial as it might look at first.<div=
><br></div><div>Plus, the =E2=80=9Cbackwards compatible=E2=80=9D argument i=
s what led to the existing RFC using Bearer again. In my view, this actuall=
y opens up the possibility of downgrade attacks against the RS, where a laz=
y RS doesn=E2=80=99t check the binding because it sees =E2=80=9CBearer=E2=
=80=9D and calls it a day. The thing is, turning off that kind of checking =
is the kind of problem that fails open, like turning off XML signature vali=
dation in a SAML environment. The good assertions still pass, and bad asser=
tions happen to also look fine. I don=E2=80=99t think that=E2=80=99s a good=
 space to be in, and re-using =E2=80=9CBearer=E2=80=9D like the existing sp=
ec does is a problem for that reason.</div><div><br></div><div>I would pers=
onally love to see a bis of this RFC, but because of inertia around existin=
g deployments, I don=E2=80=99t expect it. I think we=E2=80=99d see a lot of=
 confusion around which version of things to use.</div><div><br></div><div>=
=C2=A0=E2=80=94 Justin<br><div><br><blockquote type=3D"cite"><div>On Dec 9,=
 2021, at 8:52 AM, Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.=
com" target=3D"_blank">neil.madden@forgerock.com</a>&gt; wrote:</div><br><d=
iv>
<div style=3D"overflow-wrap: break-word;">I don=E2=80=99t mind about a new =
error code, although I think it=E2=80=99s of limited value - error codes (r=
ather than descriptive error *messages*) imply that the client may be able =
to dynamically react to the situation and so something different. But TLS c=
lient certs are usually configured statically, so it seems highly unlikely =
that the client could satisfy this requirement on its own. (Especially with=
out all the other hints that would be missing from the TLS layer, like trus=
ted CAs, supported signature algorithms, etc).<div><br></div><div>I am agai=
nst changing the token type/scheme from Bearer to MTLS.=C2=A0 Mostly becaus=
e of backwards compatibility issues - we already have customers that have d=
eployed mTLS widely, but also because of conceptual issues I have generally=
 with distinct token_type/schemes:</div><div><br></div><div>1. Whether an a=
ccess token is mTLS-bound or a pure bearer token is a property of what the =
RS enforces, not intrinsic to the token. As far as I am aware, there is no =
spec anywhere that says what an RS should do if it doesn=E2=80=99t understa=
nd a particular confirmation method associated with an access token. So you=
 can easily at present have a situation where an AT is valid at multiple RS=
es, some of which understand mTLS-binding and some of which do not. Indeed,=
 this is very likely (and desirable) when you are in the process of rolling=
 out stronger security mechanisms on an RS-by-RS basis. (And what if you la=
ter decide to move from mTLS to DPoP?) IMO requiring that ATs always have o=
ne and only one associated PoP mechanism is a recipe for ossification.</div=
><div><br></div><div>2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorizat=
ion scheme should be primarily about how the AT itself is conveyed to the R=
S, not about how any associated proof is. Although =E2=80=9CBearer=E2=80=9D=
 is not the most appropriate name, I would rather we stuck to that one sche=
me for conveying ATs regardless of whether they are pure bearer tokens, bou=
nd tokens, or whatever. To me, the important part of =E2=80=9CBearer=E2=80=
=9D is that it tells the RS that it can send this token directly to an intr=
ospection endpoint (or examine it locally) without first performing some ad=
ditional processing on it.</div><div><br></div><div>3. I am generally in fa=
vour of allowing ATs to have 0, 1, 2 or any number of confirmation methods =
associated with them. If we want to make it easier for a client to figure o=
ut which ones an RS supports, I=E2=80=99d rather see this as an enhancement=
 to the Bearer WWW-Authentication challenge - e.g. WWW-Authenticate: Bearer=
 =E2=80=A6 supported_cnf_methods=3Dmtls,dpop</div><div><br></div><div>Anywa=
y, can of worms well and truly opened=E2=80=A6</div><div><br></div><div>=E2=
=80=94 Neil<br>
<div><br><blockquote type=3D"cite"><div>On 9 Dec 2021, at 13:23, Dmitry Tel=
egin &lt;<a href=3D"mailto:dmitryt=3D40backbase.com@dmarc.ietf.org" target=
=3D"_blank">dmitryt=3D40backbase.com@dmarc.ietf.org</a>&gt; wrote:</div><br=
><div><div dir=3D"ltr"><div>There following changes to RFC 8705 have been p=
roposed:</div><div>- introduce a new error code (e.g. &quot;invalid_mtls_ce=
rtificate&quot;) to be used when the certificate is required by the AS/RS, =
but the underlying stack has been misconfigured and the client didn&#39;t s=
end one;</div><div>- for bound token use, change Authorization scheme from =
Bearer to MTLS;</div><div>- for token response returning a bound token, cha=
nge token_type from Bearer to MTLS<br></div><div><br></div><div>See discuss=
ion: <a href=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2Yocs=
R484xk-8LMqc/" target=3D"_blank">https://mailarchive.ietf.org/arch/msg/oaut=
h/XfeH2q0Rwa2YocsR484xk-8LMqc/</a></div><div><br></div><div>Accepting the c=
hanges would imply a new RFC and the obsolescence of the current one. Two q=
uestions so far:</div><div>- what&#39;s the group&#39;s general stance on t=
his, would that be a welcome change?<br></div><div>- if so, could we also h=
ear from the implementors if there any  other issues / suggested changes.</=
div><div><br></div><div>Dmitry</div><div>Backbase / Keycloak<br></div><div>=
<br></div></div>
_______________________________________________<br>OAuth mailing list<br><a=
 href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">http=
s://www.ietf.org/mailman/listinfo/oauth</a><br></div></blockquote></div><br=
></div></div>_______________________________________________<br>OAuth maili=
ng list<br><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.o=
rg</a><br><a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D=
"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br></div></blockqu=
ote></div><br></div></div>_______________________________________________<b=
r>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--00000000000045b7f705d2bce400--


From nobody Thu Dec  9 13:35:35 2021
Return-Path: <neil.madden@forgerock.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D0FC3A0FDF for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 13:35:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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 (1024-bit key) header.d=forgerock.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 OEgLj-mRJ76m for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 13:35:28 -0800 (PST)
Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 647983A0FDA for <oauth@ietf.org>; Thu,  9 Dec 2021 13:35:28 -0800 (PST)
Received: by mail-wm1-x335.google.com with SMTP id y196so5335386wmc.3 for <oauth@ietf.org>; Thu, 09 Dec 2021 13:35:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=JogfgoaZwjWYJIO99LouTbbo8sOItBoPbAK4zMsfII0=; b=h6Kczy+MxJA8LGhnWWPODvPABfK9dSeGeh9Y79lhf2e6CbQYLehLpkUaBb06nUfC4B cI8rh3NWlSC/Yxks5rSx+fCNLwXFVEfsYQAE9zwyfKIIAq0HVtc/LUDdIIZlePV6pK5f H6KOd8k7dTnz1fx63MC8tpHzgpcMYF6XVZUQY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=JogfgoaZwjWYJIO99LouTbbo8sOItBoPbAK4zMsfII0=; b=ZZRvpWJ7p8Aqpg9coPqy178LVK57gVS3memHbZ4Ag9L5bmKrxv78OUKUd3nCPO4ufq BP/hE5OtoSVVl3CohKhJT9WpdCBwxvLyAbDGN8enXixdLR5URobGE7YgLb3xkQrXh0p1 BEm/kXDRI5QnAw29a1/96hPF8JIHsh5ZWw10v63lFCnZUiFg3F76DFB91qROi1LAxoCg 4B26Sl0aXkJMX3cL0/rJSGIYHfALfIxNEkiS2+WAQc8lOa5ViiLsCFKnd1oWP1hlTIbO OXlwxuONltHjZvfowNFNz3AohiBNhrVrVIrAHwf41Lc+fTP93C28h7mIVXoG9Hjw9H8R /ATA==
X-Gm-Message-State: AOAM533pcBhpykR+jhYWcxq3vL5sG3cCPz/w4THZJdijuXAmqM06vdcJ 5AU9BLIL3odkhCYlIIIdrA9OLg==
X-Google-Smtp-Source: ABdhPJxCb8+tHJOn9vY6M2cQSO+6gV4ANHgzu2goHcYAP7biYI0lhge2VODF8PComF5DGiVobxrZIQ==
X-Received: by 2002:a05:600c:4f8f:: with SMTP id n15mr10713838wmq.70.1639085726080;  Thu, 09 Dec 2021 13:35:26 -0800 (PST)
Received: from [10.0.0.7] (12.87.75.194.dyn.plus.net. [194.75.87.12]) by smtp.gmail.com with ESMTPSA id n1sm958532wmq.6.2021.12.09.13.35.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Dec 2021 13:35:25 -0800 (PST)
From: Neil Madden <neil.madden@forgerock.com>
Message-Id: <E9926A47-5392-4822-9870-30CC8FF1319C@forgerock.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_DCF0A8BC-BC13-4FB0-B7F0-92013C021AFC"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Thu, 9 Dec 2021 21:35:24 +0000
In-Reply-To: <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu>
Cc: Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
To: Justin Richer <jricher@mit.edu>
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com> <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/sDPJVpm3h3ETNZrcomjMM36KAeQ>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 21:35:34 -0000

--Apple-Mail=_DCF0A8BC-BC13-4FB0-B7F0-92013C021AFC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On 9 Dec 2021, at 20:36, Justin Richer <jricher@mit.edu> wrote:
>=20
> I disagree with this take. If there are confirmation methods at all, =
it=E2=80=99s no longer a Bearer token, and pretending that it is =
doesn=E2=80=99t help anyone. I think combining confirmation methods is =
interesting, but then you get into a weird space of how to define the =
combinations, and what to do if one is missing, etc. It opens up a weird =
space for interop problems. It=E2=80=99s not insurmountable, but I =
don=E2=80=99t think it=E2=80=99s a trivial as it might look at first.
>=20
> Plus, the =E2=80=9Cbackwards compatible=E2=80=9D argument is what led =
to the existing RFC using Bearer again. In my view, this actually opens =
up the possibility of downgrade attacks against the RS, where a lazy RS =
doesn=E2=80=99t check the binding because it sees =E2=80=9CBearer=E2=80=9D=
 and calls it a day.

I think this actually strongly argues the opposite - it is precisely =
because the scheme is under attacker control that enables such downgrade =
attacks. So relying on the scheme to tell you what kind of PoP checks to =
apply makes these kinds of attacks more likely, not less. I=E2=80=99m =
suggesting instead that the RS decides what checks to enforce based on =
the =E2=80=9Ccnf=E2=80=9D content in the token - which is either signed =
by the AS or retrieved directly from the AS through introspection. On =
the other hand, the token type is not even defined in the recent RFC =
9068 for JWT-based ATs. So an attacker could easily change the scheme =
from MTLS to Bearer to see if the RS stops performing checks, but they =
can=E2=80=99t remove a =E2=80=9Ccnf=E2=80=9D claim from the token =
itself.

In hindsight, =E2=80=9CBearer=E2=80=9D might have been better named =
=E2=80=9CAccessToken=E2=80=9D or similar, but I don=E2=80=99t think the =
name matters as much as the semantics.


> The thing is, turning off that kind of checking is the kind of problem =
that fails open, like turning off XML signature validation in a SAML =
environment. The good assertions still pass, and bad assertions happen =
to also look fine. I don=E2=80=99t think that=E2=80=99s a good space to =
be in, and re-using =E2=80=9CBearer=E2=80=9D like the existing spec does =
is a problem for that reason.
>=20
> I would personally love to see a bis of this RFC, but because of =
inertia around existing deployments, I don=E2=80=99t expect it. I think =
we=E2=80=99d see a lot of confusion around which version of things to =
use.
>=20
>  =E2=80=94 Justin
>=20
>> On Dec 9, 2021, at 8:52 AM, Neil Madden <neil.madden@forgerock.com =
<mailto:neil.madden@forgerock.com>> wrote:
>>=20
>> I don=E2=80=99t mind about a new error code, although I think it=E2=80=99=
s of limited value - error codes (rather than descriptive error =
*messages*) imply that the client may be able to dynamically react to =
the situation and so something different. But TLS client certs are =
usually configured statically, so it seems highly unlikely that the =
client could satisfy this requirement on its own. (Especially without =
all the other hints that would be missing from the TLS layer, like =
trusted CAs, supported signature algorithms, etc).
>>=20
>> I am against changing the token type/scheme from Bearer to MTLS.  =
Mostly because of backwards compatibility issues - we already have =
customers that have deployed mTLS widely, but also because of conceptual =
issues I have generally with distinct token_type/schemes:
>>=20
>> 1. Whether an access token is mTLS-bound or a pure bearer token is a =
property of what the RS enforces, not intrinsic to the token. As far as =
I am aware, there is no spec anywhere that says what an RS should do if =
it doesn=E2=80=99t understand a particular confirmation method =
associated with an access token. So you can easily at present have a =
situation where an AT is valid at multiple RSes, some of which =
understand mTLS-binding and some of which do not. Indeed, this is very =
likely (and desirable) when you are in the process of rolling out =
stronger security mechanisms on an RS-by-RS basis. (And what if you =
later decide to move from mTLS to DPoP?) IMO requiring that ATs always =
have one and only one associated PoP mechanism is a recipe for =
ossification.
>>=20
>> 2. IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme =
should be primarily about how the AT itself is conveyed to the RS, not =
about how any associated proof is. Although =E2=80=9CBearer=E2=80=9D is =
not the most appropriate name, I would rather we stuck to that one =
scheme for conveying ATs regardless of whether they are pure bearer =
tokens, bound tokens, or whatever. To me, the important part of =
=E2=80=9CBearer=E2=80=9D is that it tells the RS that it can send this =
token directly to an introspection endpoint (or examine it locally) =
without first performing some additional processing on it.
>>=20
>> 3. I am generally in favour of allowing ATs to have 0, 1, 2 or any =
number of confirmation methods associated with them. If we want to make =
it easier for a client to figure out which ones an RS supports, I=E2=80=99=
d rather see this as an enhancement to the Bearer WWW-Authentication =
challenge - e.g. WWW-Authenticate: Bearer =E2=80=A6 =
supported_cnf_methods=3Dmtls,dpop
>>=20
>> Anyway, can of worms well and truly opened=E2=80=A6
>>=20
>> =E2=80=94 Neil
>>=20
>>> On 9 Dec 2021, at 13:23, Dmitry Telegin =
<dmitryt=3D40backbase.com@dmarc.ietf.org =
<mailto:dmitryt=3D40backbase.com@dmarc.ietf.org>> wrote:
>>>=20
>>> There following changes to RFC 8705 have been proposed:
>>> - introduce a new error code (e.g. "invalid_mtls_certificate") to be =
used when the certificate is required by the AS/RS, but the underlying =
stack has been misconfigured and the client didn't send one;
>>> - for bound token use, change Authorization scheme from Bearer to =
MTLS;
>>> - for token response returning a bound token, change token_type from =
Bearer to MTLS
>>>=20
>>> See discussion: =
https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/ =
<https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-8LMqc/>=

>>>=20
>>> Accepting the changes would imply a new RFC and the obsolescence of =
the current one. Two questions so far:
>>> - what's the group's general stance on this, would that be a welcome =
change?
>>> - if so, could we also hear from the implementors if there any other =
issues / suggested changes.
>>>=20
>>> Dmitry
>>> Backbase / Keycloak
>>>=20
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/oauth =
<https://www.ietf.org/mailman/listinfo/oauth>
>>=20
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>> https://www.ietf.org/mailman/listinfo/oauth
>=20


--Apple-Mail=_DCF0A8BC-BC13-4FB0-B7F0-92013C021AFC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">On =
9 Dec 2021, at 20:36, Justin Richer &lt;<a href=3D"mailto:jricher@mit.edu"=
 class=3D"">jricher@mit.edu</a>&gt; wrote:<br class=3D""><div><blockquote =
type=3D"cite" class=3D""><br class=3D"Apple-interchange-newline"><div =
class=3D""><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8" class=3D""><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I =
disagree with this take. If there are confirmation methods at all, =
it=E2=80=99s no longer a Bearer token, and pretending that it is =
doesn=E2=80=99t help anyone. I think combining confirmation methods is =
interesting, but then you get into a weird space of how to define the =
combinations, and what to do if one is missing, etc. It opens up a weird =
space for interop problems. It=E2=80=99s not insurmountable, but I =
don=E2=80=99t think it=E2=80=99s a trivial as it might look at =
first.<div class=3D""><br class=3D""></div><div class=3D"">Plus, the =
=E2=80=9Cbackwards compatible=E2=80=9D argument is what led to the =
existing RFC using Bearer again. In my view, this actually opens up the =
possibility of downgrade attacks against the RS, where a lazy RS =
doesn=E2=80=99t check the binding because it sees =E2=80=9CBearer=E2=80=9D=
 and calls it a day. </div></div></div></blockquote><div><br =
class=3D""></div><div>I think this actually strongly argues the opposite =
- it is precisely because the scheme is under attacker control that =
enables such downgrade attacks. So relying on the scheme to tell you =
what kind of PoP checks to apply makes these kinds of attacks more =
likely, not less. I=E2=80=99m suggesting instead that the RS decides =
what checks to enforce based on the =E2=80=9Ccnf=E2=80=9D content in the =
token - which is either signed by the AS or retrieved directly from the =
AS through introspection. On the other hand, the token type is not even =
defined in the recent RFC 9068 for JWT-based ATs. So an attacker could =
easily change the scheme from MTLS to Bearer to see if the RS stops =
performing checks, but they can=E2=80=99t remove a =E2=80=9Ccnf=E2=80=9D =
claim from the token itself.</div><div><br class=3D""></div><div>In =
hindsight, =E2=80=9CBearer=E2=80=9D might have been better named =
=E2=80=9CAccessToken=E2=80=9D or similar, but I don=E2=80=99t think the =
name matters as much as the semantics.</div><div><br class=3D""></div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D""><div class=3D"">The thing is, turning off =
that kind of checking is the kind of problem that fails open, like =
turning off XML signature validation in a SAML environment. The good =
assertions still pass, and bad assertions happen to also look fine. I =
don=E2=80=99t think that=E2=80=99s a good space to be in, and re-using =
=E2=80=9CBearer=E2=80=9D like the existing spec does is a problem for =
that reason.</div><div class=3D""><br class=3D""></div><div class=3D"">I =
would personally love to see a bis of this RFC, but because of inertia =
around existing deployments, I don=E2=80=99t expect it. I think we=E2=80=99=
d see a lot of confusion around which version of things to =
use.</div><div class=3D""><br class=3D""></div><div class=3D"">&nbsp;=E2=80=
=94 Justin<br class=3D""><div class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Dec 9, 2021, at 8:52 AM, =
Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" =
class=3D"">neil.madden@forgerock.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D"">I don=E2=80=99t mind =
about a new error code, although I think it=E2=80=99s of limited value - =
error codes (rather than descriptive error *messages*) imply that the =
client may be able to dynamically react to the situation and so =
something different. But TLS client certs are usually configured =
statically, so it seems highly unlikely that the client could satisfy =
this requirement on its own. (Especially without all the other hints =
that would be missing from the TLS layer, like trusted CAs, supported =
signature algorithms, etc).<div class=3D""><br class=3D""></div><div =
class=3D"">I am against changing the token type/scheme from Bearer to =
MTLS. &nbsp;Mostly because of backwards compatibility issues - we =
already have customers that have deployed mTLS widely, but also because =
of conceptual issues I have generally with distinct =
token_type/schemes:</div><div class=3D""><br class=3D""></div><div =
class=3D"">1. Whether an access token is mTLS-bound or a pure bearer =
token is a property of what the RS enforces, not intrinsic to the token. =
As far as I am aware, there is no spec anywhere that says what an RS =
should do if it doesn=E2=80=99t understand a particular confirmation =
method associated with an access token. So you can easily at present =
have a situation where an AT is valid at multiple RSes, some of which =
understand mTLS-binding and some of which do not. Indeed, this is very =
likely (and desirable) when you are in the process of rolling out =
stronger security mechanisms on an RS-by-RS basis. (And what if you =
later decide to move from mTLS to DPoP?) IMO requiring that ATs always =
have one and only one associated PoP mechanism is a recipe for =
ossification.</div><div class=3D""><br class=3D""></div><div class=3D"">2.=
 IMO the =E2=80=9Ctoken_type=E2=80=9D and Authorization scheme should be =
primarily about how the AT itself is conveyed to the RS, not about how =
any associated proof is. Although =E2=80=9CBearer=E2=80=9D is not the =
most appropriate name, I would rather we stuck to that one scheme for =
conveying ATs regardless of whether they are pure bearer tokens, bound =
tokens, or whatever. To me, the important part of =E2=80=9CBearer=E2=80=9D=
 is that it tells the RS that it can send this token directly to an =
introspection endpoint (or examine it locally) without first performing =
some additional processing on it.</div><div class=3D""><br =
class=3D""></div><div class=3D"">3. I am generally in favour of allowing =
ATs to have 0, 1, 2 or any number of confirmation methods associated =
with them. If we want to make it easier for a client to figure out which =
ones an RS supports, I=E2=80=99d rather see this as an enhancement to =
the Bearer WWW-Authentication challenge - e.g. WWW-Authenticate: Bearer =
=E2=80=A6 supported_cnf_methods=3Dmtls,dpop</div><div class=3D""><br =
class=3D""></div><div class=3D"">Anyway, can of worms well and truly =
opened=E2=80=A6</div><div class=3D""><br class=3D""></div><div =
class=3D"">=E2=80=94 Neil<br class=3D"">
<div class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 9 Dec 2021, at 13:23, Dmitry Telegin &lt;<a =
href=3D"mailto:dmitryt=3D40backbase.com@dmarc.ietf.org" =
class=3D"">dmitryt=3D40backbase.com@dmarc.ietf.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"">There following changes to RFC =
8705 have been proposed:</div><div class=3D"">- introduce a new error =
code (e.g. "invalid_mtls_certificate") to be used when the certificate =
is required by the AS/RS, but the underlying stack has been =
misconfigured and the client didn't send one;</div><div class=3D"">- for =
bound token use, change Authorization scheme from Bearer to =
MTLS;</div><div class=3D"">- for token response returning a bound token, =
change token_type from Bearer to MTLS<br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D"">See discussion: <a =
href=3D"https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484xk-=
8LMqc/" =
class=3D"">https://mailarchive.ietf.org/arch/msg/oauth/XfeH2q0Rwa2YocsR484=
xk-8LMqc/</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Accepting the changes would imply a new RFC and the =
obsolescence of the current one. Two questions so far:</div><div =
class=3D"">- what's the group's general stance on this, would that be a =
welcome change?<br class=3D""></div><div class=3D"">- if so, could we =
also hear from the implementors if there any  other issues / suggested =
changes.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Dmitry</div><div class=3D"">Backbase / Keycloak<br =
class=3D""></div><div class=3D""><br class=3D""></div></div>
_______________________________________________<br class=3D"">OAuth =
mailing list<br class=3D""><a href=3D"mailto:OAuth@ietf.org" =
class=3D"">OAuth@ietf.org</a><br class=3D""><a =
href=3D"https://www.ietf.org/mailman/listinfo/oauth" =
class=3D"">https://www.ietf.org/mailman/listinfo/oauth</a><br =
class=3D""></div></blockquote></div><br =
class=3D""></div></div>_______________________________________________<br =
class=3D"">OAuth mailing list<br class=3D""><a =
href=3D"mailto:OAuth@ietf.org" class=3D"">OAuth@ietf.org</a><br =
class=3D""><a href=3D"https://www.ietf.org/mailman/listinfo/oauth" =
class=3D"">https://www.ietf.org/mailman/listinfo/oauth</a><br =
class=3D""></div></blockquote></div><br =
class=3D""></div></div></div></blockquote></div><br =
class=3D""></body></html>=

--Apple-Mail=_DCF0A8BC-BC13-4FB0-B7F0-92013C021AFC--


From nobody Thu Dec  9 14:25:05 2021
Return-Path: <david@alkaline-solutions.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FFF93A11BA for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 14:25:02 -0800 (PST)
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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=alkaline-solutions.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 ujkTfW77Nq_4 for <oauth@ietfa.amsl.com>; Thu,  9 Dec 2021 14:24:57 -0800 (PST)
Received: from caesium6.alkaline.solutions (caesium6.alkaline.solutions [157.230.133.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4C7F3A11B6 for <oauth@ietf.org>; Thu,  9 Dec 2021 14:24:57 -0800 (PST)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by caesium6.alkaline.solutions (Postfix) with ESMTPA id 4EFEB206DDC; Thu,  9 Dec 2021 22:24:54 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alkaline-solutions.com; s=dkim; t=1639088695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZtgHKBmT11fO/3cIB+NGwlgl7xaOnclDaYuTRn9TX8o=; b=SMnvZtq0vbkoZm8Hob9Urj2IClIa08PrB4y2fGHf60dACVQyXB99TpiKp8eyTYLdTLUqzx NULMLtUhHJKHqPAMlhrIVOWaXHJOj7AthJsmVW6/yiXPHbGGQMH0tNHk8eniZXOw8hVJC2 UTXLor8q0pAkM84IGvRe7AftcclRIO8=
From: David Waite <david@alkaline-solutions.com>
Message-Id: <27F2DD3C-C77D-4256-ACD1-72EE03953F11@alkaline-solutions.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C0BFAEFB-A336-4A6E-86B5-2A15D4BAE40B"
Mime-Version: 1.0
Date: Thu, 9 Dec 2021 15:24:53 -0700
In-Reply-To: <E9926A47-5392-4822-9870-30CC8FF1319C@forgerock.com>
Cc: Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>, Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>
To: Neil Madden <neil.madden@forgerock.com>
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com> <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu> <E9926A47-5392-4822-9870-30CC8FF1319C@forgerock.com>
Authentication-Results: caesium6.alkaline.solutions; auth=pass smtp.mailfrom=david@alkaline-solutions.com
X-Spamd-Bar: /
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/FgHI-6RRQKz8E7X5BEywmzXqkko>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 22:25:03 -0000

--Apple-Mail=_C0BFAEFB-A336-4A6E-86B5-2A15D4BAE40B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Dec 9, 2021, at 2:35 PM, Neil Madden <neil.madden@forgerock.com> =
wrote:
>=20
> On 9 Dec 2021, at 20:36, Justin Richer <jricher@mit.edu =
<mailto:jricher@mit.edu>> wrote:
>>=20
>> I disagree with this take. If there are confirmation methods at all, =
it=E2=80=99s no longer a Bearer token, and pretending that it is =
doesn=E2=80=99t help anyone. I think combining confirmation methods is =
interesting, but then you get into a weird space of how to define the =
combinations, and what to do if one is missing, etc. It opens up a weird =
space for interop problems. It=E2=80=99s not insurmountable, but I =
don=E2=80=99t think it=E2=80=99s a trivial as it might look at first.
>>=20
>> Plus, the =E2=80=9Cbackwards compatible=E2=80=9D argument is what led =
to the existing RFC using Bearer again. In my view, this actually opens =
up the possibility of downgrade attacks against the RS, where a lazy RS =
doesn=E2=80=99t check the binding because it sees =E2=80=9CBearer=E2=80=9D=
 and calls it a day.
>=20
> I think this actually strongly argues the opposite - it is precisely =
because the scheme is under attacker control that enables such downgrade =
attacks. So relying on the scheme to tell you what kind of PoP checks to =
apply makes these kinds of attacks more likely, not less. I=E2=80=99m =
suggesting instead that the RS decides what checks to enforce based on =
the =E2=80=9Ccnf=E2=80=9D content in the token - which is either signed =
by the AS or retrieved directly from the AS through introspection. On =
the other hand, the token type is not even defined in the recent RFC =
9068 for JWT-based ATs. So an attacker could easily change the scheme =
from MTLS to Bearer to see if the RS stops performing checks, but they =
can=E2=80=99t remove a =E2=80=9Ccnf=E2=80=9D claim from the token =
itself.
>=20
> In hindsight, =E2=80=9CBearer=E2=80=9D might have been better named =
=E2=80=9CAccessToken=E2=80=9D or similar, but I don=E2=80=99t think the =
name matters as much as the semantics.

While I can=E2=80=99t speak for those involved, I suspect there was a =
desire to carry over OAuth 1 behavior with message signatures at the =
authorization level. That is to say, I suspect the name Bearer was to =
distinguish against say a PoP or HttpSig scheme.

In that light, I suspect the separation was not necessarily one trying =
to capture security semantics, but in understanding the format of the =
authorization header itself. A PoP scheme might include a signed =
challenge-response as a mandatory second parameter, or via wrapping the =
access token into a security structure such as a JWT. Neither of these =
would be valid for the Bearer authorization header, which is meant to =
convey an access token and provides for no additional parameters.

MTLS did not change the semantics of the bearer authorization header, =
since the format/meaning and validation of an access token has always =
been implementation-defined. Thus, a =E2=80=9CMTLS=E2=80=9D =
authentication scheme does not provide meaningful distinction, even =
ignoring the issues such distinction gives under an attacker model.

-DW=

--Apple-Mail=_C0BFAEFB-A336-4A6E-86B5-2A15D4BAE40B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Dec 9, 2021, at 2:35 PM, Neil Madden &lt;<a =
href=3D"mailto:neil.madden@forgerock.com" =
class=3D"">neil.madden@forgerock.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D"">On 9 Dec 2021, at =
20:36, Justin Richer &lt;<a href=3D"mailto:jricher@mit.edu" =
class=3D"">jricher@mit.edu</a>&gt; wrote:<br class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D"">I disagree with this =
take. If there are confirmation methods at all, it=E2=80=99s no longer a =
Bearer token, and pretending that it is doesn=E2=80=99t help anyone. I =
think combining confirmation methods is interesting, but then you get =
into a weird space of how to define the combinations, and what to do if =
one is missing, etc. It opens up a weird space for interop problems. =
It=E2=80=99s not insurmountable, but I don=E2=80=99t think it=E2=80=99s =
a trivial as it might look at first.<div class=3D""><br =
class=3D""></div><div class=3D"">Plus, the =E2=80=9Cbackwards =
compatible=E2=80=9D argument is what led to the existing RFC using =
Bearer again. In my view, this actually opens up the possibility of =
downgrade attacks against the RS, where a lazy RS doesn=E2=80=99t check =
the binding because it sees =E2=80=9CBearer=E2=80=9D and calls it a day. =
</div></div></div></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">I think this actually strongly argues the opposite - it is =
precisely because the scheme is under attacker control that enables such =
downgrade attacks. So relying on the scheme to tell you what kind of PoP =
checks to apply makes these kinds of attacks more likely, not less. =
I=E2=80=99m suggesting instead that the RS decides what checks to =
enforce based on the =E2=80=9Ccnf=E2=80=9D content in the token - which =
is either signed by the AS or retrieved directly from the AS through =
introspection. On the other hand, the token type is not even defined in =
the recent RFC 9068 for JWT-based ATs. So an attacker could easily =
change the scheme from MTLS to Bearer to see if the RS stops performing =
checks, but they can=E2=80=99t remove a =E2=80=9Ccnf=E2=80=9D claim from =
the token itself.</div><div class=3D""><br class=3D""></div><div =
class=3D"">In hindsight, =E2=80=9CBearer=E2=80=9D might have been better =
named =E2=80=9CAccessToken=E2=80=9D or similar, but I don=E2=80=99t =
think the name matters as much as the =
semantics.</div></div></div></div></blockquote><br =
class=3D""></div><div>While I can=E2=80=99t speak for those involved, I =
suspect there was a desire to carry over OAuth 1 behavior with message =
signatures at the authorization level. That is to say, I suspect the =
name Bearer was to distinguish against say a PoP or HttpSig =
scheme.</div><div><br class=3D""></div><div>In that light, I suspect the =
separation was not necessarily one trying to capture security semantics, =
but in understanding the format of the authorization header itself. A =
PoP scheme might include a signed challenge-response as a mandatory =
second parameter, or via wrapping the access token into a security =
structure such as a JWT. Neither of these would be valid for the Bearer =
authorization header, which is meant to convey an access token and =
provides for no additional parameters.</div><div><br =
class=3D""></div><div>MTLS did not change the semantics of the bearer =
authorization header, since the format/meaning and validation of an =
access token has always been implementation-defined. Thus, a =E2=80=9CMTLS=
=E2=80=9D authentication scheme does not provide meaningful distinction, =
even ignoring the issues such distinction gives under an attacker =
model.</div><div><br class=3D""></div><div>-DW</div></body></html>=

--Apple-Mail=_C0BFAEFB-A336-4A6E-86B5-2A15D4BAE40B--


From nobody Fri Dec 10 17:51:03 2021
Return-Path: <wibartle@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC53A3A0112 for <oauth@ietfa.amsl.com>; Fri, 10 Dec 2021 17:51:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.801
X-Spam-Level: 
X-Spam-Status: No, score=-2.801 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=microsoft.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 dkRrJ5_9o541 for <oauth@ietfa.amsl.com>; Fri, 10 Dec 2021 17:50:56 -0800 (PST)
Received: from na01-obe.outbound.protection.outlook.com (mail-eus2azlp17011014.outbound.protection.outlook.com [40.93.12.14]) (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 083AE3A00E9 for <oauth@ietf.org>; Fri, 10 Dec 2021 17:50:55 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+sDMEDujn+nG4kTdTVb4AN0W/5Z5kfcxF5Cy3n1eXHLBtLIrF+4Bf6S4ZeIcMQvA4clAe567dViZLhBX+BncjrECuE0ZlAjAoV4NDo86l163k8lZiyCfU5X84uRbiDI04jbxEf6jHCL2cwUOSfWE+NfeTYytuR+gxYvJ0rgCNaI3/b4JsounF9DIqpSJowovqGxepoXoxo2jO6se0phOzh3eDK+ntsIYcfwNyN+jkOqo+NQnUXjqY+lzktGW327n+lhzadxfTdAY47Uzmd+X+X9njGPvha7dBXjAQz1JpcUJty3gjdFjACpW86sy3kdQnm8W0dqbm8tNmRMeiUZKQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wxDUBfo+A4ir/8WsZGqJxDnvwmWvPFZVANX0vF4ihaE=; b=UPWi3wNcDiHP3Ax7J05sEmbV3y7SgK0QiAPPR8kHM2jdOQiTet73Q3UjxyYBD6heWLoe7B5hPC4/87rtX8Ew+gNgvQ2YczbW3QMg9SG1VSwndH7X74Qsu1ZorOPle6y98JwXOZYNfBCg6hDefeTFeZcUbW3ji1cGO02FTTlvzgPOt65xfyMUT7A006AJEZEc8pgCxfLNp7GeUa0Fw7ZxpWcXubi5SG6XaiQdBTg3izKBaHiMSv/Rf50IxKHLq0mOraf/1ji27HlSFYHUyeaLC720ULOH1Fvj58kVWa2jWVjAQWE7h9aALy74wSXowuau98zOCTTHyxTZa8GNZVumMA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wxDUBfo+A4ir/8WsZGqJxDnvwmWvPFZVANX0vF4ihaE=; b=QYj9fFKAn/zVpOgEWHuQ+jtT5gwSHIeCS7mY9NcauOTUNwosKK5YmtFZm4ebO/TQOOWZVQnpCLeILogAcLTxUCk8HWun8WrtULr0CQ7nR8IWM/rRDeVL4RgPX34UzQVtpPAb8MllLycMq/69fYumSt4eqZQDGCfJHkQCj25jXNE=
Received: from SJ0PR00MB1320.namprd00.prod.outlook.com (2603:10b6:a03:3ff::21) by SA1PR00MB1171.namprd00.prod.outlook.com (2603:10b6:806:1af::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4817.0; Sat, 11 Dec 2021 01:50:50 +0000
Received: from SJ0PR00MB1320.namprd00.prod.outlook.com ([fe80::70d7:8dfd:82bf:da15]) by SJ0PR00MB1320.namprd00.prod.outlook.com ([fe80::70d7:8dfd:82bf:da15%7]) with mapi id 15.20.4827.000; Sat, 11 Dec 2021 01:50:50 +0000
From: Will Bartlett <wibartle@microsoft.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>, Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>
CC: "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
Thread-Index: AQHX5sYwYWOH9aFi4UqIKbP5Xwc68awdwsOAgAGV6YCAADEbgIAASOGAgAAGgICAARd1AIAABbMAgABhoICAAPQogIAKSFGQ
Date: Sat, 11 Dec 2021 01:50:49 +0000
Message-ID: <SJ0PR00MB13204028BD9602C10E3ECEC3D3729@SJ0PR00MB1320.namprd00.prod.outlook.com>
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com> <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com> <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com> <CAJot-L10T-ihs-b5yu0-=9i7LEFME+05enpNYE-eJRZJ5UWN-g@mail.gmail.com> <CA+k3eCQimdMmQYBtJPooN9NjbtXOKUxyVY0AJPb-b2NzeLcodA@mail.gmail.com> <CAJot-L0uHRS9TABXLvUK5tEoko+oquuyd-D6i==oBkhFQLFiJg@mail.gmail.com>
In-Reply-To: <CAJot-L0uHRS9TABXLvUK5tEoko+oquuyd-D6i==oBkhFQLFiJg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-11T01:47:39Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=8b88eca3-1d30-4606-8225-381c25711fc9; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 69ba455e-ce93-44d2-a30a-08d9bc48a88b
x-ms-traffictypediagnostic: SA1PR00MB1171:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <SA1PR00MB117149F17EF6B12FDA454E41D3729@SA1PR00MB1171.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Pejq8T8UjrElCSXOW/Rax6nptI1d/0Jqcg7YTW2DLV5u2c2Wpto3SvKKjoc3eQGP555RFXMkW0zxvGgTJEYGLyYR+FLr+wpl+UNgbwx0O0uYsji6tWaFJfG4ujD96LDUz/a0zMsmDIAiqJF08OBtb5yiX0xGi/Xpwle8Jhdwgjgi8NAEwviczPaEfUuTytAIPVvzsm9wm6QbkJt1FxABs/L48+j4pP68xU4qvXoCa4oLotdbdfxEbNW3wE2tyPPpcBb+n4ogRahATyWHDoPAedmORO7gwKkaUCYSb0G4jc3SSpVWYgiY9YzbcXJjAhgbp/e5BMUytfYrdzdJ0zjPlJfn7cpWWPjQAxzVECwArMGLH72JMDcOAUYr0MV5e77cFliwK7a5MyHhIgQIrrZg4dG1L0elENfp+hbRUufb/gosqAo5RASefYR7kIaEKpplNKhV+2rHrD8XA8AYTqtvA1kaaOzRO9bruj/CW/poxqbecLa6ByOWzuoedPEANcM6DifEezOSa5KwaBGe7MYr2ftQUgkx/hObN0vxBsyNZC/GUfFjMjqKjT4KOpJWXkntgmbZB7vUxsYlkPQZITXhfwL8Wm6qnNphImPaX9pUoVoTykMRgrxbE0KV+vkZQHKYtqH3+IjWGFbrnp1fpyn9z5L6m2pflShZhEoMWWsFRPjQmW2FCVBl2kby2JmqQoARB/LKNn2x2S36yTVrj2+W1KRKbrMOv/bhrKXgrrj+gJzeJujf8W1Wp1/sk9Ylri1Fk2ews1H2pCUQRsb3h8Sqyl6KW6MI3KUyeteZq6MOtDzrKujNTP9nFwT7QGt4UjJyDENYI47QXPzJd/ARxwB2hZJYnJLOtgjGHvN5pKJDJnelTi1cbAKu5FTy4V4rekur
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:SJ0PR00MB1320.namprd00.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(966005)(30864003)(18074004)(10290500003)(5660300002)(8990500004)(2906002)(55016003)(26005)(186003)(8936002)(316002)(166002)(66556008)(82960400001)(64756008)(52536014)(66476007)(66446008)(8676002)(71200400001)(33656002)(21615005)(9686003)(82950400001)(53546011)(110136005)(6506007)(7696005)(83380400001)(122000001)(508600001)(86362001)(38100700002)(66574015)(66946007)(38070700005)(76116006)(4326008)(579004)(559001)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?UU1D1Cs62o4UHke1OkHInYPMzW5RnILeZpM0mtNdHo26+eBVNjkfSLfvjPs9?= =?us-ascii?Q?b0vFi1hLv+nAOhYQgoBeB08knYFuQOJdwgSzr0QQIdUcqNrW9ReSo7Wm5bfa?= =?us-ascii?Q?3A+/4I0Ysm/EX26OK8LzV6BBi6hJ3X8jRDZRg63VkI7MAxSTq7FkhcUOiX9V?= =?us-ascii?Q?V8JQEb/wkq9V/+i+S0MGiooK+rBZPSX6OI9elHLOnLSU+ijqBg0JjTq45sO4?= =?us-ascii?Q?kMv2i3S7ffBFLWg+gqI8b6dgs8PU0I5Be6SIw7x5H7EgQbYmno6SLmqqJ6js?= =?us-ascii?Q?tQ30KKKyGGwyQK08wFKSX6jCOPWY0/yiWQxjom93VVDSLM0k2COTpQ+1shLw?= =?us-ascii?Q?El59OLsGoeT3ZNcfESfJX/xMTTnXOkimqh65L+ab2mQJ/w+3UNe7cepCUlmj?= =?us-ascii?Q?b+PYvy33CLq8VN3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fief?= =?us-ascii?Q?Hvgj507/bFIh+bkk2hesuxtZjMIXKxn5Y3EK3W8hnuFtBpiPUbzZ45KPvLVa?= =?us-ascii?Q?bfw4QyKJ5frZ0NCmieJN+1T9YIf4H1Yi6ZDepocz2zqFZOawmqAMk2GAkbSK?= =?us-ascii?Q?9lT2u/i52UwZC7bnLBHotbRmh5Jqh8F0piP4eREJmAIO4HRG80r11gHiiiXT?= =?us-ascii?Q?W+R+o0pltrhoEPOee1/uxdgG4zr9rrIPevRJdFfW50U+nr+J2XnYNxa2XfCM?= =?us-ascii?Q?Em90aaVq/4U2QuirYrpTOrwkQMeVL9y4de77rNkErP4up2Wncn2rsyxMGQpd?= =?us-ascii?Q?/Q=3D=3D?=
Content-Type: multipart/alternative; boundary="_000_SJ0PR00MB13204028BD9602C10E3ECEC3D3729SJ0PR00MB1320namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR00MB1320.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 69ba455e-ce93-44d2-a30a-08d9bc48a88b
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2021 01:50:49.9676 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /RZLz5hPI4gaBjPR8CeWRC8riIqYQj0s/pYXi2J+++5HgdlgYnPEq/j43oftJ6bOOHZOvZPDKGxSkAQdTpJyzQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR00MB1171
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/MJJj57kk6D9a57BO0UmF5nMbBbs>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 01:51:02 -0000

--_000_SJ0PR00MB13204028BD9602C10E3ECEC3D3729SJ0PR00MB1320namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi folks,
I'm a colleague of Pieter and Mike, working directly on the service code. I=
 wanted to chime in with a few comments on the thread, related to a few of =
the responses on this thread. In particular, I'll mention a) mobile landsca=
pe b) Aaron's proposed threat c) pre-registered keys d) authorization code =
re-use.

One general comment is a short summary of the mobile authentication landsca=
pe. Mobile apps increasingly authenticate in OS-provided web views with sha=
red state, e.g. Apple's WKWebView. Here then:
1. The user opens an application
2. The application uses WKWebView to open a operation system web view with =
https://oauth.example/authorize?response_type=3Dcode&...
3. The user authenticates (or get single-signed on) from the system web vie=
w and the web view returns an authorization code to the application
4. The application exchanges the authorization code for access and refresh =
tokens https://oauth.example/token
With DPoP with the propose dpop_jkt extension, there is another step to gen=
erate a key in the OS keychain between 1 and 2, and a DPoP signature added =
in 4. I think there's something very valuable in being able to say that **a=
ll tokens** (AC, RT, AT) that appear in the process's memory space are boun=
d up to the security level of the operation system's keychain. Such a guara=
ntee completely removes entire classes of threats - e.g. what if the crash =
dumps are sent to a OS-company / phone-manufacturer / IT department web ser=
ver whenever the application crashes? Not a problem - the tokens are all bo=
und.

Aaron mentioned another threat (manipulating URL creation using a browser e=
xtension) focused at the beginning of the flow. This analysis all sounds ri=
ght to me. However, I'd comment that there are already a few mechanisms for=
 protecting the beginning of the flow from a few different attacks. In addi=
tion to the threat Aaron describes, I also want to consider the "rouge CA" =
threat - e.g. an attacker compromises the corporate CA and modifies request=
s (substituting the attacker's DPoP key). In standards space, there are two=
 solutions for these types of threats already. OpenID Connect (https://open=
id.net/specs/openid-connect-core-1_0.html) describes a solution for signed =
requests (using the "request" parameter) that would protect from either the=
 rouge CA or malicious browser extension - though unfortunately, for DPoP k=
eys, this really only works for confidential clients. And then web standard=
s like the deprecated HPKP (https://en.wikipedia.org/wiki/HTTP_Public_Key_P=
inning) would mitigate the rouge CA threat. Outside of standards space, I'm=
 aware of proprietary solutions with similar goals (the Windows PRT protoco=
l, which puts authorization parameters in a signed request on the token end=
point - see https://docs.microsoft.com/en-us/azure/active-directory/devices=
/concept-primary-refresh-token for an overview or https://docs.microsoft.co=
m/en-us/openspecs/windows_protocols/ms-oapxbc/de22df0b-1b5b-4544-8154-41eb2=
a4453ea for the specific request message that might contain dpop_jkt). I th=
ink of dpop_jkt _not_ as a protection for the beginning of the flow, but ra=
ther as "glue" to connect _whatever_ protection at the beginning of the flo=
w with the DPoP protection at the end of the flow. We're still interested i=
n doing more to protect the beginning of the flow - but probably not in the=
 context of DPoP - but we think it makes sense to standardize this connecti=
ng piece in DPoP.

A few folks (Warren) mentioned pre-registered keys. That's part of this, of=
 course. For me, one of the underlying assumptions is that keys would be st=
ored in a "strong" context. This could be an OS context, or an priviledged =
application (like sshagent). For lowest common denominator scenarios, these=
 keys might simply be stored in an anonymous device's OS software keychain.=
 But, for more complex scenarios, like employees of high security businesse=
s (e.g. banks), these keys might be stored e.g. on their smartcard. One of =
the virtues of DPoP is that it's not concerned with the specifics of keys -=
 as long as it can be represented as a JWK, a software key and a smartcard =
key are treated the same. The way we've been thinking about keys at Microso=
ft, users will mostly end up in a few different buckets. At one extreme, us=
ers whose employers own their devices and configure maximum management will=
 probably require full pre-registered keys, kept in hardware. But in other =
case, users will have anonymous keys representing their full devices, and w=
ill grant trust to new keys representing applications on that device by sig=
ning the new keys with the old keys. These device keys are not really "pre-=
registered" - they aren't stored in any database - rather, they are stored =
in the "device token" (a Microsoft device token is a refresh-token-like art=
ifact somewhat akin to the device_secret in https://openid.net/specs/openid=
-connect-native-sso-1_0.html, but with PoP binding). Given a method of sign=
ing authorization requests (as appears in OpenID Connect and Microsoft prop=
rietary protocols), including a representation of the new key in the author=
ization request (in the form of dpop_jkt) formalizes this "chaining" patter=
n - signing the new keys with the old keys - which provides security simila=
r to pre-registration without some of the normal concerns associated with r=
egistration.

I do also see Warren's comment on authorization code re-use - "disallowing =
multi-use auth codes resolves the exfiltration attack." I think this is whe=
re the theory and the practice disagree a bit. In practice, disallowing mul=
ti-use of authorization codes is quite difficult. As a first attempt, OAuth=
 implementations generally time limit the authorization codes (e.g. to 5 mi=
nutes). But this still permits some re-use. Next, implementations write a t=
ime-bound log of recently redeemed authorization codes, and check the log o=
n each authorization code redemption. This solves the re-use issue, to the =
next order of magnitude, but produces a reliability drop - clients that ret=
ry because the response was lost now see failures, and a global database of=
 recently used authorization codes has been introduced to the service pictu=
re, a global database which has to handle the realities of CAP (https://en.=
wikipedia.org/wiki/CAP_theorem) - in an incident, such a global database ei=
ther permits multi-use from different geographic locations (inconsistent), =
or becomes unavailable. Moreover, while the re-use problem is solved to ano=
ther order of magnitude, it's not actually totally solved - e.g. the servic=
e has an L7 router, and when requests fail between the L7 router and the ap=
plication component, the authorization codes are logged by the L7 router. O=
r, the user might be using a VPN, and the code gets to the VPN, but not to =
the OAuth service - is such a code "used" - it's possible sitting in a VPN =
log somewhere, but it's definitely not sitting in the OAuth provider's log =
of recently used authorization codes. Or, the SQL implementation has an err=
atta that says it is only atomic reliable on ext4 filesystems, but due to a=
 misconfiguration, it ended up running on an xyz filesystem. This is all to=
 say - discouraging authorization code re-use is fine. DISALLOWING authoriz=
ation code re-use is a non-trivial engineering problem, which lends itself =
first to 98% implementations, then to 99.9% implementations, and then to 99=
.999% implementations - but it never seems to reach a 100% protection. Remo=
ving this enormous "black hole" of implementation details and complexity fr=
om the security analysis and being able to sit back and simply say "it does=
n't matter for security if these code are one-time use or not" (but they ar=
e) is IMHO very valuable. We know that there are motivated attackers out th=
ere seeking to exploit short lived tokens, particularly those they can obta=
in by en-mass live data collection, such as through browser extensions. I'd=
 hasten to add - this is all defense in depth - having already built and op=
erationalized such invalidation databases for its authorization codes, Micr=
osoft is not going to get rid of it. But when security minded individuals a=
sk us questions like "If I send the authorization code to /token, but I don=
't get a response, or I get an invalid (5xx / server_error) response, shoul=
d I assume it is used or unused or unknown-state? If unknown-state, should =
I send it to some /mark-used-code endpoint so that it's definitely marked a=
s used?" I'd like to be able to tell them to just use DPoP and not worry ab=
out one time codes so much.

Thanks for reading, and I'll try to respond to any follow ups on these topi=
cs,
Will

From: OAuth <oauth-bounces@ietf.org> On Behalf Of Warren Parad
Sent: Saturday, December 4, 2021 4:46 AM
To: Brian Campbell <bcampbell=3D40pingidentity.com@dmarc.ietf.org>
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Param=
eter

I'm still struggling to see how this prevents the compromised extension att=
ack we are considering though. As far as I can tell the only way to avoid i=
t is to guarantee the auth flow is for a trusted authority to approve the a=
uth code exchange. We just need the user-agent to get involved and intercep=
t the authorization response and handle the auth code exchange before ever =
passing the auth code through possibly untrusted malicious executors. This =
leaves us back with the browser removing dangerous APIs or explicitly doing=
 the auth code exchange, which would be a larger hurdle to cross.

For the log file exfiltration of the auth code and PKCE, I would actually l=
ike to understand more about the nature of code reuse in this situation. Pe=
rhaps it is just a matter of better handling in these cases, and disallowin=
g code reuse explicitly for public clients. Even if we believe code reuse h=
as to happen for confidential ones, must it also happen for public clients?=
 If we could prove that there exists a solution for public clients or a lac=
k of a need, then disallowing multi-use auth codes resolves the exfiltratio=
n attack.



[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>.


On Fri, Dec 3, 2021 at 11:12 PM Brian Campbell <bcampbell=3D40pingidentity.=
com@dmarc.ietf.org<mailto:40pingidentity.com@dmarc.ietf.org>> wrote:
I can't help but wonder if defining this E2E binding allowance as a composi=
te s256 + dpop_jkt PKCE method might be worth (re)considering here? As a PC=
KE method it'd be decoupled from the main flow and could be used in a more =
targeted way for situations that call for it while not imposing the extra c=
ost/complexity on situations that don't need it.

On Fri, Dec 3, 2021 at 9:23 AM Warren Parad <wparad=3D40rhosys.ch@dmarc.iet=
f.org<mailto:40rhosys.ch@dmarc.ietf.org>> wrote:
I think the allowed keys would have to be pre-registered in the AS.


[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>.


On Fri, Dec 3, 2021 at 5:01 PM Warren Parad <wparad@rhosys.ch<mailto:wparad=
@rhosys.ch>> wrote:
While I agree this is a problem, adding the thumbprint to the authorization=
 request only increases the difficulty for the malicious MITM attack to nee=
d to also intercept the authorization request in addition to the token requ=
est to swap out the dpop_jkt as well. If I'm right, then it doesn't make se=
nse to implement this as the solution.

While I agree, we could move the dpop_jwk determination to the authorizatio=
n request, instead of the token, it doesn't solve the problem. What it does=
 say is that the authorization request user-agent is the one that has the k=
ey, and not the one doing the code exchange. Well this is actually weird in=
 the case of non-public clients, because it doesn't make sense from that cl=
ient perspective, as the "front-end" would need to now have the constructed=
 dpop_jkt even though it doesn't have the dpop key.


[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>.


On Fri, Dec 3, 2021 at 12:22 AM Mike Jones <Michael.Jones=3D40microsoft.com=
@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
Thanks for this thoughtful analysis, Aaron.  I believe you're spot on that =
these attacks can occur "when the attacker has access to both the authoriza=
tion code as well as the PKCE code verifier."

                                                       -- Mike

From: OAuth <oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org>> On Beha=
lf Of Aaron Parecki
Sent: Thursday, December 2, 2021 2:58 PM
To: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org<mailto:40rhosys.ch@dm=
arc.ietf.org>>
Cc: Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org<mai=
lto:40microsoft.com@dmarc.ietf.org>>; oauth@ietf.org<mailto:oauth@ietf.org>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Param=
eter

Hi all, I've been giving this some more thought.

The problem occurs when the attacker has access to both the authorization c=
ode as well as the PKCE code verifier. The assumption being made with PKCE =
is that the first time the PKCE code verifier and authorization code are se=
en together is in the POST request to the token endpoint. That means if the=
re is a way to observe this request, the attacker can complete the exchange=
 and get an access token.

Pieter's writeup in the PDF describes one way that can happen, by exfiltrat=
ing log files. While I still agree with the sentiment in this thread that t=
his is a relatively obscure condition, I also agree that it is actually som=
ething that can happen in the wild, especially since there are entire compa=
nies built around the idea of real-time log file analysis.

That said, there are other ways an attacker could get access to these two p=
ieces of information. What are the different points in a request lifecycle =
that could be attacked? The beginning, the middle and the end. We've talked=
 about attacking the end, which is the log file example. Attacking the midd=
le involves being in the middle of the TLS connection, which we also know i=
s possible with corporate network proxies and such. We haven't yet talked a=
bout the beginning of the request. What can observe the beginning of a requ=
est? Here's a concrete example:

Assume the OAuth client is a single-page app in a browser. The user is usin=
g an ad blocker installed as a browser extension. The ad blocker can be con=
figured to observe and block network requests before they are made. If the =
extension is configured to attack a particular OAuth server, the JS client =
would make the token request containing the authorization code and PKCE cod=
e verifier, then the extension would be able to observe that request, block=
 it, and ship the two values to the attacker's server where they can be red=
eemed and associated with the attacker's own DPoP key. Even perfectly singl=
e-use authorization codes don't help here either, because the original requ=
est was completely blocked.

(Sidenote: To get ahead of any counterarguments here, yes, Chrome is eventu=
ally migrating to their new "manifest v3" which deprecates the webRequest A=
PI that allows this observation in favor of a different API that lets the b=
rowser block requests without making the actual request data available to t=
he extension, which I am assuming they are doing in no small part because o=
f the possibility of what I just described. It sounds like Mozilla is going=
 to follow suit, but I haven't found concrete confirmation of that. That sa=
id, it will be a while before these changes are rolled out and support for =
the (dangerous) webRequest API is fully dropped, so this is likely going to=
 continue to be a potential attack vector for a few years at least.)

Because of the ease of deployment of a malicious browser extension, I do be=
lieve this is an important attack vector to consider and is worth solving. =
I am going to save any judgment on the particular dpop_jwk parameter propos=
al for a different thread, but I wanted to at least get on the same page ab=
out the fact that this is something worth solving first.

Aaron


On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D40rhosys.ch@dmarc.ie=
tf.org<mailto:40rhosys.ch@dmarc.ietf.org>> wrote:
The only mention of sophistication is this logical fallacy:
 If this leading security company had been penetrated, it almost certainly =
took an incredibly sophisticated attack.

But it leaves out exactly what that was. And it doesn't give any insight in=
to how this attack at MS would have been prevented despite the supply chain=
 vulnerability based on the second point that Aaron made. If they are able =
to get the auth code, why aren't they able to get the DPoP signature? And t=
hen send both of these?

Further in this case, it doesn't even matter if the attacker gets the acces=
s token if that access token is bound to the client, because it's worthless=
 without the DPoP key. That's a much more secure solution than issuing non-=
bound Bearer tokens as a response to the bound authorization code. And if B=
earer tokens are being used instead of bound tokens, then those could still=
 end up in the logs, and be exfiltrated.

In OAuth, the client already needs to authenticate with the AS, the spec is=
 SHOULD, and options the client_secret already. Adding in the DPoP signatur=
e into the request is duplicating auth. If we don't like the client auth me=
chanisms to the AS, we should directly provide an auth RFC recommending bet=
ter alternatives than sending a symmetric client_secret back to the AS.


[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>.


On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D40micro=
soft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
Thanks for the comments and engagement Warren.

The attacks we described and the ideas on mitigations are born out of attac=
k vectors we are observing in the wild. They are not negligible. We are see=
ing a new class of very sophisticated attackers, and if you're interested, =
this article provides good context on capability and sophistication of the =
attackers Brad Smith: Inside Microsoft during the SolarWinds hack (fastcomp=
any.com)<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fwww.fastcompany.com%2F90672384%2Fmicrosoft-president-brad-smith-solarwind=
s-exclusive&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859=
c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377421877694118=
59%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D1DvRrYin4BYn8EJ%2B41xvabgVPEiJMWyqGngkrU0=
MwIA%3D&reserved=3D0>. We are sharing this with the hope that the industry =
will benefit from our experiences and incorporate it into standards and pro=
ducts. Attacks that seemed impossibly complex are not only possible, but ha=
ve become probable.

The proposed changes for DPoP are not meant to replace the need for one-tim=
e use tokens (single use tokens are preferable and we should continue to ex=
pect them), but instead address the limitations around implementing one-tim=
e use, especially at scale. The 60s window you mention below is sufficientl=
y long to be exploited by these sophisticated attackers.

Cheers

Pieter

From: OAuth <oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org>> On Beha=
lf Of Warren Parad
Sent: Wednesday 1 December 2021 15:29
To: Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org<mai=
lto:40microsoft.com@dmarc.ietf.org>>
Cc: Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org<mailto:40mic=
rosoft.com@dmarc.ietf.org>>; oauth@ietf.org<mailto:oauth@ietf.org>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Param=
eter

(e.g. one-time use in a certain timeframe etc).

Sure but couldn't we just reduce the lifetime? Even if the token isn't one =
time use, surely the reuse time is trivially short which would prevent agai=
nst exfiltration of the necessary security tokens to issue the attack?

I feel like the simpler solution will always win, which in this case is one=
-time use tokens, then the problem is moot, right? So this only comes into =
play if you want to allow token reuse in a time window. The previously sugg=
ested max allowed time window from OAuth 2.1 was 60s for auth codes. So we =
are saying that the attack surface is still too large, for the .01% of impl=
ementations that have multi-use tokens, and the .01% of implementations tha=
t use the maximum 60s reuse, and then the subset of those that aren't corre=
ctly scrubing their logs, and then the subset of those that have a vulnerab=
ility which allows for exfiltration of both those logged tokens and the log=
ged PKCE verifier?

Why are we making this more complicated for a majority of cases, which:

  *   Only have single use tokens
  *   Or Only have a very short lifetime
  *   Or Are already correctly sanitizing their logs
  *   Or Have defense in depth for their deployments.
If the implementation is so insecure that none of those are happening, woul=
dn't the implementation for this functionality also be suspect for an oppor=
tunity for attack?

I feel like we are justifying here that multi-use tokens are wrong, but sti=
ll want a solution to use them. Once we've proven that an deployment is not=
 okay with using multi-use tokens, then the conclusion should be "don't hav=
e multi-use tokens", not: "let's still have multi-use tokens, but come up w=
ith a complex way to prevent their multi-use from accidentally being abused=
".

Or am I missing something that would actually make this a non-negligible at=
tack vector?

- Warren


[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>.


On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D40micro=
soft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
Hi Aaron, Neil

Thanks for the questions.

We agree that ideally authorization codes and PKCE proofs would never end u=
p in log files and one-time use would be perfectly implemented.

However, in practice these artefacts do find their way into log files in va=
rious places and one-time use may not always be practical (e.g. one-time us=
e in a certain timeframe etc).

The addition of these mitigations is not meant to replace the need for one-=
time use or good logging hygiene. Instead they provide pragmatic defence in=
 depth against real attacks rather than assuming perfect implementations. W=
e are deploying these mitigations and are sharing them for inclusion in DPo=
P to enable others to do the same.

Regarding the question about interrupting/intercepting the HTTPS connection=
, the attacker don't need to intercept the HTTPS connection or modify the c=
ontent in the TLS tunnel, rather they just need to prevent the authorizatio=
n code from being presented to the Authorization Server. It may even happen=
 due to a poor network connection. The poor connection may be engineered by=
 an attacker, or they may opportunistically benefit from it. The networks a=
re not perfect either.

Cheers

Pieter


From: OAuth <oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org>> On Beha=
lf Of Aaron Parecki
Sent: Wednesday 1 December 2021 00:05
To: Neil Madden <neil.madden@forgerock.com<mailto:neil.madden@forgerock.com=
>>
Cc: Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org<mailto:40mic=
rosoft.com@dmarc.ietf.org>>; oauth@ietf.org<mailto:oauth@ietf.org>
Subject: [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Parameter

I tend to agree with Neil here. I'm struggling to see the relevance of this=
 attack.

It seems like the PDF writeup describes two possible reasons an attacker co=
uld get access to the authorization code and PKCE code verifier.

1. The attacker has access to the logs of the token endpoint.
2. The attacker can intercept HTTPS connections between the client and AS (=
VPN, corporate network proxy, etc)

For 1, the solution is to stop logging the contents of the POST body, and s=
ecure your infrastructure. I don't think making the client jump through ext=
ra hoops is a good solution if you are already logging more than you should=
 be or you don't trust the people who have access to the infrastructure. If=
 this really is a concern, I suspect there are a lot more places in the flo=
w that would need to be patched up if you don't trust your own token endpoi=
nt.

For 2, if the attacker can intercept the HTTPS connection, then the propose=
d solution doesn't add anything because the attacker could modify the reque=
sts before it hits the authorization server anyway, and change which DPoP k=
ey the token gets bound to in the first place. Plus, the attacker would als=
o have access to anything else the client is sending to the AS, such as the=
 user's password when they authenticate at the AS.

Are there other attack vectors I'm missing that might actually be solved by=
 this mechanism?

Aaron


On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com<mai=
lto:neil.madden@forgerock.com>> wrote:
Sadly I couldn't make the DPoP session, but I'm not convinced the attack de=
scribed in the earlier message really needs to be prevented at all. The att=
ack largely hinges on auth codes not being one-time use, which is not a goo=
d idea, or otherwise on poor network security on the token endpoint. I'm no=
t convinced DPoP needs to protect against these things. Is there more to th=
is?

The proposed solutions also seem susceptible to the same problems they atte=
mpt to solve - if an attacker is somehow able to interrupt the client's (TL=
S-protected) token request, why are they somehow not able to interrupt/modi=
fy the (far less protected) redirect to the authorization endpoint?

- Neil

On 30 Nov 2021, at 20:15, Mike Jones <Michael.Jones=3D40microsoft.com@dmarc=
.ietf.org<mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org>> wrote:

As described during the OAuth Security Workshop session on DPoP, I created =
a pull request adding the dpop_jkt authorization request parameter to use f=
or binding the authorization code to the client's DPoP key.  Seehttps://git=
hub.com/danielfett/draft-dpop/pull/89<https://nam06.safelinks.protection.ou=
tlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%=
2F89&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b7=
240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769411859%7CUn=
known%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ=
XVCI6Mn0%3D%7C3000&sdata=3D%2FmSQRy9yYzietR%2BExZD3%2BqxZSsY90LXQYm0obJ3GO9=
s%3D&reserved=3D0>.

This is an alternative to https://github.com/danielfett/draft-dpop/pull/86<=
https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.=
com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cwibartle%40micro=
soft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011d=
b47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD=
AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Do0N2Wr%2B7o=
VRAjWyFq7HHRQQx7nIHq2mtywBDNUB3JSM%3D&reserved=3D0>, which achieved this bi=
nding using a new DPoP PKCE method.  Using this alternative allows PKCE imp=
lementations to be unmodified, while adding DPoP in new code, which may be =
an advantage in some deployments.

Please review and comment.  Note that I plan to add more of the attack desc=
ription written by Pieter Kasselman to the security considerations in a fut=
ure commit.  This attack description was sent by Pieter yesterday in a mess=
age with the subject "Authorization Code Log File Attack (was DPoP Interim =
Meeting Minutes)".

                                                       -- Mike

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b72=
40ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t=
3w%3D&reserved=3D0>

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b72=
40ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t=
3w%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b72=
40ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t=
3w%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b72=
40ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t=
3w%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b72=
40ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t=
3w%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b72=
40ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t=
3w%3D&reserved=3D0>

CONFIDENTIALITY NOTICE: This email may contain confidential and privileged =
material for the sole use of the intended recipient(s). Any review, use, di=
stribution or disclosure by others is strictly prohibited.  If you have rec=
eived 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.

--_000_SJ0PR00MB13204028BD9602C10E3ECEC3D3729SJ0PR00MB1320namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Lato;}
@font-face
	{font-family:-apple-system;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle21
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:424494911;
	mso-list-template-ids:348686862;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi folks,<o:p></o:p></p>
<p class=3D"MsoNormal">I'm a colleague of Pieter and Mike, working directly=
 on the service code. I wanted to chime in with a few comments on the threa=
d, related to a few of the responses on this thread. In particular, I'll me=
ntion a) mobile landscape b) Aaron's
 proposed threat c) pre-registered keys d) authorization code re-use.<o:p><=
/o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">One general comment is a short summary of the mobile=
 authentication landscape. Mobile apps increasingly authenticate in OS-prov=
ided web views with shared state, e.g. Apple's WKWebView. Here then:<o:p></=
o:p></p>
<p class=3D"MsoNormal">1. The user opens an application<o:p></o:p></p>
<p class=3D"MsoNormal">2. The application uses WKWebView to open a operatio=
n system web view with
<a href=3D"https://oauth.example/authorize?response_type=3Dcode&amp;">https=
://oauth.example/authorize?response_type=3Dcode&amp;</a>...<o:p></o:p></p>
<p class=3D"MsoNormal">3. The user authenticates (or get single-signed on) =
from the system web view and the web view returns an authorization code to =
the application<o:p></o:p></p>
<p class=3D"MsoNormal">4. The application exchanges the authorization code =
for access and refresh tokens
<a href=3D"https://oauth.example/token">https://oauth.example/token</a><o:p=
></o:p></p>
<p class=3D"MsoNormal">With DPoP with the propose dpop_jkt extension, there=
 is another step to generate a key in the OS keychain between 1 and 2, and =
a DPoP signature added in 4. I think there's something very valuable in bei=
ng able to say that **all tokens**
 (AC, RT, AT) that appear in the process&#8217;s memory space are bound up =
to the security level of the operation system's keychain. Such a guarantee =
completely removes entire classes of threats - e.g. what if the crash dumps=
 are sent to a OS-company / phone-manufacturer
 / IT department web server whenever the application crashes? Not a problem=
 - the tokens are all bound.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Aaron mentioned another threat (manipulating URL cre=
ation using a browser extension) focused at the beginning of the flow. This=
 analysis all sounds right to me. However, I'd comment that there are alrea=
dy a few mechanisms for protecting
 the beginning of the flow from a few different attacks. In addition to the=
 threat Aaron describes, I also want to consider the &quot;rouge CA&quot; t=
hreat - e.g. an attacker compromises the corporate CA and modifies requests=
 (substituting the attacker's DPoP key). In
 standards space, there are two solutions for these types of threats alread=
y. OpenID Connect (<a href=3D"https://openid.net/specs/openid-connect-core-=
1_0.html">https://openid.net/specs/openid-connect-core-1_0.html</a>) descri=
bes a solution for signed requests
 (using the &quot;request&quot; parameter) that would protect from either t=
he rouge CA or malicious browser extension - though unfortunately, for DPoP=
 keys, this really only works for confidential clients. And then web standa=
rds like the deprecated HPKP (<a href=3D"https://en.wikipedia.org/wiki/HTTP=
_Public_Key_Pinning">https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning<=
/a>)
 would mitigate the rouge CA threat. Outside of standards space, I'm aware =
of proprietary solutions with similar goals (the Windows PRT protocol, whic=
h puts authorization parameters in a signed request on the token endpoint -=
 see
<a href=3D"https://docs.microsoft.com/en-us/azure/active-directory/devices/=
concept-primary-refresh-token">
https://docs.microsoft.com/en-us/azure/active-directory/devices/concept-pri=
mary-refresh-token</a> for an overview or
<a href=3D"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-=
oapxbc/de22df0b-1b5b-4544-8154-41eb2a4453ea">
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-oapxbc/de22=
df0b-1b5b-4544-8154-41eb2a4453ea</a> for the specific request message that =
might contain dpop_jkt). I think of dpop_jkt _not_ as a protection for the =
beginning of the flow, but rather
 as &quot;glue&quot; to connect _whatever_ protection at the beginning of t=
he flow with the DPoP protection at the end of the flow. We're still intere=
sted in doing more to protect the beginning of the flow - but probably not =
in the context of DPoP - but we think it makes
 sense to standardize this connecting piece in DPoP. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">A few folks (Warren) mentioned pre-registered keys. =
That's part of this, of course. For me, one of the underlying assumptions i=
s that keys would be stored in a &quot;strong&quot; context. This could be =
an OS context, or an priviledged application
 (like sshagent). For lowest common denominator scenarios, these keys might=
 simply be stored in an anonymous device's OS software keychain. But, for m=
ore complex scenarios, like employees of high security businesses (e.g. ban=
ks), these keys might be stored
 e.g. on their smartcard. One of the virtues of DPoP is that it's not conce=
rned with the specifics of keys - as long as it can be represented as a JWK=
, a software key and a smartcard key are treated the same. The way we've be=
en thinking about keys at Microsoft,
 users will mostly end up in a few different buckets. At one extreme, users=
 whose employers own their devices and configure maximum management will pr=
obably require full pre-registered keys, kept in hardware. But in other cas=
e, users will have anonymous keys
 representing their full devices, and will grant trust to new keys represen=
ting applications on that device by signing the new keys with the old keys.=
 These device keys are not really &quot;pre-registered&quot; - they aren't =
stored in any database - rather, they are
 stored in the &quot;device token&quot; (a Microsoft device token is a refr=
esh-token-like artifact somewhat akin to the device_secret in
<a href=3D"https://openid.net/specs/openid-connect-native-sso-1_0.html">htt=
ps://openid.net/specs/openid-connect-native-sso-1_0.html</a>, but with PoP =
binding). Given a method of signing authorization requests (as appears in O=
penID Connect and Microsoft proprietary
 protocols), including a representation of the new key in the authorization=
 request (in the form of dpop_jkt) formalizes this &quot;chaining&quot; pat=
tern - signing the new keys with the old keys - which provides security sim=
ilar to pre-registration without some of the
 normal concerns associated with registration.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I do also see Warren's comment on authorization code=
 re-use - &quot;disallowing multi-use auth codes resolves the exfiltration =
attack.&quot; I think this is where the theory and the practice disagree a =
bit. In practice, disallowing multi-use of authorization
 codes is quite difficult. As a first attempt, OAuth implementations genera=
lly time limit the authorization codes (e.g. to 5 minutes). But this still =
permits some re-use. Next, implementations write a time-bound log of recent=
ly redeemed authorization codes,
 and check the log on each authorization code redemption. This solves the r=
e-use issue, to the next order of magnitude, but produces a reliability dro=
p - clients that retry because the response was lost now see failures, and =
a global database of recently used
 authorization codes has been introduced to the service picture, a global d=
atabase which has to handle the realities of CAP (<a href=3D"https://en.wik=
ipedia.org/wiki/CAP_theorem">https://en.wikipedia.org/wiki/CAP_theorem</a>)=
 - in an incident, such a global database
 either permits multi-use from different geographic locations (inconsistent=
), or becomes unavailable. Moreover, while the re-use problem is solved to =
another order of magnitude, it's not actually totally solved - e.g. the ser=
vice has an L7 router, and when
 requests fail between the L7 router and the application component, the aut=
horization codes are logged by the L7 router. Or, the user might be using a=
 VPN, and the code gets to the VPN, but not to the OAuth service &#8211; is=
 such a code &#8220;used&#8221; &#8211; it&#8217;s possible sitting
 in a VPN log somewhere, but it&#8217;s definitely not sitting in the OAuth=
 provider&#8217;s log of recently used authorization codes. Or, the SQL imp=
lementation has an erratta that says it is only atomic reliable on ext4 fil=
esystems, but due to a misconfiguration, it
 ended up running on an xyz filesystem. This is all to say - discouraging a=
uthorization code re-use is fine. DISALLOWING authorization code re-use is =
a non-trivial engineering problem, which lends itself first to 98% implemen=
tations, then to 99.9% implementations,
 and then to 99.999% implementations - but it never seems to reach a 100% p=
rotection. Removing this enormous &quot;black hole&quot; of implementation =
details and complexity from the security analysis and being able to sit bac=
k and simply say &quot;it doesn't matter for security
 if these code are one-time use or not&quot; (but they are) is IMHO very va=
luable. We know that there are motivated attackers out there seeking to exp=
loit short lived tokens, particularly those they can obtain by en-mass live=
 data collection, such as through browser
 extensions. I'd hasten to add - this is all defense in depth - having alre=
ady built and operationalized such invalidation databases for its authoriza=
tion codes, Microsoft is not going to get rid of it. But when security mind=
ed individuals ask us questions
 like &quot;If I send the authorization code to /token, but I don't get a r=
esponse, or I get an invalid (5xx / server_error) response, should I assume=
 it is used or unused or unknown-state? If unknown-state, should I send it =
to some /mark-used-code endpoint so that
 it's definitely marked as used?&quot; I'd like to be able to tell them to =
just use DPoP and not worry about one time codes so much.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks for reading, and I'll try to respond to any f=
ollow ups on these topics,<o:p></o:p></p>
<p class=3D"MsoNormal">Will<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;oauth-bounces@ietf.org&gt; <b=
>On Behalf Of </b>
Warren Parad<br>
<b>Sent:</b> Saturday, December 4, 2021 4:46 AM<br>
<b>To:</b> Brian Campbell &lt;bcampbell=3D40pingidentity.com@dmarc.ietf.org=
&gt;<br>
<b>Cc:</b> oauth@ietf.org<br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">I'm still struggling to see how this prevents the co=
mpromised extension attack we are considering though. As far as I can tell =
the only way to avoid it is to guarantee the auth flow is for a trusted aut=
hority to approve the auth code exchange.
 We just need the user-agent to get involved and intercept the authorizatio=
n response and handle the auth code exchange before ever passing the auth c=
ode through possibly untrusted malicious executors. This leaves us back wit=
h the browser removing dangerous
 APIs or explicitly&nbsp;doing the auth code exchange, which would be a lar=
ger hurdle to cross.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">For the log file exfiltration of the auth code and P=
KCE, I would actually like to understand more about the nature of code reus=
e in this situation. Perhaps it is just a matter of better handling in thes=
e cases, and disallowing code reuse
 explicitly for public clients. Even if we believe code reuse has to happen=
 for confidential ones, must it also happen for public clients? If we could=
 prove that there exists a solution for public clients or a lack of a need,=
 then disallowing multi-use auth
 codes resolves the exfiltration attack.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<o:p></o:p></p>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;padding:=
0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
&quot;Arial&quot;,sans-serif;color:black;border:none windowtext 1.0pt;paddi=
ng:0in"><img border=3D"0" width=3D"199" height=3D"34" style=3D"width:2.0729=
in;height:.3541in" id=3D"_x0000_i1029" src=3D"https://lh6.googleusercontent=
.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltW=
kPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><=
o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-b=
ottom:none;padding:0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:&quot;Lato&quot;,sans-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-t=
op:none;padding:0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
.0pt;font-family:&quot;Lato&quot;,sans-serif">Founder, CTO</span><o:p></o:p=
></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:black">Secure =
your user data with IAM authorization as a service. Implement&nbsp;</span><=
a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F=
%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549=
c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742=
187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC=
JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32a=
CO7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"=
font-size:10.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</sp=
an><o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 11:12 PM Brian Campbell &lt;b=
campbell=3D<a href=3D"mailto:40pingidentity.com@dmarc.ietf.org">40pingident=
ity.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">I can't help but wonder if defining this E2E binding=
 allowance as a composite s256 + dpop_jkt PKCE method might be worth (re)co=
nsidering here? As a PCKE method it'd be decoupled from the main flow and c=
ould be used in a more targeted way
 for situations that call for it while not imposing the extra cost/complexi=
ty on situations that don't need it.
<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 9:23 AM Warren Parad &lt;wpar=
ad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhos=
ys.ch@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">I think the allowed keys would have to be pre-regist=
ered&nbsp;in the AS.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;padding:=
0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
&quot;Arial&quot;,sans-serif;color:black;border:none windowtext 1.0pt;paddi=
ng:0in"><img border=3D"0" width=3D"199" height=3D"34" style=3D"width:2.0729=
in;height:.3541in" id=3D"_x0000_i1028" src=3D"https://lh6.googleusercontent=
.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltW=
kPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><=
o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-b=
ottom:none;padding:0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:&quot;Lato&quot;,sans-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-t=
op:none;padding:0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
.0pt;font-family:&quot;Lato&quot;,sans-serif">Founder, CTO</span><o:p></o:p=
></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">Secure your user da=
ta with IAM authorization as a service. Implement&nbsp;</span><a href=3D"ht=
tps://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.=
io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c0=
8d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769411859=
%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW=
wiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEO=
YxbevXU8%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:10=
.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</span><o:p></o:=
p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 5:01 PM Warren Parad &lt;<a h=
ref=3D"mailto:wparad@rhosys.ch" target=3D"_blank">wparad@rhosys.ch</a>&gt; =
wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">While I agree this is a problem, adding the thumbpri=
nt to the authorization request only increases the difficulty for the malic=
ious MITM attack to need to also intercept the authorization request in add=
ition to the token request to swap
 out the dpop_jkt as well. If I'm right, then it doesn't make sense to impl=
ement this as the solution.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">While I agree, we could move the dpop_jwk determinat=
ion to the authorization request, instead of the token, it doesn't solve th=
e problem. What it does say is that the authorization request user-agent is=
 the one that has the key, and not
 the one doing the code exchange. Well this is actually weird in the case o=
f non-public clients, because it doesn't make sense from that client perspe=
ctive, as the &quot;front-end&quot; would need to now have the constructed =
dpop_jkt even though it doesn't have the dpop
 key.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;padding:=
0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
&quot;Arial&quot;,sans-serif;color:black;border:none windowtext 1.0pt;paddi=
ng:0in"><img border=3D"0" width=3D"199" height=3D"34" style=3D"width:2.0729=
in;height:.3541in" id=3D"_x0000_i1027" src=3D"https://lh6.googleusercontent=
.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltW=
kPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><=
o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-b=
ottom:none;padding:0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:&quot;Lato&quot;,sans-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-t=
op:none;padding:0in 0in 0in 0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
.0pt;font-family:&quot;Lato&quot;,sans-serif">Founder, CTO</span><o:p></o:p=
></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:black">Secure =
your user data with IAM authorization as a service. Implement&nbsp;</span><=
a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F=
%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549=
c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742=
187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC=
JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32a=
CO7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"=
font-size:10.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</sp=
an><o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 12:22 AM Mike Jones &lt;Micha=
el.Jones=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=3D"_bla=
nk">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Thanks for this thoughtful analysis, Aaron.&nbsp; I believe you&#8=
217;re spot on that these attacks can occur &#8220;when the attacker has ac=
cess to both the authorization code as well as the PKCE
 code verifier.&#8221;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div style=3D"border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0=
in 0in 0in;border-color:currentcolor currentcolor">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounces@ietf.org" t=
arget=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Thursday, December 2, 2021 2:58 PM<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Hi all, I've been giving this some more thought.&nbsp;<o:p></o:p><=
/p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The problem occurs when the attacker has access to both the author=
ization code as well as the PKCE code verifier. The assumption being made w=
ith PKCE is that the first time the
 PKCE code verifier and authorization code are seen together is in the POST=
 request to the token endpoint. That means if there is a way to observe thi=
s request, the attacker can complete the exchange and get an access token.<=
o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Pieter's writeup in the PDF describes one way that can happen, by =
exfiltrating log files. While I still agree with the sentiment in this thre=
ad that this is a relatively obscure
 condition, I also agree that it is actually something that can happen in t=
he wild, especially since there are entire companies built around the idea =
of real-time log file analysis.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">That said, there are other ways an attacker could get access to th=
ese two pieces of information. What are the different points in a request l=
ifecycle that could be attacked? The
 beginning, the middle and the end. We've talked about attacking the end, w=
hich is the log file example. Attacking the middle involves being in the mi=
ddle of the TLS connection, which we also know is possible with corporate n=
etwork proxies and such. We haven't
 yet talked about the beginning of the request. What can observe the beginn=
ing of a request? Here's a concrete example:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Assume the OAuth client is a single-page app in a browser. The use=
r is using an ad blocker installed as a browser extension. The ad blocker c=
an be configured to observe and block
 network requests before they are made. If the extension is configured to a=
ttack a particular OAuth server, the JS client would make the token request=
 containing the authorization code and PKCE code verifier, then the extensi=
on would be able to observe that
 request, block it, and ship the two values to the attacker's server where =
they can be redeemed and associated with the attacker's own DPoP key. Even =
perfectly single-use authorization codes don't help here either, because th=
e original request was completely
 blocked.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">(Sidenote: To get ahead of any counterarguments&nbsp;here, yes, Ch=
rome is eventually migrating to their new &quot;manifest v3&quot; which dep=
recates the webRequest API that allows this observation
 in favor of a different API that lets the browser block requests without m=
aking the actual request data available to the extension, which I am assumi=
ng they are doing in no small part because of the possibility of what I jus=
t described. It sounds like Mozilla
 is going to follow suit, but I haven't found concrete confirmation of that=
. That said, it will be a while before these changes are rolled out and sup=
port for the (dangerous) webRequest API is fully dropped, so this is likely=
 going to continue to be a potential
 attack vector for a few years at least.)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Because of the ease of deployment of a malicious browser extension=
, I do believe this is an important attack vector to consider and is worth =
solving. I am going to save any judgment
 on the particular dpop_jwk parameter proposal for a different thread, but =
I wanted to at least get on the same page about the fact that this is somet=
hing worth solving first.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Aaron<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Thu, Dec 2, 2021 at 10:38 AM Warren Parad &lt;wparad=3D<a href=
=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhosys.ch@dmarc.=
ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The only mention of sophistication is this logical fallacy:<o:p></=
o:p></p>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;If this leading security company had been penetrated, it alm=
ost certainly took an incredibly sophisticated attack.<o:p></o:p></p>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">But it leaves out exactly what that was. And it doesn't give any i=
nsight into how this attack at MS would have been prevented despite the sup=
ply chain vulnerability based on the
 second point that Aaron made. If they are able to get the auth code, why a=
ren't they able to get the DPoP signature? And then send both of these?<o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><br>
Further in this case, it doesn't even matter if the attacker gets the acces=
s token if that access token is bound to the client, because it's worthless=
 without the DPoP key. That's a much more secure solution than issuing non-=
bound Bearer tokens as a response
 to the bound authorization code. And if Bearer tokens are being used inste=
ad of bound tokens, then those could still end up in the logs, and be exfil=
trated.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">In OAuth, the&nbsp;client already needs to authenticate with the A=
S, the spec is SHOULD, and options the client_secret already. Adding in the=
 DPoP signature into the request is duplicating
 auth. If we don't like the client auth mechanisms to the AS, we should dir=
ectly provide an auth RFC recommending better alternatives than sending a s=
ymmetric client_secret back to the AS.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"border:solid white 1.0pt;padding:0in 0in 0in 0in">
<p style=3D"margin:0in"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black;border:none windowtext 1.0pt;padding:0in"><img border=3D"0=
" width=3D"199" height=3D"34" style=3D"width:2.0729in;height:.3541in" id=3D=
"_x0000_i1026" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1o=
KevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9=
KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid windowtext 1.0pt;border-left:none;=
padding:5.0pt 5.0pt 5.0pt 5.0pt;border-color:currentcolor;overflow:hidden">
<div style=3D"border:solid windowtext 1.0pt;border-bottom:none;padding:0in =
0in 0in 0in;border-color:currentcolor">
<p style=3D"margin:0in"><b><span style=3D"font-family:&quot;Lato&quot;,sans=
-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"border:solid windowtext 1.0pt;border-top:none;padding:0in 0in=
 0in 0in;border-color:currentcolor white white">
<p style=3D"margin:0in"><span style=3D"font-size:10.0pt;font-family:&quot;L=
ato&quot;,sans-serif">Founder, CTO</span><o:p></o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.0pt;color:black">Secu</span><span styl=
e=3D"font-size:10.0pt">re your user data with IAM authorization as a servic=
e. Implement&nbsp;</span><a href=3D"https://nam06.safelinks.protection.outl=
ook.com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%4=
0microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7=
cd011db47%7C1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w=
LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DH=
wr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=
=3D"_blank"><span style=3D"font-size:10.0pt">Authress</span></a><span style=
=3D"font-size:10.0pt">.</span><o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &lt;pieter.kasselm=
an=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank">40=
microsoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Thanks for the comments and engagement Warren=
.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The attacks we described and the ideas on mit=
igations are born out of attack vectors we are observing in the wild. They =
are not negligible. We are seeing a new
 class of very sophisticated attackers, and if you&#8217;re interested, thi=
s article provides good context on capability and sophistication of the att=
ackers
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.fastcompany.com%2F90672384%2Fmicrosoft-president-brad-smith-solarwi=
nds-exclusive&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534=
d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377421877=
69411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D1DvRrYin4BYn8EJ%2B41xvabgVPEiJM=
WyqGngkrU0MwIA%3D&amp;reserved=3D0" target=3D"_blank">
Brad Smith: Inside Microsoft during the SolarWinds hack (fastcompany.com)</=
a>. We are sharing this with the hope that the industry will benefit from o=
ur experiences and incorporate it into standards and products. Attacks that=
 seemed impossibly complex are not
 only possible, but have become probable. </span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The proposed changes for DPoP are not meant t=
o replace the need for one-time use tokens (single use tokens are preferabl=
e and we should continue to expect them),
 but instead address the limitations around implementing one-time use, espe=
cially at scale. The 60s window you mention below is sufficiently long to b=
e exploited by these sophisticated attackers.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Cheers</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Pieter</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div style=3D"border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0=
in 0in 0in;border-color:currentcolor currentcolor">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounces@ietf.org" t=
arget=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">(e.g. one-time use in a certain timeframe etc=
).</span><o:p></o:p></p>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Sure but couldn't we just reduce the lifetime=
? Even if the token isn't one time use, surely the reuse time is trivially =
short which would prevent against exfiltration
 of the necessary security tokens to issue the attack?</span><o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">I feel like the simpler&nbsp;solution will al=
ways win, which in this case is one-time use tokens, then the problem is mo=
ot, right? So this only comes into play if
 you want to allow token reuse in a time window. The previously suggested m=
ax allowed time window from OAuth 2.1 was 60s for auth codes. So we are say=
ing that the attack surface is still too large, for the .01% of implementat=
ions that have multi-use tokens,
 and the .01% of implementations that use the maximum 60s reuse, and then t=
he subset of those that aren't correctly scrubing their logs, and then the =
subset of those that have a vulnerability which allows for exfiltration of =
both those logged tokens and the
 logged PKCE verifier?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Why are we making this more complicated for a=
 majority of cases, which:</span><o:p></o:p></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-=
alt:auto;mso-list:l0 level1 lfo1">
<span lang=3D"EN-IE">Only have single use tokens</span><o:p></o:p></li><li =
class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:=
auto;mso-list:l0 level1 lfo1">
<span lang=3D"EN-IE">Or Only have a very short lifetime</span><o:p></o:p></=
li><li class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bott=
om-alt:auto;mso-list:l0 level1 lfo1">
<span lang=3D"EN-IE">Or Are already correctly sanitizing their logs</span><=
o:p></o:p></li><li class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso=
-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span lang=3D"EN-IE">Or Have defense in depth for their deployments.</span>=
<o:p></o:p></li></ul>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">If the implementation is so insecure that non=
e of those are happening, wouldn't the implementation for this functionalit=
y also be suspect for an opportunity for
 attack?</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">I feel like we are justifying here that multi=
-use tokens are wrong, but still want a solution to use them. Once we've pr=
oven that an deployment is not okay with
 using multi-use tokens, then the conclusion should be &quot;don't have mul=
ti-use tokens&quot;, not: &quot;let's still have multi-use tokens, but come=
 up with a complex way to prevent their multi-use from accidentally being a=
bused&quot;.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Or am I missing something that would actually=
 make this a non-negligible&nbsp;attack vector?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">- Warren</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt">
<div style=3D"border:solid white 1.0pt;padding:0in 0in 0in 0in">
<p style=3D"margin:0in"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black;border:none windowtext 1.0pt;padding:0in"><img border=3D"0=
" width=3D"199" height=3D"34" style=3D"width:2.0729in;height:.3541in" id=3D=
"_x0000_i1025" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1o=
KevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9=
KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid windowtext 1.0pt;border-left:none;=
padding:5.0pt 5.0pt 5.0pt 5.0pt;border-color:currentcolor;overflow:hidden">
<div style=3D"border:solid windowtext 1.0pt;border-bottom:none;padding:0in =
0in 0in 0in;border-color:currentcolor">
<p style=3D"margin:0in"><b><span style=3D"font-family:&quot;Lato&quot;,sans=
-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"border:solid windowtext 1.0pt;border-top:none;padding:0in 0in=
 0in 0in;border-color:currentcolor white white">
<p style=3D"margin:0in"><span style=3D"font-size:10.0pt;font-family:&quot;L=
ato&quot;,sans-serif">Founder, CTO</span><o:p></o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE" style=3D"font-size:10.0pt">Secure your user d=
ata with IAM authorization as a service. Implement&nbsp;</span><span lang=
=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=
=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.c=
om%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C=
1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQ=
IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T=
12vx%2BHp1f32aCO7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=3D"_blank"><=
span style=3D"font-size:10.0pt">Authress</span></a></span><span lang=3D"EN-=
IE" style=3D"font-size:10.0pt">.</span><o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselm=
an &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org"=
 target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:</span><o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Hi Aaron, Neil</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Thanks for the questions.
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">We agree that ideally authorization codes and=
 PKCE proofs would never end up in log files and one-time use would be perf=
ectly implemented.
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">However, in practice these artefacts do find =
their way into log files in various places and one-time use may not always =
be practical (e.g. one-time use in a certain
 timeframe etc). </span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The addition of these mitigations is not mean=
t to replace the need for one-time use or good logging hygiene. Instead the=
y provide pragmatic defence in depth against
 real attacks rather than assuming perfect implementations. We are deployin=
g these mitigations and are sharing them for inclusion in DPoP to enable ot=
hers to do the same.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Regarding the question about interrupting/int=
ercepting the HTTPS connection, the attacker don&#8217;t need to intercept =
the HTTPS connection or modify the content in
 the TLS tunnel, rather they just need to prevent the authorization code fr=
om being presented to the Authorization Server. It may even happen due to a=
 poor network connection. The poor connection may be engineered by an attac=
ker, or they may opportunistically
 benefit from it. The networks are not perfect either.</span><o:p></o:p></p=
>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Cheers</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Pieter</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div style=3D"border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0=
in 0in 0in;border-color:currentcolor currentcolor">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=3D"mailto:oaut=
h-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">oauth-bounces@ie=
tf.org</span></a></span>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<span lang=3D"EN-IE"><a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forger=
ock.com</span></a></span>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<span lang=3D"EN-IE"><a href=3D"m=
ailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US=
">40microsoft.com@dmarc.ietf.org</span></a></span>&gt;;
<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth@ietf.org</span></a></span><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">I tend to agree with Neil here. I'm strugglin=
g to see the relevance of this attack.&nbsp;</span><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">It seems like the PDF writeup describes two p=
ossible reasons an attacker could get access to the authorization code and =
PKCE code verifier.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">1. The attacker has access to the logs of the=
 token endpoint.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">2. The attacker can intercept HTTPS connectio=
ns between the client and AS (VPN, corporate network proxy, etc)</span><o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">For 1, the solution is to stop logging the co=
ntents of the POST body, and secure your infrastructure. I don't think maki=
ng the client jump through extra hoops
 is a good solution if you are already logging more than you should be or y=
ou don't trust the people who have access to the infrastructure. If this re=
ally is a concern, I suspect there are a lot more places in the flow that w=
ould need to be patched up if you
 don't trust your own token endpoint.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">For 2, if the attacker can intercept the HTTP=
S connection, then the proposed solution doesn't add anything because the a=
ttacker could modify the requests before
 it hits the authorization server anyway, and change which DPoP key the tok=
en gets bound to in the first place. Plus, the attacker would also have acc=
ess to anything else the client is sending to the AS, such as the user's pa=
ssword when they authenticate at
 the AS.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Are there other attack vectors I'm missing th=
at might actually be solved by this mechanism?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Aaron</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">On Tue, Nov 30, 2021 at 12:40 PM Neil Madden =
&lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_blank">neil.mad=
den@forgerock.com</a>&gt; wrote:</span><o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Sadly I couldn&#8217;t make the DPoP session,=
 but I&#8217;m not convinced the attack described in the earlier message re=
ally needs to be prevented at all. The attack largely
 hinges on auth codes not being one-time use, which is not a good idea, or =
otherwise on poor network security on the token endpoint. I&#8217;m not con=
vinced DPoP needs to protect against these things. Is there more to this?</=
span><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The proposed solutions also seem susceptible =
to the same problems they attempt to solve - if an attacker is somehow able=
 to interrupt the client&#8217;s (TLS-protected)
 token request, why are they somehow not able to interrupt/modify the (far =
less protected) redirect to the authorization endpoint?</span><o:p></o:p></=
p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&#8212; Neil</span><o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">On 30 Nov 2021, at 20:15, Mike Jones &lt;<a h=
ref=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org" target=3D"_bl=
ank">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:</span><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">As described during the OAuth Security Worksh=
op session on DPoP, I created a pull request adding the dpop_jkt authorizat=
ion request parameter to use for binding
 the authorization code to the client&#8217;s DPoP key.&nbsp; See<a href=3D=
"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub=
.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cwibartle%40=
microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D%2=
FmSQRy9yYzietR%2BExZD3%2BqxZSsY90LXQYm0obJ3GO9s%3D&amp;reserved=3D0" target=
=3D"_blank"><span style=3D"color:#0563C1">https://github.com/danielfett/dra=
ft-dpop/pull/89</span></a>.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">This is an alternative to&nbsp;<a href=3D"htt=
ps://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com=
%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cwibartle%40micr=
osoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011=
db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM=
DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Do0N2Wr=
%2B7oVRAjWyFq7HHRQQx7nIHq2mtywBDNUB3JSM%3D&amp;reserved=3D0" target=3D"_bla=
nk"><span style=3D"color:#0563C1">https://github.com/danielfett/draft-dpop/=
pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.&nbsp; Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.</span><o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Please review and comment.&nbsp; Note that I =
plan to add more of the attack description written by Pieter Kasselman to t=
he security considerations in a future commit.&nbsp;
 This attack description was sent by Pieter yesterday in a message with the=
 subject &#8220;Authorization Code Log File Attack (was DPoP Interim Meetin=
g Minutes)&#8221;.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE" style=3D"font-size:10.5pt;font-family:&quot;T=
imes New Roman&quot;,serif">_______________________________________________=
<br>
OAuth mailing list<br>
</span><span lang=3D"EN-IE"><a href=3D"mailto:OAuth@ietf.org" target=3D"_bl=
ank"><span style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot=
;,serif;color:#0563C1">OAuth@ietf.org</span></a></span><span lang=3D"EN-IE"=
 style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot;,serif"><=
br>
</span><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&a=
mp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b724=
0ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnkn=
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV=
CI6Mn0%3D%7C3000&amp;sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYT=
k4t3w%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:10.5p=
t;font-family:&quot;Times New Roman&quot;,serif;color:#0563C1">https://www.=
ietf.org/mailman/listinfo/oauth</span></a></span><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">_____________________________________________=
__<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a></span><o=
:p></o:p></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">_____________________________________________=
__<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a></span><o=
:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:=
p></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:=
p></p>
</blockquote>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:=
p></p>
</blockquote>
</div>
<p class=3D"MsoNormal"><br>
<b><i><span style=3D"font-size:10.0pt;font-family:-apple-system;color:#5555=
55;border:none windowtext 1.0pt;padding:0in">CONFIDENTIALITY NOTICE: This e=
mail may contain confidential and privileged material for the sole use of t=
he intended recipient(s). Any review,
 use, distribution or disclosure by others is strictly prohibited.&nbsp; If=
 you have received this communication in error, please notify the sender im=
mediately by e-mail and delete the message and any file attachments from yo=
ur computer. Thank you.</span></i></b><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>

--_000_SJ0PR00MB13204028BD9602C10E3ECEC3D3729SJ0PR00MB1320namp_--


From nobody Fri Dec 10 18:08:41 2021
Return-Path: <perrylyndon1@protonmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01B9C3A064A for <oauth@ietfa.amsl.com>; Fri, 10 Dec 2021 18:08:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.301
X-Spam-Level: 
X-Spam-Status: No, score=0.301 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=protonmail.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 2iC0V_8NXSH8 for <oauth@ietfa.amsl.com>; Fri, 10 Dec 2021 18:08:34 -0800 (PST)
Received: from mail-40138.protonmail.ch (mail-40138.protonmail.ch [185.70.40.138]) (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 3BC7F3A061B for <oauth@ietf.org>; Fri, 10 Dec 2021 18:08:34 -0800 (PST)
Date: Sat, 11 Dec 2021 02:08:30 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1639188511; bh=s76gdpd2zu7VzCjfAUbbaocXtfVrIMOXbH/5uCnjGHE=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=PgN+o4S1LO01HIGClgrhu7puuDltzHLwlpndu3t4iephLbin6+rxNvM/TEGoiOqrP Ru3lqcydxvEoR80p90Oui2RenBqepM0qcIL65tb5JmQHRjiLYhnSRCxL9mjvtR2V8+ 2oBeDhQ7NQXWT7ZQNxAPsEy0acDQpBIlU2zuDTqKWIW1vUKFQXI03ZcHTEKFo6Xn6H 4qL3CNI/kIBsvemck189xfjAmhRAZwMfc+Bdc53evsCIsvnLtE4DrGpxKU4iYJnHnW oh0Cir0rSC3AFRexVf3CRkS2BLpRxEc0J6Uf23lyTVgB8SMgXUky/QLZmI4O1IjVzM kecFDi8y336Uw==
To: "oauth@ietf.org" <oauth@ietf.org>
From: Perrylyndon <perrylyndon1@protonmail.com>
Reply-To: Perrylyndon <perrylyndon1@protonmail.com>
Message-ID: <r92qiOqj-WslaC6St1OtHr5kXXNPcQu2Bf25ddFP5YvG2blKsBl8S1CPuqihFgBKtIeVqh5-Jjg8gxbtA-cQnRir5eUMiLnA1YXiiqLd_7c=@protonmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1_Ka2MNt1aFbN3FCQL04F0fYr8mg6CBEjarHXAF2vHk0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/8S6NBfbnbR_C5rEsyM6tl7Wwma8>
Subject: [OAUTH-WG] x
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 02:08:39 -0000

This is a multi-part message in MIME format.

--b1_Ka2MNt1aFbN3FCQL04F0fYr8mg6CBEjarHXAF2vHk0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

cGVycnlseW5kb24xQHByb3Rvbm1haWwuY29t

--b1_Ka2MNt1aFbN3FCQL04F0fYr8mg6CBEjarHXAF2vHk0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGRpdj48YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdiBjbGFzcz0icHJvdG9ubWFpbF9zaWdu
YXR1cmVfYmxvY2siPjxkaXYgY2xhc3M9InByb3Rvbm1haWxfc2lnbmF0dXJlX2Jsb2NrLXVzZXIi
PnBlcnJ5bHluZG9uMUBwcm90b25tYWlsLmNvbTwvZGl2PjxkaXYgY2xhc3M9InByb3Rvbm1haWxf
c2lnbmF0dXJlX2Jsb2NrLXByb3RvbiBwcm90b25tYWlsX3NpZ25hdHVyZV9ibG9jay1lbXB0eSI+
PC9kaXY+PC9kaXY+


--b1_Ka2MNt1aFbN3FCQL04F0fYr8mg6CBEjarHXAF2vHk0--


From nobody Sat Dec 11 02:35:54 2021
Return-Path: <fotiou@aueb.gr>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C37983A0B9A for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 02:35:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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_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=aueb.gr
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 B_W_f1uQV4rA for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 02:35:47 -0800 (PST)
Received: from blade-b3-vm-relay.servers.aueb.gr (blade-b3-vm-relay.servers.aueb.gr [195.251.255.106]) by ietfa.amsl.com (Postfix) with ESMTP id C7FF43A0B92 for <oauth@ietf.org>; Sat, 11 Dec 2021 02:35:45 -0800 (PST)
Received: from blade-a1-vm-smtp.servers.aueb.gr (blade-a1-vm-smtp.servers.aueb.gr [195.251.255.217]) by blade-b3-vm-relay.servers.aueb.gr (Postfix) with ESMTP id 84ABAF0A for <oauth@ietf.org>; Sat, 11 Dec 2021 12:35:42 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aueb.gr; s=201901; t=1639218942; bh=r07oc6Kn9zJd9Pdy4OYbvqjDam7+oSN2eEVEMKdlRA0=; h=From:Subject:Date:To:From; b=YvYms2yvoGFl6bkeFQ5A2UtB3In+CTtYprG/jsVYGcR43g58aQ7ucO8T61sGYKlKA mo6//UgXqHguDp5iiSvtlaSWJ+jhyxkJJ7Qc1jRne/FSg72+CjBLM++ASvM6IUUZbv KD7xjQBLlq6pGZCGAQw0ugawMCmxddEE3RKyqv4nZRJhIFMjW8FoWJWAINEHitRQpx j+ZmZ0gVs4Ww0ZsYOirhH+krrpZY2R1OlOsRhBjSG3TjnTk5JGXiqKGlLYL02RLke2 ZBIqUzloapIVdiQrQvmQb4zwrKQRF6fmZ8oZvGJShHFCcIgvCb3DmGLIxQthUtP9Xc clPXYMN7IHUTw==
Received: from smtpclient.apple (athedsl-4545948.home.otenet.gr [94.70.41.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fotiou) by blade-a1-vm-smtp.servers.aueb.gr (Postfix) with ESMTPSA id 4F5174C0 for <oauth@ietf.org>; Sat, 11 Dec 2021 12:35:41 +0200 (EET)
From: Nikos Fotiou <fotiou@aueb.gr>
Content-Type: multipart/signed; boundary="Apple-Mail=_F531462D-FC92-4FA7-8A89-C4A887F3C2B2"; protocol="application/pkcs7-signature"; micalg=sha-256
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\))
Message-Id: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
Date: Sat, 11 Dec 2021 12:35:41 +0200
To: oauth <oauth@ietf.org>
X-Mailer: Apple Mail (2.3693.20.0.1.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/PG1meDsBtw4iy8EwahsJovv3Ipc>
Subject: [OAUTH-WG] can a resource server provide indications about expected access tokens?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 10:35:52 -0000

--Apple-Mail=_F531462D-FC92-4FA7-8A89-C4A887F3C2B2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

I have a use case where a resource server is protected  and can only be =
accessed if a JWT is presented. Is there any way for the server to =
"indicate" the "expected" format of the JWT. For example,  respond to =
unauthorized requests with something that would be translated into "I =
expect tokens form iss X with claims [A,B,C]"

Best,
Nikos

--
Nikos Fotiou - http://pages.cs.aueb.gr/~fotiou
Researcher - Mobile Multimedia Laboratory
Athens University of Economics and Business
https://mm.aueb.gr


--Apple-Mail=_F531462D-FC92-4FA7-8A89-C4A887F3C2B2
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCDgkw
ggbQMIIEuKADAgECAhBAB3aGT+I5a2zJV9kPcbUZ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W5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25zIENlcnQu
IEF1dGhvcml0eTE6MDgGA1UEAxMxQXRoZW5zIFVuaXZlcnNpdHkgb2YgRWNvbm9taWNzIGFuZCBC
dXNpbmVzcyBDQSBSMgIQQAd2hk/iOWtsyVfZD3G1GTCBtwYLKoZIhvcNAQkQAgsxgaeggaQwgY8x
CzAJBgNVBAYTAkdSMUQwQgYDVQQKEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5z
dGl0dXRpb25zIENlcnQuIEF1dGhvcml0eTE6MDgGA1UEAxMxQXRoZW5zIFVuaXZlcnNpdHkgb2Yg
RWNvbm9taWNzIGFuZCBCdXNpbmVzcyBDQSBSMgIQQAd2hk/iOWtsyVfZD3G1GTANBgkqhkiG9w0B
AQsFAASCAQAsCwQbXGNf4EfhsXmuFhq7MIMtwInLMRmDOaoIZ/9Cq4bds5/qKzADxamASBpfuy8P
Kipv9GFUf2JT5g8VZl8xNvas+4MQsYghZE7Cfd5bJIAZFYoiwQg1/FnVOsimfGb5uWbfNh3MhaZQ
iwE6++xQlY9q/63jP9vxbFUdLnA30EiW3g9tyUu2wJHhGxAnMN5BS47O9M50/8Mst7mgv1FC5A5Q
+cS6u8krwZTaLnd87mfGchTsB2SIX0x7GCbWCd3RPea6XAeUDPt0Rs0lk1jYXXzKTqAB5+JseGJV
IuA1FHMBVySs3M9gpopQzdelpOOzESA8pNn8WxiCZFNl8zAhAAAAAAAA
--Apple-Mail=_F531462D-FC92-4FA7-8A89-C4A887F3C2B2--


From nobody Sat Dec 11 02:43:49 2021
Return-Path: <vladimir@connect2id.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D10473A0BB5 for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 02:43:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.746
X-Spam-Level: 
X-Spam-Status: No, score=-3.746 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.852, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 bFhHOKqguoPu for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 02:43:42 -0800 (PST)
Received: from p3plsmtpa06-04.prod.phx3.secureserver.net (p3plsmtpa06-04.prod.phx3.secureserver.net [173.201.192.105]) (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 5D9E03A0BB3 for <oauth@ietf.org>; Sat, 11 Dec 2021 02:43:42 -0800 (PST)
Received: from [10.0.1.52] ([79.190.255.49]) by :SMTPAUTH: with ESMTPSA id vzqtmH8tbMLNKvzqvmgffq; Sat, 11 Dec 2021 03:43:41 -0700
X-CMAE-Analysis: v=2.4 cv=b4d3XvKx c=1 sm=1 tr=0 ts=61b480de a=h1DDhCA4LT+favd6VYqQpg==:117 a=h1DDhCA4LT+favd6VYqQpg==:17 a=q0rX5H01Qin5IyBaTmIA:9 a=r77TgQKjGQsHNAKrUKIA:9 a=48vgC7mUAAAA:8 a=y2c-kBKpAAAA:8 a=6z7v-TJIFy3KdTgRfGIA:9 a=pILNOxqGKmIA:10 a=W_nrZubzvpA_KjtQyuoA:9 a=O_XoXOBNLnTAdM8l:21 a=_W_S_7VecoQA:10 a=fSPGTSgBtm4jsw2BxjUA:9 a=ZVk8-NSrHBgA:10 a=30ssDGKg3p0A:10 a=w1C3t2QeGrPiZgrLijVG:22 a=awRHx4Xwn3BPZE6gbrHJ:22
X-SECURESERVER-ACCT: vladimir@connect2id.com
To: oauth@ietf.org
References: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
From: Vladimir Dzhuvinov <vladimir@connect2id.com>
Organization: Connect2id Ltd.
Message-ID: <359ad163-82fb-7620-a2d2-2704372b5f54@connect2id.com>
Date: Sat, 11 Dec 2021 12:43:42 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020808040707000601080806"
X-CMAE-Envelope: MS4xfLnBcNdnx7B/WOB03kfXWC+PotpGEfwj5qNzcgOdejs57H1jSr+DM4Yok/qD8OrnyErsfSDw2mZeEMpR6DODT/iHrKKHvPWv/Jk1ZFmbn5P6Xdb0VBZe A38InyjEk/D+ZyYtpoJVHaX2NjcyHfmE0bPYOoYsUEm/yne7y/qnuJf11h47eb+IlHbhf62cYPJdTw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/ChrntknpjVQLK3KQckC6DurSdOc>
Subject: Re: [OAUTH-WG] can a resource server provide indications about expected access tokens?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 10:43:47 -0000

This is a cryptographically signed message in MIME format.

--------------ms020808040707000601080806
Content-Type: multipart/alternative;
 boundary="------------8EBE9192827EC73B12A32556"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------8EBE9192827EC73B12A32556
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Nikos,

The "error_description" can be used to explain the expected token issuer =

and other facts to client developers.

https://datatracker.ietf.org/doc/html/rfc6750#section-3

If you want to give client software the ability to respond=20
programmatically this will require some sort of a proprietary extension.

Vladimir

Vladimir Dzhuvinov

On 11/12/2021 12:35, Nikos Fotiou wrote:
> Hi,
>
> I have a use case where a resource server is protected  and can only be=
 accessed if a JWT is presented. Is there any way for the server to "indi=
cate" the "expected" format of the JWT. For example,  respond to unauthor=
ized requests with something that would be translated into "I expect toke=
ns form iss X with claims [A,B,C]"
>
> Best,
> Nikos
>
> --
> Nikos Fotiou - http://pages.cs.aueb.gr/~fotiou
> Researcher - Mobile Multimedia Laboratory
> Athens University of Economics and Business
> https://mm.aueb.gr
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

--------------8EBE9192827EC73B12A32556
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html;
      charset=3Dwindows-1252">
  </head>
  <body>
    <p>Hi Nikos,</p>
    <p>The "error_description" can be used to explain the expected token
      issuer and other facts to client developers.<br>
    </p>
    <p><a class=3D"moz-txt-link-freetext" href=3D"https://datatracker.iet=
f.org/doc/html/rfc6750#section-3">https://datatracker.ietf.org/doc/html/r=
fc6750#section-3</a></p>
    <p>If you want to give client software the ability to respond
      programmatically this will require some sort of a proprietary
      extension.</p>
    <p>Vladimir<br>
    </p>
    <pre class=3D"moz-signature" cols=3D"72">Vladimir Dzhuvinov</pre>
    <div class=3D"moz-cite-prefix">On 11/12/2021 12:35, Nikos Fotiou
      wrote:<br>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr">
      <pre class=3D"moz-quote-pre" wrap=3D"">Hi,

I have a use case where a resource server is protected  and can only be a=
ccessed if a JWT is presented. Is there any way for the server to "indica=
te" the "expected" format of the JWT. For example,  respond to unauthoriz=
ed requests with something that would be translated into "I expect tokens=
 form iss X with claims [A,B,C]"

Best,
Nikos

--
Nikos Fotiou - <a class=3D"moz-txt-link-freetext" href=3D"http://pages.cs=
=2Eaueb.gr/~fotiou">http://pages.cs.aueb.gr/~fotiou</a>
Researcher - Mobile Multimedia Laboratory
Athens University of Economics and Business
<a class=3D"moz-txt-link-freetext" href=3D"https://mm.aueb.gr">https://mm=
=2Eaueb.gr</a>

</pre>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <pre class=3D"moz-quote-pre" wrap=3D"">____________________________=
___________________
OAuth mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:OAuth@ietf.org">OAut=
h@ietf.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://www.ietf.org/mailman/l=
istinfo/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
  </body>
</html>

--------------8EBE9192827EC73B12A32556--

--------------ms020808040707000601080806
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CzMwggUbMIIEA6ADAgECAhBnxRI4kQ9lMwCjP3MF4ScYMA0GCSqGSIb3DQEBCwUAMIGWMQsw
CQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm
b3JkMRgwFgYDVQQKEw9TZWN0aWdvIExpbWl0ZWQxPjA8BgNVBAMTNVNlY3RpZ28gUlNBIENs
aWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBMB4XDTIxMT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TB1NhbGZvcmQxGDAWBgNVBAoTD1NlY3RpZ28gTGltaXRlZDE+MDwG
A1UEAxM1U2VjdGlnbyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1h
aWwgQ0ECEGfFEjiRD2UzAKM/cwXhJxgwgb4GCyqGSIb3DQEJEAILMYGuoIGrMIGWMQswCQYD
VQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3Jk
MRgwFgYDVQQKEw9TZWN0aWdvIExpbWl0ZWQxPjA8BgNVBAMTNVNlY3RpZ28gUlNBIENsaWVu
dCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhBnxRI4kQ9lMwCjP3MF4ScY
MA0GCSqGSIb3DQEBAQUABIIBAKujvYgKkGwF+IYfueJJFyFu8RqHATWe4dfubQDFvil3mfyb
7oW0GXTzvHe/hFL3pG2DQCo99k/FaFp6HHRROxApy5EyqpSN6r91WnR2LULGh+QeB/W1uTgj
F0HXDU9Lp9qBnz4Mm5k1U80GWGXhOmaPJJBPuKywXJykc0bbNnaFnJ1S0M1wntKJf4D9gvn3
hIAhmHaNE0Wj4SIP7dEPO3tX0ZVcXYJn4umpkxOmCkrUXtf+Q31a0z/gXcaUQG1yhLDWqSxP
ulO35j7uFrVMEDn80jwjNNrvgx/RAR9PLDwjLC04LaffwlKDQqxiwi7v1G6kP+Dl8oJ9PrYe
FAJ0lAcAAAAAAAA=
--------------ms020808040707000601080806--


From nobody Sat Dec 11 02:59:26 2021
Return-Path: <fotiou@aueb.gr>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7E073A0BE3 for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 02:59:24 -0800 (PST)
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, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, 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=aueb.gr
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 25Vqd7qblEDg for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 02:59:19 -0800 (PST)
Received: from blade-b3-vm-relay.servers.aueb.gr (blade-b3-vm-relay.servers.aueb.gr [195.251.255.106]) by ietfa.amsl.com (Postfix) with ESMTP id 19EE43A0BE6 for <oauth@ietf.org>; Sat, 11 Dec 2021 02:59:18 -0800 (PST)
Received: from blade-a1-vm-smtp.servers.aueb.gr (blade-a1-vm-smtp.servers.aueb.gr [195.251.255.217]) by blade-b3-vm-relay.servers.aueb.gr (Postfix) with ESMTP id E4AC6DD2; Sat, 11 Dec 2021 12:59:15 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aueb.gr; s=201901; t=1639220355; bh=j1/6X7ky6H6DrkIwqWa0nTHqkBxONW+ek75tnjP8Y54=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=woEJn4N4YMMwRY+RGz2FaC9w+y0p6W9NsRT5AFcoLwx7PonDwxO1kedcKofdGuH8S D/LuhJhwX0c69MhWfqS6IUQKUNuVMq3G3hM3czxrf0LYUlGnL5AiT6kPF8/tby08jq yRKNMPHHSjHp2bV2h07hlfK1q0gdwQeZHiuAKE0YaTQcc6cTesTfPIOwbcgATXcsVm /2kTCA9Cj1WYbzQl7sZzlHInQO2nhyqxSz2oO6wet3gJxMe+Kj3LBH3Vl5IQAO422p 9lQlY8G412fp9PQEVU6fP03SRQFSrqWzBXvzbVswAA7KwybLCEnZCRE+h92LYyH0zj OsoLO3/EaD8kA==
Received: from smtpclient.apple (athedsl-4545948.home.otenet.gr [94.70.41.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fotiou) by blade-a1-vm-smtp.servers.aueb.gr (Postfix) with ESMTPSA id B66AC4C5; Sat, 11 Dec 2021 12:59:15 +0200 (EET)
Content-Type: multipart/alternative; boundary=Apple-Mail-7F60C6C5-9E6F-4791-AE94-E44EA30921B0
Content-Transfer-Encoding: 7bit
From: Nikos Fotiou <fotiou@aueb.gr>
Mime-Version: 1.0 (1.0)
Date: Sat, 11 Dec 2021 12:59:14 +0200
Message-Id: <5F026928-695C-4F4F-9B73-4927AFD047D8@aueb.gr>
References: <359ad163-82fb-7620-a2d2-2704372b5f54@connect2id.com>
Cc: oauth@ietf.org
In-Reply-To: <359ad163-82fb-7620-a2d2-2704372b5f54@connect2id.com>
To: Vladimir Dzhuvinov <vladimir@connect2id.com>
X-Mailer: iPad Mail (19A404)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/FPa___EjU2EEw82Ys_rdZ0PfAKM>
Subject: Re: [OAUTH-WG] can a resource server provide indications about expected access tokens?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 10:59:25 -0000

--Apple-Mail-7F60C6C5-9E6F-4791-AE94-E44EA30921B0
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thanks Vladimir,
I am looking for something which is machine readable so that clients can han=
dle the error automatically.

Best,
Nikos

> On 11 Dec 2021, at 12:44 PM, Vladimir Dzhuvinov <vladimir@connect2id.com> w=
rote:
>=20
> =EF=BB=BF
> Hi Nikos,
>=20
> The "error_description" can be used to explain the expected token issuer a=
nd other facts to client developers.
>=20
> https://datatracker.ietf.org/doc/html/rfc6750#section-3
>=20
> If you want to give client software the ability to respond programmaticall=
y this will require some sort of a proprietary extension.
>=20
> Vladimir
>=20
> Vladimir Dzhuvinov
> On 11/12/2021 12:35, Nikos Fotiou wrote:
>> Hi,
>>=20
>> I have a use case where a resource server is protected  and can only be a=
ccessed if a JWT is presented. Is there any way for the server to "indicate"=
 the "expected" format of the JWT. For example,  respond to unauthorized req=
uests with something that would be translated into "I expect tokens form iss=
 X with claims [A,B,C]"
>>=20
>> Best,
>> Nikos
>>=20
>> --
>> Nikos Fotiou - http://pages.cs.aueb.gr/~fotiou
>> Researcher - Mobile Multimedia Laboratory
>> Athens University of Economics and Business
>> https://mm.aueb.gr
>>=20
>>=20
>>=20
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

--Apple-Mail-7F60C6C5-9E6F-4791-AE94-E44EA30921B0
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">Tha=
nks&nbsp;<span style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); -web=
kit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">Vladimir,=
</span></div><div dir=3D"ltr"><span style=3D"caret-color: rgb(0, 0, 0); colo=
r: rgb(0, 0, 0); -webkit-text-size-adjust: auto; background-color: rgb(255, 2=
55, 255);">I am looking for something which is machine readable so that clie=
nts can handle the error automatically.</span></div><div dir=3D"ltr"><span s=
tyle=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); -webkit-text-size-ad=
just: auto; background-color: rgb(255, 255, 255);"><br></span></div><div dir=
=3D"ltr"><span style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); -web=
kit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">Best,</sp=
an></div><div dir=3D"ltr"><span style=3D"caret-color: rgb(0, 0, 0); color: r=
gb(0, 0, 0); -webkit-text-size-adjust: auto; background-color: rgb(255, 255,=
 255);">Nikos</span></div><div dir=3D"ltr"><br><blockquote type=3D"cite">On 1=
1 Dec 2021, at 12:44 PM, Vladimir Dzhuvinov &lt;vladimir@connect2id.com&gt; w=
rote:<br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=
=BB=BF
 =20
    <meta http-equiv=3D"Content-Type" content=3D"text/html;
      charset=3Dwindows-1252">
 =20
 =20
    <p>Hi Nikos,</p>
    <p>The "error_description" can be used to explain the expected token
      issuer and other facts to client developers.<br>
    </p>
    <p><a class=3D"moz-txt-link-freetext" href=3D"https://datatracker.ietf.o=
rg/doc/html/rfc6750#section-3">https://datatracker.ietf.org/doc/html/rfc6750=
#section-3</a></p>
    <p>If you want to give client software the ability to respond
      programmatically this will require some sort of a proprietary
      extension.</p>
    <p>Vladimir<br>
    </p>
    <pre class=3D"moz-signature" cols=3D"72">Vladimir Dzhuvinov</pre>
    <div class=3D"moz-cite-prefix">On 11/12/2021 12:35, Nikos Fotiou
      wrote:<br>
    </div>
    <blockquote type=3D"cite" cite=3D"mid:CE063C3C-6992-4450-8153-0778C143C7=
A5@aueb.gr">
      <pre class=3D"moz-quote-pre" wrap=3D"">Hi,

I have a use case where a resource server is protected  and can only be acce=
ssed if a JWT is presented. Is there any way for the server to "indicate" th=
e "expected" format of the JWT. For example,  respond to unauthorized reques=
ts with something that would be translated into "I expect tokens form iss X w=
ith claims [A,B,C]"

Best,
Nikos

--
Nikos Fotiou - <a class=3D"moz-txt-link-freetext" href=3D"http://pages.cs.au=
eb.gr/~fotiou">http://pages.cs.aueb.gr/~fotiou</a>
Researcher - Mobile Multimedia Laboratory
Athens University of Economics and Business
<a class=3D"moz-txt-link-freetext" href=3D"https://mm.aueb.gr">https://mm.au=
eb.gr</a>

</pre>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <pre class=3D"moz-quote-pre" wrap=3D"">_______________________________=
________________
OAuth mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:OAuth@ietf.org">OAuth@i=
etf.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://www.ietf.org/mailman/list=
info/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
 =20

<span>_______________________________________________</span><br><span>OAuth m=
ailing list</span><br><span>OAuth@ietf.org</span><br><span>https://www.ietf.=
org/mailman/listinfo/oauth</span><br></div></blockquote></body></html>=

--Apple-Mail-7F60C6C5-9E6F-4791-AE94-E44EA30921B0--


From nobody Sat Dec 11 03:26:01 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EC013A0C19 for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 03:26:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 VUTcnLzPSb1g for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 03:25:55 -0800 (PST)
Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 599833A0C18 for <oauth@ietf.org>; Sat, 11 Dec 2021 03:25:55 -0800 (PST)
Received: by mail-yb1-xb2d.google.com with SMTP id f9so27101540ybq.10 for <oauth@ietf.org>; Sat, 11 Dec 2021 03:25:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/vjOylVAO18uEOo7qMxhd+u+PwlT3ywbXE2UUj4H2NI=; b=AP/ghYtLMWyj1FRt3O3aZ/ILqRCwiZUXkALZu/RX/8cYUZGhjojsS9xX7LrTAy/NQG evHB+oil3FuqnlkXz7KcxSv+ssWVPAwmYGbvt/a9NUYh0N6bUX+Ysdu6QI+CuTnLjECz Xs+jCoOKNsCs/EKftHd6Fg+GA/IGWZPevpLCHuBvQXcladNGTlIHF9GKUdYVAR1xAasp Hr/SLnzsK8s1QC289jpUwFMVFkQm8Gzb9mCXkgEq6gg6DHbMicRO23rAxN3E6yLVlDqY kJCHPe4MWGrubboCTtq+itF1RLFj7hAxQUxhs6hTLpv3ULvS5t0Kwhz92t7ZgeU9eZy0 y6gw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/vjOylVAO18uEOo7qMxhd+u+PwlT3ywbXE2UUj4H2NI=; b=hAwi0Qh+CG1Jd8bRPQ/7DnGkqi11ZvLesblkqg2dP6y1NyXBTYrKQ0aJGyCCf/1s5d 86/xP/+oG0ilIxbYgk4VXeI4kRuZLvNZjIz9RI4PO1it6xn/MzhiPph565csajb3Q5zU TFO7i0MNh4jfUdjBfweO4Mju2JVq2Uq8wnVRc0pS1M+jqZjNLYoh/xAGIYKXA1AQT3TI Pgj04PdJbnsKM/mcPfPbQeeOTGMVsKzp3rjATXFtwXtvAik7INdyB+KvKHpOFTTR2+7S Fuz0cnOcLe7POrXOJz1kioOHZdnXV/alSTU1iOT5yONBlH/+LhpNMaG/kBvGQDY7yAkC 7JgQ==
X-Gm-Message-State: AOAM531Oecw15Ivq5CO2KKK+hWdaQ3YoFg11zXeUCg2l37yXx1ACtUz9 qJ0QW0fbBdp66VnZ7p+h7Dfrp+uq9+fIj2yMAdW+bOMd8g74nhg=
X-Google-Smtp-Source: ABdhPJxZ5hU4tDXO1pKSU++B3U75vmTw6vEx4A+JZh3iB5AKfXRLUfRpCOERb44ZO/YO3eyigihYNLZcHa2pWVgeIMQ=
X-Received: by 2002:a25:2304:: with SMTP id j4mr19429097ybj.359.1639221952442;  Sat, 11 Dec 2021 03:25:52 -0800 (PST)
MIME-Version: 1.0
References: <359ad163-82fb-7620-a2d2-2704372b5f54@connect2id.com> <5F026928-695C-4F4F-9B73-4927AFD047D8@aueb.gr>
In-Reply-To: <5F026928-695C-4F4F-9B73-4927AFD047D8@aueb.gr>
From: Warren Parad <wparad@rhosys.ch>
Date: Sat, 11 Dec 2021 12:25:41 +0100
Message-ID: <CAJot-L1O7nRUpz63-fA8K1Xdki2Lm6OLKiagqKC9PWPaXDkrZA@mail.gmail.com>
To: Nikos Fotiou <fotiou@aueb.gr>
Cc: Vladimir Dzhuvinov <vladimir@connect2id.com>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002f093905d2dd1a3f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/CgqoPS4-CTK9YtINyG0LQ0SMp0M>
Subject: Re: [OAUTH-WG] can a resource server provide indications about expected access tokens?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 11:26:01 -0000

--0000000000002f093905d2dd1a3f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The section from the RFC, allows for the *scope* or any other standard
parameter to be returned in the WWW-Authenticate header, those would be
machine readable.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Sat, Dec 11, 2021 at 11:59 AM Nikos Fotiou <fotiou@aueb.gr> wrote:

> Thanks Vladimir,
> I am looking for something which is machine readable so that clients can
> handle the error automatically.
>
> Best,
> Nikos
>
> On 11 Dec 2021, at 12:44 PM, Vladimir Dzhuvinov <vladimir@connect2id.com>
> wrote:
>
> =EF=BB=BF
>
> Hi Nikos,
>
> The "error_description" can be used to explain the expected token issuer
> and other facts to client developers.
>
> https://datatracker.ietf.org/doc/html/rfc6750#section-3
>
> If you want to give client software the ability to respond
> programmatically this will require some sort of a proprietary extension.
>
> Vladimir
>
> Vladimir Dzhuvinov
>
> On 11/12/2021 12:35, Nikos Fotiou wrote:
>
> Hi,
>
> I have a use case where a resource server is protected  and can only be a=
ccessed if a JWT is presented. Is there any way for the server to "indicate=
" the "expected" format of the JWT. For example,  respond to unauthorized r=
equests with something that would be translated into "I expect tokens form =
iss X with claims [A,B,C]"
>
> Best,
> Nikos
>
> --
> Nikos Fotiou - http://pages.cs.aueb.gr/~fotiou
> Researcher - Mobile Multimedia Laboratory
> Athens University of Economics and Businesshttps://mm.aueb.gr
>
>
> _______________________________________________
> OAuth mailing listOAuth@ietf.orghttps://www.ietf.org/mailman/listinfo/oau=
th
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--0000000000002f093905d2dd1a3f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The section from the RFC, allows for the <b>scope</b>=C2=
=A0or any other standard parameter to be returned in the=C2=A0<span style=
=3D"font-size:1em;font-weight:bold;color:rgb(0,0,0)">WWW-Authenticate</span=
><span style=3D"font-size:1em;color:rgb(0,0,0)">=C2=A0header, those would b=
e machine readable.</span><div><font color=3D"#000000"><br></font><div><div=
 dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><=
div dir=3D"ltr"><table style=3D"border:none;border-collapse:collapse"><colg=
roup><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"h=
eight:0pt"><td style=3D"border-left:solid #ffffff 1pt;border-right:solid #c=
ccccc 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;vert=
ical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" styl=
e=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #ffff=
ff 1pt;border-top:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margin-=
top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;=
color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white=
-space:pre-wrap"><span style=3D"border:none;display:inline-block;overflow:h=
idden;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent.co=
m/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPY=
dBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"19=
9" height=3D"34" style=3D"margin-left:0px;margin-top:0px"></span></span></p=
></td><td style=3D"border-left:solid #cccccc 1pt;border-right:solid #ffffff=
 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;vertical-=
align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=3D"=
line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #ffffff 1p=
t;border-top:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span styl=
e=3D"font-size:11pt;font-family:Lato,sans-serif;background-color:transparen=
t;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Para=
d</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffff=
ff 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margi=
n-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D=
"font-size:13.3333px;white-space:pre-wrap">Founder, CTO</span></font></p></=
td></tr></tbody></table><span style=3D"font-size:x-small">Secure your user =
data with IAM authorization as a service. Implement=C2=A0</span><a href=3D"=
https://authress.io/" style=3D"font-size:x-small" target=3D"_blank">Authres=
s</a><span style=3D"font-size:x-small">.</span><br></div></div></div><br></=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Sat, Dec 11, 2021 at 11:59 AM Nikos Fotiou &lt;<a href=3D"mailto:fot=
iou@aueb.gr">fotiou@aueb.gr</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex"><div dir=3D"auto"><div dir=3D"ltr"></div><div di=
r=3D"ltr">Thanks=C2=A0<span style=3D"color:rgb(0,0,0);background-color:rgb(=
255,255,255)">Vladimir,</span></div><div dir=3D"ltr"><span style=3D"color:r=
gb(0,0,0);background-color:rgb(255,255,255)">I am looking for something whi=
ch is machine readable so that clients can handle the error automatically.<=
/span></div><div dir=3D"ltr"><span style=3D"color:rgb(0,0,0);background-col=
or:rgb(255,255,255)"><br></span></div><div dir=3D"ltr"><span style=3D"color=
:rgb(0,0,0);background-color:rgb(255,255,255)">Best,</span></div><div dir=
=3D"ltr"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)"=
>Nikos</span></div><div dir=3D"ltr"><br><blockquote type=3D"cite">On 11 Dec=
 2021, at 12:44 PM, Vladimir Dzhuvinov &lt;<a href=3D"mailto:vladimir@conne=
ct2id.com" target=3D"_blank">vladimir@connect2id.com</a>&gt; wrote:<br><br>=
</blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF
 =20
   =20
 =20
 =20
    <p>Hi Nikos,</p>
    <p>The &quot;error_description&quot; can be used to explain the expecte=
d token
      issuer and other facts to client developers.<br>
    </p>
    <p><a href=3D"https://datatracker.ietf.org/doc/html/rfc6750#section-3" =
target=3D"_blank">https://datatracker.ietf.org/doc/html/rfc6750#section-3</=
a></p>
    <p>If you want to give client software the ability to respond
      programmatically this will require some sort of a proprietary
      extension.</p>
    <p>Vladimir<br>
    </p>
    <pre cols=3D"72">Vladimir Dzhuvinov</pre>
    <div>On 11/12/2021 12:35, Nikos Fotiou
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>Hi,

I have a use case where a resource server is protected  and can only be acc=
essed if a JWT is presented. Is there any way for the server to &quot;indic=
ate&quot; the &quot;expected&quot; format of the JWT. For example,  respond=
 to unauthorized requests with something that would be translated into &quo=
t;I expect tokens form iss X with claims [A,B,C]&quot;

Best,
Nikos

--
Nikos Fotiou - <a href=3D"http://pages.cs.aueb.gr/~fotiou" target=3D"_blank=
">http://pages.cs.aueb.gr/~fotiou</a>
Researcher - Mobile Multimedia Laboratory
Athens University of Economics and Business
<a href=3D"https://mm.aueb.gr" target=3D"_blank">https://mm.aueb.gr</a>

</pre>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
OAuth mailing list
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
 =20

<span>_______________________________________________</span><br><span>OAuth=
 mailing list</span><br><span><a href=3D"mailto:OAuth@ietf.org" target=3D"_=
blank">OAuth@ietf.org</a></span><br><span><a href=3D"https://www.ietf.org/m=
ailman/listinfo/oauth" target=3D"_blank">https://www.ietf.org/mailman/listi=
nfo/oauth</a></span><br></div></blockquote></div>__________________________=
_____________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--0000000000002f093905d2dd1a3f--


From nobody Sat Dec 11 07:02:35 2021
Return-Path: <david@alkaline-solutions.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A4C03A08C5 for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 07:02:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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_PASS=-0.001, UNPARSEABLE_RELAY=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=alkaline-solutions.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 g7w5x4D6WRHq for <oauth@ietfa.amsl.com>; Sat, 11 Dec 2021 07:02:24 -0800 (PST)
Received: from caesium6.alkaline.solutions (caesium6.alkaline.solutions [157.230.133.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44B1D3A08C7 for <oauth@ietf.org>; Sat, 11 Dec 2021 07:02:24 -0800 (PST)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by caesium6.alkaline.solutions (Postfix) with ESMTPA id DCB5C2066C4; Sat, 11 Dec 2021 15:02:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alkaline-solutions.com; s=dkim; t=1639234943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5xhKhWaysLYEwqH3Z6gDLsc6yydWoEwuwfTQRa2IPj0=; b=aYdesUO4n6jAbUra+akK8fxk1JHFr0QLc3ePeie2my1y8z0ARAKkRlpLK+PylbLyRkrViK kfnzepFw7t42/ye53J1HGmgwJwfgzfpV+UIQuAsTRP4cek1lgMqylfOOYuAUKt2GsHEPgU RPSB7Zx3RekI+spTvc0VJz7Z7eSbfH0=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0
From: David Waite <david@alkaline-solutions.com>
In-Reply-To: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
Date: Sat, 11 Dec 2021 08:02:20 -0700
Cc: oauth <oauth@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BE8254EF-9455-4D0A-A57A-9717C1BABDB9@alkaline-solutions.com>
References: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
To: Nikos Fotiou <fotiou@aueb.gr>
Authentication-Results: caesium6.alkaline.solutions; auth=pass smtp.mailfrom=david@alkaline-solutions.com
X-Spamd-Bar: +
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/bHFxfbwAacb_eLxf7fGEKqTpC0Y>
Subject: Re: [OAUTH-WG] can a resource server provide indications about expected access tokens?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Dec 2021 15:02:30 -0000

> On Dec 11, 2021, at 3:35 AM, Nikos Fotiou <fotiou@aueb.gr> wrote:
>=20
> Hi,
>=20
> I have a use case where a resource server is protected  and can only =
be accessed if a JWT is presented. Is there any way for the server to =
"indicate" the "expected" format of the JWT. For example,  respond to =
unauthorized requests with something that would be translated into "I =
expect tokens form iss X with claims [A,B,C]"

Normally, the scope of the token is part of the contract between the =
resource server and client (what sort of authorization is needed for the =
resource server), but other aspects of the relationship - such as =
format, or required information, or additional verification steps the =
user needs to take - are part of the contract between the AS and =
resource server.

The ways to work with indicating that these requirements exist at token =
issuance include:

1. Scopes - wrap requirements up into scopes, such as having an =
=E2=80=9Cadmin=E2=80=9D scope require additional user authentication, or =
a =E2=80=9Cpurchasing=E2=80=9D scope require the user=E2=80=99s shipping =
address be embedded as a claim

2. Resources - require the client to use the `resource` parameter to =
indicate which resource server the token is meant for, and use AS policy =
to say which RSs get what sort of tokens or have what sort of issuance =
policy.

-DW=


From nobody Sat Dec 11 17:29:31 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDADE3A00E5; Sat, 11 Dec 2021 17:29:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 67S-IkLcTcav; Sat, 11 Dec 2021 17:29:22 -0800 (PST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 4A80B3A00D3; Sat, 11 Dec 2021 17:29:21 -0800 (PST)
Received: from mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1BC1TDwe028904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 11 Dec 2021 20:29:19 -0500
Date: Sat, 11 Dec 2021 17:29:12 -0800
From: Benjamin Kaduk <kaduk@mit.edu>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
Cc: Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>, Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>
Message-ID: <20211212012912.GR11486@mit.edu>
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com> <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu> <CAJot-L2oeE-3tYVXGPEpVqJGbS+Q32Z5+37822cdVMdfmFqbHQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAJot-L2oeE-3tYVXGPEpVqJGbS+Q32Z5+37822cdVMdfmFqbHQ@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Vk6Qik62fWuND7S52T_vrv8L9GM>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Dec 2021 01:29:26 -0000

<soapbox warning>

On Thu, Dec 09, 2021 at 09:59:58PM +0100, Warren Parad wrote:
> 
> If we want to signal that the token should be used with mTLS and not
> without, that to me says "claim" as "*mtls: true"*. Further, Bearer says
> "use this as is, it doesn't need to be modified", the token doesn't need to
> be modified to use it with mTLS so Bearer is correct.

I can see how you might read Section 7.1 of RFC 6749 as saying that
"bearer" refers soley to "simply including the access token string in the
request".  But if you go follow the reference to RFC 6750, it's right there
in the abstract that:

   [...] Any party in
   possession of a bearer token (a "bearer") can use it to get access to
   the associated resources (without demonstrating possession of a
   cryptographic key).

I.e., if a token requires proof of possession of a cryptographic key in
order to use the token, it's not a bearer token.
So I really don't see any evidence to support a claim that the original
intent was for Bearer to be used even for PoP tokens.
That said...

> I really wish we would stop trying to create different token values for the
> part of the Authorization header string that comes before the token. Having
> DPoP token type is bothering me as well, do we need it there, probably not,
> but that's not this discussion. At this point we should consider the
> *token_type* functionality fundamentally broken, and realistically a
> vestigial piece of OAuth that neither offers value nor should be reasonably
> used for any purpose. If so desired, then let's put the mTLS signaling flag
> as a claim where anyone and everyone can see it without having to magically
> know what protocol was used to convey the HTTP message to the RS.

... this part may still be true, in practice, given the current deployed
reality.

-Ben


From nobody Sun Dec 12 03:27:03 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90FCC3A0AA7 for <oauth@ietfa.amsl.com>; Sun, 12 Dec 2021 03:27:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 B9GzCkcHTZBd for <oauth@ietfa.amsl.com>; Sun, 12 Dec 2021 03:26:55 -0800 (PST)
Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (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 9CAF93A0AA3 for <oauth@ietf.org>; Sun, 12 Dec 2021 03:26:55 -0800 (PST)
Received: by mail-yb1-xb30.google.com with SMTP id v203so31810089ybe.6 for <oauth@ietf.org>; Sun, 12 Dec 2021 03:26:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z7uTfsMUAauduQV9OFBmQUbzBM6srapdtKP5XsT79vY=; b=Syq4jeLpEm8fI+3zefWQZnKSa0DtTr9EqiBT0vuEh3+uaQEEH025pOgWocf9+TtwlI OJa578dZma+IFFpQ4YW09902Q8W2cG5TBXW0N9EM8djG2nv83jrURy7I/utaIsjU8EyK RNPSvHJO08FcDUUxzW6xlC+Jz1ghDnjmH/UP6nxyfwSrkwHPE1zWeSfRFFF3exkvzjNv D8uisyQzlfXrFQF/1cfjcb6OYztH52p84cSFMpcS2pZZSIz5nutPV8vU+sV/NvxP7x/L MiK/b6fdf0cSG39l2GnxCSGD6JByHtRAiB2e4LMggP6exLmZHil6s8A60s0l2EnHS0pg Z0jQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z7uTfsMUAauduQV9OFBmQUbzBM6srapdtKP5XsT79vY=; b=pp56hI2DYu+WInFWpAVTPEW+GNYPLvhwZIV2SelSnNutImgOvJBfYAQuEQ/2a6Nts5 dC8QxHYNo9js1nxVzqBWH7SEhuX8SYFVNg8rsm7s4Fyb+L4HsmV8NsD4PQ7mVLx33sIZ 00ANETBbER8xVPlMwhVuaXtl2ifoZ3YhmLeAHlXXz9n7Fawg+NJs6Spiz4ogKlK0cUpl ObiArLVnx1WVmn+B1Ac5hR3DHw/9izNYUUJsUQ2Ea++1hJpMYT8Mb2MJwsNF6zEMKH/k 1ZrVn8ymEWdmkOaEZYdgegdW3i3YgwCWj7CJ8nbpmfnUEwvbJS4HoS3Hi24HZB8d57+d ob7w==
X-Gm-Message-State: AOAM533VF62qSOpJfHyQU37bDllIWFVBEWVTK2RHI6ZwY7vKbAstsA61 zQb9Gz2O0ohWewyoabUewr48J48CX5jZFXN70OUX
X-Google-Smtp-Source: ABdhPJyLGdm0lq5HOog26BCDOLxZE0kNwyLQDAqUM/YF+784/5+jtGCmtjfPxpwt38f6VfrE3L1GyqP4jNBZu6i39XU=
X-Received: by 2002:a25:6b4a:: with SMTP id o10mr12801312ybm.660.1639308413991;  Sun, 12 Dec 2021 03:26:53 -0800 (PST)
MIME-Version: 1.0
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com> <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu> <CAJot-L2oeE-3tYVXGPEpVqJGbS+Q32Z5+37822cdVMdfmFqbHQ@mail.gmail.com> <20211212012912.GR11486@mit.edu>
In-Reply-To: <20211212012912.GR11486@mit.edu>
From: Warren Parad <wparad@rhosys.ch>
Date: Sun, 12 Dec 2021 12:26:43 +0100
Message-ID: <CAJot-L2UJ1DGO2kEokRnjv75ZopLXKfmNKBSwt-kjL3P-96hoQ@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>,  Dmitry Telegin <dmitryt@backbase.com>
Content-Type: multipart/alternative; boundary="000000000000b19bad05d2f13bf0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/u9P7DnkxrKIcb5jUZ9OGK2vsje8>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Dec 2021 11:27:01 -0000

--000000000000b19bad05d2f13bf0
Content-Type: text/plain; charset="UTF-8"

Point taken, although we can easily change the language of the original
RFC, what's more important is what we would want it to say, rather than
what it does say. I think in this case, it was an oversight to encourage
deployments to not add/require anything on top of the tokens. But now we
are in the place where we are saying, oh wait that advice was wrong,
deployments should add something on top, but here is what that is. That in
this instance should be the new recommendation.

If there is some technical reason that would break compliant deployments to
use the Bearer with DPoP or mTLS, then the reasonable thing to do, only in
that case, would be release a generic, but consistent, token type:
Bearer_v2. But as this is a requirement provided by RS after the AS
exchange, and the client has to already know about the need before ever
calling the AS if it wants the cfn populated, there is no reason to signal
back to the client nor convey this to the RS.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Sun, Dec 12, 2021 at 2:29 AM Benjamin Kaduk <kaduk@mit.edu> wrote:

> <soapbox warning>
>
> On Thu, Dec 09, 2021 at 09:59:58PM +0100, Warren Parad wrote:
> >
> > If we want to signal that the token should be used with mTLS and not
> > without, that to me says "claim" as "*mtls: true"*. Further, Bearer says
> > "use this as is, it doesn't need to be modified", the token doesn't need
> to
> > be modified to use it with mTLS so Bearer is correct.
>
> I can see how you might read Section 7.1 of RFC 6749 as saying that
> "bearer" refers soley to "simply including the access token string in the
> request".  But if you go follow the reference to RFC 6750, it's right there
> in the abstract that:
>
>    [...] Any party in
>    possession of a bearer token (a "bearer") can use it to get access to
>    the associated resources (without demonstrating possession of a
>    cryptographic key).
>
> I.e., if a token requires proof of possession of a cryptographic key in
> order to use the token, it's not a bearer token.
> So I really don't see any evidence to support a claim that the original
> intent was for Bearer to be used even for PoP tokens.
> That said...
>
> > I really wish we would stop trying to create different token values for
> the
> > part of the Authorization header string that comes before the token.
> Having
> > DPoP token type is bothering me as well, do we need it there, probably
> not,
> > but that's not this discussion. At this point we should consider the
> > *token_type* functionality fundamentally broken, and realistically a
> > vestigial piece of OAuth that neither offers value nor should be
> reasonably
> > used for any purpose. If so desired, then let's put the mTLS signaling
> flag
> > as a claim where anyone and everyone can see it without having to
> magically
> > know what protocol was used to convey the HTTP message to the RS.
>
> ... this part may still be true, in practice, given the current deployed
> reality.
>
> -Ben
>

--000000000000b19bad05d2f13bf0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Point taken, although we can easily change the langua=
ge of the original RFC, what&#39;s more important is what we would want it =
to say, rather than what it does say. I think in this case, it was an overs=
ight to encourage deployments to not add/require anything on top of the tok=
ens. But now we are in the place where we are saying, oh wait that advice w=
as wrong, deployments should add something on top, but here is what that is=
. That in this instance should be the new recommendation.</div><div><br></d=
iv><div>If there is some technical reason that would break compliant deploy=
ments to use the Bearer with DPoP or mTLS, then the reasonable thing to do,=
 only in that case, would be release a generic, but consistent, token type:=
 Bearer_v2. But as this is a requirement provided by RS after the AS exchan=
ge, and the client has to already know about the need before ever calling t=
he AS if it wants the cfn populated, there is no reason to signal back to t=
he client=C2=A0nor convey this to the RS.</div><div><br></div><div><div><di=
v dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature">=
<div dir=3D"ltr"><table style=3D"border:none;border-collapse:collapse"><col=
group><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"=
height:0pt"><td style=3D"border-left:solid #ffffff 1pt;border-right:solid #=
cccccc 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;ver=
tical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" sty=
le=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #fff=
fff 1pt;border-top:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;margin=
-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial=
;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;whit=
e-space:pre-wrap"><span style=3D"border:none;display:inline-block;overflow:=
hidden;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent.c=
om/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkP=
YdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"1=
99" height=3D"34" style=3D"margin-left:0px;margin-top:0px"></span></span></=
p></td><td style=3D"border-left:solid #cccccc 1pt;border-right:solid #fffff=
f 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff 1pt;vertical=
-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=3D=
"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #ffffff 1=
pt;border-top:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><span sty=
le=3D"font-size:11pt;font-family:Lato,sans-serif;background-color:transpare=
nt;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Par=
ad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #fff=
fff 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;marg=
in-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=
=3D"font-size:13.3333px;white-space:pre-wrap">Founder, CTO</span></font></p=
></td></tr></tbody></table><span style=3D"font-size:x-small">Secure your us=
er data with IAM authorization as a service. Implement=C2=A0</span><a href=
=3D"https://authress.io/" style=3D"font-size:x-small" target=3D"_blank">Aut=
hress</a><span style=3D"font-size:x-small">.</span><br></div></div></div><b=
r></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Sun, Dec 12, 2021 at 2:29 AM Benjamin Kaduk &lt;<a href=3D"mailt=
o:kaduk@mit.edu">kaduk@mit.edu</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">&lt;soapbox warning&gt;<br>
<br>
On Thu, Dec 09, 2021 at 09:59:58PM +0100, Warren Parad wrote:<br>
&gt; <br>
&gt; If we want to signal that the token should be used with mTLS and not<b=
r>
&gt; without, that to me says &quot;claim&quot; as &quot;*mtls: true&quot;*=
. Further, Bearer says<br>
&gt; &quot;use this as is, it doesn&#39;t need to be modified&quot;, the to=
ken doesn&#39;t need to<br>
&gt; be modified to use it with mTLS so Bearer is correct.<br>
<br>
I can see how you might read Section 7.1 of RFC 6749 as saying that<br>
&quot;bearer&quot; refers soley to &quot;simply including the access token =
string in the<br>
request&quot;.=C2=A0 But if you go follow the reference to RFC 6750, it&#39=
;s right there<br>
in the abstract that:<br>
<br>
=C2=A0 =C2=A0[...] Any party in<br>
=C2=A0 =C2=A0possession of a bearer token (a &quot;bearer&quot;) can use it=
 to get access to<br>
=C2=A0 =C2=A0the associated resources (without demonstrating possession of =
a<br>
=C2=A0 =C2=A0cryptographic key).<br>
<br>
I.e., if a token requires proof of possession of a cryptographic key in<br>
order to use the token, it&#39;s not a bearer token.<br>
So I really don&#39;t see any evidence to support a claim that the original=
<br>
intent was for Bearer to be used even for PoP tokens.<br>
That said...<br>
<br>
&gt; I really wish we would stop trying to create different token values fo=
r the<br>
&gt; part of the Authorization header string that comes before the token. H=
aving<br>
&gt; DPoP token type is bothering me as well, do we need it there, probably=
 not,<br>
&gt; but that&#39;s not this discussion. At this point we should consider t=
he<br>
&gt; *token_type* functionality fundamentally broken, and realistically a<b=
r>
&gt; vestigial piece of OAuth that neither offers value nor should be reaso=
nably<br>
&gt; used for any purpose. If so desired, then let&#39;s put the mTLS signa=
ling flag<br>
&gt; as a claim where anyone and everyone can see it without having to magi=
cally<br>
&gt; know what protocol was used to convey the HTTP message to the RS.<br>
<br>
... this part may still be true, in practice, given the current deployed<br=
>
reality.<br>
<br>
-Ben<br>
</blockquote></div>

--000000000000b19bad05d2f13bf0--


From nobody Mon Dec 13 08:38:03 2021
Return-Path: <jricher@mit.edu>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 665D03A089C for <oauth@ietfa.amsl.com>; Mon, 13 Dec 2021 08:38:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 m6qtYjF3w-XN for <oauth@ietfa.amsl.com>; Mon, 13 Dec 2021 08:37:57 -0800 (PST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 50CD73A0890 for <oauth@ietf.org>; Mon, 13 Dec 2021 08:37:57 -0800 (PST)
Received: from smtpclient.apple (static-71-174-62-56.bstnma.fios.verizon.net [71.174.62.56]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1BDGbpt7014569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Dec 2021 11:37:52 -0500
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Justin Richer <jricher@mit.edu>
In-Reply-To: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
Date: Mon, 13 Dec 2021 11:37:51 -0500
Cc: oauth <oauth@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <22638B6D-921C-49D6-87A4-378F3D0DD500@mit.edu>
References: <CE063C3C-6992-4450-8153-0778C143C7A5@aueb.gr>
To: Nikos Fotiou <fotiou@aueb.gr>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/0MqDbr-Xrv1-nGzkfWJxOJpvXsI>
Subject: Re: [OAUTH-WG] can a resource server provide indications about expected access tokens?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Dec 2021 16:38:01 -0000

Hi Nikos,

If you mean indicate to the client, then in my view, no =E2=80=94 not =
directly in a delegation protocol like OAuth, at least. The format of =
the token, and its contents, are abstracted away. As has been mentioned =
in the thread already, you can return a =E2=80=9Cscope=E2=80=9D and =
other parameters to the client to indicate what it should ask for, as =
well as =E2=80=9Cresource=E2=80=9D or even =E2=80=9Cauthorization_details=E2=
=80=9D to use RAR structures. However, there=E2=80=99s an important =
point that I see so many engineers trip over:


- Scope, resource, authorization_details (RAR), audience, etc: =
parameters that the client uses to describe what it wants in a request. =
Let=E2=80=99s call this the =E2=80=9Crequest set=E2=80=9D.
- iss, sub, claims, attributes, etc: items inside a JWT access token =
(when you use that format) to tell an RS what the token=E2=80=99s good =
for. Let=E2=80=99s call this the =E2=80=9Caccess set=E2=80=9D.


The client and AS communicate using the =E2=80=9Crequest set=E2=80=9D, =
while the AS and RS communicate in the =E2=80=9Caccess set=E2=80=9D. =
It=E2=80=99s the job of the AS =E2=80=94 literally the primary function =
of the role of AS =E2=80=94 is to translate the =E2=80=9Crequest set=E2=80=
=9D into an artifact, the access token, that can be interpreted in the =
=E2=80=9Caccess set=E2=80=9D. The access token is the artifact that =
provides that abstraction to the client, and the AS is the mechanism =
through which a client=E2=80=99s understanding of what it=E2=80=99s =
asking for gets translated to what the RS actually understands.=20

What gets confusing is that sometimes these are the same in practice =E2=80=
=94 you can use =E2=80=9Cscope=E2=80=9D in both places as an abstraction =
in the access token itself. I=E2=80=99ve seen that work many times. But =
when you do that it does seem like the client is saying =E2=80=9Cput the =
following things inside the access token=E2=80=9D, when what=E2=80=99s =
really happening is the client is saying =E2=80=9CI want access to the =
following things=E2=80=9D and the AS is taking that list and saying =
=E2=80=9Cthat means these other things are what go in the access =
token=E2=80=9D.

The entire purpose of a delegation protocol is that translation from =
=E2=80=9Crequest set=E2=80=9D to =E2=80=9Caccess set=E2=80=9D semantics. =
Trying to skip that gets you out of delegation protocol territory pretty =
quickly.

 =E2=80=94 Justin



> On Dec 11, 2021, at 5:35 AM, Nikos Fotiou <fotiou@aueb.gr> wrote:
>=20
> Hi,
>=20
> I have a use case where a resource server is protected  and can only =
be accessed if a JWT is presented. Is there any way for the server to =
"indicate" the "expected" format of the JWT. For example,  respond to =
unauthorized requests with something that would be translated into "I =
expect tokens form iss X with claims [A,B,C]"
>=20
> Best,
> Nikos
>=20
> --
> Nikos Fotiou - http://pages.cs.aueb.gr/~fotiou
> Researcher - Mobile Multimedia Laboratory
> Athens University of Economics and Business
> https://mm.aueb.gr
>=20
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


From nobody Mon Dec 13 19:39:45 2021
Return-Path: <sk21renee376@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59AAE3A0E55 for <oauth@ietfa.amsl.com>; Mon, 13 Dec 2021 19:39:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Jo92KUeZiXIQ for <oauth@ietfa.amsl.com>; Mon, 13 Dec 2021 19:39:43 -0800 (PST)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 2C90D3A0E54 for <oauth@ietf.org>; Mon, 13 Dec 2021 19:39:43 -0800 (PST)
Received: by mail-ed1-x52a.google.com with SMTP id x15so59578791edv.1 for <oauth@ietf.org>; Mon, 13 Dec 2021 19:39:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:from:date:message-id:subject:to; bh=M5PbKL3SyhTx9IY5rylhFSPDyaOUVI5xC0gyTwRUHD8=; b=dcZkuUlLV2Kq4CiA5vV6JcWznF84JQa2wqHlKGWp1SriAuV9EYJu3QZAl55c3zYkeg stRvfCkSlTywTMXhQvgZ+3T35KfOlD9mGIk+sHT+BL/Vi8vm4LdSZctgaj7YFpm3+bBn ARzVok2o0gyfRM7sDgMTQ4SC08qau0o+PVn03v2QWQutozDrkg+VSbyeRTSJEGy8boH0 4JP52BI/WUulYXZ45L1kcTfJ5lG85lla+oauy2odPQRIUx7u6kFHM9sbObq2Ir/iQjwF 46Cl5PdSQh2DRaK73kJp62IRGa4BmwfwLKtP+YvmC+P6gTPdh+E38AaZTdc1lBtvydcI UnoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M5PbKL3SyhTx9IY5rylhFSPDyaOUVI5xC0gyTwRUHD8=; b=3sdSJeuGzpYUmZiLWrEKu8eLj3zqgKQIgvCYm81XI1Vp52+kzegmRrnjCDOMFxZv9M Y5SN/DwzMYN4us2lvmsD0dTVJ8lCFkU5eJVUVxNf5naiL8oIckv0s15ToekjyN7Ly2yp V+j/yh0qYxyf6w5CHXMfqo2+iT2W4VWbcRsUC73+VvpQob1o4t5qbzxoLdEo1V+OLa4t kLNAay7mV+4vV5pvo4POdOu9KLRbsr6AOgtMw98vZHRAlCj3I8vqULWM/tPwhypn3XXy 3TsnvlG3I9Zn11M4fFeh1SXCRxxYs3C3OjqS2DZOHEkQT7yTeuyHs2txZf99BeCK4ybq NasA==
X-Gm-Message-State: AOAM532G1mejDT1V1HP9v/v6TrI5hx/4ffOkWS+hpLBbf5l2YUdL0T+E QxR+KyGOC8K2NY6zqx51MvaJpAq6X6Si+IGFsieUmF6cThI=
X-Google-Smtp-Source: ABdhPJw7EW124vYc318nDooy6aQhGVDS+sO2zlmvX07piD5Q+vKmMABBdQ94nkW7DiLtJTp0v3wKXG8rw3doyovSR/Q=
X-Received: by 2002:a05:6402:35ce:: with SMTP id z14mr4173200edc.197.1639453179598;  Mon, 13 Dec 2021 19:39:39 -0800 (PST)
MIME-Version: 1.0
From: Scarlett Kelley <sk21renee376@gmail.com>
Date: Mon, 13 Dec 2021 21:39:29 -0600
Message-ID: <CAKg32J5FhEo79=pE2xhKJNQAe7bYdMyFjQjHVsCzWkVpi7qPSg@mail.gmail.com>
To: oauth@ietf.org
Content-Type: multipart/alternative; boundary="000000000000655a6705d312f058"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/U0VLy7AfNc-WQspgb69BQTv_ntw>
Subject: [OAUTH-WG] My oauth submission
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Dec 2021 03:39:45 -0000

--000000000000655a6705d312f058
Content-Type: text/plain; charset="UTF-8"

-- 
Scarlett Renee Kelley

--000000000000655a6705d312f058
Content-Type: text/html; charset="UTF-8"

-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Scarlett Renee Kelley </div>

--000000000000655a6705d312f058--


From nobody Wed Dec 15 11:15:58 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B84713A00E0 for <oauth@ietfa.amsl.com>; Wed, 15 Dec 2021 11:15:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rhosys.ch
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 r28CLK8J3may for <oauth@ietfa.amsl.com>; Wed, 15 Dec 2021 11:15:47 -0800 (PST)
Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 B7DC43A00E9 for <oauth@ietf.org>; Wed, 15 Dec 2021 11:15:37 -0800 (PST)
Received: by mail-yb1-xb34.google.com with SMTP id v64so57985586ybi.5 for <oauth@ietf.org>; Wed, 15 Dec 2021 11:15:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B2F2RO9otizVlohAwyPDbTHjBDpE0QafDwJgNtFk820=; b=SEq4/YKa7WMw5DX3qU8pp9Og47Dn5PmF7LP0kGiPDhG537v3zn9WwzDFuQ/MPuzI2a jPZaILHgpA7pHaTAEG8/MzJPUJ8ECkaD3/W0UoCV7UDbJp5uHVUe2bEBCd17A1Jie+CP CEDPvpYfLqZ1V6nuiR4NkwMI3/w9+u0k8KyK3W1g00nGhl4m4+XQDY8sfFC64ThVRVB2 4dlO+nrfB71AWl1f34oAwbBpmpWgpO8pg0gdWG18oQrZWXuNytueEca0dDHqI8xJjlyB LjO6W+V9qGlF9uX1hh6r7V7/axGFZvxTLAJEXAj/nYkkh/00wXIUCL/HN1SqGbyl8mhT pVlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B2F2RO9otizVlohAwyPDbTHjBDpE0QafDwJgNtFk820=; b=lj5zogEB4IJ+bgzR+GeJz+BMBX4jmr9xKAtY89Py9QFUnweXZF5CX0g+b3uPK6QSwv X6Hwx6sh8tmw2nJIDWBP5ihWxsdnc1EbSDStZnh5pYNvF2FmgvkDgjBauB+k2Mqwhnlc 2puBG9/2w/JK/yBKc24rSZ52UaMzL63J05PfMamyx0uQsokAfVrqf6JZbHjMae+k8K3g DJICbTvoeD4VwO0F9a79WMNAVFBlr9egWCmtW1NR5h35iv8Hovbyeg2k90xHqu8E1Lr9 MHyR/KEsRMmcW5IYH/OuWrx/gl8Htwi4e5By8Diki61f/Yq534CP8sg9QW6CpRvJJier 1LcA==
X-Gm-Message-State: AOAM5328IzZGuufsAEitNVsKpsOc/WrdYh7I9CPQiVw2c8+iOiWS18hT PW+j/RIF8tw9rNG0ePcGn/hwZse1eBTrvgS3QV/R
X-Google-Smtp-Source: ABdhPJyNW+Gspg+N7kBFSBHkeTTyCDWcOG/wLTafXcNpNEuv9RbKI4vCQKF/oM2h9lsjSEcNx5LxiRyAtaD64bYxKCo=
X-Received: by 2002:a25:6b4a:: with SMTP id o10mr7594723ybm.660.1639595734891;  Wed, 15 Dec 2021 11:15:34 -0800 (PST)
MIME-Version: 1.0
References: <PH0PR00MB09979174CD87DF0DB226D334F5679@PH0PR00MB0997.namprd00.prod.outlook.com> <DBABEEFF-3FD5-4048-A90A-C16D0E695E07@forgerock.com> <CAGBSGjr8WE2i3wDe_fQmoBbhwWBPwouJViNGSyBjRh4hR4pCZQ@mail.gmail.com> <AM7PR83MB0452688B1FCB18070639291F91689@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L3Gf0Ok1AoQAAgaG_G4QQxa5CrKh+N-HVZwRQDJtdc2+w@mail.gmail.com> <AM7PR83MB0452184E6C67477BF073FB6591699@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L0-RzkZ3uXc+=ARTWtpFLH3EpLF1mv0d0k8ogq7fOzw_A@mail.gmail.com> <CAGBSGjqo+HfJFyCiwcVji3WJ+Bphn-4LA+7Dce57OuM3y=dy2Q@mail.gmail.com> <CO1PR00MB0996290BF6F4B1CDBE5704A4F5699@CO1PR00MB0996.namprd00.prod.outlook.com> <CAJot-L15CAVNHVq5A9r+6JYXV80071hOZVZZUuV4vca-bhU2yA@mail.gmail.com> <CAJot-L10T-ihs-b5yu0-=9i7LEFME+05enpNYE-eJRZJ5UWN-g@mail.gmail.com> <CA+k3eCQimdMmQYBtJPooN9NjbtXOKUxyVY0AJPb-b2NzeLcodA@mail.gmail.com> <CAJot-L0uHRS9TABXLvUK5tEoko+oquuyd-D6i==oBkhFQLFiJg@mail.gmail.com> <SJ0PR00MB13204028BD9602C10E3ECEC3D3729@SJ0PR00MB1320.namprd00.prod.outlook.com>
In-Reply-To: <SJ0PR00MB13204028BD9602C10E3ECEC3D3729@SJ0PR00MB1320.namprd00.prod.outlook.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Wed, 15 Dec 2021 20:15:23 +0100
Message-ID: <CAJot-L3Ln9kdiruAQk1LvywihZ63k2kkj3oGqvw64fVAMj3_Pg@mail.gmail.com>
To: Will Bartlett <wibartle=40microsoft.com@dmarc.ietf.org>
Cc: Brian Campbell <bcampbell@pingidentity.com>, "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005a93fa05d3342150"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/aUVhvoy7kmIPSAo1DKVwkwwxvWg>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request Parameter
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Dec 2021 19:15:54 -0000

--0000000000005a93fa05d3342150
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Now it seems we have two different conversations:
(1) Is it possible to prevent malicious extensions without preregistration
(or manual intervention)
(2) Is it possible to actually prevent auth code reused in a distributed
system

For (1), it seems like the suggestion is that the *request (uri)* parameter
helps to evade MITM attacks on DPoP, if anything it just delegates the
exact same problem to another vulnerable location, and hopes that it gets
solved. If I'm missing something, I would appreciate a concrete explanation
here, I want to understand that we aren't just pushing the issue somewhere
else. Furthermore, I think we have to assume preregistration is not
possible, not because it isn't doable, but because it would undermine a
core amount of value provided by allowing unregistered jwks, and we should
seek to ensure that AS always work with unregistered jwks, which means
likely never encouraging way to register them out of band.

(2) Is really interesting, when you put it like that, instead of "it is
difficult", but really "it is impossible", then that is the first time we
actually open up the discussion in a productive way. So I want to really
thank you for suggesting the challenge here in a transparent way. Having
thought about it for the last four days, I'm starting to agree with that
sentiment, *there is no way to build a reliable single-use auth code in a
distributed system*. (without of course requiring the auth code to be
returned the AS shard that created it, if the client calls the same shard,
then we have a solution, but I'll grant that ensuring repeat communication
with the same AS shard to be challenging enough to warrant avoiding the
architecture.)

I also really like the idea of binding cryptographic material to every
possible step of the authorization pipeline. But the key word here is
possible. Passing the dpop_jwk isn't possible in every scenario. I want to
point out that scenarios involving only a SPA does this work. For scenarios
involving more than one entity in the exchange, e.g. those with
confidential clients, we must not require passing the dpop_jwk as the
user-agent will not by default nor should not know about the dpop keys that
are associated with the confidential client. Requiring this, circumvents
PARs originating from these clients, and should instead be part of the PAR
and NOT part of the authorization url.

For this reason, dpop security is at the decision of the client not the AS,
and as such (assuming dpop_jwk is the correct parameter) dpop_jwk should be
optional by decision of the client, and the AS must handle situations both
where it is provided and where it isn't. For me the language here is *the
dpop_jwk MUST NOT be required by AS...*, and must handle dpop scenarios
where the DPOP signature is provided during a later code exchange step or
earlier in the PAR. Which means the AS must accept the jwk as optional at
every step, PAR, authorization url, and during the auth code exchange. We
can encourage earlier usage, but we should not require it, let this be a
security consideration for clients. For confidential clients, since the
client secret is already required there should be no vulnerability in the
client sending the dpop_jwk during code exchange.

On to the parameter, I really dislike *dpop_jwk* as an authorization
parameter additionally for the following reasons:
* it's coupled to DPoP
* it's a single string property
* it has coupled semantics about how it must be used (i.e. this is a jwk)
That means it does not support the following:
* need for multiple jwks
* other cryptographic material based signatures that have cnf needs
* consistency with the rest of how DPoP is used, in this case we use a
fingerprint of the JWK rather than the DPoP signature, but every other step
in all of DPoP requires a signature.

At the very least we should call this *cnf_list* allowing for a list of JWK
thumbprints, or any other kind of thumbprint as necessary. I'm not saying
this is a good solution, but it is certainly better than a single property
called *dpop_jwk*.

Here's something: Moving the introduction of the jwk to the authorization
or PAR actually enables us to ignore needing the DPOP signature at any
stage for interactions with the AS. This is awesome. I'll repeat. The AS
never needs to care about DPoP because the tokens generated are bound to
the client's DPoP key jwk thumbprint and so even if you give the access
token to a malicious actor, they can't do anything with it. Removing the
need for the AS to care about DPoP in any way is a huge win.

I'm sure I missed a critical part of this somewhere, so I would appreciate
any insight others have.

- Warren

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Sat, Dec 11, 2021 at 2:51 AM Will Bartlett <wibartle=3D
40microsoft.com@dmarc.ietf.org> wrote:

> Hi folks,
>
> I'm a colleague of Pieter and Mike, working directly on the service code.
> I wanted to chime in with a few comments on the thread, related to a few =
of
> the responses on this thread. In particular, I'll mention a) mobile
> landscape b) Aaron's proposed threat c) pre-registered keys d)
> authorization code re-use.
>
>
>
> One general comment is a short summary of the mobile authentication
> landscape. Mobile apps increasingly authenticate in OS-provided web views
> with shared state, e.g. Apple's WKWebView. Here then:
>
> 1. The user opens an application
>
> 2. The application uses WKWebView to open a operation system web view wit=
h
> https://oauth.example/authorize?response_type=3Dcode&...
>
> 3. The user authenticates (or get single-signed on) from the system web
> view and the web view returns an authorization code to the application
>
> 4. The application exchanges the authorization code for access and refres=
h
> tokens https://oauth.example/token
>
> With DPoP with the propose dpop_jkt extension, there is another step to
> generate a key in the OS keychain between 1 and 2, and a DPoP signature
> added in 4. I think there's something very valuable in being able to say
> that **all tokens** (AC, RT, AT) that appear in the process=E2=80=99s mem=
ory space
> are bound up to the security level of the operation system's keychain. Su=
ch
> a guarantee completely removes entire classes of threats - e.g. what if t=
he
> crash dumps are sent to a OS-company / phone-manufacturer / IT department
> web server whenever the application crashes? Not a problem - the tokens a=
re
> all bound.
>
>
>
> Aaron mentioned another threat (manipulating URL creation using a browser
> extension) focused at the beginning of the flow. This analysis all sounds
> right to me. However, I'd comment that there are already a few mechanisms
> for protecting the beginning of the flow from a few different attacks. In
> addition to the threat Aaron describes, I also want to consider the "roug=
e
> CA" threat - e.g. an attacker compromises the corporate CA and modifies
> requests (substituting the attacker's DPoP key). In standards space, ther=
e
> are two solutions for these types of threats already. OpenID Connect (
> https://openid.net/specs/openid-connect-core-1_0.html) describes a
> solution for signed requests (using the "request" parameter) that would
> protect from either the rouge CA or malicious browser extension - though
> unfortunately, for DPoP keys, this really only works for confidential
> clients. And then web standards like the deprecated HPKP (
> https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning) would mitigate the
> rouge CA threat. Outside of standards space, I'm aware of proprietary
> solutions with similar goals (the Windows PRT protocol, which puts
> authorization parameters in a signed request on the token endpoint - see
> https://docs.microsoft.com/en-us/azure/active-directory/devices/concept-p=
rimary-refresh-token
> for an overview or
> https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-oapxbc/de=
22df0b-1b5b-4544-8154-41eb2a4453ea
> for the specific request message that might contain dpop_jkt). I think of
> dpop_jkt _not_ as a protection for the beginning of the flow, but rather =
as
> "glue" to connect _whatever_ protection at the beginning of the flow with
> the DPoP protection at the end of the flow. We're still interested in doi=
ng
> more to protect the beginning of the flow - but probably not in the conte=
xt
> of DPoP - but we think it makes sense to standardize this connecting piec=
e
> in DPoP.
>
>
>
> A few folks (Warren) mentioned pre-registered keys. That's part of this,
> of course. For me, one of the underlying assumptions is that keys would b=
e
> stored in a "strong" context. This could be an OS context, or an
> priviledged application (like sshagent). For lowest common denominator
> scenarios, these keys might simply be stored in an anonymous device's OS
> software keychain. But, for more complex scenarios, like employees of hig=
h
> security businesses (e.g. banks), these keys might be stored e.g. on thei=
r
> smartcard. One of the virtues of DPoP is that it's not concerned with the
> specifics of keys - as long as it can be represented as a JWK, a software
> key and a smartcard key are treated the same. The way we've been thinking
> about keys at Microsoft, users will mostly end up in a few different
> buckets. At one extreme, users whose employers own their devices and
> configure maximum management will probably require full pre-registered
> keys, kept in hardware. But in other case, users will have anonymous keys
> representing their full devices, and will grant trust to new keys
> representing applications on that device by signing the new keys with the
> old keys. These device keys are not really "pre-registered" - they aren't
> stored in any database - rather, they are stored in the "device token" (a
> Microsoft device token is a refresh-token-like artifact somewhat akin to
> the device_secret in
> https://openid.net/specs/openid-connect-native-sso-1_0.html, but with PoP
> binding). Given a method of signing authorization requests (as appears in
> OpenID Connect and Microsoft proprietary protocols), including a
> representation of the new key in the authorization request (in the form o=
f
> dpop_jkt) formalizes this "chaining" pattern - signing the new keys with
> the old keys - which provides security similar to pre-registration withou=
t
> some of the normal concerns associated with registration.
>
>
>
> I do also see Warren's comment on authorization code re-use - "disallowin=
g
> multi-use auth codes resolves the exfiltration attack." I think this is
> where the theory and the practice disagree a bit. In practice, disallowin=
g
> multi-use of authorization codes is quite difficult. As a first attempt,
> OAuth implementations generally time limit the authorization codes (e.g. =
to
> 5 minutes). But this still permits some re-use. Next, implementations wri=
te
> a time-bound log of recently redeemed authorization codes, and check the
> log on each authorization code redemption. This solves the re-use issue, =
to
> the next order of magnitude, but produces a reliability drop - clients th=
at
> retry because the response was lost now see failures, and a global databa=
se
> of recently used authorization codes has been introduced to the service
> picture, a global database which has to handle the realities of CAP (
> https://en.wikipedia.org/wiki/CAP_theorem) - in an incident, such a
> global database either permits multi-use from different geographic
> locations (inconsistent), or becomes unavailable. Moreover, while the
> re-use problem is solved to another order of magnitude, it's not actually
> totally solved - e.g. the service has an L7 router, and when requests fai=
l
> between the L7 router and the application component, the authorization
> codes are logged by the L7 router. Or, the user might be using a VPN, and
> the code gets to the VPN, but not to the OAuth service =E2=80=93 is such =
a code
> =E2=80=9Cused=E2=80=9D =E2=80=93 it=E2=80=99s possible sitting in a VPN l=
og somewhere, but it=E2=80=99s definitely
> not sitting in the OAuth provider=E2=80=99s log of recently used authoriz=
ation
> codes. Or, the SQL implementation has an erratta that says it is only
> atomic reliable on ext4 filesystems, but due to a misconfiguration, it
> ended up running on an xyz filesystem. This is all to say - discouraging
> authorization code re-use is fine. DISALLOWING authorization code re-use =
is
> a non-trivial engineering problem, which lends itself first to 98%
> implementations, then to 99.9% implementations, and then to 99.999%
> implementations - but it never seems to reach a 100% protection. Removing
> this enormous "black hole" of implementation details and complexity from
> the security analysis and being able to sit back and simply say "it doesn=
't
> matter for security if these code are one-time use or not" (but they are)
> is IMHO very valuable. We know that there are motivated attackers out the=
re
> seeking to exploit short lived tokens, particularly those they can obtain
> by en-mass live data collection, such as through browser extensions. I'd
> hasten to add - this is all defense in depth - having already built and
> operationalized such invalidation databases for its authorization codes,
> Microsoft is not going to get rid of it. But when security minded
> individuals ask us questions like "If I send the authorization code to
> /token, but I don't get a response, or I get an invalid (5xx /
> server_error) response, should I assume it is used or unused or
> unknown-state? If unknown-state, should I send it to some /mark-used-code
> endpoint so that it's definitely marked as used?" I'd like to be able to
> tell them to just use DPoP and not worry about one time codes so much.
>
>
>
> Thanks for reading, and I'll try to respond to any follow ups on these
> topics,
>
> Will
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of * Warren Parad
> *Sent:* Saturday, December 4, 2021 4:46 AM
> *To:* Brian Campbell <bcampbell=3D40pingidentity.com@dmarc.ietf.org>
> *Cc:* oauth@ietf.org
> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
> Parameter
>
>
>
> I'm still struggling to see how this prevents the compromised extension
> attack we are considering though. As far as I can tell the only way to
> avoid it is to guarantee the auth flow is for a trusted authority to
> approve the auth code exchange. We just need the user-agent to get involv=
ed
> and intercept the authorization response and handle the auth code exchang=
e
> before ever passing the auth code through possibly untrusted malicious
> executors. This leaves us back with the browser removing dangerous APIs o=
r
> explicitly doing the auth code exchange, which would be a larger hurdle t=
o
> cross.
>
>
>
> For the log file exfiltration of the auth code and PKCE, I would actually
> like to understand more about the nature of code reuse in this situation.
> Perhaps it is just a matter of better handling in these cases, and
> disallowing code reuse explicitly for public clients. Even if we believe
> code reuse has to happen for confidential ones, must it also happen for
> public clients? If we could prove that there exists a solution for public
> clients or a lack of a need, then disallowing multi-use auth codes resolv=
es
> the exfiltration attack.
>
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>
> .
>
>
>
>
>
> On Fri, Dec 3, 2021 at 11:12 PM Brian Campbell <bcampbell=3D
> 40pingidentity.com@dmarc.ietf.org> wrote:
>
> I can't help but wonder if defining this E2E binding allowance as a
> composite s256 + dpop_jkt PKCE method might be worth (re)considering here=
?
> As a PCKE method it'd be decoupled from the main flow and could be used i=
n
> a more targeted way for situations that call for it while not imposing th=
e
> extra cost/complexity on situations that don't need it.
>
>
>
> On Fri, Dec 3, 2021 at 9:23 AM Warren Parad <wparad=3D
> 40rhosys.ch@dmarc.ietf.org> wrote:
>
> I think the allowed keys would have to be pre-registered in the AS.
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>
> .
>
>
>
>
>
> On Fri, Dec 3, 2021 at 5:01 PM Warren Parad <wparad@rhosys.ch> wrote:
>
> While I agree this is a problem, adding the thumbprint to the
> authorization request only increases the difficulty for the malicious MIT=
M
> attack to need to also intercept the authorization request in addition to
> the token request to swap out the dpop_jkt as well. If I'm right, then it
> doesn't make sense to implement this as the solution.
>
>
>
> While I agree, we could move the dpop_jwk determination to the
> authorization request, instead of the token, it doesn't solve the problem=
.
> What it does say is that the authorization request user-agent is the one
> that has the key, and not the one doing the code exchange. Well this is
> actually weird in the case of non-public clients, because it doesn't make
> sense from that client perspective, as the "front-end" would need to now
> have the constructed dpop_jkt even though it doesn't have the dpop key.
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>
> .
>
>
>
>
>
> On Fri, Dec 3, 2021 at 12:22 AM Mike Jones <Michael.Jones=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Thanks for this thoughtful analysis, Aaron.  I believe you=E2=80=99re spo=
t on that
> these attacks can occur =E2=80=9Cwhen the attacker has access to both the
> authorization code as well as the PKCE code verifier.=E2=80=9D
>
>
>
>                                                        -- Mike
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
> *Sent:* Thursday, December 2, 2021 2:58 PM
> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
> *Cc:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org=
>;
> oauth@ietf.org
> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
> Parameter
>
>
>
> Hi all, I've been giving this some more thought.
>
>
>
> The problem occurs when the attacker has access to both the authorization
> code as well as the PKCE code verifier. The assumption being made with PK=
CE
> is that the first time the PKCE code verifier and authorization code are
> seen together is in the POST request to the token endpoint. That means if
> there is a way to observe this request, the attacker can complete the
> exchange and get an access token.
>
>
>
> Pieter's writeup in the PDF describes one way that can happen, by
> exfiltrating log files. While I still agree with the sentiment in this
> thread that this is a relatively obscure condition, I also agree that it =
is
> actually something that can happen in the wild, especially since there ar=
e
> entire companies built around the idea of real-time log file analysis.
>
>
>
> That said, there are other ways an attacker could get access to these two
> pieces of information. What are the different points in a request lifecyc=
le
> that could be attacked? The beginning, the middle and the end. We've talk=
ed
> about attacking the end, which is the log file example. Attacking the
> middle involves being in the middle of the TLS connection, which we also
> know is possible with corporate network proxies and such. We haven't yet
> talked about the beginning of the request. What can observe the beginning
> of a request? Here's a concrete example:
>
>
>
> Assume the OAuth client is a single-page app in a browser. The user is
> using an ad blocker installed as a browser extension. The ad blocker can =
be
> configured to observe and block network requests before they are made. If
> the extension is configured to attack a particular OAuth server, the JS
> client would make the token request containing the authorization code and
> PKCE code verifier, then the extension would be able to observe that
> request, block it, and ship the two values to the attacker's server where
> they can be redeemed and associated with the attacker's own DPoP key. Eve=
n
> perfectly single-use authorization codes don't help here either, because
> the original request was completely blocked.
>
>
>
> (Sidenote: To get ahead of any counterarguments here, yes, Chrome is
> eventually migrating to their new "manifest v3" which deprecates the
> webRequest API that allows this observation in favor of a different API
> that lets the browser block requests without making the actual request da=
ta
> available to the extension, which I am assuming they are doing in no smal=
l
> part because of the possibility of what I just described. It sounds like
> Mozilla is going to follow suit, but I haven't found concrete confirmatio=
n
> of that. That said, it will be a while before these changes are rolled ou=
t
> and support for the (dangerous) webRequest API is fully dropped, so this =
is
> likely going to continue to be a potential attack vector for a few years =
at
> least.)
>
>
>
> Because of the ease of deployment of a malicious browser extension, I do
> believe this is an important attack vector to consider and is worth
> solving. I am going to save any judgment on the particular dpop_jwk
> parameter proposal for a different thread, but I wanted to at least get o=
n
> the same page about the fact that this is something worth solving first.
>
>
>
> Aaron
>
>
>
>
>
> On Thu, Dec 2, 2021 at 10:38 AM Warren Parad <wparad=3D
> 40rhosys.ch@dmarc.ietf.org> wrote:
>
> The only mention of sophistication is this logical fallacy:
>
>  If this leading security company had been penetrated, it almost certainl=
y
> took an incredibly sophisticated attack.
>
>
>
> But it leaves out exactly what that was. And it doesn't give any insight
> into how this attack at MS would have been prevented despite the supply
> chain vulnerability based on the second point that Aaron made. If they ar=
e
> able to get the auth code, why aren't they able to get the DPoP signature=
?
> And then send both of these?
>
>
> Further in this case, it doesn't even matter if the attacker gets the
> access token if that access token is bound to the client, because it's
> worthless without the DPoP key. That's a much more secure solution than
> issuing non-bound Bearer tokens as a response to the bound authorization
> code. And if Bearer tokens are being used instead of bound tokens, then
> those could still end up in the logs, and be exfiltrated.
>
>
>
> In OAuth, the client already needs to authenticate with the AS, the spec
> is SHOULD, and options the client_secret already. Adding in the DPoP
> signature into the request is duplicating auth. If we don't like the clie=
nt
> auth mechanisms to the AS, we should directly provide an auth RFC
> recommending better alternatives than sending a symmetric client_secret
> back to the AS.
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>
> .
>
>
>
>
>
> On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Thanks for the comments and engagement Warren.
>
>
>
> The attacks we described and the ideas on mitigations are born out of
> attack vectors we are observing in the wild. They are not negligible. We
> are seeing a new class of very sophisticated attackers, and if you=E2=80=
=99re
> interested, this article provides good context on capability and
> sophistication of the attackers Brad Smith: Inside Microsoft during the
> SolarWinds hack (fastcompany.com)
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
fastcompany.com%2F90672384%2Fmicrosoft-president-brad-smith-solarwinds-excl=
usive&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b=
7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769411859%7CU=
nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC=
JXVCI6Mn0%3D%7C3000&sdata=3D1DvRrYin4BYn8EJ%2B41xvabgVPEiJMWyqGngkrU0MwIA%3=
D&reserved=3D0>.
> We are sharing this with the hope that the industry will benefit from our
> experiences and incorporate it into standards and products. Attacks that
> seemed impossibly complex are not only possible, but have become probable=
.
>
>
>
> The proposed changes for DPoP are not meant to replace the need for
> one-time use tokens (single use tokens are preferable and we should
> continue to expect them), but instead address the limitations around
> implementing one-time use, especially at scale. The 60s window you mentio=
n
> below is sufficiently long to be exploited by these sophisticated attacke=
rs.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Warren Parad
> *Sent:* Wednesday 1 December 2021 15:29
> *To:* Pieter Kasselman <pieter.kasselman=3D40microsoft.com@dmarc.ietf.org=
>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Request
> Parameter
>
>
>
> (e.g. one-time use in a certain timeframe etc).
>
>
>
> Sure but couldn't we just reduce the lifetime? Even if the token isn't on=
e
> time use, surely the reuse time is trivially short which would prevent
> against exfiltration of the necessary security tokens to issue the attack=
?
>
>
>
> I feel like the simpler solution will always win, which in this case is
> one-time use tokens, then the problem is moot, right? So this only comes
> into play if you want to allow token reuse in a time window. The previous=
ly
> suggested max allowed time window from OAuth 2.1 was 60s for auth codes. =
So
> we are saying that the attack surface is still too large, for the .01% of
> implementations that have multi-use tokens, and the .01% of implementatio=
ns
> that use the maximum 60s reuse, and then the subset of those that aren't
> correctly scrubing their logs, and then the subset of those that have a
> vulnerability which allows for exfiltration of both those logged tokens a=
nd
> the logged PKCE verifier?
>
>
>
> Why are we making this more complicated for a majority of cases, which:
>
>    - Only have single use tokens
>    - Or Only have a very short lifetime
>    - Or Are already correctly sanitizing their logs
>    - Or Have defense in depth for their deployments.
>
> If the implementation is so insecure that none of those are happening,
> wouldn't the implementation for this functionality also be suspect for an
> opportunity for attack?
>
>
>
> I feel like we are justifying here that multi-use tokens are wrong, but
> still want a solution to use them. Once we've proven that an deployment i=
s
> not okay with using multi-use tokens, then the conclusion should be "don'=
t
> have multi-use tokens", not: "let's still have multi-use tokens, but come
> up with a complex way to prevent their multi-use from accidentally being
> abused".
>
>
>
> Or am I missing something that would actually make this a
> non-negligible attack vector?
>
>
>
> - Warren
>
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c=
08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218776941185=
9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxb=
evXU8%3D&reserved=3D0>
> .
>
>
>
>
>
> On Wed, Dec 1, 2021 at 4:14 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Hi Aaron, Neil
>
>
>
> Thanks for the questions.
>
>
>
> We agree that ideally authorization codes and PKCE proofs would never end
> up in log files and one-time use would be perfectly implemented.
>
>
>
> However, in practice these artefacts do find their way into log files in
> various places and one-time use may not always be practical (e.g. one-tim=
e
> use in a certain timeframe etc).
>
>
>
> The addition of these mitigations is not meant to replace the need for
> one-time use or good logging hygiene. Instead they provide pragmatic
> defence in depth against real attacks rather than assuming perfect
> implementations. We are deploying these mitigations and are sharing them
> for inclusion in DPoP to enable others to do the same.
>
>
>
> Regarding the question about interrupting/intercepting the HTTPS
> connection, the attacker don=E2=80=99t need to intercept the HTTPS connec=
tion or
> modify the content in the TLS tunnel, rather they just need to prevent th=
e
> authorization code from being presented to the Authorization Server. It m=
ay
> even happen due to a poor network connection. The poor connection may be
> engineered by an attacker, or they may opportunistically benefit from it.
> The networks are not perfect either.
>
>
>
> Cheers
>
>
>
> Pieter
>
>
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Aaron Parecki
> *Sent:* Wednesday 1 December 2021 00:05
> *To:* Neil Madden <neil.madden@forgerock.com>
> *Cc:* Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>;
> oauth@ietf.org
> *Subject:* [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request
> Parameter
>
>
>
> I tend to agree with Neil here. I'm struggling to see the relevance of
> this attack.
>
>
>
> It seems like the PDF writeup describes two possible reasons an attacker
> could get access to the authorization code and PKCE code verifier.
>
>
>
> 1. The attacker has access to the logs of the token endpoint.
>
> 2. The attacker can intercept HTTPS connections between the client and AS
> (VPN, corporate network proxy, etc)
>
>
>
> For 1, the solution is to stop logging the contents of the POST body, and
> secure your infrastructure. I don't think making the client jump through
> extra hoops is a good solution if you are already logging more than you
> should be or you don't trust the people who have access to the
> infrastructure. If this really is a concern, I suspect there are a lot mo=
re
> places in the flow that would need to be patched up if you don't trust yo=
ur
> own token endpoint.
>
>
>
> For 2, if the attacker can intercept the HTTPS connection, then the
> proposed solution doesn't add anything because the attacker could modify
> the requests before it hits the authorization server anyway, and change
> which DPoP key the token gets bound to in the first place. Plus, the
> attacker would also have access to anything else the client is sending to
> the AS, such as the user's password when they authenticate at the AS.
>
>
>
> Are there other attack vectors I'm missing that might actually be solved
> by this mechanism?
>
>
>
> Aaron
>
>
>
>
>
> On Tue, Nov 30, 2021 at 12:40 PM Neil Madden <neil.madden@forgerock.com>
> wrote:
>
> Sadly I couldn=E2=80=99t make the DPoP session, but I=E2=80=99m not convi=
nced the attack
> described in the earlier message really needs to be prevented at all. The
> attack largely hinges on auth codes not being one-time use, which is not =
a
> good idea, or otherwise on poor network security on the token endpoint. I=
=E2=80=99m
> not convinced DPoP needs to protect against these things. Is there more t=
o
> this?
>
>
>
> The proposed solutions also seem susceptible to the same problems they
> attempt to solve - if an attacker is somehow able to interrupt the client=
=E2=80=99s
> (TLS-protected) token request, why are they somehow not able to
> interrupt/modify the (far less protected) redirect to the authorization
> endpoint?
>
>
>
> =E2=80=94 Neil
>
>
>
> On 30 Nov 2021, at 20:15, Mike Jones <
> Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>
>
>
> As described during the OAuth Security Workshop session on DPoP, I create=
d
> a pull request adding the dpop_jkt authorization request parameter to use
> for binding the authorization code to the client=E2=80=99s DPoP key.  See
> https://github.com/danielfett/draft-dpop/pull/89
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&data=3D04%7C01%7Cwibartle%40mi=
crosoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd0=
11db47%7C1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA=
wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D%2FmSQRy=
9yYzietR%2BExZD3%2BqxZSsY90LXQYm0obJ3GO9s%3D&reserved=3D0>
> .
>
>
>
> This is an alternative to https://github.com/danielfett/draft-dpop/pull/8=
6
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgith=
ub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&data=3D04%7C01%7Cwibartle%40mi=
crosoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd0=
11db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA=
wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Do0N2Wr%2=
B7oVRAjWyFq7HHRQQx7nIHq2mtywBDNUB3JSM%3D&reserved=3D0>,
> which achieved this binding using a new DPoP PKCE method.  Using this
> alternative allows PKCE implementations to be unmodified, while adding DP=
oP
> in new code, which may be an advantage in some deployments.
>
>
>
> Please review and comment.  Note that I plan to add more of the attack
> description written by Pieter Kasselman to the security considerations in=
 a
> future commit.  This attack description was sent by Pieter yesterday in a
> message with the subject =E2=80=9CAuthorization Code Log File Attack (was=
 DPoP
> Interim Meeting Minutes)=E2=80=9D.
>
>
>
>                                                        -- Mike
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cwibartle%40microsoft=
.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%=
7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fq=
s0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&reserved=3D0>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cwibartle%40microsoft=
.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%=
7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fq=
s0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cwibartle%40microsoft=
.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%=
7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fq=
s0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cwibartle%40microsoft=
.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%=
7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fq=
s0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cwibartle%40microsoft=
.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%=
7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fq=
s0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cwibartle%40microsoft=
.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%=
7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DlhnP5t%2B%2B4fq=
s0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&reserved=3D0>
>
>
> *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 sende=
r
> immediately by e-mail and delete the message and any file attachments fro=
m
> your computer. Thank you.*
>
>

--0000000000005a93fa05d3342150
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Now it seems we have two different c=
onversations:</div><div>(1) Is it possible to prevent malicious extensions =
without preregistration (or manual intervention)</div><div>(2) Is it possib=
le to actually prevent auth code reused in a distributed system</div><div><=
br></div><div>For (1), it seems like the suggestion is that the=C2=A0<i>req=
uest (uri)</i>=C2=A0parameter helps to evade MITM attacks on DPoP, if anyth=
ing it just delegates the exact same problem to another vulnerable location=
, and hopes that it gets solved. If I&#39;m missing something, I would appr=
eciate a concrete explanation here, I want to understand that we aren&#39;t=
 just pushing the issue somewhere else. Furthermore, I think we have to ass=
ume=C2=A0preregistration is not possible, not because it isn&#39;t doable, =
but because it would undermine a core amount of value provided by allowing =
unregistered jwks, and we should seek to ensure that AS always work with un=
registered jwks, which means likely never encouraging way to register them =
out of band.<br></div><div><br></div><div>(2) Is really interesting, when y=
ou put it like that, instead of &quot;it is difficult&quot;, but really &qu=
ot;it is impossible&quot;, then that is the first time we actually open up =
the discussion in a productive way. So I want to really thank you for sugge=
sting the challenge here in a transparent way. Having thought about it for =
the last four days, I&#39;m starting to agree with that sentiment, <b>there=
 is no way to build a reliable single-use auth code in a distributed system=
</b>. (without of course requiring the auth code to be returned the AS shar=
d that created it, if the client calls the same shard, then we have a solut=
ion, but I&#39;ll grant that ensuring repeat communication with the same AS=
 shard to be challenging enough to warrant avoiding the architecture.)</div=
><div><br></div><div>I also really like the idea of=C2=A0binding cryptograp=
hic material to every possible step of the authorization pipeline. But the =
key word here is possible. Passing the dpop_jwk isn&#39;t possible in every=
 scenario. I want to point out that scenarios involving only a SPA does thi=
s work. For scenarios involving more than one entity in the exchange, e.g. =
those with confidential clients, we must not require passing the dpop_jwk a=
s the user-agent will not by default nor should not know about the dpop key=
s that are associated with the confidential client. Requiring this, circumv=
ents PARs originating from these clients, and should instead be part of the=
 PAR and NOT part of the authorization url.</div><div><br></div><div>For th=
is reason, dpop security is at the decision of the client not the AS, and a=
s such (assuming dpop_jwk is the correct parameter) dpop_jwk should be opti=
onal by decision of the client, and the AS must handle situations both wher=
e it is provided and where it isn&#39;t. For me the language here is <b>the=
 dpop_jwk MUST NOT be required by AS...</b>, and must handle dpop scenarios=
 where the DPOP signature=C2=A0is provided during a later code exchange ste=
p or earlier in the PAR. Which means the AS must accept the jwk as optional=
 at every step, PAR, authorization url, and during the auth code exchange. =
We can encourage earlier usage, but we should not require it, let this be a=
 security consideration for clients. For confidential clients, since the cl=
ient secret is already required there should be no vulnerability in the cli=
ent sending the dpop_jwk during code exchange.</div><div><br></div><div>On =
to the parameter, I really dislike <b>dpop_jwk</b>=C2=A0as an authorization=
 parameter additionally for the following reasons:</div><div>* it&#39;s cou=
pled to DPoP</div><div>* it&#39;s a single string property</div><div>* it h=
as coupled semantics about how it must be used (i.e. this is a jwk)</div><d=
iv>That means it does not support the following:</div><div>* need for multi=
ple jwks</div><div>* other cryptographic material based signatures that hav=
e cnf needs</div><div>* consistency with the rest of how DPoP is used, in t=
his case we use a fingerprint of the JWK rather than the DPoP signature, bu=
t every other step in all of DPoP requires a signature.</div><div><br></div=
><div>At the very least we should call this <b>cnf_list</b><b>=C2=A0</b>all=
owing for a list of JWK thumbprints, or any other kind of thumbprint as nec=
essary. I&#39;m not saying this is a good solution, but it is certainly bet=
ter than a single property called <b>dpop_jwk</b>.</div><div><br></div><div=
>Here&#39;s something: Moving the introduction of the jwk to the authorizat=
ion or PAR actually enables us to ignore needing the DPOP signature at any =
stage for interactions with the AS. This is awesome. I&#39;ll repeat. The A=
S never needs to care about DPoP because the tokens generated are bound to =
the client&#39;s DPoP key jwk thumbprint and so even if you give the access=
 token to a malicious actor, they can&#39;t do anything with it. Removing t=
he need for the AS to care about DPoP in any way is a huge win.</div><div><=
br></div><div>I&#39;m sure I missed a critical part of this somewhere, so I=
 would appreciate any insight others have.</div><div><br></div><div>- Warre=
n</div></div><br clear=3D"all"><div><div dir=3D"ltr" data-smartmail=3D"gmai=
l_signature"><div dir=3D"ltr"><table style=3D"border:none;border-collapse:c=
ollapse"><colgroup><col width=3D"214"><col width=3D"110"></colgroup><tbody>=
<tr style=3D"height:0pt"><td style=3D"border-width:1pt;border-style:solid;b=
order-color:rgb(255,255,255) rgb(204,204,204) rgb(255,255,255) rgb(255,255,=
255);vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=
=3D"line-height:1.2;border-width:1pt;border-style:solid;border-color:rgb(25=
5,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;=
font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-al=
ign:baseline;white-space:pre-wrap"><span style=3D"border:none;display:inlin=
e-block;overflow:hidden;width:199px;height:34px"><img src=3D"https://lh6.go=
ogleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtr=
JSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcU=
SNtuA" width=3D"199" height=3D"34" style=3D"margin-left: 0px; margin-top: 0=
px;"></span></span></p></td><td style=3D"border-width:1pt;border-style:soli=
d;border-color:rgb(255,255,255) rgb(255,255,255) rgb(255,255,255) rgb(204,2=
04,204);vertical-align:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" styl=
e=3D"line-height:1.2;border-left:1pt solid rgb(255,255,255);border-right:1p=
t solid rgb(255,255,255);border-top:1pt solid rgb(255,255,255);margin-top:0=
pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,sans-s=
erif;background-color:transparent;font-weight:700;vertical-align:baseline;w=
hite-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-he=
ight:1.2;border-left:1pt solid rgb(255,255,255);border-right:1pt solid rgb(=
255,255,255);border-bottom:1pt solid rgb(255,255,255);margin-top:0pt;margin=
-bottom:0pt"><font face=3D"Lato, sans-serif"><span style=3D"font-size:13.33=
33px;white-space:pre-wrap">Founder, CTO</span></font></p></td></tr></tbody>=
</table><span style=3D"font-size:x-small">Secure your user data with IAM au=
thorization as a service. Implement=C2=A0</span><a href=3D"https://authress=
.io/" style=3D"font-size:x-small" target=3D"_blank">Authress</a><span style=
=3D"font-size:x-small">.</span><br></div></div></div><br></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Dec 11, 20=
21 at 2:51 AM Will Bartlett &lt;wibartle=3D<a href=3D"mailto:40microsoft.co=
m@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal">Hi folks,<u></u><u></u></p>
<p class=3D"MsoNormal">I&#39;m a colleague of Pieter and Mike, working dire=
ctly on the service code. I wanted to chime in with a few comments on the t=
hread, related to a few of the responses on this thread. In particular, I&#=
39;ll mention a) mobile landscape b) Aaron&#39;s
 proposed threat c) pre-registered keys d) authorization code re-use.<u></u=
><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">One general comment is a short summary of the mobile=
 authentication landscape. Mobile apps increasingly authenticate in OS-prov=
ided web views with shared state, e.g. Apple&#39;s WKWebView. Here then:<u>=
</u><u></u></p>
<p class=3D"MsoNormal">1. The user opens an application<u></u><u></u></p>
<p class=3D"MsoNormal">2. The application uses WKWebView to open a operatio=
n system web view with
<a href=3D"https://oauth.example/authorize?response_type=3Dcode&amp;" targe=
t=3D"_blank">https://oauth.example/authorize?response_type=3Dcode&amp;</a>.=
..<u></u><u></u></p>
<p class=3D"MsoNormal">3. The user authenticates (or get single-signed on) =
from the system web view and the web view returns an authorization code to =
the application<u></u><u></u></p>
<p class=3D"MsoNormal">4. The application exchanges the authorization code =
for access and refresh tokens
<a href=3D"https://oauth.example/token" target=3D"_blank">https://oauth.exa=
mple/token</a><u></u><u></u></p>
<p class=3D"MsoNormal">With DPoP with the propose dpop_jkt extension, there=
 is another step to generate a key in the OS keychain between 1 and 2, and =
a DPoP signature added in 4. I think there&#39;s something very valuable in=
 being able to say that **all tokens**
 (AC, RT, AT) that appear in the process=E2=80=99s memory space are bound u=
p to the security level of the operation system&#39;s keychain. Such a guar=
antee completely removes entire classes of threats - e.g. what if the crash=
 dumps are sent to a OS-company / phone-manufacturer
 / IT department web server whenever the application crashes? Not a problem=
 - the tokens are all bound.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Aaron mentioned another threat (manipulating URL cre=
ation using a browser extension) focused at the beginning of the flow. This=
 analysis all sounds right to me. However, I&#39;d comment that there are a=
lready a few mechanisms for protecting
 the beginning of the flow from a few different attacks. In addition to the=
 threat Aaron describes, I also want to consider the &quot;rouge CA&quot; t=
hreat - e.g. an attacker compromises the corporate CA and modifies requests=
 (substituting the attacker&#39;s DPoP key). In
 standards space, there are two solutions for these types of threats alread=
y. OpenID Connect (<a href=3D"https://openid.net/specs/openid-connect-core-=
1_0.html" target=3D"_blank">https://openid.net/specs/openid-connect-core-1_=
0.html</a>) describes a solution for signed requests
 (using the &quot;request&quot; parameter) that would protect from either t=
he rouge CA or malicious browser extension - though unfortunately, for DPoP=
 keys, this really only works for confidential clients. And then web standa=
rds like the deprecated HPKP (<a href=3D"https://en.wikipedia.org/wiki/HTTP=
_Public_Key_Pinning" target=3D"_blank">https://en.wikipedia.org/wiki/HTTP_P=
ublic_Key_Pinning</a>)
 would mitigate the rouge CA threat. Outside of standards space, I&#39;m aw=
are of proprietary solutions with similar goals (the Windows PRT protocol, =
which puts authorization parameters in a signed request on the token endpoi=
nt - see
<a href=3D"https://docs.microsoft.com/en-us/azure/active-directory/devices/=
concept-primary-refresh-token" target=3D"_blank">
https://docs.microsoft.com/en-us/azure/active-directory/devices/concept-pri=
mary-refresh-token</a> for an overview or
<a href=3D"https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-=
oapxbc/de22df0b-1b5b-4544-8154-41eb2a4453ea" target=3D"_blank">
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-oapxbc/de22=
df0b-1b5b-4544-8154-41eb2a4453ea</a> for the specific request message that =
might contain dpop_jkt). I think of dpop_jkt _not_ as a protection for the =
beginning of the flow, but rather
 as &quot;glue&quot; to connect _whatever_ protection at the beginning of t=
he flow with the DPoP protection at the end of the flow. We&#39;re still in=
terested in doing more to protect the beginning of the flow - but probably =
not in the context of DPoP - but we think it makes
 sense to standardize this connecting piece in DPoP. <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">A few folks (Warren) mentioned pre-registered keys. =
That&#39;s part of this, of course. For me, one of the underlying assumptio=
ns is that keys would be stored in a &quot;strong&quot; context. This could=
 be an OS context, or an priviledged application
 (like sshagent). For lowest common denominator scenarios, these keys might=
 simply be stored in an anonymous device&#39;s OS software keychain. But, f=
or more complex scenarios, like employees of high security businesses (e.g.=
 banks), these keys might be stored
 e.g. on their smartcard. One of the virtues of DPoP is that it&#39;s not c=
oncerned with the specifics of keys - as long as it can be represented as a=
 JWK, a software key and a smartcard key are treated the same. The way we&#=
39;ve been thinking about keys at Microsoft,
 users will mostly end up in a few different buckets. At one extreme, users=
 whose employers own their devices and configure maximum management will pr=
obably require full pre-registered keys, kept in hardware. But in other cas=
e, users will have anonymous keys
 representing their full devices, and will grant trust to new keys represen=
ting applications on that device by signing the new keys with the old keys.=
 These device keys are not really &quot;pre-registered&quot; - they aren&#3=
9;t stored in any database - rather, they are
 stored in the &quot;device token&quot; (a Microsoft device token is a refr=
esh-token-like artifact somewhat akin to the device_secret in
<a href=3D"https://openid.net/specs/openid-connect-native-sso-1_0.html" tar=
get=3D"_blank">https://openid.net/specs/openid-connect-native-sso-1_0.html<=
/a>, but with PoP binding). Given a method of signing authorization request=
s (as appears in OpenID Connect and Microsoft proprietary
 protocols), including a representation of the new key in the authorization=
 request (in the form of dpop_jkt) formalizes this &quot;chaining&quot; pat=
tern - signing the new keys with the old keys - which provides security sim=
ilar to pre-registration without some of the
 normal concerns associated with registration.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I do also see Warren&#39;s comment on authorization =
code re-use - &quot;disallowing multi-use auth codes resolves the exfiltrat=
ion attack.&quot; I think this is where the theory and the practice disagre=
e a bit. In practice, disallowing multi-use of authorization
 codes is quite difficult. As a first attempt, OAuth implementations genera=
lly time limit the authorization codes (e.g. to 5 minutes). But this still =
permits some re-use. Next, implementations write a time-bound log of recent=
ly redeemed authorization codes,
 and check the log on each authorization code redemption. This solves the r=
e-use issue, to the next order of magnitude, but produces a reliability dro=
p - clients that retry because the response was lost now see failures, and =
a global database of recently used
 authorization codes has been introduced to the service picture, a global d=
atabase which has to handle the realities of CAP (<a href=3D"https://en.wik=
ipedia.org/wiki/CAP_theorem" target=3D"_blank">https://en.wikipedia.org/wik=
i/CAP_theorem</a>) - in an incident, such a global database
 either permits multi-use from different geographic locations (inconsistent=
), or becomes unavailable. Moreover, while the re-use problem is solved to =
another order of magnitude, it&#39;s not actually totally solved - e.g. the=
 service has an L7 router, and when
 requests fail between the L7 router and the application component, the aut=
horization codes are logged by the L7 router. Or, the user might be using a=
 VPN, and the code gets to the VPN, but not to the OAuth service =E2=80=93 =
is such a code =E2=80=9Cused=E2=80=9D =E2=80=93 it=E2=80=99s possible sitti=
ng
 in a VPN log somewhere, but it=E2=80=99s definitely not sitting in the OAu=
th provider=E2=80=99s log of recently used authorization codes. Or, the SQL=
 implementation has an erratta that says it is only atomic reliable on ext4=
 filesystems, but due to a misconfiguration, it
 ended up running on an xyz filesystem. This is all to say - discouraging a=
uthorization code re-use is fine. DISALLOWING authorization code re-use is =
a non-trivial engineering problem, which lends itself first to 98% implemen=
tations, then to 99.9% implementations,
 and then to 99.999% implementations - but it never seems to reach a 100% p=
rotection. Removing this enormous &quot;black hole&quot; of implementation =
details and complexity from the security analysis and being able to sit bac=
k and simply say &quot;it doesn&#39;t matter for security
 if these code are one-time use or not&quot; (but they are) is IMHO very va=
luable. We know that there are motivated attackers out there seeking to exp=
loit short lived tokens, particularly those they can obtain by en-mass live=
 data collection, such as through browser
 extensions. I&#39;d hasten to add - this is all defense in depth - having =
already built and operationalized such invalidation databases for its autho=
rization codes, Microsoft is not going to get rid of it. But when security =
minded individuals ask us questions
 like &quot;If I send the authorization code to /token, but I don&#39;t get=
 a response, or I get an invalid (5xx / server_error) response, should I as=
sume it is used or unused or unknown-state? If unknown-state, should I send=
 it to some /mark-used-code endpoint so that
 it&#39;s definitely marked as used?&quot; I&#39;d like to be able to tell =
them to just use DPoP and not worry about one time codes so much.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Thanks for reading, and I&#39;ll try to respond to a=
ny follow ups on these topics,<u></u><u></u></p>
<p class=3D"MsoNormal">Will<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt; <b>On Behalf =
Of </b>
Warren Parad<br>
<b>Sent:</b> Saturday, December 4, 2021 4:46 AM<br>
<b>To:</b> Brian Campbell &lt;bcampbell=3D<a href=3D"mailto:40pingidentity.=
com@dmarc.ietf.org" target=3D"_blank">40pingidentity.com@dmarc.ietf.org</a>=
&gt;<br>
<b>Cc:</b> <a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.o=
rg</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">I&#39;m still struggling to see how this prevents th=
e compromised extension attack we are considering though. As far as I can t=
ell the only way to avoid it is to guarantee the auth flow is for a trusted=
 authority to approve the auth code exchange.
 We just need the user-agent to get involved and intercept the authorizatio=
n response and handle the auth code exchange before ever passing the auth c=
ode through possibly untrusted malicious executors. This leaves us back wit=
h the browser removing dangerous
 APIs or explicitly=C2=A0doing the auth code exchange, which would be a lar=
ger hurdle to cross.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">For the log file exfiltration of the auth code and P=
KCE, I would actually like to understand more about the nature of code reus=
e in this situation. Perhaps it is just a matter of better handling in thes=
e cases, and disallowing code reuse
 explicitly for public clients. Even if we believe code reuse has to happen=
 for confidential ones, must it also happen for public clients? If we could=
 prove that there exists a solution for public clients or a lack of a need,=
 then disallowing multi-use auth
 codes resolves the exfiltration attack.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_-7162199862529156364gmail-m_6431640240260812794_x00=
00_i1029" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxY=
uyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fY=
sNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;color:black">Secure yo=
ur user data with IAM authorization as a service. Implement=C2=A0</span><a =
href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c5=
34d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218=
7769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO=
7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"fo=
nt-size:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u>=
</u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 11:12 PM Brian Campbell &lt;b=
campbell=3D<a href=3D"mailto:40pingidentity.com@dmarc.ietf.org" target=3D"_=
blank">40pingidentity.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">I can&#39;t help but wonder if defining this E2E bin=
ding allowance as a composite s256 + dpop_jkt PKCE method might be worth (r=
e)considering here? As a PCKE method it&#39;d be decoupled from the main fl=
ow and could be used in a more targeted way
 for situations that call for it while not imposing the extra cost/complexi=
ty on situations that don&#39;t need it.
<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 9:23 AM Warren Parad &lt;wpar=
ad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhos=
ys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">I think the allowed keys would have to be pre-regist=
ered=C2=A0in the AS.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_-7162199862529156364gmail-m_6431640240260812794_x00=
00_i1028" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxY=
uyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fY=
sNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d=
9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769411859%7=
CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi=
LCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYx=
bevXU8%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:10pt=
">Authress</span></a><span style=3D"font-size:10pt">.</span><u></u><u></u><=
/p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 5:01 PM Warren Parad &lt;<a h=
ref=3D"mailto:wparad@rhosys.ch" target=3D"_blank">wparad@rhosys.ch</a>&gt; =
wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">While I agree this is a problem, adding the thumbpri=
nt to the authorization request only increases the difficulty for the malic=
ious MITM attack to need to also intercept the authorization request in add=
ition to the token request to swap
 out the dpop_jkt as well. If I&#39;m right, then it doesn&#39;t make sense=
 to implement this as the solution.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">While I agree, we could move the dpop_jwk determinat=
ion to the authorization request, instead of the token, it doesn&#39;t solv=
e the problem. What it does say is that the authorization request user-agen=
t is the one that has the key, and not
 the one doing the code exchange. Well this is actually weird in the case o=
f non-public clients, because it doesn&#39;t make sense from that client pe=
rspective, as the &quot;front-end&quot; would need to now have the construc=
ted dpop_jkt even though it doesn&#39;t have the dpop
 key.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0in"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_-7162199862529156364gmail-m_6431640240260812794_x00=
00_i1027" src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxY=
uyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fY=
sNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0in">
<p style=3D"margin:0in;border:none;padding:0in"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;color:black">Secure yo=
ur user data with IAM authorization as a service. Implement=C2=A0</span><a =
href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c5=
34d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63774218=
7769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO=
7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"fo=
nt-size:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u>=
</u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 3, 2021 at 12:22 AM Mike Jones &lt;Micha=
el.Jones=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=3D"_bla=
nk">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">Thanks for this thoughtful analysis, Aaron.=C2=A0 I =
believe you=E2=80=99re spot on that these attacks can occur =E2=80=9Cwhen t=
he attacker has access to both the authorization code as well as the PKCE
 code verifier.=E2=80=9D<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div style=3D"border-right:none currentcolor;border-bottom:none currentcolo=
r;border-left:none currentcolor;border-top:1pt solid currentcolor;padding:3=
pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Thursday, December 2, 2021 2:58 PM<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">Hi all, I&#39;ve been giving this some more thought.=
=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The problem occurs when the attacker has access to b=
oth the authorization code as well as the PKCE code verifier. The assumptio=
n being made with PKCE is that the first time the
 PKCE code verifier and authorization code are seen together is in the POST=
 request to the token endpoint. That means if there is a way to observe thi=
s request, the attacker can complete the exchange and get an access token.<=
u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pieter&#39;s writeup in the PDF describes one way th=
at can happen, by exfiltrating log files. While I still agree with the sent=
iment in this thread that this is a relatively obscure
 condition, I also agree that it is actually something that can happen in t=
he wild, especially since there are entire companies built around the idea =
of real-time log file analysis.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">That said, there are other ways an attacker could ge=
t access to these two pieces of information. What are the different points =
in a request lifecycle that could be attacked? The
 beginning, the middle and the end. We&#39;ve talked about attacking the en=
d, which is the log file example. Attacking the middle involves being in th=
e middle of the TLS connection, which we also know is possible with corpora=
te network proxies and such. We haven&#39;t
 yet talked about the beginning of the request. What can observe the beginn=
ing of a request? Here&#39;s a concrete example:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Assume the OAuth client is a single-page app in a br=
owser. The user is using an ad blocker installed as a browser extension. Th=
e ad blocker can be configured to observe and block
 network requests before they are made. If the extension is configured to a=
ttack a particular OAuth server, the JS client would make the token request=
 containing the authorization code and PKCE code verifier, then the extensi=
on would be able to observe that
 request, block it, and ship the two values to the attacker&#39;s server wh=
ere they can be redeemed and associated with the attacker&#39;s own DPoP ke=
y. Even perfectly single-use authorization codes don&#39;t help here either=
, because the original request was completely
 blocked.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">(Sidenote: To get ahead of any counterarguments=C2=
=A0here, yes, Chrome is eventually migrating to their new &quot;manifest v3=
&quot; which deprecates the webRequest API that allows this observation
 in favor of a different API that lets the browser block requests without m=
aking the actual request data available to the extension, which I am assumi=
ng they are doing in no small part because of the possibility of what I jus=
t described. It sounds like Mozilla
 is going to follow suit, but I haven&#39;t found concrete confirmation of =
that. That said, it will be a while before these changes are rolled out and=
 support for the (dangerous) webRequest API is fully dropped, so this is li=
kely going to continue to be a potential
 attack vector for a few years at least.)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Because of the ease of deployment of a malicious bro=
wser extension, I do believe this is an important attack vector to consider=
 and is worth solving. I am going to save any judgment
 on the particular dpop_jwk parameter proposal for a different thread, but =
I wanted to at least get on the same page about the fact that this is somet=
hing worth solving first.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Aaron<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 10:38 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none currentcolor;border-right:none current=
color;border-bottom:none currentcolor;border-left:1pt solid rgb(204,204,204=
);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">The only mention of sophistication is this logical f=
allacy:<u></u><u></u></p>
<blockquote style=3D"border-top:none currentcolor;border-right:none current=
color;border-bottom:none currentcolor;border-left:1pt solid rgb(204,204,204=
);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<p class=3D"MsoNormal">=C2=A0If this leading security company had been pene=
trated, it almost certainly took an incredibly sophisticated attack.<u></u>=
<u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But it leaves out exactly what that was. And it does=
n&#39;t give any insight into how this attack at MS would have been prevent=
ed despite the supply chain vulnerability based on the
 second point that Aaron made. If they are able to get the auth code, why a=
ren&#39;t they able to get the DPoP signature? And then send both of these?=
<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Further in this case, it doesn&#39;t even matter if the attacker gets the a=
ccess token if that access token is bound to the client, because it&#39;s w=
orthless without the DPoP key. That&#39;s a much more secure solution than =
issuing non-bound Bearer tokens as a response
 to the bound authorization code. And if Bearer tokens are being used inste=
ad of bound tokens, then those could still end up in the logs, and be exfil=
trated.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">In OAuth, the=C2=A0client already needs to authentic=
ate with the AS, the spec is SHOULD, and options the client_secret already.=
 Adding in the DPoP signature into the request is duplicating
 auth. If we don&#39;t like the client auth mechanisms to the AS, we should=
 directly provide an auth RFC recommending better alternatives than sending=
 a symmetric client_secret back to the AS.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0in"><img border=3D"0" width=3D"199=
" height=3D"34" style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_=
-7162199862529156364gmail-m_6431640240260812794_x0000_i1026" src=3D"https:/=
/lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74m=
UKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzr=
Sc8kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid currentcolor;border-right:=
1pt solid currentcolor;border-bottom:1pt solid currentcolor;border-left:non=
e currentcolor;padding:5pt;overflow:hidden">
<div style=3D"border-top:1pt solid currentcolor;border-right:1pt solid curr=
entcolor;border-left:1pt solid currentcolor;border-bottom:none currentcolor=
;padding:0in">
<p style=3D"margin:0in"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none currentcolor;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;color:black">Secu</spa=
n><span style=3D"font-size:10pt">re your user data with IAM authorization a=
s a service. Implement=C2=A0</span><a href=3D"https://nam06.safelinks.prote=
ction.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7C=
wibartle%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DHwr1AsVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D=
0" target=3D"_blank"><span style=3D"font-size:10pt">Authress</span></a><spa=
n style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 2, 2021 at 4:42 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=
=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none currentcolor;border-right:none current=
color;border-bottom:none currentcolor;border-left:1pt solid rgb(204,204,204=
);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the comments and eng=
agement Warren.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The attacks we described and th=
e ideas on mitigations are born out of attack vectors we are observing in t=
he wild. They are not negligible. We are seeing a new
 class of very sophisticated attackers, and if you=E2=80=99re interested, t=
his article provides good context on capability and sophistication of the a=
ttackers
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.fastcompany.com%2F90672384%2Fmicrosoft-president-brad-smith-solarwi=
nds-exclusive&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534=
d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377421877=
69411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D1DvRrYin4BYn8EJ%2B41xvabgVPEiJM=
WyqGngkrU0MwIA%3D&amp;reserved=3D0" target=3D"_blank">
Brad Smith: Inside Microsoft during the SolarWinds hack (fastcompany.com)</=
a>. We are sharing this with the hope that the industry will benefit from o=
ur experiences and incorporate it into standards and products. Attacks that=
 seemed impossibly complex are not
 only possible, but have become probable. </span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed changes for DPoP a=
re not meant to replace the need for one-time use tokens (single use tokens=
 are preferable and we should continue to expect them),
 but instead address the limitations around implementing one-time use, espe=
cially at scale. The 60s window you mention below is sufficiently long to b=
e exploited by these sophisticated attackers.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div style=3D"border-right:none currentcolor;border-bottom:none currentcolo=
r;border-left:none currentcolor;border-top:1pt solid currentcolor;padding:3=
pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<a href=3D"mailto:oauth-bounc=
es@ietf.org" target=3D"_blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Warren Parad<br>
<b>Sent:</b> Wednesday 1 December 2021 15:29<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40micr=
osoft.com@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org<=
/a>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<a href=3D"mailto:40microsoft.com=
@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;;
<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a><br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: dpop_jkt Authorization Reques=
t Parameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div>
<blockquote style=3D"border-top:none currentcolor;border-right:none current=
color;border-bottom:none currentcolor;border-left:1pt solid rgb(204,204,204=
);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<p class=3D"MsoNormal"><span lang=3D"EN-IE">(e.g. one-time use in a certain=
 timeframe etc).</span><u></u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sure but couldn&#39;t we just r=
educe the lifetime? Even if the token isn&#39;t one time use, surely the re=
use time is trivially short which would prevent against exfiltration
 of the necessary security tokens to issue the attack?</span><u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like the simpler=C2=A0so=
lution will always win, which in this case is one-time use tokens, then the=
 problem is moot, right? So this only comes into play if
 you want to allow token reuse in a time window. The previously suggested m=
ax allowed time window from OAuth 2.1 was 60s for auth codes. So we are say=
ing that the attack surface is still too large, for the .01% of implementat=
ions that have multi-use tokens,
 and the .01% of implementations that use the maximum 60s reuse, and then t=
he subset of those that aren&#39;t correctly scrubing their logs, and then =
the subset of those that have a vulnerability which allows for exfiltration=
 of both those logged tokens and the
 logged PKCE verifier?</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Why are we making this more com=
plicated for a majority of cases, which:</span><u></u><u></u></p>
</div>
<div>
<ul type=3D"disc">
<li class=3D"MsoNormal">
<span lang=3D"EN-IE">Only have single use tokens</span><u></u><u></u></li><=
li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Only have a very short lifetime</span><u></u><u></u=
></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Are already correctly sanitizing their logs</span><=
u></u><u></u></li><li class=3D"MsoNormal">
<span lang=3D"EN-IE">Or Have defense in depth for their deployments.</span>=
<u></u><u></u></li></ul>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">If the implementation is so ins=
ecure that none of those are happening, wouldn&#39;t the implementation for=
 this functionality also be suspect for an opportunity for
 attack?</span><u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I feel like we are justifying h=
ere that multi-use tokens are wrong, but still want a solution to use them.=
 Once we&#39;ve proven that an deployment is not okay with
 using multi-use tokens, then the conclusion should be &quot;don&#39;t have=
 multi-use tokens&quot;, not: &quot;let&#39;s still have multi-use tokens, =
but come up with a complex way to prevent their multi-use from accidentally=
 being abused&quot;.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Or am I missing something that =
would actually make this a non-negligible=C2=A0attack vector?</span><u></u>=
<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">- Warren</span><u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0in"><img border=3D"0" width=3D"199=
" height=3D"34" style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_=
-7162199862529156364gmail-m_6431640240260812794_x0000_i1025" src=3D"https:/=
/lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74m=
UKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzr=
Sc8kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid currentcolor;border-right:=
1pt solid currentcolor;border-bottom:1pt solid currentcolor;border-left:non=
e currentcolor;padding:5pt;overflow:hidden">
<div style=3D"border-top:1pt solid currentcolor;border-right:1pt solid curr=
entcolor;border-left:1pt solid currentcolor;border-bottom:none currentcolor=
;padding:0in">
<p style=3D"margin:0in"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none currentcolor;padding:0in">
<p style=3D"margin:0in"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span lang=3D"EN-IE" style=3D"font-size:10pt">Secure=
 your user data with IAM authorization as a service. Implement=C2=A0</span>=
<span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40mic=
rosoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2d7cd01=
1db47%7C1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw=
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHwr1A=
sVa%2B6T12vx%2BHp1f32aCO7XpyTU4uEOYxbevXU8%3D&amp;reserved=3D0" target=3D"_=
blank"><span style=3D"font-size:10pt">Authress</span></a></span><span lang=
=3D"EN-IE" style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Wed, Dec 1, 2021 at 4:14 PM =
Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@d=
marc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:</span><u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none currentcolor;border-right:none current=
color;border-bottom:none currentcolor;border-left:1pt solid rgb(204,204,204=
);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Hi Aaron, Neil</span><u></u><u>=
</u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Thanks for the questions.
</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">We agree that ideally authoriza=
tion codes and PKCE proofs would never end up in log files and one-time use=
 would be perfectly implemented.
</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">However, in practice these arte=
facts do find their way into log files in various places and one-time use m=
ay not always be practical (e.g. one-time use in a certain
 timeframe etc). </span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The addition of these mitigatio=
ns is not meant to replace the need for one-time use or good logging hygien=
e. Instead they provide pragmatic defence in depth against
 real attacks rather than assuming perfect implementations. We are deployin=
g these mitigations and are sharing them for inclusion in DPoP to enable ot=
hers to do the same.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Regarding the question about in=
terrupting/intercepting the HTTPS connection, the attacker don=E2=80=99t ne=
ed to intercept the HTTPS connection or modify the content in
 the TLS tunnel, rather they just need to prevent the authorization code fr=
om being presented to the Authorization Server. It may even happen due to a=
 poor network connection. The poor connection may be engineered by an attac=
ker, or they may opportunistically
 benefit from it. The networks are not perfect either.</span><u></u><u></u>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Cheers</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Pieter</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div style=3D"border-right:none currentcolor;border-bottom:none currentcolo=
r;border-left:none currentcolor;border-top:1pt solid currentcolor;padding:3=
pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=
=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">o=
auth-bounces@ietf.org</span></a></span>&gt;
<b>On Behalf Of </b>Aaron Parecki<br>
<b>Sent:</b> Wednesday 1 December 2021 00:05<br>
<b>To:</b> Neil Madden &lt;<span lang=3D"EN-IE"><a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank"><span lang=3D"EN-US">neil.madden@forger=
ock.com</span></a></span>&gt;<br>
<b>Cc:</b> Mike Jones &lt;Michael.Jones=3D<span lang=3D"EN-IE"><a href=3D"m=
ailto:40microsoft.com@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US=
">40microsoft.com@dmarc.ietf.org</span></a></span>&gt;;
<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth@ietf.org</span></a></span><br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] dpop_jkt Authorization Request Pa=
rameter<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">I tend to agree with Neil here.=
 I&#39;m struggling to see the relevance of this attack.=C2=A0</span><u></u=
><u></u></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">It seems like the PDF writeup d=
escribes two possible reasons an attacker could get access to the authoriza=
tion code and PKCE code verifier.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">1. The attacker has access to t=
he logs of the token endpoint.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">2. The attacker can intercept H=
TTPS connections between the client and AS (VPN, corporate network proxy, e=
tc)</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 1, the solution is to stop =
logging the contents of the POST body, and secure your infrastructure. I do=
n&#39;t think making the client jump through extra hoops
 is a good solution if you are already logging more than you should be or y=
ou don&#39;t trust the people who have access to the infrastructure. If thi=
s really is a concern, I suspect there are a lot more places in the flow th=
at would need to be patched up if you
 don&#39;t trust your own token endpoint.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">For 2, if the attacker can inte=
rcept the HTTPS connection, then the proposed solution doesn&#39;t add anyt=
hing because the attacker could modify the requests before
 it hits the authorization server anyway, and change which DPoP key the tok=
en gets bound to in the first place. Plus, the attacker would also have acc=
ess to anything else the client is sending to the AS, such as the user&#39;=
s password when they authenticate at
 the AS.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Are there other attack vectors =
I&#39;m missing that might actually be solved by this mechanism?</span><u><=
/u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Aaron</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On Tue, Nov 30, 2021 at 12:40 P=
M Neil Madden &lt;<a href=3D"mailto:neil.madden@forgerock.com" target=3D"_b=
lank">neil.madden@forgerock.com</a>&gt; wrote:</span><u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none currentcolor;border-right:none current=
color;border-bottom:none currentcolor;border-left:1pt solid rgb(204,204,204=
);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Sadly I couldn=E2=80=99t make t=
he DPoP session, but I=E2=80=99m not convinced the attack described in the =
earlier message really needs to be prevented at all. The attack largely
 hinges on auth codes not being one-time use, which is not a good idea, or =
otherwise on poor network security on the token endpoint. I=E2=80=99m not c=
onvinced DPoP needs to protect against these things. Is there more to this?=
</span><u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">The proposed solutions also see=
m susceptible to the same problems they attempt to solve - if an attacker i=
s somehow able to interrupt the client=E2=80=99s (TLS-protected)
 token request, why are they somehow not able to interrupt/modify the (far =
less protected) redirect to the authorization endpoint?</span><u></u><u></u=
></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=E2=80=94 Neil</span><u></u><u>=
</u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><span lang=3D"EN-IE">=
=C2=A0</span><u></u><u></u></p>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">On 30 Nov 2021, at 20:15, Mike =
Jones &lt;<a href=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org"=
 target=3D"_blank">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:</span><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">As described during the OAuth S=
ecurity Workshop session on DPoP, I created a pull request adding the dpop_=
jkt authorization request parameter to use for binding
 the authorization code to the client=E2=80=99s DPoP key.=C2=A0 See<a href=
=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit=
hub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F89&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769411859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D%2FmSQRy9yYzietR%2BExZD3%2BqxZSsY90LXQYm0obJ3GO9s%3D&amp;reserved=3D0" t=
arget=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://github.com/dan=
ielfett/draft-dpop/pull/89</span></a>.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">This is an alternative to=C2=A0=
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fgithub.com%2Fdanielfett%2Fdraft-dpop%2Fpull%2F86&amp;data=3D04%7C01%7Cw=
ibartle%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141=
af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJ=
WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;=
sdata=3Do0N2Wr%2B7oVRAjWyFq7HHRQQx7nIHq2mtywBDNUB3JSM%3D&amp;reserved=3D0" =
target=3D"_blank"><span style=3D"color:rgb(5,99,193)">https://github.com/da=
nielfett/draft-dpop/pull/86</span></a>,
 which achieved this binding using a new DPoP PKCE method.=C2=A0 Using this=
 alternative allows PKCE implementations to be unmodified, while adding DPo=
P in new code, which may be an advantage in some deployments.</span><u></u>=
<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">Please review and comment.=C2=
=A0 Note that I plan to add more of the attack description written by Piete=
r Kasselman to the security considerations in a future commit.=C2=A0
 This attack description was sent by Pieter yesterday in a message with the=
 subject =E2=80=9CAuthorization Code Log File Attack (was DPoP Interim Meet=
ing Minutes)=E2=80=9D.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mi=
ke</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE" style=3D"font-size:10.5pt;font-=
family:&quot;Times New Roman&quot;,serif">_________________________________=
______________<br>
OAuth mailing list<br>
</span><span lang=3D"EN-IE"><a href=3D"mailto:OAuth@ietf.org" target=3D"_bl=
ank"><span style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot=
;,serif;color:rgb(5,99,193)">OAuth@ietf.org</span></a></span><span lang=3D"=
EN-IE" style=3D"font-size:10.5pt;font-family:&quot;Times New Roman&quot;,se=
rif"><br>
</span><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&a=
mp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C475178549c534d9f859c08d9b724=
0ca8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637742187769461842%7CUnkn=
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV=
CI6Mn0%3D%7C3000&amp;sdata=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYT=
k4t3w%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:10.5p=
t;font-family:&quot;Times New Roman&quot;,serif;color:rgb(5,99,193)">https:=
//www.ietf.org/mailman/listinfo/oauth</span></a></span><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">=C2=A0</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a></span><u=
></u><u></u></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-IE">_______________________________=
________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a></span><u=
></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C475178549c534d9f859c08d9b7240ca8%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637742187769461842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DlhnP5t%2B%2B4fqs0oKHiZWrV%2BUanG3%2F7VXqYXOPYTk4t3w%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
<p class=3D"MsoNormal"><br>
<b><i><span style=3D"font-size:10pt;font-family:-apple-system;color:rgb(85,=
85,85);border:1pt none windowtext;padding:0in">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.=C2=A0 If=
 you have received this communication in error, please notify the sender im=
mediately by e-mail and delete the message and any file attachments from yo=
ur computer. Thank you.</span></i></b><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>

--0000000000005a93fa05d3342150--


From nobody Thu Dec 16 00:27:04 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: oauth@ietf.org
Delivered-To: oauth@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B3DE3A1052; Thu, 16 Dec 2021 00:26:57 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: oauth@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.41.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: oauth@ietf.org
Message-ID: <163964321731.3112.16902306306142850288@ietfa.amsl.com>
Date: Thu, 16 Dec 2021 00:26:57 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/RUC_eW2hTP3jD6pxB5di4LPoVgk>
Subject: [OAUTH-WG] I-D Action: draft-ietf-oauth-security-topics-19.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Dec 2021 08:26:57 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Web Authorization Protocol WG of the IETF.

        Title           : OAuth 2.0 Security Best Current Practice
        Authors         : Torsten Lodderstedt
                          John Bradley
                          Andrey Labunets
                          Daniel Fett
	Filename        : draft-ietf-oauth-security-topics-19.txt
	Pages           : 52
	Date            : 2021-12-16

Abstract:
   This document describes best current security practice for OAuth 2.0.
   It updates and extends the OAuth 2.0 Security Threat Model to
   incorporate practical experiences gathered since OAuth 2.0 was
   published and covers new threats relevant due to the broader
   application of OAuth 2.0.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-oauth-security-topics/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-oauth-security-topics-19.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-oauth-security-topics-19


Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts



From nobody Thu Dec 16 12:04:35 2021
Return-Path: <rifaat.s.ietf@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37E263A11AE for <oauth@ietfa.amsl.com>; Thu, 16 Dec 2021 12:04:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.613
X-Spam-Level: 
X-Spam-Status: No, score=0.613 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=gmail.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 TC32f8loLHB5 for <oauth@ietfa.amsl.com>; Thu, 16 Dec 2021 12:04:27 -0800 (PST)
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 A188B3A11AC for <oauth@ietf.org>; Thu, 16 Dec 2021 12:04:27 -0800 (PST)
Received: by mail-wr1-x429.google.com with SMTP id v11so37309wrw.10 for <oauth@ietf.org>; Thu, 16 Dec 2021 12:04:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:from:date:message-id:subject:to; bh=PSjHUVmNfIdVpBGYaPo17lZeK9W8SM0kCU15/eBT9VY=; b=p4suXm8xvaSwG0AB0BoU2LmfwmwRswYjy86ExIUmvqIkEZ9xgReiT9JClq6rdGKZUe oalCz1QpOBLUlwRbg+TBiWtxWyzmXkqLYGQB90ZZf7WXtXey6Nb/AyafgxP096MBP97i gUIpyr3sq4dUFYwdM6/E72DgvUGMQ39K9kdplNSqQnmuXiBeQcNaEWlyJx2tPCqTPHgr BbK0cPehP+dzhV9epOx8GsI0MTdjEn+LvPiTNBPZHIDxs3JvOWgOUH/Mt8luZCH0xVo/ xM3ULRwAbILyu5JdNXEYBjS1q0EPQBwHHQT5sF3gNtOzXlywfrkZjFYagCEDQjBnU6eG cWUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PSjHUVmNfIdVpBGYaPo17lZeK9W8SM0kCU15/eBT9VY=; b=RCtRPoH00Tj1MHLAO84fLtWuwwvB/QKDI8PXM4KBVOimfIiPv7lzuZ+5hP7H9ER+q0 l216wgyPpdUseszhvpXZtQhcn66s6Gkz6DYvKoAyxS6tkchF78J7/ndU/Mso9Yx6nV18 BdD+07tnhX3BCpzZr5ud8dBW/xeb4owF+PWC66/WA3Ab2CoWBX21bGLPch58Tvj4fzYq w3GiGrHeZVQ7scDVohP+EKAdhHvwtxXJEkF7wBcvFiahcepaEK3iW+peS9u5zKDaaGTz tXTRvt8mAVugNMGZj1gIGGIlrPuLxp+uc3iKrqFWzF5KSj1EYLYSkiNv+dYtMl8zthd2 k5hg==
X-Gm-Message-State: AOAM531RzautY/oKvUmnpuMg8XJGlueA9jjJrsbLj1fAIP+F7Mr7raIM LWngGUFE/1lBxl+3jGblUV00y3X3ztsw4QoXrX8Rp24OkY8=
X-Google-Smtp-Source: ABdhPJwQlMNPbfO79TGzHwGgzqs7DtOJRCUtkm21U41xuhHs2V02Rk0ZRczPzLYkIHqHfK8csZGqkqPynQh5cuEM3lk=
X-Received: by 2002:adf:eb52:: with SMTP id u18mr10064731wrn.90.1639685063948;  Thu, 16 Dec 2021 12:04:23 -0800 (PST)
MIME-Version: 1.0
From: Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com>
Date: Thu, 16 Dec 2021 15:04:12 -0500
Message-ID: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com>
To: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c7bc1b05d348ed36"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/4-YCJzeDH4NH-ge9OF8bAbqWgIE>
Subject: [OAUTH-WG] OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Dec 2021 20:04:32 -0000

--000000000000c7bc1b05d348ed36
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

All,


An article was recently published discussing some OAuth Redirection Attacks
to try to bypass phishing detection solutions. See the details of these
attacks in the following link:


https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oaut=
h-implementation-vulnerabilities-lead-redirection


The article discusses attacks on Microsoft and GitHub, but these attacks
are not unique to these companies.

The attacks take advantage of how OAuth handles error responses, which
sends responses to the application=E2=80=99s redirect URL.

I would like to get the thoughts of the working group on these types of
attacks.

What is the best way to mitigate these attacks?

Do we need a new approach for handling errors with OAuth?

Regards,

 Rifaat

--000000000000c7bc1b05d348ed36
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span id=3D"gmail-docs-internal-guid-f990a997-7fff-348d-48=
c2-9be3f8916989"><p style=3D"line-height:1.38;margin-top:0pt;margin-bottom:=
0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);backg=
round-color:transparent;font-variant-numeric:normal;font-variant-east-asian=
:normal;vertical-align:baseline;white-space:pre-wrap">All,</span></p><p sty=
le=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"fon=
t-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent=
;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:=
baseline;white-space:pre-wrap"><br></span></p><p style=3D"line-height:1.38;=
margin-top:0pt;margin-bottom:0pt"><span style=3D"background-color:transpare=
nt;font-variant-numeric:normal;font-variant-east-asian:normal;font-size:11p=
t;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pr=
e-wrap">An article was recently published discussing some </span><span styl=
e=3D"background-color:transparent;font-variant-numeric:normal;font-variant-=
east-asian:normal;font-size:11pt;font-family:Arial;color:rgb(0,0,0);font-we=
ight:700;vertical-align:baseline;white-space:pre-wrap">OAuth Redirection At=
tacks</span><span style=3D"background-color:transparent;font-variant-numeri=
c:normal;font-variant-east-asian:normal;font-size:11pt;font-family:Arial;co=
lor:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> to try to byp=
ass </span><span style=3D"background-color:transparent;font-variant-numeric=
:normal;font-variant-east-asian:normal;font-size:11pt;font-family:Arial;col=
or:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap"=
>phishing</span><span style=3D"background-color:transparent;font-variant-nu=
meric:normal;font-variant-east-asian:normal;font-size:11pt;font-family:Aria=
l;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> detection=
 solutions. See the details of these attacks in the following link:</span><=
br></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-botto=
m:0pt"><br></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;marg=
in-bottom:0pt"><a href=3D"https://www.proofpoint.com/us/blog/cloud-security=
/microsoft-and-github-oauth-implementation-vulnerabilities-lead-redirection=
" style=3D"text-decoration-line:none"><span style=3D"font-size:11pt;font-fa=
mily:Arial;background-color:transparent;font-variant-numeric:normal;font-va=
riant-east-asian:normal;text-decoration-line:underline;vertical-align:basel=
ine;white-space:pre-wrap">https://www.proofpoint.com/us/blog/cloud-security=
/microsoft-and-github-oauth-implementation-vulnerabilities-lead-redirection=
</span></a></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;=
margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rg=
b(0,0,0);background-color:transparent;font-variant-numeric:normal;font-vari=
ant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><br></s=
pan></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bott=
om:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);ba=
ckground-color:transparent;font-variant-numeric:normal;font-variant-east-as=
ian:normal;vertical-align:baseline;white-space:pre-wrap">The article discus=
ses attacks on Microsoft and GitHub, but these attacks are not unique to th=
ese companies.</span></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-to=
p:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;co=
lor:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;fon=
t-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">T=
he attacks take advantage of how OAuth handles error responses, which sends=
 responses to the application=E2=80=99s redirect URL.</span></p><br><p dir=
=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span =
style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color=
:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;ver=
tical-align:baseline;white-space:pre-wrap">I would like to get the thoughts=
 of the working group on these types of attacks.=C2=A0</span></p><p style=
=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color=3D"#0000=
00" face=3D"Arial"><span style=3D"font-size:14.6667px;white-space:pre-wrap"=
>What is the best way to mitigate these attacks?</span></font></p><p dir=3D=
"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span sty=
le=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:tr=
ansparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertic=
al-align:baseline;white-space:pre-wrap">Do we need a new approach for handl=
ing errors with OAuth?</span></p><br><p dir=3D"ltr" style=3D"line-height:1.=
38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-fam=
ily:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeri=
c:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space=
:pre-wrap">Regards,</span></p><p dir=3D"ltr" style=3D"line-height:1.38;marg=
in-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Ari=
al;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:norma=
l;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wr=
ap">=C2=A0Rifaat</span></p></span><br class=3D"gmail-Apple-interchange-newl=
ine"></div>

--000000000000c7bc1b05d348ed36--


From nobody Thu Dec 16 16:23:29 2021
Return-Path: <iana-shared@icann.org>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77A913A07C1; Thu, 16 Dec 2021 16:23:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.626
X-Spam-Level: 
X-Spam-Status: No, score=-0.626 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MISSING_HEADERS=1.021, 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] autolearn=no autolearn_force=no
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 514GZtq5Rfut; Thu, 16 Dec 2021 16:23:23 -0800 (PST)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [192.0.33.81]) (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 099AB3A07BA; Thu, 16 Dec 2021 16:23:23 -0800 (PST)
Received: from request4.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 417DBE38D1; Fri, 17 Dec 2021 00:23:22 +0000 (UTC)
Received: by request4.lax.icann.org (Postfix, from userid 48) id 6A0E520737; Fri, 17 Dec 2021 00:23:22 +0000 (UTC)
RT-Owner: amanda.baber
From: "Amanda Baber via RT" <drafts-expert-review-comment@iana.org>
Reply-To: drafts-expert-review-comment@iana.org
In-Reply-To: <rt-4.4.3-13191-1637789245-1034.1216703-9-0@icann.org>
References: <RT-Ticket-1216703@icann.org> <rt-4.4.3-1907-1637090376-1238.1216703-9-0@icann.org> <rt-4.4.3-1915-1637096963-365.1216703-9-0@icann.org> <rt-4.4.3-13191-1637789245-1034.1216703-9-0@icann.org>
Message-ID: <rt-4.4.3-738-1639700602-1307.1216703-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1216703
X-Managed-BY: RT 4.4.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: amanda.baber@icann.org
CC: ve7jtb@ve7jtb.com, oauth@ietf.org, oauth-ext-review@ietf.org, nat@sakimura.org, michael.jones@microsoft.com, dick.hardt@gmail.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 17 Dec 2021 00:23:22 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/DSIxIPnl4d6DD7lzDEFaQu4vIRo>
Subject: [OAUTH-WG] [IANA #1216703] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 00:23:28 -0000

Attn: Michael, Nat, John and Dick (OAuth Authorization Server Metadata
registry experts)

Have you had a chance to review this request?

https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/

Is approval from all four experts required?

thanks,

Amanda Baber
IANA Operations Manager

On Wed Nov 24 21:27:25 2021, amanda.baber wrote:
> Attn: Michael, Nat, John and Dick (OAuth Authorization Server Metadata
> registry experts)
> 
> I'm resending a review request for a document that's listed on the
> next IESG telechat. Can you get to this before 12/2?
> 
> Please let us know if approval from all four experts is required.
> 
> thanks,
> 
> Amanda Baber
> IANA Operations Manager
> 
> On Tue Nov 16 21:09:23 2021, michelle.cotton wrote:
> > Mailing List/Expert Review requested
> >
> > Attn: Michael, Nat, John and Dick (OAuth Authorization Server
> > Metadata
> > registry experts)
> >
> > As the designated experts for the OAuth Authorization Server Metadata
> > registry, can you review the proposed registration in draft-oauth-
> > iss-
> > auth-resp for us? Please see:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> >
> > A single, new registration is being requested:
> >
> > Metadata Name: authorization_response_iss_parameter_supported
> > Metadata Description: Boolean value indicating whether the
> > authorization server provides the iss parameter in the authorization
> > response.
> > Change Controller: IESG
> > Reference: [ RFC-to-be; Section 3 ]
> >
> > If this is request is OK, when the IESG approves the document for
> > publication, we'll make the registration at
> >
> > https://www.iana.org/assignments/oauth-parameters/
> >
> > If you're the first expert to submit a review, please let us know
> > whether you want us to wait for both reviewers to respond before we
> > mark the document "IANA OK" (or send your comments to the authors, if
> > the registrations aren't OK).
> >
> > The IESG has asked us to set a two-week deadline for registration
> > reviews. The due date for this request is 2021-11-30.
> >
> > Thank you,
> >
> > Michelle Cotton
> > IANA Services


From nobody Thu Dec 16 16:24:24 2021
Return-Path: <iana-shared@icann.org>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEDE13A07C1; Thu, 16 Dec 2021 16:24:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 49AagAY2dNPc; Thu, 16 Dec 2021 16:24:11 -0800 (PST)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [IPv6:2620:0:2d0:201::1:81]) (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 CAF5A3A07D1; Thu, 16 Dec 2021 16:24:11 -0800 (PST)
Received: from request4.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 50968E38C0; Fri, 17 Dec 2021 00:24:09 +0000 (UTC)
Received: by request4.lax.icann.org (Postfix, from userid 48) id 7A74D20737; Fri, 17 Dec 2021 00:24:09 +0000 (UTC)
RT-Owner: amanda.baber
From: "Amanda Baber via RT" <drafts-expert-review@iana.org>
Reply-To: drafts-expert-review@iana.org
In-Reply-To: <rt-4.4.3-13193-1637789298-46.1216704-37-0@icann.org>
References: <RT-Ticket-1216704@icann.org> <rt-4.4.3-1775-1637091070-1032.1216704-37-0@icann.org> <rt-4.4.3-1775-1637097479-856.1216704-37-0@icann.org> <rt-4.4.3-13193-1637789298-46.1216704-37-0@icann.org>
Message-ID: <rt-4.4.3-709-1639700649-1204.1216704-37-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1216704
X-Managed-BY: RT 4.4.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: amanda.baber@icann.org
To: michelle.cotton@icann.org
CC: oauth@ietf.org, oauth-ext-review@ietf.org, hannes.tschofenig@arm.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 17 Dec 2021 00:24:09 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/7drlh4KGxBfA0Wd9wS86FerwTMI>
Subject: [OAUTH-WG] [IANA #1216704] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters) (2)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 00:24:16 -0000

Hi Hannes,

Have you had a chance to review the OAuth Parameters request in this document?

https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/

Is approval from all four experts required?

thanks,

Amanda Baber
IANA Operations Manager


On Wed Nov 24 21:28:18 2021, amanda.baber wrote:
> Attn: Hannes (OAuth Parameters registry expert)
> 
> I'm resending a review request for a document that's listed on the
> next IESG telechat. Can you get to this before 12/2?
> 
> thanks,
> 
> Amanda Baber
> IANA Operations Manager
> 
> On Tue Nov 16 21:17:59 2021, michelle.cotton wrote:
> > Mailing List/Expert Review requested
> >
> > Attn: Hannes (OAuth Parameters registry expert)
> >
> > As the designated expert for the OAuth Parameters registry, can you
> > review the proposed registration in draft-oauth-iss-auth-resp for us?
> > Please see:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> >
> > A single, new registration is being requested:
> >
> > Name: iss
> > Parameter Usage Location: authorization response
> > Change Controller: IESG
> > Reference: [ RFC-to-be; Section 2 ]
> >
> > If this is request is OK, when the IESG approves the document for
> > publication, we'll make the registration at
> >
> > https://www.iana.org/assignments/oauth-parameters/
> >
> > The IESG has asked us to set a two-week deadline for registration
> > reviews. The due date for this request is 2021-11-30.
> >
> > Thank you,
> >
> > Michelle Cotton
> > IANA Services


From nobody Fri Dec 17 05:00:19 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 793363A0E41 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 05:00:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 lEMoK9tnXWjE for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 05:00:11 -0800 (PST)
Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 98F833A0E3C for <oauth@ietf.org>; Fri, 17 Dec 2021 05:00:11 -0800 (PST)
Received: by mail-yb1-xb36.google.com with SMTP id d10so6216169ybe.3 for <oauth@ietf.org>; Fri, 17 Dec 2021 05:00:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5nW4f0At8oP1PFG7Zc6wCx6D4bLQ1blfDXhvoAaRpEg=; b=WCzx3NxckRoaysS5ZIwgcZ6W2zm+OQQsMTuciC9OzRJA3s3bynRAb/akM9tqKOFo2E vwQHKVHqZZQONPektRI+Yv98pDB43b5syByXIrUZkX44JrgS0TMpU9Jtbxd2GV6xD+KJ ZoqVln12zszEzMQErQTBJwtOdB8ctpl3WOkAdaHbIRyVXHkKdI7jbq6jOi3P9EASBWLG 6Z1aHzAzFfN8jEwpnwe9xr2Ni6rTtCZLjHiGArbIoD/xgG4SqKz/fWwWnzgg0kqRAYVh YIRDDwoxmdKsOkcs9uCrxouCGweRMxRrJFFl9ZmJlOLkzAD1hJLgh166aVR0eZYanyY1 UWuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5nW4f0At8oP1PFG7Zc6wCx6D4bLQ1blfDXhvoAaRpEg=; b=S5CmGZIbZi4+I0PWRBZ34rKb09Q2/KkYTDQ6oAcbHr9G3YRQe/Wc9rYJDXWGma8FmC vGvRgHx4vjLvpgdfbMKjB5QUkn2REc296zvE31ww9X4ac7Jk82HTHo2co1AjI5Ji1brJ Wk23t7GIcBWDASQbHItGC9rAw1Yh0QsrzwpGemJOcRnpdNDs0kZIFgSJ6hFDygq6+5Cr vk8pZvDnGb1/xFblGtUXfyuPqbUBukIsj9cJCeqnUtUpglFexjlZQF/Tvg1LIYedAmIw h6Ic5zhnr8P7f2NjTXyc76Aj5QiZQrD8GrSk6T9agMCdutkvA5Gj/dy7wYYcRuj/xxKt 3ytQ==
X-Gm-Message-State: AOAM530/SCZxGDTQR8+3nyj8vZE42g1OJ65tXTlsXJWArfMMfTNCv1al qJlgWx7dS2978I99TDx41S2omjXC+gy4CDeg+Dch8sAVq4QE
X-Google-Smtp-Source: ABdhPJzbUH0WiOquSYdgQH9pDL3ZBVaFu2S5siazRlpSiyLfoN2WQB90OvvCpTLR7r04ZB0LjfKl8HeyE6GYGFyMh+8=
X-Received: by 2002:a25:6744:: with SMTP id b65mr3995651ybc.57.1639746007417;  Fri, 17 Dec 2021 05:00:07 -0800 (PST)
MIME-Version: 1.0
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com>
In-Reply-To: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Fri, 17 Dec 2021 13:59:56 +0100
Message-ID: <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com>
To: Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com>
Cc: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004b643805d3571eff"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/mW43K88rSoiY9q9AqSX2utANC1M>
Subject: Re: [OAUTH-WG] OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 13:00:17 -0000

--0000000000004b643805d3571eff
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I think this just falls into the category of never redirect the user to a
url that doesn't match one of the preregistered redirect urls (or logout
urls for that matter). Any application that has redirects anywhere provides
an opportunity for this attack vector, OAuth isn't unique in that way, it
just is consistent and documented. And the 2.1 draft is pretty clear on
this front:

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.=
2.1

>    If the request fails due to a missing, invalid, or mismatching
>    redirect URI, or if the client identifier is missing or invalid, the
>    authorization server SHOULD inform the resource owner of the error
>    and
> *MUST NOT automatically redirect the user agent to the invalid   redirect
> URI*.


I want to call this attack vector "*illegitimate* phishing applications"
which is easily blocked by preregistration and/or PARs. And is only a very
small subset of phishing attacks with OAuth, of which the larger group is "
*legitimate* phishing applications". An app can be registered correctly,
and still issue a phishing attack as phishing attacks through OAuth are
actually indistinguishable from standard user delegation. There is no way
to prevent these without an application review before registration is
completed, here's an example that cloned Google apps y creating a fake app
called *google defender*:
https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authe=
ntication-advanced-social-engineering-attacks.html

If we can't protect against these latter ones, I hardly think protecting
against the former is useful/interesting/valuable.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com=
>
wrote:

> All,
>
>
> An article was recently published discussing some OAuth Redirection
> Attacks to try to bypass phishing detection solutions. See the details of
> these attacks in the following link:
>
>
>
> https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oa=
uth-implementation-vulnerabilities-lead-redirection
>
>
> The article discusses attacks on Microsoft and GitHub, but these attacks
> are not unique to these companies.
>
> The attacks take advantage of how OAuth handles error responses, which
> sends responses to the application=E2=80=99s redirect URL.
>
> I would like to get the thoughts of the working group on these types of
> attacks.
>
> What is the best way to mitigate these attacks?
>
> Do we need a new approach for handling errors with OAuth?
>
> Regards,
>
>  Rifaat
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--0000000000004b643805d3571eff
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I think this just falls into the category of never redirec=
t the user to a url that doesn&#39;t match one of the preregistered=C2=A0re=
direct urls (or logout urls for that matter). Any application that has redi=
rects anywhere provides an opportunity for this attack vector, OAuth isn&#3=
9;t unique in that way, it just is consistent and documented. And the 2.1 d=
raft is pretty clear on this front:<div><br></div><div><a href=3D"https://d=
atatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.2.1">http=
s://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.2.1<=
/a><br></div><div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0 =
=C2=A0If the request fails due to a missing, invalid, or mismatching<br>=C2=
=A0 =C2=A0redirect URI, or if the client identifier is missing or invalid, =
the<br>=C2=A0 =C2=A0authorization server SHOULD inform the resource owner o=
f the error<br>=C2=A0 =C2=A0and <b>MUST NOT automatically redirect the user=
 agent to the invalid<br>=C2=A0 =C2=A0redirect URI</b>.</blockquote><div><b=
r></div><div>I want to call this attack vector &quot;<b>illegitimate</b>=C2=
=A0phishing applications&quot; which is easily blocked by preregistration a=
nd/or PARs. And is only a very small subset of phishing attacks with OAuth,=
 of which the larger group is &quot;<b>legitimate</b> phishing applications=
&quot;. An app can be registered correctly, and still issue a phishing atta=
ck as phishing attacks through OAuth are actually indistinguishable from st=
andard user delegation. There is no way to prevent these without an applica=
tion review before registration is completed, here&#39;s an example that cl=
oned Google apps y creating a fake app called <b>google defender</b>:=C2=A0=
<a href=3D"https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses=
-open-authentication-advanced-social-engineering-attacks.html">https://www.=
trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authentication-ad=
vanced-social-engineering-attacks.html</a></div><div><br></div><div>If we c=
an&#39;t protect against these latter ones, I hardly think protecting again=
st=C2=A0the former is useful/interesting/valuable.<br><div><br clear=3D"all=
"><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_s=
ignature"><div dir=3D"ltr"><table style=3D"border:none;border-collapse:coll=
apse"><colgroup><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr=
 style=3D"height:0pt"><td style=3D"border-left:solid #ffffff 1pt;border-rig=
ht:solid #cccccc 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffff=
ff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=
=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-righ=
t:solid #ffffff 1pt;border-top:solid #ffffff 1pt;border-bottom:solid #fffff=
f 1pt;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-=
family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:b=
aseline;white-space:pre-wrap"><span style=3D"border:none;display:inline-blo=
ck;overflow:hidden;width:199px;height:34px"><img src=3D"https://lh6.googleu=
sercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4=
qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA=
" width=3D"199" height=3D"34" style=3D"margin-left:0px;margin-top:0px"></sp=
an></span></p></td><td style=3D"border-left:solid #cccccc 1pt;border-right:=
solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #ffffff =
1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"l=
tr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:sol=
id #ffffff 1pt;border-top:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0p=
t"><span style=3D"font-size:11pt;font-family:Lato,sans-serif;background-col=
or:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap=
">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-lef=
t:solid #ffffff 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #fff=
fff 1pt;margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-serif"><=
span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, CTO</span>=
</font></p></td></tr></tbody></table><span style=3D"font-size:x-small">Secu=
re your user data with IAM authorization as a service. Implement=C2=A0</spa=
n><a href=3D"https://authress.io/" style=3D"font-size:x-small" target=3D"_b=
lank">Authress</a><span style=3D"font-size:x-small">.</span><br></div></div=
></div><br></div></div></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-=
Yusef &lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com">rifaat.s.ietf@gmail.co=
m</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"ltr"><span id=3D"gmail-m_6222177854869836668gmail-docs-interna=
l-guid-f990a997-7fff-348d-48c2-9be3f8916989"><p style=3D"line-height:1.38;m=
argin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:=
Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:no=
rmal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre=
-wrap">All,</span></p><p style=3D"line-height:1.38;margin-top:0pt;margin-bo=
ttom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);=
background-color:transparent;font-variant-numeric:normal;font-variant-east-=
asian:normal;vertical-align:baseline;white-space:pre-wrap"><br></span></p><=
p style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=
=3D"background-color:transparent;font-variant-numeric:normal;font-variant-e=
ast-asian:normal;font-size:11pt;font-family:Arial;color:rgb(0,0,0);vertical=
-align:baseline;white-space:pre-wrap">An article was recently published dis=
cussing some </span><span style=3D"background-color:transparent;font-varian=
t-numeric:normal;font-variant-east-asian:normal;font-size:11pt;font-family:=
Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:=
pre-wrap">OAuth Redirection Attacks</span><span style=3D"background-color:t=
ransparent;font-variant-numeric:normal;font-variant-east-asian:normal;font-=
size:11pt;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-=
space:pre-wrap"> to try to bypass </span><span style=3D"background-color:tr=
ansparent;font-variant-numeric:normal;font-variant-east-asian:normal;font-s=
ize:11pt;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:=
baseline;white-space:pre-wrap">phishing</span><span style=3D"background-col=
or:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;f=
ont-size:11pt;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;wh=
ite-space:pre-wrap"> detection solutions. See the details of these attacks =
in the following link:</span><br></p><p dir=3D"ltr" style=3D"line-height:1.=
38;margin-top:0pt;margin-bottom:0pt"><br></p><p dir=3D"ltr" style=3D"line-h=
eight:1.38;margin-top:0pt;margin-bottom:0pt"><a href=3D"https://www.proofpo=
int.com/us/blog/cloud-security/microsoft-and-github-oauth-implementation-vu=
lnerabilities-lead-redirection" style=3D"text-decoration-line:none" target=
=3D"_blank"><span style=3D"font-size:11pt;font-family:Arial;background-colo=
r:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;te=
xt-decoration-line:underline;vertical-align:baseline;white-space:pre-wrap">=
https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oaut=
h-implementation-vulnerabilities-lead-redirection</span></a></p><br><p dir=
=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span =
style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color=
:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;ver=
tical-align:baseline;white-space:pre-wrap"><br></span></p><p dir=3D"ltr" st=
yle=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"fo=
nt-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparen=
t;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align=
:baseline;white-space:pre-wrap">The article discusses attacks on Microsoft =
and GitHub, but these attacks are not unique to these companies.</span></p>=
<p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt">=
<span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background=
-color:transparent;font-variant-numeric:normal;font-variant-east-asian:norm=
al;vertical-align:baseline;white-space:pre-wrap">The attacks take advantage=
 of how OAuth handles error responses, which sends responses to the applica=
tion=E2=80=99s redirect URL.</span></p><br><p dir=3D"ltr" style=3D"line-hei=
ght:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;fo=
nt-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-=
numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white=
-space:pre-wrap">I would like to get the thoughts of the working group on t=
hese types of attacks.=C2=A0</span></p><p style=3D"line-height:1.38;margin-=
top:0pt;margin-bottom:0pt"><font color=3D"#000000" face=3D"Arial"><span sty=
le=3D"font-size:14.6667px;white-space:pre-wrap">What is the best way to mit=
igate these attacks?</span></font></p><p dir=3D"ltr" style=3D"line-height:1=
.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-fa=
mily:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numer=
ic:normal;font-variant-east-asian:normal;vertical-align:baseline;white-spac=
e:pre-wrap">Do we need a new approach for handling errors with OAuth?</span=
></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bot=
tom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);b=
ackground-color:transparent;font-variant-numeric:normal;font-variant-east-a=
sian:normal;vertical-align:baseline;white-space:pre-wrap">Regards,</span></=
p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt=
"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);backgrou=
nd-color:transparent;font-variant-numeric:normal;font-variant-east-asian:no=
rmal;vertical-align:baseline;white-space:pre-wrap">=C2=A0Rifaat</span></p><=
/span><br></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--0000000000004b643805d3571eff--


From nobody Fri Dec 17 11:55:50 2021
Return-Path: <vittorio.bertocci@auth0.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FC583A09A6 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 11:55:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.086
X-Spam-Level: 
X-Spam-Status: No, score=-2.086 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auth0.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 jq2W2-mXAo72 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 11:55:37 -0800 (PST)
Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 C2C583A09D4 for <oauth@ietf.org>; Fri, 17 Dec 2021 11:55:37 -0800 (PST)
Received: by mail-yb1-xb2c.google.com with SMTP id e136so9559768ybc.4 for <oauth@ietf.org>; Fri, 17 Dec 2021 11:55:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=auth0.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rZi+k1wDF7I0vR/lePL4Bc5iOQD95uKFqldMVHB71Kw=; b=obuIsUFlbRrf8EbPrrMZNjMD20y0646pm4u73Ks5PlRPbpUKhun96h93/ZLJ6SIa2c Fvb6jv9i2dAjpubtwgXuoHyUydVCn82CncRBGdOyIlvUqXyFtapQ2EoMjWb6SSQ+Jq8L ETN9zpY6KasKzt0z0dKqlZf+9xkiF+6ADrlQ+7dVzZq06ZZPoPD7L29POZlEAuCEcHBm hdh8S8J4f7uRvQgz/Ss4kHcWWlmZbSaRLF0YBCmdDMh8jQBMaVvKHRihKS04E3SZuJPL 90QCWTleBzNoxLBdg+nO99znw8NXr6Gn18AG/xBNbHmqrU/rdBxaVWa9mnLEtfWOM6/6 VYvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rZi+k1wDF7I0vR/lePL4Bc5iOQD95uKFqldMVHB71Kw=; b=FFVeRrbecclsZoluTJr8rkIXb2KdRAWFvGkh71/OqFWeat3aVi2MnE0bCMoKfzanQi WGsNbPVuHmV/Ns1ljP39Axk51fzCr8mBOhTHcVo0fgAENKGDS6MriGuYwRiKr1/EJMKO CIPzGylO62Cy6XICGZKSkHXp4yc5PCoGucEs2YstRec5KNfnPHh8hcOP7DHM1rQM3gHI WQZAiA8N607iG2/pSbee70eLVcS4ls479R4rdEFLgWBf5OIgeiFvpUu9YmaBJtO7t3Q5 9GmH+jO+YP+rrbiPfaajJTzZ0DRrI4lr0I3onSpzg4ExffELo+TEkdVQj+QW375QObL8 xgnw==
X-Gm-Message-State: AOAM533gmGaGSqAKbbD1DwfSkiVY8/Ov1/GyW0+hsfObHH0QdhbsCV+t FtKTIVmY3bzSIsudpmFVLvA0QfDtP11S5DpvoSM5GIgiBmo=
X-Google-Smtp-Source: ABdhPJzOpUnOydxzNS39DpEX1twVGp4IEN195L+uuZP9VNePADH7grtAw9AaZqg3Nqg3OF/dU6E6jcOO8AV76FQK548=
X-Received: by 2002:a25:8711:: with SMTP id a17mr6227034ybl.323.1639770935507;  Fri, 17 Dec 2021 11:55:35 -0800 (PST)
MIME-Version: 1.0
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com>
In-Reply-To: <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com>
From: Vittorio Bertocci <Vittorio@auth0.com>
Date: Fri, 17 Dec 2021 11:55:24 -0800
Message-ID: <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
Cc: Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001fd53e05d35cec5c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/orwEGZ4GaMl-IONlharySDhvGhg>
Subject: Re: [OAUTH-WG] OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 19:55:48 -0000

--0000000000001fd53e05d35cec5c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The attack doesn't rely on redirecting to unregistered URLs, that's the
problem.
The goal of the attack is to circumvent phishing filters, by presenting a
URL from a legitimate domain (the AS) that eventually redirects to the
actual phishing URL. The actual phishing page doesn't need to target the
same authorization server, or an authorization server at all for that
matter.
An attacker can register a legitimate app on any authorization server as a
service, on their own tenant. The goal is just to have a starting URL that
phishing filters won't block, and the attacker is in full control of the
redirect URIs they register in their own tenant.

My take: it might be tricky to change the redirect on error behavior at
this point, but we should at least note the issue in the security
considerations/BCPs and possibly give some advice. For example, on top of
my head: AS should expose their endpoints on a domain dedicated to
OAuth/OIDC operations, and avoid using its top level domains (different
area/service, but think herokuapp.com vs heroku.com) so that if a phishing
filter decides to block direct links to the issuing endpoints will only
impact things like IdP initiated flows (solvable by adding jumpstart
endpoints on the RP anyway, just like IdP initiated sign in works in OIDC).
I am sure there are lots of other things we can come up with that can make
the problem better.

On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D
40rhosys.ch@dmarc.ietf.org> wrote:

> I think this just falls into the category of never redirect the user to a
> url that doesn't match one of the preregistered redirect urls (or logout
> urls for that matter). Any application that has redirects anywhere provid=
es
> an opportunity for this attack vector, OAuth isn't unique in that way, it
> just is consistent and documented. And the 2.1 draft is pretty clear on
> this front:
>
>
> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.=
1.2.1
>
>>    If the request fails due to a missing, invalid, or mismatching
>>    redirect URI, or if the client identifier is missing or invalid, the
>>    authorization server SHOULD inform the resource owner of the error
>>    and
>> *MUST NOT automatically redirect the user agent to the invalid   redirec=
t
>> URI*.
>
>
> I want to call this attack vector "*illegitimate* phishing applications"
> which is easily blocked by preregistration and/or PARs. And is only a ver=
y
> small subset of phishing attacks with OAuth, of which the larger group is=
 "
> *legitimate* phishing applications". An app can be registered correctly,
> and still issue a phishing attack as phishing attacks through OAuth are
> actually indistinguishable from standard user delegation. There is no way
> to prevent these without an application review before registration is
> completed, here's an example that cloned Google apps y creating a fake ap=
p
> called *google defender*:
> https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-aut=
hentication-advanced-social-engineering-attacks.html
>
> If we can't protect against these latter ones, I hardly think protecting
> against the former is useful/interesting/valuable.
>
> Warren Parad
>
> Founder, CTO
> Secure your user data with IAM authorization as a service. Implement
> Authress <https://authress.io/>.
>
>
> On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <
> rifaat.s.ietf@gmail.com> wrote:
>
>> All,
>>
>>
>> An article was recently published discussing some OAuth Redirection
>> Attacks to try to bypass phishing detection solutions. See the details
>> of these attacks in the following link:
>>
>>
>>
>> https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-o=
auth-implementation-vulnerabilities-lead-redirection
>>
>>
>> The article discusses attacks on Microsoft and GitHub, but these attacks
>> are not unique to these companies.
>>
>> The attacks take advantage of how OAuth handles error responses, which
>> sends responses to the application=E2=80=99s redirect URL.
>>
>> I would like to get the thoughts of the working group on these types of
>> attacks.
>>
>> What is the best way to mitigate these attacks?
>>
>> Do we need a new approach for handling errors with OAuth?
>>
>> Regards,
>>
>>  Rifaat
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--0000000000001fd53e05d35cec5c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The attack doesn&#39;t=C2=A0rely on redirecting to unregis=
tered URLs, that&#39;s the problem.<div><div>The goal of the attack=C2=A0is=
 to circumvent phishing filters, by presenting a URL from a legitimate doma=
in (the AS) that eventually redirects to the actual phishing=C2=A0URL. The =
actual phishing=C2=A0page=C2=A0doesn&#39;t need to target the same authoriz=
ation server, or an authorization server at all for that matter.=C2=A0</div=
></div><div>An attacker can register a legitimate app on any authorization =
server as a service, on their own=C2=A0tenant. The goal is just to have a s=
tarting URL that phishing filters won&#39;t block, and the attacker is in f=
ull control of the redirect URIs they register in their own tenant.=C2=A0</=
div><div><br></div><div>My take: it might be tricky to change the redirect =
on error behavior at this point, but we should at least note the issue in t=
he security considerations/BCPs and possibly give some advice. For example,=
 on top of my head: AS should expose their endpoints on a domain dedicated =
to OAuth/OIDC operations, and avoid using its top level domains (different =
area/service, but think <a href=3D"http://herokuapp.com">herokuapp.com</a> =
vs <a href=3D"http://heroku.com">heroku.com</a>) so that if a phishing filt=
er decides to block direct links to the issuing endpoints will only impact =
things like IdP initiated flows (solvable by adding jumpstart endpoints on =
the RP anyway, just like IdP initiated sign in works in OIDC). I am sure th=
ere are lots of other things we can come up with that can make the problem =
better.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wparad=3D<a h=
ref=3D"mailto:40rhosys.ch@dmarc.ietf.org">40rhosys.ch@dmarc.ietf.org</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div di=
r=3D"ltr">I think this just falls into the category of never redirect the u=
ser to a url that doesn&#39;t match one of the preregistered=C2=A0redirect =
urls (or logout urls for that matter). Any application that has redirects a=
nywhere provides an opportunity for this attack vector, OAuth isn&#39;t uni=
que in that way, it just is consistent and documented. And the 2.1 draft is=
 pretty clear on this front:<div><br></div><div><a href=3D"https://datatrac=
ker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.2.1" target=3D"_=
blank">https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#secti=
on-4.1.2.1</a><br></div><div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">=C2=A0 =C2=A0If the request fails due to a missing, invalid, or mismatc=
hing<br>=C2=A0 =C2=A0redirect URI, or if the client identifier is missing o=
r invalid, the<br>=C2=A0 =C2=A0authorization server SHOULD inform the resou=
rce owner of the error<br>=C2=A0 =C2=A0and <b>MUST NOT automatically redire=
ct the user agent to the invalid<br>=C2=A0 =C2=A0redirect URI</b>.</blockqu=
ote><div><br></div><div>I want to call this attack vector &quot;<b>illegiti=
mate</b>=C2=A0phishing applications&quot; which is easily blocked by prereg=
istration and/or PARs. And is only a very small subset of phishing attacks =
with OAuth, of which the larger group is &quot;<b>legitimate</b> phishing a=
pplications&quot;. An app can be registered correctly, and still issue a ph=
ishing attack as phishing attacks through OAuth are actually indistinguisha=
ble from standard user delegation. There is no way to prevent these without=
 an application review before registration is completed, here&#39;s an exam=
ple that cloned Google apps y creating a fake app called <b>google defender=
</b>:=C2=A0<a href=3D"https://www.trendmicro.com/en_us/research/17/d/pawn-s=
torm-abuses-open-authentication-advanced-social-engineering-attacks.html" t=
arget=3D"_blank">https://www.trendmicro.com/en_us/research/17/d/pawn-storm-=
abuses-open-authentication-advanced-social-engineering-attacks.html</a></di=
v><div><br></div><div>If we can&#39;t protect against these latter ones, I =
hardly think protecting against=C2=A0the former is useful/interesting/valua=
ble.<br><div><br clear=3D"all"><div><div dir=3D"ltr"><div dir=3D"ltr"><tabl=
e style=3D"border:none;border-collapse:collapse"><colgroup><col width=3D"21=
4"><col width=3D"110"></colgroup><tbody><tr style=3D"height:0pt"><td style=
=3D"border-width:1pt;border-style:solid;border-color:rgb(255,255,255) rgb(2=
04,204,204) rgb(255,255,255) rgb(255,255,255);vertical-align:top;padding:5p=
t;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-width:1pt=
;border-style:solid;border-color:rgb(255,255,255);margin-top:0pt;margin-bot=
tom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);b=
ackground-color:transparent;vertical-align:baseline;white-space:pre-wrap"><=
span style=3D"border:none;display:inline-block;overflow:hidden;width:199px;=
height:34px"><img src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKD=
N1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs=
6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"34" s=
tyle=3D"margin-left: 0px; margin-top: 0px;"></span></span></p></td><td styl=
e=3D"border-width:1pt;border-style:solid;border-color:rgb(255,255,255) rgb(=
255,255,255) rgb(255,255,255) rgb(204,204,204);vertical-align:top;padding:5=
pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt=
 solid rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border-top:=
1pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style=3D=
"font-size:11pt;font-family:Lato,sans-serif;background-color:transparent;fo=
nt-weight:700;vertical-align:baseline;white-space:pre-wrap">Warren Parad</s=
pan></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left:1pt solid rgb(2=
55,255,255);border-right:1pt solid rgb(255,255,255);border-bottom:1pt solid=
 rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, san=
s-serif"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, =
CTO</span></font></p></td></tr></tbody></table><span style=3D"font-size:x-s=
mall">Secure your user data with IAM authorization as a service. Implement=
=C2=A0</span><a href=3D"https://authress.io/" style=3D"font-size:x-small" t=
arget=3D"_blank">Authress</a><span style=3D"font-size:x-small">.</span><br>=
</div></div></div><br></div></div></div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 16, 2021 at 9:05 PM Rif=
aat Shekh-Yusef &lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_b=
lank">rifaat.s.ietf@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><span id=3D"gmail-m_-84660555=
40288054966gmail-m_6222177854869836668gmail-docs-internal-guid-f990a997-7ff=
f-348d-48c2-9be3f8916989"><p style=3D"line-height:1.38;margin-top:0pt;margi=
n-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0=
,0);background-color:transparent;font-variant-numeric:normal;font-variant-e=
ast-asian:normal;vertical-align:baseline;white-space:pre-wrap">All,</span><=
/p><p style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span sty=
le=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:tr=
ansparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertic=
al-align:baseline;white-space:pre-wrap"><br></span></p><p style=3D"line-hei=
ght:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"background-color:=
transparent;font-variant-numeric:normal;font-variant-east-asian:normal;font=
-size:11pt;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white=
-space:pre-wrap">An article was recently published discussing some </span><=
span style=3D"background-color:transparent;font-variant-numeric:normal;font=
-variant-east-asian:normal;font-size:11pt;font-family:Arial;color:rgb(0,0,0=
);font-weight:700;vertical-align:baseline;white-space:pre-wrap">OAuth Redir=
ection Attacks</span><span style=3D"background-color:transparent;font-varia=
nt-numeric:normal;font-variant-east-asian:normal;font-size:11pt;font-family=
:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> to t=
ry to bypass </span><span style=3D"background-color:transparent;font-varian=
t-numeric:normal;font-variant-east-asian:normal;font-size:11pt;font-family:=
Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:=
pre-wrap">phishing</span><span style=3D"background-color:transparent;font-v=
ariant-numeric:normal;font-variant-east-asian:normal;font-size:11pt;font-fa=
mily:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> =
detection solutions. See the details of these attacks in the following link=
:</span><br></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;mar=
gin-bottom:0pt"><br></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top=
:0pt;margin-bottom:0pt"><a href=3D"https://www.proofpoint.com/us/blog/cloud=
-security/microsoft-and-github-oauth-implementation-vulnerabilities-lead-re=
direction" style=3D"text-decoration-line:none" target=3D"_blank"><span styl=
e=3D"font-size:11pt;font-family:Arial;background-color:transparent;font-var=
iant-numeric:normal;font-variant-east-asian:normal;text-decoration-line:und=
erline;vertical-align:baseline;white-space:pre-wrap">https://www.proofpoint=
.com/us/blog/cloud-security/microsoft-and-github-oauth-implementation-vulne=
rabilities-lead-redirection</span></a></p><br><p dir=3D"ltr" style=3D"line-=
height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt=
;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-varia=
nt-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;wh=
ite-space:pre-wrap"><br></span></p><p dir=3D"ltr" style=3D"line-height:1.38=
;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-famil=
y:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:=
normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:p=
re-wrap">The article discusses attacks on Microsoft and GitHub, but these a=
ttacks are not unique to these companies.</span></p><p dir=3D"ltr" style=3D=
"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-siz=
e:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font=
-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:basel=
ine;white-space:pre-wrap">The attacks take advantage of how OAuth handles e=
rror responses, which sends responses to the application=E2=80=99s redirect=
 URL.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt=
;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:r=
gb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-var=
iant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">I woul=
d like to get the thoughts of the working group on these types of attacks.=
=C2=A0</span></p><p style=3D"line-height:1.38;margin-top:0pt;margin-bottom:=
0pt"><font color=3D"#000000" face=3D"Arial"><span style=3D"font-size:14.666=
7px;white-space:pre-wrap">What is the best way to mitigate these attacks?</=
span></font></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;mar=
gin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;color:rgb(0=
,0,0);background-color:transparent;font-variant-numeric:normal;font-variant=
-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">Do we need=
 a new approach for handling errors with OAuth?</span></p><br><p dir=3D"ltr=
" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=
=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:tran=
sparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical=
-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir=3D"ltr" sty=
le=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"fon=
t-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent=
;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:=
baseline;white-space:pre-wrap">=C2=A0Rifaat</span></p></span><br></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--0000000000001fd53e05d35cec5c--


From nobody Fri Dec 17 12:23:01 2021
Return-Path: <pieter.kasselman@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52A853A0AB1 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:22:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=microsoft.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 ZvDEUPB9HMx3 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:22:52 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2051.outbound.protection.outlook.com [104.47.14.51]) (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 029AD3A0A78 for <oauth@ietf.org>; Fri, 17 Dec 2021 12:22:51 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O0jOqqP/tsbS15UabquhbXDRoRH+aYUfuN3hn5RM82jy7rzATILrRPi7OcJqzIeZh7IiAmdjYP+X4vUl3sKITF8HJBZ08rmzXmSIm5g9eCylDqV8cmtZ67c3uLGWDXELzwuc2vYpCkHmppBjeD6AkRJgovU9eNZNE93qxJaHBKakYKZGGRc4VVRq3M7fon1/6jccTU/S8FUJ620LVz8OnzIBobixQQ9E6c38VThsZtqMYmSN4NsjMsqoeUnoNqKdDsdSzSmukKxQmTGU9o/X0r+kRGniTM8JxH7FBvCIy/x+vBcGFrwd1bcWbMZatS/TUWaEZ8UOOd8vgp3WYD9B3w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+eOxMzcuk16zGcj5Ji8ElVWjse6RMiSUvUCQvduELqU=; b=RTcmxVfVKBcgYQPU9EV6/CXzAzJpB+u5BFzebNKJz+P4SOyEoIenO3fcNPufOxyRb96zs028E5MV8mxSb0tSLzIpQOeONv+flCWz7lqxfGo0gretYtmlNyP4HEBaJwPdQFg0Q9xlehkq1EQ8Gv8adrYgZn9+aRWpsmLzifXMvtlIVmcDyjX8imnKq1cGbY89w8rADh7dq6lR9jRBEmexuxCuuAhf4pF8NP17DIPQ4p3If7nNoX842+OC021GF1zd9+/RvYYu4LQ0XltI7tSp90Ks8W47eV8Blk5xxmtJfZVGPU7UvqcX1FKK8+K1xIl7tf1vLQFhIFUE2TLVHphzvg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+eOxMzcuk16zGcj5Ji8ElVWjse6RMiSUvUCQvduELqU=; b=DwWYES2B2tio9XNHlQBLnLJUKw+D58HSMhxxKlvEn1YukO1H2NBaLB6/G4ITEuyd4lFEtsfz4NwgnbMTP3AWQ8aZ+w1QvOChjdgvX+k1Gd8NwcYdgX1vrEsTZuK/5fAr+cFkS7k6wxL6xDsi03DgSPnX6AfNoFxi5Vq4ktj6ZgU=
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com (2603:10a6:20b:1b6::10) by DBBPR83MB0492.EURPRD83.prod.outlook.com (2603:10a6:10:201::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.6; Fri, 17 Dec 2021 20:22:45 +0000
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::e17e:2ca8:5565:cf6d]) by AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::e17e:2ca8:5565:cf6d%5]) with mapi id 15.20.4823.010; Fri, 17 Dec 2021 20:22:44 +0000
From: Pieter Kasselman <pieter.kasselman@microsoft.com>
To: Vittorio Bertocci <Vittorio=40auth0.com@dmarc.ietf.org>, Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
CC: oauth <oauth@ietf.org>
Thread-Topic: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
Thread-Index: AQHX80YWPcHBUYyLGkWkzKsSFOy7mqw3GYMAgAAD5UA=
Date: Fri, 17 Dec 2021 20:22:44 +0000
Message-ID: <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com>
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com>
In-Reply-To: <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com>
Accept-Language: en-IE, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-17T20:22:29Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=e8311343-7225-4e2c-9e77-2806ff766c27; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 373d2928-5c02-427c-4992-08d9c19afc33
x-ms-traffictypediagnostic: DBBPR83MB0492:EE_
x-microsoft-antispam-prvs: <DBBPR83MB04928EC8FE1C7894F2C9C7E891789@DBBPR83MB0492.EURPRD83.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: DJlMn6sdz7JF3AkTC6HXOrwYErMk2anZCuAtDcXFIbi+0H44uD2xdCJ7oy5zepM1+HpiYkGbsjlfY29uJTKa0SGSPSM9IhOKYusW2hjNv4fwZMy5jrgicCM929zi87ZOshq6sSxhV9T0P8KJLu0sAbEZ5HyZqcIdY3MD5FhOD9frhx7q0QE1fe3XZUHrvh9yRSpqwSv38Hhbb78WDXorEIIi13RCf/zLnwWPPZbcppgmfgzIWyfqYj6gHoaXdk99gwxXLjXyA/NTM3P0E2Y3NB2F4115ZRoDHp62lCSas9FPWZ0GRVGU1RiL1LamNGsveWm1ECPxgSQxx57JbuxauT2VZzG9cOZQmfacPR0ZjJHGls1tTLgAQOhgIGEynu8jMTmGslgVK3IJL4XHOG4JwpaiMJjsOBYmlY05YiQG8+gL49y9APyVqzsKHBb05OF5fX8+8DV3CI2ox7sdBDNCFytqzp8O+ZriTJLf5wpFSavCweErBkCM22x8VYBKzchLloS/4BAVSl7Dxf2953ST8SoXhVaJAGJ6n/UBCcXI7J5IZYODj0VyEuVBEVFtFlVFOjSh700OUEfRs2x1ms2AqLqPi5TXg31DYO24Zp/2VKKhKb11cGBWvAmKK4trdr9c7wMnCWeU53MJUVgEPthW8712lQcQnaxAJQH+yg8UhJCz/xAy3X7Hu2g+j+sCt9+E3qb+dc90xgfDVv59URKZSuwOdWj0niqKB2xaepz/mXhqRq2WbXkIjt2Hyu+atKWeLaRrmG8hUaIfVyuus21Z7qFXXFEhUgi2QJp+KLIpweqCG+wQnaC93+Qlm/lSU79RbqlXMnF0K2Xr1CO10Uu0wP0Enr3DxkPmeB4U+JLMe8ZMLqkcHF72NzyC9qCqpHAtdSyAswWAyU3ZHwGSs721cw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR83MB0452.EURPRD83.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(8990500004)(76116006)(33656002)(52536014)(44832011)(66946007)(316002)(110136005)(6506007)(2906002)(8676002)(64756008)(38100700002)(4326008)(8936002)(66476007)(5660300002)(66556008)(66446008)(53546011)(55016003)(166002)(38070700005)(508600001)(10290500003)(86362001)(9686003)(7696005)(71200400001)(966005)(83380400001)(186003)(82960400001)(82950400001)(122000001)(91840200004)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?f+JbkbqeRypoh668x9MgIG+LjbA5k5NR1wlu7IkLtwIesDZskkLofIOmSyMP?= =?us-ascii?Q?2rWzsRueU75EQ+qrmU2ObeFtPAyFzmyc3puLiHL/CNezs0VgXKACsThlsizS?= =?us-ascii?Q?Mx1pn/Sk0KppvNWE5NkFRDmk9DhdkDkb27gHUwNEj+ldwRfiIOvJ/dIhTrAm?= =?us-ascii?Q?eKsgT09y0BCoAWq6X/LKlsmPpCbo0A0UdQ64A4qSwdGyloZvrbm5IAKbUBBB?= =?us-ascii?Q?bMZu9cWnIjCQA2x0eVGvj1fI1FLakHJYn+wt+o+dnQiywX9UUaWL3ZtzAZee?= =?us-ascii?Q?rjlqSCMJqTJVj2UCy1USv+915FcZv2jKvrQItI/08QKcVSe8BOjRSWKlah87?= =?us-ascii?Q?8xdVyWtw58WY1cKGRk3aBp+Gju3ZBbp9P93Mgtf0kOjq4Z9NvPbk7u1lmYe/?= =?us-ascii?Q?aVOsjzZGOU5HYid3NjwWAc8dyPcJyxRCpiuOKh1KrV4nakKbcHpl0gddcH+Z?= =?us-ascii?Q?ekBJrp73qMAe/dLMOsK0/4RqHO9aGgQwX9EjpMNhS2mJGDJAPJQrus/urmPt?= =?us-ascii?Q?QItcXAETzI+4nNYId6/kHF2IXqVDQvqTuPmaCGxJDFqIkWscCaoKhKoqHbf5?= =?us-ascii?Q?pRwjmSoSd5UHY4ydYGFJY4aOdGrHucd7djef1i2odGLlzsxaSfwVghqlIrBQ?= =?us-ascii?Q?s6yzwXC3sS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zUOQF9RRE/t6B7Y6Zs3?= =?us-ascii?Q?Cfk3xVKiRmbawKZhNmnqC5zyCxNCrNthlAr/D8PDr+ZTUGiO9t3YMgchCCym?= =?us-ascii?Q?eypEEebm9t5t5lwW8QlqbfgQ8wnZWMsGiA7FO07LAWhycr/1/0R8xfrGwm9m?= =?us-ascii?Q?ToJstA=3D=3D?=
Content-Type: multipart/alternative; boundary="_000_AM7PR83MB04521F9B225816B5D4D1A8F891789AM7PR83MB0452EURP_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR83MB0452.EURPRD83.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 373d2928-5c02-427c-4992-08d9c19afc33
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2021 20:22:44.7930 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: WBsoCScc6Oi9szB9TrlzLuSzUHycmTNa66GvtLGWtjhWNOtp+uwXZpAIclmttmA3Npv7f+CGIpaSH6+hnjW7Fkc+iJ2Ztj0qMSy6dgREM/A=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR83MB0492
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/5NumUldFaKxhjgU5d9bLcJSIhwU>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re:  OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 20:22:59 -0000

--_000_AM7PR83MB04521F9B225816B5D4D1A8F891789AM7PR83MB0452EURP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Agreed that the attackers goal is to bypass phishing filters and they found=
 a way to achieve this by using an IdP that adheres to the standards. I don=
't have the context for the design choice to redirect on an error condition=
, but am curious why the IdP should not be allowed to handle the error cond=
ition, rather than redirect (or at least have the option to do so)?

From: OAuth <oauth-bounces@ietf.org> On Behalf Of Vittorio Bertocci
Sent: Friday 17 December 2021 19:55
To: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
Cc: oauth <oauth@ietf.org>
Subject: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks

The attack doesn't rely on redirecting to unregistered URLs, that's the pro=
blem.
The goal of the attack is to circumvent phishing filters, by presenting a U=
RL from a legitimate domain (the AS) that eventually redirects to the actua=
l phishing URL. The actual phishing page doesn't need to target the same au=
thorization server, or an authorization server at all for that matter.
An attacker can register a legitimate app on any authorization server as a =
service, on their own tenant. The goal is just to have a starting URL that =
phishing filters won't block, and the attacker is in full control of the re=
direct URIs they register in their own tenant.

My take: it might be tricky to change the redirect on error behavior at thi=
s point, but we should at least note the issue in the security consideratio=
ns/BCPs and possibly give some advice. For example, on top of my head: AS s=
hould expose their endpoints on a domain dedicated to OAuth/OIDC operations=
, and avoid using its top level domains (different area/service, but think =
herokuapp.com<https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A=
%2F%2Fherokuapp.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C=
cbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0=
%7C637753677744175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV=
2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DUKsLcroZJVlu8HPo2lG9oF=
GeAT5RZsTUcEbhD0pZP8M%3D&reserved=3D0> vs heroku.com<https://nam06.safelink=
s.protection.outlook.com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&data=3D04%7C01%7=
Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f9=
88bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753677744175760%7CUnknown%7CTWFpb=
GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7=
C3000&sdata=3D9hsxq2ZxK%2FwBJTe5RGIFZSTJ0icXcvEiLsBDXhdn8Rk%3D&reserved=3D0=
>) so that if a phishing filter decides to block direct links to the issuin=
g endpoints will only impact things like IdP initiated flows (solvable by a=
dding jumpstart endpoints on the RP anyway, just like IdP initiated sign in=
 works in OIDC). I am sure there are lots of other things we can come up wi=
th that can make the problem better.

On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D40rhosys.ch@dmarc.ie=
tf.org<mailto:40rhosys.ch@dmarc.ietf.org>> wrote:
I think this just falls into the category of never redirect the user to a u=
rl that doesn't match one of the preregistered redirect urls (or logout url=
s for that matter). Any application that has redirects anywhere provides an=
 opportunity for this attack vector, OAuth isn't unique in that way, it jus=
t is consistent and documented. And the 2.1 draft is pretty clear on this f=
ront:

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.=
2.1<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdat=
atracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%23section-4.1.2.1=
&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b9617e908=
d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%=
7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw=
iLCJXVCI6Mn0%3D%7C3000&sdata=3D3EUcWa6IS4l67nLHRSP13J0Q0SAgNXCDiO%2B22GSoNL=
M%3D&reserved=3D0>
   If the request fails due to a missing, invalid, or mismatching
   redirect URI, or if the client identifier is missing or invalid, the
   authorization server SHOULD inform the resource owner of the error
   and MUST NOT automatically redirect the user agent to the invalid
   redirect URI.

I want to call this attack vector "illegitimate phishing applications" whic=
h is easily blocked by preregistration and/or PARs. And is only a very smal=
l subset of phishing attacks with OAuth, of which the larger group is "legi=
timate phishing applications". An app can be registered correctly, and stil=
l issue a phishing attack as phishing attacks through OAuth are actually in=
distinguishable from standard user delegation. There is no way to prevent t=
hese without an application review before registration is completed, here's=
 an example that cloned Google apps y creating a fake app called google def=
ender: https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-ope=
n-authentication-advanced-social-engineering-attacks.html<https://nam06.saf=
elinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_=
us%2Fresearch%2F17%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-soc=
ial-engineering-attacks.html&data=3D04%7C01%7Cpieter.kasselman%40microsoft.=
com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7=
C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJ=
QIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DiAkKMqOFq9WaCFyO=
46PmxbPKNEY8Q%2FGrnJ9GMw06EPo%3D&reserved=3D0>

If we can't protect against these latter ones, I hardly think protecting ag=
ainst the former is useful/interesting/valuable.


[https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW5=
6Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9=
GCeBRRzrSc8kWcUSNtuA]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae=
4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753677=
744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHpY3P0HundCwtRQ6yYmnoHLQROHofah%2B=
Z%2B3EMN2%2FkRk%3D&reserved=3D0>.


On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com=
<mailto:rifaat.s.ietf@gmail.com>> wrote:

All,



An article was recently published discussing some OAuth Redirection Attacks=
 to try to bypass phishing detection solutions. See the details of these at=
tacks in the following link:



https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oaut=
h-implementation-vulnerabilities-lead-redirection<https://nam06.safelinks.p=
rotection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2=
Fcloud-security%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities=
-lead-redirection&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8e=
fd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63=
7753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz=
IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Dw1Ka1ztLdHnvwzngw%2BRbAlgv9=
7RaTxbIYlO%2FSCN2lrc%3D&reserved=3D0>




The article discusses attacks on Microsoft and GitHub, but these attacks ar=
e not unique to these companies.

The attacks take advantage of how OAuth handles error responses, which send=
s responses to the application's redirect URL.


I would like to get the thoughts of the working group on these types of att=
acks.

What is the best way to mitigate these attacks?

Do we need a new approach for handling errors with OAuth?


Regards,

 Rifaat

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b9617e=
908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536777442261=
86%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DQlSEfYrRZSkF4Iwfux03kcUyD57bDFTUjJqAYJgha=
yM%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b9617e=
908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536777442261=
86%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DQlSEfYrRZSkF4Iwfux03kcUyD57bDFTUjJqAYJgha=
yM%3D&reserved=3D0>

--_000_AM7PR83MB04521F9B225816B5D4D1A8F891789AM7PR83MB0452EURP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Lato;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-IE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Agreed th=
at the attackers goal is to bypass phishing filters and they found a way to=
 achieve this by using an IdP that adheres to the standards. I don&#8217;t =
have the context for the design choice to
 redirect on an error condition, but am curious why the IdP should not be a=
llowed to handle the error condition, rather than redirect (or at least hav=
e the option to do so)?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;oauth-bounces@ietf.org&gt;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D40rhosys.ch@dmarc.ietf.org&gt;<br>
<b>Cc:</b> oauth &lt;oauth@ietf.org&gt;<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<o:p></o=
:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">The attack doesn't&nbsp;rely on redirecting to unreg=
istered URLs, that's the problem.<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">The goal of the attack&nbsp;is to circumvent phishin=
g filters, by presenting a URL from a legitimate domain (the AS) that event=
ually redirects to the actual phishing&nbsp;URL. The actual phishing&nbsp;p=
age&nbsp;doesn't need to target the same authorization
 server, or an authorization server at all for that matter.&nbsp;<o:p></o:p=
></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">An attacker can register a legitimate app on any aut=
horization server as a service, on their own&nbsp;tenant. The goal is just =
to have a starting URL that phishing filters won't block, and the attacker =
is in full control of the redirect URIs
 they register in their own tenant.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">My take: it might be tricky to change the redirect o=
n error behavior at this point, but we should at least note the issue in th=
e security considerations/BCPs and possibly give some advice. For example, =
on top of my head: AS should expose
 their endpoints on a domain dedicated to OAuth/OIDC operations, and avoid =
using its top level domains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F=
%2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7=
Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C=
0%7C637753677744175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi=
V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DUKsLcroZJVlu8HPo2=
lG9oFGeAT5RZsTUcEbhD0pZP8M%3D&amp;reserved=3D0">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753677744175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D9hsxq2ZxK%2FwBJTe5RGIFZSTJ0icXcvEiLsBDXhdn8Rk%3D&amp;reserved=3D0">
heroku.com</a>) so that if a phishing filter decides to block direct links =
to the issuing endpoints will only impact things like IdP initiated flows (=
solvable by adding jumpstart endpoints on the RP anyway, just like IdP init=
iated sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make t=
he problem better.<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org">40rhosys.ch@dmarc.ietf.=
org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal">I think this just falls into the category of never r=
edirect the user to a url that doesn't match one of the preregistered&nbsp;=
redirect urls (or logout urls for that matter). Any application that has re=
directs anywhere provides an opportunity
 for this attack vector, OAuth isn't unique in that way, it just is consist=
ent and documented. And the 2.1 draft is pretty clear on this front:<o:p></=
o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-o=
auth-v2-1-04%23section-4.1.2.1&amp;data=3D04%7C01%7Cpieter.kasselman%40micr=
osoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011=
db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM=
DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D3EUcWa=
6IS4l67nLHRSP13J0Q0SAgNXCDiO%2B22GSoNLM%3D&amp;reserved=3D0" target=3D"_bla=
nk">https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-=
4.1.2.1</a><o:p></o:p></p>
</div>
<div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class=3D"MsoNormal">&nbsp; &nbsp;If the request fails due to a missing, =
invalid, or mismatching<br>
&nbsp; &nbsp;redirect URI, or if the client identifier is missing or invali=
d, the<br>
&nbsp; &nbsp;authorization server SHOULD inform the resource owner of the e=
rror<br>
&nbsp; &nbsp;and <b>MUST NOT automatically redirect the user agent to the i=
nvalid<br>
&nbsp; &nbsp;redirect URI</b>.<o:p></o:p></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I want to call this attack vector &quot;<b>illegitim=
ate</b>&nbsp;phishing applications&quot; which is easily blocked by preregi=
stration and/or PARs. And is only a very small subset of phishing attacks w=
ith OAuth, of which the larger group is &quot;<b>legitimate</b>
 phishing applications&quot;. An app can be registered correctly, and still=
 issue a phishing attack as phishing attacks through OAuth are actually ind=
istinguishable from standard user delegation. There is no way to prevent th=
ese without an application review before
 registration is completed, here's an example that cloned Google apps y cre=
ating a fake app called
<b>google defender</b>:&nbsp;<a href=3D"https://nam06.safelinks.protection.=
outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17=
%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-at=
tacks.html&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd2=
29ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DiAkKMqOFq9WaCFyO46PmxbPKNE=
Y8Q%2FGrnJ9GMw06EPo%3D&amp;reserved=3D0" target=3D"_blank">https://www.tren=
dmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanc=
ed-social-engineering-attacks.html</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">If we can't protect against these latter ones, I har=
dly think protecting against&nbsp;the former is useful/interesting/valuable=
.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<o:p></o:p></p>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;padding:=
0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
&quot;Arial&quot;,sans-serif;color:black;border:none windowtext 1.0pt;paddi=
ng:0cm"><img border=3D"0" width=3D"199" height=3D"34" style=3D"width:2.0729=
in;height:.3541in" id=3D"_x0000_i1025" src=3D"https://lh6.googleusercontent=
.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltW=
kPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA"></span><=
o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-b=
ottom:none;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:&quot;Lato&quot;,sans-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-t=
op:none;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
.0pt;font-family:&quot;Lato&quot;,sans-serif">Founder, CTO</span><o:p></o:p=
></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">Secure your user da=
ta with IAM authorization as a service. Implement&nbsp;</span><a href=3D"ht=
tps://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.=
io%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4=
b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536777=
44226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHpY3P0HundCwtRQ6yYmnoHLQROHofah=
%2BZ%2B3EMN2%2FkRk%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"fo=
nt-size:10.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</span=
><o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef &=
lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifaat.s.ie=
tf@gmail.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">All,</span><o:p></o:p></p>
<p style=3D"margin:0cm"><o:p>&nbsp;</o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">An article was recently published discussing some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection=
 solutions. See the details of these attacks in the following link:</span><=
o:p></o:p></p>
<p style=3D"margin:0cm"><o:p>&nbsp;</o:p></p>
<p style=3D"margin:0cm"><a href=3D"https://nam06.safelinks.protection.outlo=
ok.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2Fcloud-security=
%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities-lead-redirecti=
on&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b96=
17e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536777442=
26186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I=
k1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dw1Ka1ztLdHnvwzngw%2BRbAlgv97RaTxbI=
YlO%2FSCN2lrc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-fa=
mily:&quot;Arial&quot;,sans-serif">https://www.proofpoint.com/us/blog/cloud=
-security/microsoft-and-github-oauth-implementation-vulnerabilities-lead-re=
direction</span></a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p style=3D"margin:0cm"><o:p>&nbsp;</o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">The article discusses attacks on Microsoft and GitHub, bu=
t these attacks are not unique to these companies.</span><o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">The attacks take advantage of how OAuth handles error res=
ponses, which sends responses to the application&#8217;s redirect URL.</spa=
n><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">I would like to get the thoughts of the working group on =
these types of attacks.&nbsp;</span><o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">What is the best way to mitigate these attacks?</span><o:=
p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">Do we need a new approach for handling errors with OAuth?=
</span><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">Regards,</span><o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">&nbsp;Rifaat</span><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DQlSEfYrRZSkF4Iwfux03kcUyD57bDFTUjJqAYJghayM%3D&amp;reserved=3D0" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p>=
</p>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DQlSEfYrRZSkF4Iwfux03kcUyD57bDFTUjJqAYJghayM%3D&amp;reserved=3D0" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p>=
</p>
</blockquote>
</div>
</div>
</body>
</html>

--_000_AM7PR83MB04521F9B225816B5D4D1A8F891789AM7PR83MB0452EURP_--


From nobody Fri Dec 17 12:27:13 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 05CB73A0ADC for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:27:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level: 
X-Spam-Status: No, score=-1.988 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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=rhosys.ch
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 sG2J28F7MReB for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:27:06 -0800 (PST)
Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 AEE913A0AC7 for <oauth@ietf.org>; Fri, 17 Dec 2021 12:27:06 -0800 (PST)
Received: by mail-yb1-xb2c.google.com with SMTP id v138so9718978ybb.8 for <oauth@ietf.org>; Fri, 17 Dec 2021 12:27:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ASUpSRRUxiz7XAn6hmvY14gPP4K1BcKgqHyO5aTO6YA=; b=FZ+Qn+YzciqpUn4auhqPTbT12N44whp26EqUZF8QSzUrob7N6uv15/sHXZGFtvHnJJ dbPnY2JwKSgRVFJhSrCnfnSG358s4GoXFiUH8albmG0X60Nd8rNWLp+mOtGw8vuKh/Tj HDcmIkkrczSg4zEIMVDvrJaBccWmIaJVpZeA7dIvXDsL6iCdg+Vd0mt2usk+SMWYYEUQ zbSPeaMEW6F5pGetxGkdr1ZDh/gs7KOWLoarp6zkvzEQgEJNO4eWd2zs9K2KmIP+pZ6e OO0Q+MMmQzMcuBpfPAB7gETilazAM3xt/4GbfkoKP4vWsOGll8tUd/7Jur/qHC1O+4RD G37g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ASUpSRRUxiz7XAn6hmvY14gPP4K1BcKgqHyO5aTO6YA=; b=C5fUGFI62Da3Y1BFXQ6RVPx6bbN2fFp3GiZHQGEYFUVAQRvLwh5TRtmmxI2jbbf/vq Dv10Namc8O2WESQOxA4qxUfZdMtS2llOzGpKQ7evrZ9nyzvWA3RW9HHILr1obEkl4bqJ QahZHIYgHrAaTtf1fKb8WdsanQ1rsnBfx1FEbQEV/Ti544WyWUNYrYonifbYx0J5kTy2 5JKT+bo3WLS+sVEhiy2gBKpBs25xOeMMhtaP0P1Z4rwYvAnAOlXcZDh0+QqZQAG7lMtu 4+d9Kz9YIE+qdus2zxi/iujtZSpZtd2u6DzC8MGSWvhINGm52oze0JXIxKSMUGZgnVeS P7bQ==
X-Gm-Message-State: AOAM531VKdZj748AZaYpC2uQKu2fEkKBiYhYCdtuKzC5Q3i5sNiqQcZn /UT8ZkqsxTbsjA9cSVY6gXmhNCXsWrsZYr4PK3Vq
X-Google-Smtp-Source: ABdhPJzylgRDBJ5tKcVyTcUKfTCRmRgiAdVMB9yyNjygs2JJHWCRw1EZpIUafjcibPgIqBpOy2QleW0RY+DvTtgvcCo=
X-Received: by 2002:a25:6b4a:: with SMTP id o10mr6154352ybm.660.1639772824026;  Fri, 17 Dec 2021 12:27:04 -0800 (PST)
MIME-Version: 1.0
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com>
In-Reply-To: <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Fri, 17 Dec 2021 21:26:53 +0100
Message-ID: <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com>
To: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>
Cc: Vittorio Bertocci <Vittorio@auth0.com>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b0dea505d35d5c0c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/sEuv0W0DPkjfSqlqSGIc4LNV9Nk>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re:  OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 20:27:12 -0000

--000000000000b0dea505d35d5c0c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

You want to redirect on some errors because the last thing an AS wants is
to leave the user in the AS because the user can't do anything there and
the AS can't do anything either. It's just bad UX. But if the redirect url
isn't valid, this is absolutely the time that the AS should keep the user
there for user's protection.  Any AS redirecting the user to an invalid
redirect url, isn't doing the right thing.

But that only solves the illegitimate phishing urls, it doesn't solve the
class of problem where a phishing application is legitimately registered.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman <pieter.kasselman=3D
40microsoft.com@dmarc.ietf.org> wrote:

> Agreed that the attackers goal is to bypass phishing filters and they
> found a way to achieve this by using an IdP that adheres to the standards=
.
> I don=E2=80=99t have the context for the design choice to redirect on an =
error
> condition, but am curious why the IdP should not be allowed to handle the
> error condition, rather than redirect (or at least have the option to do
> so)?
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Vittorio Bertocci
> *Sent:* Friday 17 December 2021 19:55
> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
> *Cc:* oauth <oauth@ietf.org>
> *Subject:* [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>
>
>
> The attack doesn't rely on redirecting to unregistered URLs, that's the
> problem.
>
> The goal of the attack is to circumvent phishing filters, by presenting a
> URL from a legitimate domain (the AS) that eventually redirects to the
> actual phishing URL. The actual phishing page doesn't need to target the
> same authorization server, or an authorization server at all for that
> matter.
>
> An attacker can register a legitimate app on any authorization server as =
a
> service, on their own tenant. The goal is just to have a starting URL tha=
t
> phishing filters won't block, and the attacker is in full control of the
> redirect URIs they register in their own tenant.
>
>
>
> My take: it might be tricky to change the redirect on error behavior at
> this point, but we should at least note the issue in the security
> considerations/BCPs and possibly give some advice. For example, on top of
> my head: AS should expose their endpoints on a domain dedicated to
> OAuth/OIDC operations, and avoid using its top level domains (different
> area/service, but think herokuapp.com
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fherok=
uapp.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229a=
e4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775367=
7744175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DUKsLcroZJVlu8HPo2lG9oFGeAT5RZsTUc=
EbhD0pZP8M%3D&reserved=3D0>
> vs heroku.com
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fherok=
u.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b=
9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775367774=
4175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI=
6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9hsxq2ZxK%2FwBJTe5RGIFZSTJ0icXcvEiLs=
BDXhdn8Rk%3D&reserved=3D0>)
> so that if a phishing filter decides to block direct links to the issuing
> endpoints will only impact things like IdP initiated flows (solvable by
> adding jumpstart endpoints on the RP anyway, just like IdP initiated sign
> in works in OIDC). I am sure there are lots of other things we can come u=
p
> with that can make the problem better.
>
>
>
> On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D
> 40rhosys.ch@dmarc.ietf.org> wrote:
>
> I think this just falls into the category of never redirect the user to a
> url that doesn't match one of the preregistered redirect urls (or logout
> urls for that matter). Any application that has redirects anywhere provid=
es
> an opportunity for this attack vector, OAuth isn't unique in that way, it
> just is consistent and documented. And the 2.1 draft is pretty clear on
> this front:
>
>
>
>
> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.=
1.2.1
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdata=
tracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%23section-4.1.2.1&=
data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d=
9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%7=
CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi=
LCJXVCI6Mn0%3D%7C3000&sdata=3D3EUcWa6IS4l67nLHRSP13J0Q0SAgNXCDiO%2B22GSoNLM=
%3D&reserved=3D0>
>
>    If the request fails due to a missing, invalid, or mismatching
>    redirect URI, or if the client identifier is missing or invalid, the
>    authorization server SHOULD inform the resource owner of the error
>    and
> *MUST NOT automatically redirect the user agent to the invalid    redirec=
t
> URI*.
>
>
>
> I want to call this attack vector "*illegitimate* phishing applications"
> which is easily blocked by preregistration and/or PARs. And is only a ver=
y
> small subset of phishing attacks with OAuth, of which the larger group is=
 "
> *legitimate* phishing applications". An app can be registered correctly,
> and still issue a phishing attack as phishing attacks through OAuth are
> actually indistinguishable from standard user delegation. There is no way
> to prevent these without an application review before registration is
> completed, here's an example that cloned Google apps y creating a fake ap=
p
> called *google defender*:
> https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-aut=
hentication-advanced-social-engineering-attacks.html
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
trendmicro.com%2Fen_us%2Fresearch%2F17%2Fd%2Fpawn-storm-abuses-open-authent=
ication-advanced-social-engineering-attacks.html&data=3D04%7C01%7Cpieter.ka=
sselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141=
af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJ=
WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdat=
a=3DiAkKMqOFq9WaCFyO46PmxbPKNEY8Q%2FGrnJ9GMw06EPo%3D&reserved=3D0>
>
>
>
> If we can't protect against these latter ones, I hardly think protecting
> against the former is useful/interesting/valuable.
>
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae=
4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753677=
744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DHpY3P0HundCwtRQ6yYmnoHLQROHofah%2B=
Z%2B3EMN2%2FkRk%3D&reserved=3D0>
> .
>
>
>
>
>
> On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <
> rifaat.s.ietf@gmail.com> wrote:
>
> All,
>
>
>
> An article was recently published discussing some *OAuth Redirection
> Attacks* to try to bypass *phishing* detection solutions. See the details
> of these attacks in the following link:
>
>
>
>
> https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oa=
uth-implementation-vulnerabilities-lead-redirection
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
proofpoint.com%2Fus%2Fblog%2Fcloud-security%2Fmicrosoft-and-github-oauth-im=
plementation-vulnerabilities-lead-redirection&data=3D04%7C01%7Cpieter.kasse=
lman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIj=
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3Dw1Ka1ztLdHnvwzngw%2BRbAlgv97RaTxbIYlO%2FSCN2lrc%3D&reserved=3D0>
>
>
>
>
>
> The article discusses attacks on Microsoft and GitHub, but these attacks
> are not unique to these companies.
>
> The attacks take advantage of how OAuth handles error responses, which
> sends responses to the application=E2=80=99s redirect URL.
>
>
>
> I would like to get the thoughts of the working group on these types of
> attacks.
>
> What is the best way to mitigate these attacks?
>
> Do we need a new approach for handling errors with OAuth?
>
>
>
> Regards,
>
>  Rifaat
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DQlSEfYr=
RZSkF4Iwfux03kcUyD57bDFTUjJqAYJghayM%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DQlSEfYr=
RZSkF4Iwfux03kcUyD57bDFTUjJqAYJghayM%3D&reserved=3D0>
>
>

--000000000000b0dea505d35d5c0c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">You want to redirect on some errors because the last thing=
 an AS wants is to leave the user in the AS because the user can&#39;t do a=
nything there and the AS can&#39;t do anything either. It&#39;s just bad UX=
. But if the redirect url isn&#39;t valid, this is absolutely the time that=
 the AS should keep the user there for user&#39;s protection.=C2=A0 Any AS =
redirecting the user to an invalid redirect url, isn&#39;t doing the right =
thing.<div><br></div><div>But that only solves the illegitimate phishing ur=
ls, it doesn&#39;t solve the class of problem where a phishing application =
is legitimately registered.</div><div><div><br clear=3D"all"><div><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><table style=3D"border:none;border-collapse:collapse"><colgroup=
><col width=3D"214"><col width=3D"110"></colgroup><tbody><tr style=3D"heigh=
t:0pt"><td style=3D"border-width:1pt;border-style:solid;border-color:rgb(25=
5,255,255) rgb(204,204,204) rgb(255,255,255) rgb(255,255,255);vertical-alig=
n:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;=
border-width:1pt;border-style:solid;border-color:rgb(255,255,255);margin-to=
p:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:Arial;co=
lor:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-s=
pace:pre-wrap"><span style=3D"border:none;display:inline-block;overflow:hid=
den;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent.com/=
DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdB=
haZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199"=
 height=3D"34" style=3D"margin-left: 0px; margin-top: 0px;"></span></span><=
/p></td><td style=3D"border-width:1pt;border-style:solid;border-color:rgb(2=
55,255,255) rgb(255,255,255) rgb(255,255,255) rgb(204,204,204);vertical-ali=
gn:top;padding:5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2=
;border-left:1pt solid rgb(255,255,255);border-right:1pt solid rgb(255,255,=
255);border-top:1pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt=
"><span style=3D"font-size:11pt;font-family:Lato,sans-serif;background-colo=
r:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap"=
>Warren Parad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;border-left=
:1pt solid rgb(255,255,255);border-right:1pt solid rgb(255,255,255);border-=
bottom:1pt solid rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><font f=
ace=3D"Lato, sans-serif"><span style=3D"font-size:13.3333px;white-space:pre=
-wrap">Founder, CTO</span></font></p></td></tr></tbody></table><span style=
=3D"font-size:x-small">Secure your user data with IAM authorization as a se=
rvice. Implement=C2=A0</span><a href=3D"https://authress.io/" style=3D"font=
-size:x-small" target=3D"_blank">Authress</a><span style=3D"font-size:x-sma=
ll">.</span><br></div></div></div><br></div></div></div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 17, 2021 at 9=
:23 PM Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsof=
t.com@dmarc.ietf.org">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE" style=3D"overflow-wrap: break-word;">
<div class=3D"gmail-m_-4701354171951797092WordSection1">
<p class=3D"MsoNormal"><span>Agreed that the attackers goal is to bypass ph=
ishing filters and they found a way to achieve this by using an IdP that ad=
heres to the standards. I don=E2=80=99t have the context for the design cho=
ice to
 redirect on an error condition, but am curious why the IdP should not be a=
llowed to handle the error condition, rather than redirect (or at least hav=
e the option to do so)?<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;<a href=3D"mailto:oauth-bounces@ietf.org" target=3D"_=
blank">oauth-bounces@ietf.org</a>&gt;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ie=
tf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;<br>
<b>Cc:</b> oauth &lt;<a href=3D"mailto:oauth@ietf.org" target=3D"_blank">oa=
uth@ietf.org</a>&gt;<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<u></u><=
u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">The attack doesn&#39;t=C2=A0rely on redirecting to u=
nregistered URLs, that&#39;s the problem.<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">The goal of the attack=C2=A0is to circumvent phishin=
g filters, by presenting a URL from a legitimate domain (the AS) that event=
ually redirects to the actual phishing=C2=A0URL. The actual phishing=C2=A0p=
age=C2=A0doesn&#39;t need to target the same authorization
 server, or an authorization server at all for that matter.=C2=A0<u></u><u>=
</u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">An attacker can register a legitimate app on any aut=
horization server as a service, on their own=C2=A0tenant. The goal is just =
to have a starting URL that phishing filters won&#39;t block, and the attac=
ker is in full control of the redirect URIs
 they register in their own tenant.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">My take: it might be tricky to change the redirect o=
n error behavior at this point, but we should at least note the issue in th=
e security considerations/BCPs and possibly give some advice. For example, =
on top of my head: AS should expose
 their endpoints on a domain dedicated to OAuth/OIDC operations, and avoid =
using its top level domains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F=
%2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7=
Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C=
0%7C637753677744175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi=
V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DUKsLcroZJVlu8HPo2=
lG9oFGeAT5RZsTUcEbhD0pZP8M%3D&amp;reserved=3D0" target=3D"_blank">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753677744175760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D9hsxq2ZxK%2FwBJTe5RGIFZSTJ0icXcvEiLsBDXhdn8Rk%3D&amp;reserved=3D0" targe=
t=3D"_blank">
heroku.com</a>) so that if a phishing filter decides to block direct links =
to the issuing endpoints will only impact things like IdP initiated flows (=
solvable by adding jumpstart endpoints on the RP anyway, just like IdP init=
iated sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make t=
he problem better.<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4=
.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal">I think this just falls into the category of never r=
edirect the user to a url that doesn&#39;t match one of the preregistered=
=C2=A0redirect urls (or logout urls for that matter). Any application that =
has redirects anywhere provides an opportunity
 for this attack vector, OAuth isn&#39;t unique in that way, it just is con=
sistent and documented. And the 2.1 draft is pretty clear on this front:<u>=
</u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-o=
auth-v2-1-04%23section-4.1.2.1&amp;data=3D04%7C01%7Cpieter.kasselman%40micr=
osoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011=
db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM=
DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D3EUcWa=
6IS4l67nLHRSP13J0Q0SAgNXCDiO%2B22GSoNLM%3D&amp;reserved=3D0" target=3D"_bla=
nk">https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-=
4.1.2.1</a><u></u><u></u></p>
</div>
<div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4=
.8pt;margin-right:0cm">
<p class=3D"MsoNormal">=C2=A0 =C2=A0If the request fails due to a missing, =
invalid, or mismatching<br>
=C2=A0 =C2=A0redirect URI, or if the client identifier is missing or invali=
d, the<br>
=C2=A0 =C2=A0authorization server SHOULD inform the resource owner of the e=
rror<br>
=C2=A0 =C2=A0and <b>MUST NOT automatically redirect the user agent to the i=
nvalid<br>
=C2=A0 =C2=A0redirect URI</b>.<u></u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I want to call this attack vector &quot;<b>illegitim=
ate</b>=C2=A0phishing applications&quot; which is easily blocked by preregi=
stration and/or PARs. And is only a very small subset of phishing attacks w=
ith OAuth, of which the larger group is &quot;<b>legitimate</b>
 phishing applications&quot;. An app can be registered correctly, and still=
 issue a phishing attack as phishing attacks through OAuth are actually ind=
istinguishable from standard user delegation. There is no way to prevent th=
ese without an application review before
 registration is completed, here&#39;s an example that cloned Google apps y=
 creating a fake app called
<b>google defender</b>:=C2=A0<a href=3D"https://nam06.safelinks.protection.=
outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17=
%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-at=
tacks.html&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd2=
29ae4b9617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3677744226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DiAkKMqOFq9WaCFyO46PmxbPKNE=
Y8Q%2FGrnJ9GMw06EPo%3D&amp;reserved=3D0" target=3D"_blank">https://www.tren=
dmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanc=
ed-social-engineering-attacks.html</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">If we can&#39;t protect against these latter ones, I=
 hardly think protecting against=C2=A0the former is useful/interesting/valu=
able.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0cm"><img b=
order=3D"0" width=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0=
.3541in;" id=3D"gmail-m_-4701354171951797092_x0000_i1025" src=3D"https://lh=
6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKb=
APtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8=
kWcUSNtuA"></span><u></u><u></u></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><u></u><u></u></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><u></u><u></u></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b9=
617e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753677744=
226186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6=
Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DHpY3P0HundCwtRQ6yYmnoHLQROHofah%2=
BZ%2B3EMN2%2FkRk%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font=
-size:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u></=
u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef &=
lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifaat.s.ie=
tf@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4=
.8pt;margin-right:0cm">
<div>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">All,</span><u></u><u></u></p>
<p style=3D"margin:0cm"><u></u>=C2=A0<u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">An article was recently published discussing some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection=
 solutions. See the details of these attacks in the following link:</span><=
u></u><u></u></p>
<p style=3D"margin:0cm"><u></u>=C2=A0<u></u></p>
<p style=3D"margin:0cm"><a href=3D"https://nam06.safelinks.protection.outlo=
ok.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2Fcloud-security=
%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities-lead-redirecti=
on&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7Ccbc8efd229ae4b96=
17e908d9c1974378%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536777442=
26186%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I=
k1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dw1Ka1ztLdHnvwzngw%2BRbAlgv97RaTxbI=
YlO%2FSCN2lrc%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-fa=
mily:Arial,sans-serif">https://www.proofpoint.com/us/blog/cloud-security/mi=
crosoft-and-github-oauth-implementation-vulnerabilities-lead-redirection</s=
pan></a><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p style=3D"margin:0cm"><u></u>=C2=A0<u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">The article discusses attacks on Microsoft and GitHub, but these atta=
cks are not unique to these companies.</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">The attacks take advantage of how OAuth handles error responses, whic=
h sends responses to the application=E2=80=99s redirect URL.</span><u></u><=
u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">I would like to get the thoughts of the working group on these types =
of attacks.=C2=A0</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">What is the best way to mitigate these attacks?</span><u></u><u></u><=
/p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">Do we need a new approach for handling errors with OAuth?</span><u></=
u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">Regards,</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">=C2=A0Rifaat</span><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DQlSEfYrRZSkF4Iwfux03kcUyD57bDFTUjJqAYJghayM%3D&amp;reserved=3D0" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u><=
/u></p>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7Ccbc8efd229ae4b9617e908d9c1974378%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753677744226186%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3DQlSEfYrRZSkF4Iwfux03kcUyD57bDFTUjJqAYJghayM%3D&amp;reserved=3D0" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u><=
/u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>

--000000000000b0dea505d35d5c0c--


From nobody Fri Dec 17 12:44:25 2021
Return-Path: <pieter.kasselman@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F16E3A043E for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:44:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 Dgqnj1oLfldj for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:44:18 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp0208.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e0e::208]) (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 265973A0403 for <oauth@ietf.org>; Fri, 17 Dec 2021 12:44:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xu0izzT0zlsCnZVrS0O+wUoF3Eh6Z6etI1UIIeBQ4oyuGliXl5uZMa9Ky2KYlAOBoPe4vrzmiEGMDK/1AgaY40KGS9pR+Pm8D8oooEiUrkurv7sxG4i+fNIUym+lC1AMC3IiY0q6Y2Dv/QLTKKp5TYxFDQPsw5iBkAWt8vWvLNkJFRSwOP7bx/Czu3irfbjwi5ZWVWiLrzOn4b0Ot9akSTHyoK5Pm7rQdhd+RZmp40J1pT5yGUf2Z6Bl9uFHkY5UmQxhQJ0qtc0UErYMQyxsTKDRUXRW/MeM5PdoEaQOMdcfFf3844jz9LiTkkr5Z6pIb3lxaT1M7H6b4CJrhG4OYQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PqGlUBnaCNseCyu63I7TR2w7Ob00++LhixJxFHgQnaA=; b=lIjAzdroKHFt2HixbNS2NQeKgohkpQJsgt3V2n6d9EtVzz5TplTqNDdr21n5GbZhB1Q1XXty4yvYpfGvfwKhPob+KYN22OYSgeup0kk4+y5DqjUikvb6SJ3FqPb374C1P6BSVIVjt24A+En2mJ/R16JWXeEG9vfU+DbiliDRAZNY5s81x2QHS9JWjsQq30Ro8Cu2pLlDY6h/FwfdL/VIE8wwCenBin366H2+2UmjB/5m2O/YY/axaumZMKACxs6/zb7rUmb9UwiUwuKQXNjd9HX6XngMOcD17OdFjI0GY1GhqTKZmLii2Be+oxZnLEMQEuXlwEf3h8/FQ7ym8qDylw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PqGlUBnaCNseCyu63I7TR2w7Ob00++LhixJxFHgQnaA=; b=VfYE/Jqr7uqJO9qgtZI/k+geNqQCSjTjk9BX2HQ0Lt6LNIkTznoG8U00du6MQxkcNrIrwAdQu3bZHp2rcssUepODQOvPY8y75/QxsPaZ7kP1DL6MpRvrKs8Y51sSk3gAkPwEbVqaaGjyojAPjCMC1dsxurXTN20r4n/8jUocV+0=
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com (2603:10a6:20b:1b6::10) by VI1PR83MB0350.EURPRD83.prod.outlook.com (2603:10a6:802:3b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.4; Fri, 17 Dec 2021 20:44:05 +0000
Received: from AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::e17e:2ca8:5565:cf6d]) by AM7PR83MB0452.EURPRD83.prod.outlook.com ([fe80::e17e:2ca8:5565:cf6d%5]) with mapi id 15.20.4823.010; Fri, 17 Dec 2021 20:44:05 +0000
From: Pieter Kasselman <pieter.kasselman@microsoft.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
CC: Vittorio Bertocci <Vittorio@auth0.com>, oauth <oauth@ietf.org>
Thread-Topic: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
Thread-Index: AQHX80YWPcHBUYyLGkWkzKsSFOy7mqw3GYMAgAAD5UCAAATmgIAAAGcA
Date: Fri, 17 Dec 2021 20:44:05 +0000
Message-ID: <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com>
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com>
In-Reply-To: <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com>
Accept-Language: en-IE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-17T20:43:49Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=a6d3fef6-c2ff-4589-b15b-edee184cf4ff; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 92d761c0-a1b5-459e-c0b7-08d9c19df793
x-ms-traffictypediagnostic: VI1PR83MB0350:EE_
x-microsoft-antispam-prvs: <VI1PR83MB035026CD95709B10CCFE26E091789@VI1PR83MB0350.EURPRD83.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ukB/ha474ksBR3glcXq2NA4pk1R7DFit3G/6g49++ryCeHa584yCF1JvjEy8gmq+TssFlPi2OB0/QIZ+wBvRLGmWUh7Jd8aR9BDc1c6ys9gdvk+hBwaPvNwaSCBCUufmuAFxJZtKt+XBNk4dCBVuS7+PxPn0MdPwbiLaOtJCtqfXvlWfTeJHQVaqVrZf3BkzZ6piAWUC7a6IvwtMYBoFiyXRisjfBQ52TpwvdN3CtiaJvML7BrFPafye3LbS/U/KMBMQSYetG3/ippip2wh/k2LyWDwPuH5S8acCsnVV1Q+pxHE1dLofvX5MyU7gvLeWBc5neeHgTdQC1WTFFWhXzIzl/v9J4nBhPp5RqG5vv8e5OeJmPg45ApUISB4QJ+sAsVOetpTSdG0pTra5c5BRBADkJRRhmISjE3RpAqNW41ELoYuJtwz2EyUULvjrsDRiPOPoHguUogK3xLaC0VjwrcrOOCHhwRguDCL9fSVozU/xe+SVr4Irct2df7uqxgE8s+JQcbBfp4tn9nd3DqF0dCzAjI+Jfcp19yy3ieZgLaz4F+ZyNnLsVxjFG0Hqr59AfzsbsecoCXIPNLQXKLlFP+KWEqzefMapMfZu2CMWDaoCMHLeYmauR4eN4HLfvVveZFfUMIZ0LrIB556ZyrS6p2haec8oyrAEDG7vpa257kYhGNDpye/XMCN67ETflIMxz8paA307OzFQNBOvjYe6x1aMuDEAZZH5BHtiUfwxuTJWdlZxPV3Oyko5D0JypYEcKaJx09Q64p29MVxzmvDWAVR4EyrY1tD3hkVOz47w9lY58ZY8POr3voNFDd4NagBAKk2rgn4vHHLl+cVdtHRkXt6CAdlBqs1zHiyeUmtb2nWMaG/86MhWj3jsUethTd3k1Lg/9bAdqjvWK98672rWAw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR83MB0452.EURPRD83.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(54906003)(8676002)(316002)(8936002)(66556008)(186003)(5660300002)(44832011)(38070700005)(8990500004)(38100700002)(2906002)(166002)(86362001)(66476007)(4326008)(52536014)(64756008)(66446008)(82950400001)(82960400001)(71200400001)(55016003)(99936003)(10290500003)(9686003)(83380400001)(33656002)(66946007)(7696005)(122000001)(76116006)(966005)(6506007)(53546011)(508600001)(91840200004)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/7ufjYu6hlrciPwf9BcE+yUAbCdtuVceLDYnHzDxRNao93U4S5Gt5d5/8i5V?= =?us-ascii?Q?ZDTNLdqPbYWKdT+HUSKgz3e8WbG9tH/o6oDAIvQRnkzgswyfNzNSWiMs6544?= =?us-ascii?Q?HpsmxAAA28Xm5FfgQmF28uhatK0ntKL0s/GUjy8Jw2bY+LAU/xVDIS6N1/B8?= =?us-ascii?Q?+WVjcJ6pxSUppxL/qj7JrSkosxFCJChl2lMX32OVVmqn03gIP6v/VCuAPzY3?= =?us-ascii?Q?SVH3JPirfkYGpe/vQPGpTDHRib/BIhDSBVrzDb4bvTQpaRVv2A3a705BcQL4?= =?us-ascii?Q?eIG8ZBHPewWVlK3ao4/KMjR9AcQ2hwX2VAKcu17hz9BBFx11cKJQkqNOUIxG?= =?us-ascii?Q?gFUU7eu2rpwJuHBhMssaB+lutmytZWMUZXWKlcbQtng6P8bRk5pwSUGeWu/y?= =?us-ascii?Q?lHVjmQfQLz8zyWIIh9X2HqeUAMFbigyUHG3w/zBLS+9LlhREb/MvEakInJ8H?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Z4yGqxgKiO5HbUOwPsCj3A+Qj?= =?us-ascii?Q?IrCyGztVo2BHCkptkMGqLmfrInHwT/cIcKqy7nsbktk+nrIn+BKpdc8JV2zA?= =?us-ascii?Q?m6fovqgQj4h8xj7gFEsWVIDjacR5KYi78qRbM7kHiMXQf4tMeKRS0OwQydyC?= =?us-ascii?Q?K2MxzbzofQCp7RuDteKMokhBr6l+VcaNkV6t0R2iMg2TY4CNQ3o1+RFsUPL4?= =?us-ascii?Q?Fc2zrW0QR79LUPXFQnV0PKbbtJ+Any8ecMMQw7sr3Nut2GxZu8XcC+hFLsEM?= =?us-ascii?Q?tTybee9EmN7UbGv7Kwtns19yj+2vQvVtbKlkKf8xex6zhFB282q2Was222Xi?= =?us-ascii?Q?8dKmZQ=3D=3D?=
Content-Type: multipart/related; boundary="_004_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR83MB0452.EURPRD83.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 92d761c0-a1b5-459e-c0b7-08d9c19df793
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2021 20:44:05.5867 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: KfXACJS0qOLzRfnQijDsTl+SA0y+cSY2ufUQ5Y7opVDxtW0i3CR52uEeWD8ls2ujkockxTvf9A6flgUqTV6vblExMkXC+ZBJb/8tiAUmVP4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR83MB0350
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/p_E80LD7zm1DQQk5wSqeEEAW8nY>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re:  OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 20:44:23 -0000

--_004_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_
Content-Type: multipart/alternative;
 boundary="_000_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_"

--_000_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The problem isn't invalid URLs but malicious ones. Given a choice between a=
 sub-optimal user experience and a phished end-user, perhaps an option that=
 allows the authorization server to handle the error, rather than redirecti=
ng can serve end-users better. But as Vittorio points, out, there are proba=
bly other options as well to consider. URL reputation services is another o=
ption, but problematic since they are imperfect and I expect hard to standa=
rdise to a point that creates a common minimum level of assurance (similar =
to any fraud calculation or risk score).

From: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
Sent: Friday 17 December 2021 20:27
To: Pieter Kasselman <pieter.kasselman@microsoft.com>
Cc: Vittorio Bertocci <Vittorio@auth0.com>; oauth <oauth@ietf.org>
Subject: Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks

You want to redirect on some errors because the last thing an AS wants is t=
o leave the user in the AS because the user can't do anything there and the=
 AS can't do anything either. It's just bad UX. But if the redirect url isn=
't valid, this is absolutely the time that the AS should keep the user ther=
e for user's protection.  Any AS redirecting the user to an invalid redirec=
t url, isn't doing the right thing.

But that only solves the illegitimate phishing urls, it doesn't solve the c=
lass of problem where a phishing application is legitimately registered.


[Image removed by sender.]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9=
437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696=
441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvGw=
xr%2FzF52w0%3D&reserved=3D0>.


On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman <pieter.kasselman=3D40micr=
osoft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
Agreed that the attackers goal is to bypass phishing filters and they found=
 a way to achieve this by using an IdP that adheres to the standards. I don=
't have the context for the design choice to redirect on an error condition=
, but am curious why the IdP should not be allowed to handle the error cond=
ition, rather than redirect (or at least have the option to do so)?

From: OAuth <oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org>> On Beha=
lf Of Vittorio Bertocci
Sent: Friday 17 December 2021 19:55
To: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org<mailto:40rhosys.ch@dm=
arc.ietf.org>>
Cc: oauth <oauth@ietf.org<mailto:oauth@ietf.org>>
Subject: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks

The attack doesn't rely on redirecting to unregistered URLs, that's the pro=
blem.
The goal of the attack is to circumvent phishing filters, by presenting a U=
RL from a legitimate domain (the AS) that eventually redirects to the actua=
l phishing URL. The actual phishing page doesn't need to target the same au=
thorization server, or an authorization server at all for that matter.
An attacker can register a legitimate app on any authorization server as a =
service, on their own tenant. The goal is just to have a starting URL that =
phishing filters won't block, and the attacker is in full control of the re=
direct URIs they register in their own tenant.

My take: it might be tricky to change the redirect on error behavior at thi=
s point, but we should at least note the issue in the security consideratio=
ns/BCPs and possibly give some advice. For example, on top of my head: AS s=
hould expose their endpoints on a domain dedicated to OAuth/OIDC operations=
, and avoid using its top level domains (different area/service, but think =
herokuapp.com<https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A=
%2F%2Fherokuapp.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C=
10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0=
%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV=
2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D6oiRh6TMVJnXYUGdDJt%2B=
LQQI0gCtOs7au%2BU7ctOd%2Bjo%3D&reserved=3D0> vs heroku.com<https://nam06.sa=
felinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&data=3D04%=
7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%=
7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7=
CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn=
0%3D%7C3000&sdata=3DegS2AEI1FmpbL09upMutgGCUtpgyEn2l1FtdDb7WCdI%3D&reserved=
=3D0>) so that if a phishing filter decides to block direct links to the is=
suing endpoints will only impact things like IdP initiated flows (solvable =
by adding jumpstart endpoints on the RP anyway, just like IdP initiated sig=
n in works in OIDC). I am sure there are lots of other things we can come u=
p with that can make the problem better.

On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D40rhosys.ch@dmarc.ie=
tf.org<mailto:40rhosys.ch@dmarc.ietf.org>> wrote:
I think this just falls into the category of never redirect the user to a u=
rl that doesn't match one of the preregistered redirect urls (or logout url=
s for that matter). Any application that has redirects anywhere provides an=
 opportunity for this attack vector, OAuth isn't unique in that way, it jus=
t is consistent and documented. And the 2.1 draft is pretty clear on this f=
ront:

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.=
2.1<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdat=
atracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%23section-4.1.2.1=
&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac09408=
d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441984307%=
7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw=
iLCJXVCI6Mn0%3D%7C3000&sdata=3DM7ZtR%2BTYVIVzXZmHaeJS6rGVLC84RUisnfl5KCF0rH=
g%3D&reserved=3D0>
   If the request fails due to a missing, invalid, or mismatching
   redirect URI, or if the client identifier is missing or invalid, the
   authorization server SHOULD inform the resource owner of the error
   and MUST NOT automatically redirect the user agent to the invalid
   redirect URI.

I want to call this attack vector "illegitimate phishing applications" whic=
h is easily blocked by preregistration and/or PARs. And is only a very smal=
l subset of phishing attacks with OAuth, of which the larger group is "legi=
timate phishing applications". An app can be registered correctly, and stil=
l issue a phishing attack as phishing attacks through OAuth are actually in=
distinguishable from standard user delegation. There is no way to prevent t=
hese without an application review before registration is completed, here's=
 an example that cloned Google apps y creating a fake app called google def=
ender: https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-ope=
n-authentication-advanced-social-engineering-attacks.html<https://nam06.saf=
elinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_=
us%2Fresearch%2F17%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-soc=
ial-engineering-attacks.html&data=3D04%7C01%7Cpieter.kasselman%40microsoft.=
com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7=
C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJ=
QIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9kKah9zgc66ew2AD=
5iGhgX2Qnzbnq3UJ%2FHoHsuzUU5w%3D&reserved=3D0>

If we can't protect against these latter ones, I hardly think protecting ag=
ainst the former is useful/interesting/valuable.


[Image removed by sender.]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9=
437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696=
441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvGw=
xr%2FzF52w0%3D&reserved=3D0>.


On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com=
<mailto:rifaat.s.ietf@gmail.com>> wrote:

All,



An article was recently published discussing some OAuth Redirection Attacks=
 to try to bypass phishing detection solutions. See the details of these at=
tacks in the following link:



https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oaut=
h-implementation-vulnerabilities-lead-redirection<https://nam06.safelinks.p=
rotection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2=
Fcloud-security%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities=
-lead-redirection&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc0=
87500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63=
7753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz=
IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DitNmcvlkuKrPzG6%2F23Iod8zyH=
%2FqSjhcNuxJMw3dZslU%3D&reserved=3D0>




The article discusses attacks on Microsoft and GitHub, but these attacks ar=
e not unique to these companies.

The attacks take advantage of how OAuth handles error responses, which send=
s responses to the application's redirect URL.


I would like to get the thoughts of the working group on these types of att=
acks.

What is the best way to mitigate these attacks?

Do we need a new approach for handling errors with OAuth?


Regards,

 Rifaat

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac09=
408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964420343=
07%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2=
FStM%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac09=
408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964420343=
07%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1h=
aWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2=
FStM%3D&reserved=3D0>

--_000_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Lato;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-IE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">The probl=
em isn&#8217;t invalid URLs but malicious ones. Given a choice between a su=
b-optimal user experience and a phished end-user, perhaps an option that al=
lows the authorization server to handle the
 error, rather than redirecting can serve end-users better. But as Vittorio=
 points, out, there are probably other options as well to consider. URL rep=
utation services is another option, but problematic since they are imperfec=
t and I expect hard to standardise
 to a point that creates a common minimum level of assurance (similar to an=
y fraud calculation or risk score).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> Warren Parad &lt;wparad=3D40rhosys.ch@dmarc.ietf.org&gt;
<br>
<b>Sent:</b> Friday 17 December 2021 20:27<br>
<b>To:</b> Pieter Kasselman &lt;pieter.kasselman@microsoft.com&gt;<br>
<b>Cc:</b> Vittorio Bertocci &lt;Vittorio@auth0.com&gt;; oauth &lt;oauth@ie=
tf.org&gt;<br>
<b>Subject:</b> Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<o:p=
></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">You want to redirect on some errors because the last=
 thing an AS wants is to leave the user in the AS because the user can't do=
 anything there and the AS can't do anything either. It's just bad UX. But =
if the redirect url isn't valid, this
 is absolutely the time that the AS should keep the user there for user's p=
rotection.&nbsp; Any AS redirecting the user to an invalid redirect url, is=
n't doing the right thing.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">But that only solves the illegitimate phishing urls,=
 it doesn't solve the class of problem where a phishing application is legi=
timately registered.<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<o:p></o:p></p>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;padding:=
0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
&quot;Arial&quot;,sans-serif;color:black;border:none windowtext 1.0pt;paddi=
ng:0cm;mso-fareast-language:EN-US"><img width=3D"199" height=3D"34" style=
=3D"width:2.0729in;height:.3541in" id=3D"Picture_x0020_1" src=3D"cid:~WRD23=
43.jpg" alt=3D"Image removed by sender."></span><span style=3D"mso-fareast-=
language:EN-US"><o:p></o:p></span></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-b=
ottom:none;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:&quot;Lato&quot;,sans-serif;mso-fareast-language:EN-US">Warren Parad</sp=
an></b><span style=3D"mso-fareast-language:EN-US"><o:p></o:p></span></p>
</div>
<div style=3D"mso-element:para-border-div;border:solid white 1.0pt;border-t=
op:none;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
.0pt;font-family:&quot;Lato&quot;,sans-serif;mso-fareast-language:EN-US">Fo=
under, CTO</span><span style=3D"mso-fareast-language:EN-US"><o:p></o:p></sp=
an></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">Secure your user da=
ta with IAM authorization as a service. Implement&nbsp;</span><a href=3D"ht=
tps://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.=
io%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b94=
37ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964=
41984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6r=
vGwxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-s=
ize:10.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</span><o:=
p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman &lt=
;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org">40mic=
rosoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Agreed that the attackers goal is to bypass phishing filters and t=
hey found a way to achieve this by using an IdP that adheres to the standar=
ds. I don&#8217;t have the context for the
 design choice to redirect on an error condition, but am curious why the Id=
P should not be allowed to handle the error condition, rather than redirect=
 (or at least have the option to do so)?<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span lang=3D"EN-US">From:</span></b><span lang=3D"EN-US"> OAut=
h &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" target=3D"_blank"><s=
pan lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span lang=3D"EN-US">&g=
t;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D</span><a href=3D"mailto:40rhosys.ch@d=
marc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40rhosys.ch@dmarc.iet=
f.org</span></a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> oauth &lt;</span><a href=3D"mailto:oauth@ietf.org" target=3D"_bl=
ank"><span lang=3D"EN-US">oauth@ietf.org</span></a><span lang=3D"EN-US">&gt=
;<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks</span><=
o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The attack doesn't&nbsp;rely on redirecting to unregistered URLs, =
that's the problem.<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The goal of the attack&nbsp;is to circumvent phishing filters, by =
presenting a URL from a legitimate domain (the AS) that eventually redirect=
s to the actual phishing&nbsp;URL. The actual
 phishing&nbsp;page&nbsp;doesn't need to target the same authorization serv=
er, or an authorization server at all for that matter.&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">An attacker can register a legitimate app on any authorization ser=
ver as a service, on their own&nbsp;tenant. The goal is just to have a star=
ting URL that phishing filters won't block,
 and the attacker is in full control of the redirect URIs they register in =
their own tenant.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">My take: it might be tricky to change the redirect on error behavi=
or at this point, but we should at least note the issue in the security con=
siderations/BCPs and possibly give some
 advice. For example, on top of my head: AS should expose their endpoints o=
n a domain dedicated to OAuth/OIDC operations, and avoid using its top leve=
l domains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F=
%2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7=
C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C=
0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi=
V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D6oiRh6TMVJnXYUGdD=
Jt%2BLQQI0gCtOs7au%2BU7ctOd%2Bjo%3D&amp;reserved=3D0" target=3D"_blank">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DegS2AEI1FmpbL09upMutgGCUtpgyEn2l1FtdDb7WCdI%3D&amp;reserved=3D0" target=
=3D"_blank">
heroku.com</a>) so that if a phishing filter decides to block direct links =
to the issuing endpoints will only impact things like IdP initiated flows (=
solvable by adding jumpstart endpoints on the RP anyway, just like IdP init=
iated sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make t=
he problem better.<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wparad=3D<a href=
=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhosys.ch@dmarc.=
ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">I think this just falls into the category of never redirect the us=
er to a url that doesn't match one of the preregistered&nbsp;redirect urls =
(or logout urls for that matter). Any application
 that has redirects anywhere provides an opportunity for this attack vector=
, OAuth isn't unique in that way, it just is consistent and documented. And=
 the 2.1 draft is pretty clear on this front:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dh=
ttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%2=
3section-4.1.2.1&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10=
cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7=
C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l=
uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DM7ZtR%2BTYVIVzXZmHae=
JS6rGVLC84RUisnfl5KCF0rHg%3D&amp;reserved=3D0" target=3D"_blank">https://da=
tatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.2.1</a><o:=
p></o:p></p>
</div>
<div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp; &nbsp;If the request fails due to a missing, invalid, or mi=
smatching<br>
&nbsp; &nbsp;redirect URI, or if the client identifier is missing or invali=
d, the<br>
&nbsp; &nbsp;authorization server SHOULD inform the resource owner of the e=
rror<br>
&nbsp; &nbsp;and <b>MUST NOT automatically redirect the user agent to the i=
nvalid<br>
&nbsp; &nbsp;redirect URI</b>.<o:p></o:p></p>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">I want to call this attack vector &quot;<b>illegitimate</b>&nbsp;p=
hishing applications&quot; which is easily blocked by preregistration and/o=
r PARs. And is only a very small subset of phishing
 attacks with OAuth, of which the larger group is &quot;<b>legitimate</b> p=
hishing applications&quot;. An app can be registered correctly, and still i=
ssue a phishing attack as phishing attacks through OAuth are actually indis=
tinguishable from standard user delegation.
 There is no way to prevent these without an application review before regi=
stration is completed, here's an example that cloned Google apps y creating=
 a fake app called
<b>google defender</b>:&nbsp;<a href=3D"https://nam06.safelinks.protection.=
outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17=
%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-at=
tacks.html&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc0875=
00b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D9kKah9zgc66ew2AD5iGhgX2Qnz=
bnq3UJ%2FHoHsuzUU5w%3D&amp;reserved=3D0" target=3D"_blank">https://www.tren=
dmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanc=
ed-social-engineering-attacks.html</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">If we can't protect against these latter ones, I hardly think prot=
ecting against&nbsp;the former is useful/interesting/valuable.<o:p></o:p></=
p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><br clear=3D"all">
<o:p></o:p></p>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"border:solid white 1.0pt;padding:0cm 0cm 0cm 0cm">
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-langu=
age:EN-US"><img border=3D"0" width=3D"199" height=3D"34" style=3D"width:2.0=
729in;height:.3541in" id=3D"gmail-m_-4701354171951797092_x005f_x0000_i1025"=
 src=3D"cid:~WRD2343.jpg" alt=3D"Image removed by sender."></span><span sty=
le=3D"mso-fareast-language:EN-US"><o:p></o:p></span></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-left:none;paddi=
ng:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"border:solid white 1.0pt;border-bottom:none;padding:0cm 0cm 0=
cm 0cm">
<p style=3D"margin:0cm"><b><span style=3D"font-family:&quot;Lato&quot;,sans=
-serif;mso-fareast-language:EN-US">Warren Parad</span></b><span style=3D"ms=
o-fareast-language:EN-US"><o:p></o:p></span></p>
</div>
<div style=3D"border:solid white 1.0pt;border-top:none;padding:0cm 0cm 0cm =
0cm">
<p style=3D"margin:0cm"><span style=3D"font-size:10.0pt;font-family:&quot;L=
ato&quot;,sans-serif;mso-fareast-language:EN-US">Founder, CTO</span><span s=
tyle=3D"mso-fareast-language:EN-US"><o:p></o:p></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.0pt;color:black">Secure your user data=
 with IAM authorization as a service. Implement&nbsp;</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437=
ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441=
984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6=
Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvG=
wxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-siz=
e:10.0pt">Authress</span></a><span style=3D"font-size:10.0pt">.</span><o:p>=
</o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef &lt;<a href=3D"=
mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifaat.s.ietf@gmail.com</=
a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<div>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">All,</span><o:p></o:p></p>
<p style=3D"margin:0cm">&nbsp;<o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">An article was recently published discussing some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection=
 solutions. See the details of these attacks in the following link:</span><=
o:p></o:p></p>
<p style=3D"margin:0cm">&nbsp;<o:p></o:p></p>
<p style=3D"margin:0cm"><a href=3D"https://nam06.safelinks.protection.outlo=
ok.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2Fcloud-security=
%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities-lead-redirecti=
on&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437a=
c09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964419=
84307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I=
k1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DitNmcvlkuKrPzG6%2F23Iod8zyH%2FqSjh=
cNuxJMw3dZslU%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-fa=
mily:&quot;Arial&quot;,sans-serif">https://www.proofpoint.com/us/blog/cloud=
-security/microsoft-and-github-oauth-implementation-vulnerabilities-lead-re=
direction</span></a><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p style=3D"margin:0cm">&nbsp;<o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">The article discusses attacks on Microsoft and GitHub, bu=
t these attacks are not unique to these companies.</span><o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">The attacks take advantage of how OAuth handles error res=
ponses, which sends responses to the application&#8217;s redirect URL.</spa=
n><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">I would like to get the thoughts of the working group on =
these types of attacks.&nbsp;</span><o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">What is the best way to mitigate these attacks?</span><o:=
p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">Do we need a new approach for handling errors with OAuth?=
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">Regards,</span><o:p></o:p></p>
<p style=3D"margin:0cm"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black">&nbsp;Rifaat</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:=
p></p>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:=
p></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>

--_000_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_--

--_004_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_
Content-Type: image/jpeg; name="~WRD2343.jpg"
Content-Description: ~WRD2343.jpg
Content-Disposition: inline; filename="~WRD2343.jpg"; size=823;
 creation-date="Fri, 17 Dec 2021 20:28:21 GMT";
 modification-date="Fri, 17 Dec 2021 20:28:21 GMT"
Content-ID: <~WRD2343.jpg>
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==

--_004_AM7PR83MB0452B729482E04F9B333D37791789AM7PR83MB0452EURP_--


From nobody Fri Dec 17 12:59:35 2021
Return-Path: <hans.zandbelt@zmartzone.eu>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 357F43A0781 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:59:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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=zmartzone.eu
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 GPhYBsWBPrwF for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 12:59:27 -0800 (PST)
Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) (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 72EAF3A0780 for <oauth@ietf.org>; Fri, 17 Dec 2021 12:59:26 -0800 (PST)
Received: by mail-ua1-x92e.google.com with SMTP id y23so6653425uay.7 for <oauth@ietf.org>; Fri, 17 Dec 2021 12:59:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zmartzone.eu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cRzEkwekRBR8qqHBcLSaABXIgCMn1w2XPpuV/1j2+l8=; b=FMU9czWYyQQMgjnbnfyWalNEystBT924Mv3jWDwStigJhlz3SFbuPfeYy7skxJr9Sp bA0euMMbRVN9kOHIBy9V1cKw91/USMSCUddfyqvM2ftMGwLFwIXxCyWezv3IGnSCa3K/ rP5HhNbzoxV1/o0STXsaL/HD1Dkar05nKhi6pujKUU8QDR1aeAtK6zb/u0wTntp6Mkkg 02V3mKzmvbB55+SUi+jfyIickUi0xoVO3DoZyxw5coujEKEYwY0biIwWM/EOWpWLcJE+ mYWDfKuqjgkIa9Ox4zRsDTgAZklhfYkINDNgA7leHJdSmrZDOiJfzT6tSTN7eHUGh83B Z5CQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=cRzEkwekRBR8qqHBcLSaABXIgCMn1w2XPpuV/1j2+l8=; b=yMcH0/u/e1HNG3/v6ox+Lt8RcTfYrYZG9y4dQ0rJl6eWyiwbxiNZfp7ruDFFtdRVBN g2kRW1ACoAGDtncnkAtG4sihPRXpnL8EmP7qYQ4MgEq/42JdjxW9DuGersRKXCGlPwUD /iqgOjGXRZmDte8+wAcyWRh6Z5S/NZ+kV13yxTuAXCz4wvO1FXZkkaltukw3Xhp+m3/L ueQpfvZePx5TbtrcT52oNM3S3/T86PIf6OU6NXbg/D9CusVMbue907QkHvHfdovsV2oN V9LfvwoOSu00QiZ07lcCz7trJvftMWadOyzgqf0oIU/Qzf80v/WTyRD8U4qqSOLeNSmL ZMSg==
X-Gm-Message-State: AOAM531g7WrWoYcaYlylz+yB+b2bi2MsyTHVW7i5Xd7ps/nvCM9v2k5E RXc7ZIWawJ6lQydbo7jgHZWYuYASw67u3qGtUZQMXshhTe+skw==
X-Google-Smtp-Source: ABdhPJz76dGZdazgIpLSEJ24kmQSoBX1HLmsW5rcyrl6+kQHsjZ2ebP3Yan5h3AA4qdLzz3q3fGs0oyI7Ph6qpkvbc8=
X-Received: by 2002:a67:fb42:: with SMTP id e2mr1977784vsr.56.1639774764538; Fri, 17 Dec 2021 12:59:24 -0800 (PST)
MIME-Version: 1.0
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com> <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com>
In-Reply-To: <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com>
From: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
Date: Fri, 17 Dec 2021 21:59:13 +0100
Message-ID: <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com>
To: oauth <oauth@ietf.org>
Content-Type: multipart/related; boundary="0000000000005a476805d35dd00e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/L1Lga8tahLfFhXMOQPfT4o1BhaU>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 20:59:33 -0000

--0000000000005a476805d35dd00e
Content-Type: multipart/alternative; boundary="0000000000005a476505d35dd00d"

--0000000000005a476505d35dd00d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

AFAIK this topic has been discussed before, e.g.:
https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/

Hans.

On Fri, Dec 17, 2021 at 9:44 PM Pieter Kasselman <pieter.kasselman=3D
40microsoft.com@dmarc.ietf.org> wrote:

> The problem isn=E2=80=99t invalid URLs but malicious ones. Given a choice=
 between
> a sub-optimal user experience and a phished end-user, perhaps an option
> that allows the authorization server to handle the error, rather than
> redirecting can serve end-users better. But as Vittorio points, out, ther=
e
> are probably other options as well to consider. URL reputation services i=
s
> another option, but problematic since they are imperfect and I expect har=
d
> to standardise to a point that creates a common minimum level of assuranc=
e
> (similar to any fraud calculation or risk score).
>
>
>
> *From:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
> *Sent:* Friday 17 December 2021 20:27
> *To:* Pieter Kasselman <pieter.kasselman@microsoft.com>
> *Cc:* Vittorio Bertocci <Vittorio@auth0.com>; oauth <oauth@ietf.org>
> *Subject:* Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>
>
>
> You want to redirect on some errors because the last thing an AS wants is
> to leave the user in the AS because the user can't do anything there and
> the AS can't do anything either. It's just bad UX. But if the redirect ur=
l
> isn't valid, this is absolutely the time that the AS should keep the user
> there for user's protection.  Any AS redirecting the user to an invalid
> redirect url, isn't doing the right thing.
>
>
>
> But that only solves the illegitimate phishing urls, it doesn't solve the
> class of problem where a phishing application is legitimately registered.
>
>
> [image: Image removed by sender.]
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9=
437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696=
441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvGw=
xr%2FzF52w0%3D&reserved=3D0>
> .
>
>
>
>
>
> On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> Agreed that the attackers goal is to bypass phishing filters and they
> found a way to achieve this by using an IdP that adheres to the standards=
.
> I don=E2=80=99t have the context for the design choice to redirect on an =
error
> condition, but am curious why the IdP should not be allowed to handle the
> error condition, rather than redirect (or at least have the option to do
> so)?
>
>
>
> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Vittorio Bertocci
> *Sent:* Friday 17 December 2021 19:55
> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
> *Cc:* oauth <oauth@ietf.org>
> *Subject:* [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>
>
>
> The attack doesn't rely on redirecting to unregistered URLs, that's the
> problem.
>
> The goal of the attack is to circumvent phishing filters, by presenting a
> URL from a legitimate domain (the AS) that eventually redirects to the
> actual phishing URL. The actual phishing page doesn't need to target the
> same authorization server, or an authorization server at all for that
> matter.
>
> An attacker can register a legitimate app on any authorization server as =
a
> service, on their own tenant. The goal is just to have a starting URL tha=
t
> phishing filters won't block, and the attacker is in full control of the
> redirect URIs they register in their own tenant.
>
>
>
> My take: it might be tricky to change the redirect on error behavior at
> this point, but we should at least note the issue in the security
> considerations/BCPs and possibly give some advice. For example, on top of
> my head: AS should expose their endpoints on a domain dedicated to
> OAuth/OIDC operations, and avoid using its top level domains (different
> area/service, but think herokuapp.com
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fherok=
uapp.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b=
9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775369=
6441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D6oiRh6TMVJnXYUGdDJt%2BLQQI0gCtOs7=
au%2BU7ctOd%2Bjo%3D&reserved=3D0>
> vs heroku.com
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fherok=
u.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b943=
7ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775369644=
1984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI=
6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DegS2AEI1FmpbL09upMutgGCUtpgyEn2l1Ftd=
Db7WCdI%3D&reserved=3D0>)
> so that if a phishing filter decides to block direct links to the issuing
> endpoints will only impact things like IdP initiated flows (solvable by
> adding jumpstart endpoints on the RP anyway, just like IdP initiated sign
> in works in OIDC). I am sure there are lots of other things we can come u=
p
> with that can make the problem better.
>
>
>
> On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D
> 40rhosys.ch@dmarc.ietf.org> wrote:
>
> I think this just falls into the category of never redirect the user to a
> url that doesn't match one of the preregistered redirect urls (or logout
> urls for that matter). Any application that has redirects anywhere provid=
es
> an opportunity for this attack vector, OAuth isn't unique in that way, it
> just is consistent and documented. And the 2.1 draft is pretty clear on
> this front:
>
>
>
>
> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.=
1.2.1
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdata=
tracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%23section-4.1.2.1&=
data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac09408d=
9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441984307%7=
CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi=
LCJXVCI6Mn0%3D%7C3000&sdata=3DM7ZtR%2BTYVIVzXZmHaeJS6rGVLC84RUisnfl5KCF0rHg=
%3D&reserved=3D0>
>
>    If the request fails due to a missing, invalid, or mismatching
>    redirect URI, or if the client identifier is missing or invalid, the
>    authorization server SHOULD inform the resource owner of the error
>    and
> *MUST NOT automatically redirect the user agent to the invalid    redirec=
t
> URI*.
>
>
>
> I want to call this attack vector "*illegitimate* phishing applications"
> which is easily blocked by preregistration and/or PARs. And is only a ver=
y
> small subset of phishing attacks with OAuth, of which the larger group is=
 "
> *legitimate* phishing applications". An app can be registered correctly,
> and still issue a phishing attack as phishing attacks through OAuth are
> actually indistinguishable from standard user delegation. There is no way
> to prevent these without an application review before registration is
> completed, here's an example that cloned Google apps y creating a fake ap=
p
> called *google defender*:
> https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-aut=
hentication-advanced-social-engineering-attacks.html
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
trendmicro.com%2Fen_us%2Fresearch%2F17%2Fd%2Fpawn-storm-abuses-open-authent=
ication-advanced-social-engineering-attacks.html&data=3D04%7C01%7Cpieter.ka=
sselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141=
af91ab2d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJ=
WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdat=
a=3D9kKah9zgc66ew2AD5iGhgX2Qnzbnq3UJ%2FHoHsuzUU5w%3D&reserved=3D0>
>
>
>
> If we can't protect against these latter ones, I hardly think protecting
> against the former is useful/interesting/valuable.
>
>
> [image: Image removed by sender.]
>
> *Warren Parad*
>
> Founder, CTO
>
> Secure your user data with IAM authorization as a service. Implement
> Authress
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9=
437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696=
441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT=
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvGw=
xr%2FzF52w0%3D&reserved=3D0>
> .
>
>
>
>
>
> On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <
> rifaat.s.ietf@gmail.com> wrote:
>
> All,
>
>
>
> An article was recently published discussing some *OAuth Redirection
> Attacks* to try to bypass *phishing* detection solutions. See the details
> of these attacks in the following link:
>
>
>
>
> https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oa=
uth-implementation-vulnerabilities-lead-redirection
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
proofpoint.com%2Fus%2Fblog%2Fcloud-security%2Fmicrosoft-and-github-oauth-im=
plementation-vulnerabilities-lead-redirection&data=3D04%7C01%7Cpieter.kasse=
lman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIj=
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3DitNmcvlkuKrPzG6%2F23Iod8zyH%2FqSjhcNuxJMw3dZslU%3D&reserved=3D0>
>
>
>
>
>
> The article discusses attacks on Microsoft and GitHub, but these attacks
> are not unique to these companies.
>
> The attacks take advantage of how OAuth handles error responses, which
> sends responses to the application=E2=80=99s redirect URL.
>
>
>
> I would like to get the thoughts of the working group on these types of
> attacks.
>
> What is the best way to mitigate these attacks?
>
> Do we need a new approach for handling errors with OAuth?
>
>
>
> Regards,
>
>  Rifaat
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9S1YCx6=
1RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.=
ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40m=
icrosoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd=
011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9S1YCx6=
1RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&reserved=3D0>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>


--=20
hans.zandbelt@zmartzone.eu
ZmartZone IAM - www.zmartzone.eu

--0000000000005a476505d35dd00d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">AFAIK this topic has been discussed befor=
e, e.g.:<div><a href=3D"https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxe=
XudRBg8L6RYGDElxrc4s/">https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeX=
udRBg8L6RYGDElxrc4s/</a><br></div><div><br></div><div>Hans.</div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, De=
c 17, 2021 at 9:44 PM Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"ma=
ilto:40microsoft.com@dmarc.ietf.org">40microsoft.com@dmarc.ietf.org</a>&gt;=
 wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE" style=3D"overflow-wrap: break-word;">
<div class=3D"gmail-m_3839061275935403757WordSection1">
<p class=3D"MsoNormal"><span>The problem isn=E2=80=99t invalid URLs but mal=
icious ones. Given a choice between a sub-optimal user experience and a phi=
shed end-user, perhaps an option that allows the authorization server to ha=
ndle the
 error, rather than redirecting can serve end-users better. But as Vittorio=
 points, out, there are probably other options as well to consider. URL rep=
utation services is another option, but problematic since they are imperfec=
t and I expect hard to standardise
 to a point that creates a common minimum level of assurance (similar to an=
y fraud calculation or risk score).<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.i=
etf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;
<br>
<b>Sent:</b> Friday 17 December 2021 20:27<br>
<b>To:</b> Pieter Kasselman &lt;<a href=3D"mailto:pieter.kasselman@microsof=
t.com" target=3D"_blank">pieter.kasselman@microsoft.com</a>&gt;<br>
<b>Cc:</b> Vittorio Bertocci &lt;<a href=3D"mailto:Vittorio@auth0.com" targ=
et=3D"_blank">Vittorio@auth0.com</a>&gt;; oauth &lt;<a href=3D"mailto:oauth=
@ietf.org" target=3D"_blank">oauth@ietf.org</a>&gt;<br>
<b>Subject:</b> Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<u><=
/u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">You want to redirect on some errors because the last=
 thing an AS wants is to leave the user in the AS because the user can&#39;=
t do anything there and the AS can&#39;t do anything either. It&#39;s just =
bad UX. But if the redirect url isn&#39;t valid, this
 is absolutely the time that the AS should keep the user there for user&#39=
;s protection.=C2=A0 Any AS redirecting the user to an invalid redirect url=
, isn&#39;t doing the right thing.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But that only solves the illegitimate phishing urls,=
 it doesn&#39;t solve the class of problem where a phishing application is =
legitimately registered.<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-family:=
Arial,sans-serif;color:black;border:1pt none windowtext;padding:0cm"><img w=
idth=3D"199" height=3D"34" style=3D"width: 2.0729in; height: 0.3541in;" id=
=3D"gmail-m_3839061275935403757Picture_x0020_1" src=3D"cid:17dca2f00953455a=
1fe1" alt=3D"Image removed by sender."></span><span><u></u><u></u></span></=
p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><b><span style=3D"font-fami=
ly:Lato,sans-serif">Warren Parad</span></b><span><u></u><u></u></span></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0cm">
<p style=3D"margin:0cm;border:none;padding:0cm"><span style=3D"font-size:10=
pt;font-family:Lato,sans-serif">Founder, CTO</span><span><u></u><u></u></sp=
an></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437=
ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441=
984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6=
Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvG=
wxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-siz=
e:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u></u><u=
></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman &lt=
;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" targe=
t=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p=
>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal">Agreed that the attackers goal is to bypass phishing=
 filters and they found a way to achieve this by using an IdP that adheres =
to the standards. I don=E2=80=99t have the context for the
 design choice to redirect on an error condition, but am curious why the Id=
P should not be allowed to handle the error condition, rather than redirect=
 (or at least have the option to do so)?<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" targ=
et=3D"_blank"><span lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span l=
ang=3D"EN-US">&gt;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D</span><a href=3D"mailto:40rhosys.ch@d=
marc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40rhosys.ch@dmarc.iet=
f.org</span></a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> oauth &lt;</span><a href=3D"mailto:oauth@ietf.org" target=3D"_bl=
ank"><span lang=3D"EN-US">oauth@ietf.org</span></a><span lang=3D"EN-US">&gt=
;<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks</span><=
u></u><u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">The attack doesn&#39;t=C2=A0rely on redirecting to u=
nregistered URLs, that&#39;s the problem.<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">The goal of the attack=C2=A0is to circumvent phishin=
g filters, by presenting a URL from a legitimate domain (the AS) that event=
ually redirects to the actual phishing=C2=A0URL. The actual
 phishing=C2=A0page=C2=A0doesn&#39;t need to target the same authorization =
server, or an authorization server at all for that matter.=C2=A0<u></u><u><=
/u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">An attacker can register a legitimate app on any aut=
horization server as a service, on their own=C2=A0tenant. The goal is just =
to have a starting URL that phishing filters won&#39;t block,
 and the attacker is in full control of the redirect URIs they register in =
their own tenant.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">My take: it might be tricky to change the redirect o=
n error behavior at this point, but we should at least note the issue in th=
e security considerations/BCPs and possibly give some
 advice. For example, on top of my head: AS should expose their endpoints o=
n a domain dedicated to OAuth/OIDC operations, and avoid using its top leve=
l domains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F=
%2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7=
C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C=
0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi=
V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D6oiRh6TMVJnXYUGdD=
Jt%2BLQQI0gCtOs7au%2BU7ctOd%2Bjo%3D&amp;reserved=3D0" target=3D"_blank">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DegS2AEI1FmpbL09upMutgGCUtpgyEn2l1FtdDb7WCdI%3D&amp;reserved=3D0" target=
=3D"_blank">
heroku.com</a>) so that if a phishing filter decides to block direct links =
to the issuing endpoints will only impact things like IdP initiated flows (=
solvable by adding jumpstart endpoints on the RP anyway, just like IdP init=
iated sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make t=
he problem better.<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">I think this just falls into the category of never r=
edirect the user to a url that doesn&#39;t match one of the preregistered=
=C2=A0redirect urls (or logout urls for that matter). Any application
 that has redirects anywhere provides an opportunity for this attack vector=
, OAuth isn&#39;t unique in that way, it just is consistent and documented.=
 And the 2.1 draft is pretty clear on this front:<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-o=
auth-v2-1-04%23section-4.1.2.1&amp;data=3D04%7C01%7Cpieter.kasselman%40micr=
osoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011=
db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM=
DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DM7ZtR%=
2BTYVIVzXZmHaeJS6rGVLC84RUisnfl5KCF0rHg%3D&amp;reserved=3D0" target=3D"_bla=
nk">https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-=
4.1.2.1</a><u></u><u></u></p>
</div>
<div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<p class=3D"MsoNormal">=C2=A0 =C2=A0If the request fails due to a missing, =
invalid, or mismatching<br>
=C2=A0 =C2=A0redirect URI, or if the client identifier is missing or invali=
d, the<br>
=C2=A0 =C2=A0authorization server SHOULD inform the resource owner of the e=
rror<br>
=C2=A0 =C2=A0and <b>MUST NOT automatically redirect the user agent to the i=
nvalid<br>
=C2=A0 =C2=A0redirect URI</b>.<u></u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I want to call this attack vector &quot;<b>illegitim=
ate</b>=C2=A0phishing applications&quot; which is easily blocked by preregi=
stration and/or PARs. And is only a very small subset of phishing
 attacks with OAuth, of which the larger group is &quot;<b>legitimate</b> p=
hishing applications&quot;. An app can be registered correctly, and still i=
ssue a phishing attack as phishing attacks through OAuth are actually indis=
tinguishable from standard user delegation.
 There is no way to prevent these without an application review before regi=
stration is completed, here&#39;s an example that cloned Google apps y crea=
ting a fake app called
<b>google defender</b>:=C2=A0<a href=3D"https://nam06.safelinks.protection.=
outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17=
%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-at=
tacks.html&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc0875=
00b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D9kKah9zgc66ew2AD5iGhgX2Qnz=
bnq3UJ%2FHoHsuzUU5w%3D&amp;reserved=3D0" target=3D"_blank">https://www.tren=
dmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanc=
ed-social-engineering-attacks.html</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">If we can&#39;t protect against these latter ones, I=
 hardly think protecting against=C2=A0the former is useful/interesting/valu=
able.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-col=
lapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border-width:1pt;border-style:solid;border-colo=
r:white rgb(204,204,204) white white;padding:5pt;overflow:hidden">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0cm"><img border=3D"0" width=3D"199=
" height=3D"34" style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_=
3839061275935403757gmail-m_-4701354171951797092_x005f_x0000_i1025" src=3D"c=
id:17dca2f00953455a1fe1" alt=3D"Image removed by sender."></span><span><u><=
/u><u></u></span></p>
</div>
</td>
<td valign=3D"top" style=3D"border-top:1pt solid white;border-right:1pt sol=
id white;border-bottom:1pt solid white;border-left:none;padding:5pt;overflo=
w:hidden">
<div style=3D"border-top:1pt solid white;border-right:1pt solid white;borde=
r-left:1pt solid white;border-bottom:none;padding:0cm">
<p style=3D"margin:0cm"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><span><u></u><u></u></span></p>
</div>
<div style=3D"border-right:1pt solid white;border-bottom:1pt solid white;bo=
rder-left:1pt solid white;border-top:none;padding:0cm">
<p style=3D"margin:0cm"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><span><u></u><u></u></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;color:black">Secure yo=
ur user data with IAM authorization as a service. Implement=C2=A0</span><a =
href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Fauthress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10c=
c087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C=
637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu=
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H=
29FaU2Lc6rvGwxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=
=3D"font-size:10pt">Authress</span></a><span style=3D"font-size:10pt">.</sp=
an><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef &=
lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifaat.s.ie=
tf@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0c=
m 5pt 4.8pt">
<div>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">All,</span><u></u><u></u></p>
<p style=3D"margin:0cm">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">An article was recently published discussing some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection=
 solutions. See the details of these attacks in the following link:</span><=
u></u><u></u></p>
<p style=3D"margin:0cm">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><a href=3D"https://nam06.safelinks.protection.outlo=
ok.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2Fcloud-security=
%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities-lead-redirecti=
on&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437a=
c09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964419=
84307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I=
k1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DitNmcvlkuKrPzG6%2F23Iod8zyH%2FqSjh=
cNuxJMw3dZslU%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-fa=
mily:Arial,sans-serif">https://www.proofpoint.com/us/blog/cloud-security/mi=
crosoft-and-github-oauth-implementation-vulnerabilities-lead-redirection</s=
pan></a><u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">The article discusses attacks on Microsoft and GitHub, but these atta=
cks are not unique to these companies.</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">The attacks take advantage of how OAuth handles error responses, whic=
h sends responses to the application=E2=80=99s redirect URL.</span><u></u><=
u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">I would like to get the thoughts of the working group on these types =
of attacks.=C2=A0</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">What is the best way to mitigate these attacks?</span><u></u><u></u><=
/p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">Do we need a new approach for handling errors with OAuth?</span><u></=
u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">Regards,</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">=C2=A0Rifaat</span><u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=
=3D"ltr"><div style=3D"font-size:small"><a href=3D"mailto:hans.zandbelt@zma=
rtzone.eu" target=3D"_blank">hans.zandbelt@zmartzone.eu</a></div><div style=
=3D"font-size:small">ZmartZone IAM - <a href=3D"http://www.zmartzone.eu" ta=
rget=3D"_blank">www.zmartzone.eu</a><br></div></div></div></div></div></div=
></div>

--0000000000005a476505d35dd00d--

--0000000000005a476805d35dd00e
Content-Type: image/jpeg; name="~WRD2343.jpg"
Content-Disposition: inline; filename="~WRD2343.jpg"
Content-Transfer-Encoding: base64
Content-ID: <17dca2f00953455a1fe1>
X-Attachment-Id: 17dca2f00953455a1fe1

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==
--0000000000005a476805d35dd00e--


From nobody Fri Dec 17 13:45:02 2021
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE4723A08C0 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 13:44:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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 7Vz7TAR8kwRc for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 13:44:54 -0800 (PST)
Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 C0A0B3A08BF for <oauth@ietf.org>; Fri, 17 Dec 2021 13:44:53 -0800 (PST)
Received: by mail-lj1-x235.google.com with SMTP id 207so5356073ljf.10 for <oauth@ietf.org>; Fri, 17 Dec 2021 13:44:53 -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=5rlxIZpjB1AUFmwcConA8UrzoMfpNRmP/81Q/OzWCvU=; b=AXjX7CefyxxfHQ9R+P7Jeoe8n27TWluBx4kevzWiVpgW34N/hL6oX66FBVotDQ/aCO oV3ao0NrOD0IxkXAXOyAU8Ld2jXYiilvfko2+UBSvkjQRh4Go21txaaetUXEGx6VBgE8 6XWHsZe5GEpQKumQaktO8GubK9LS2349kYuc8lZisJOOGeE4Kly96yXOgcLhfKVQLgyk +hoCAygywPWz9+MjBD3TllHhtGvS85P64pdXM5CKySW5T9BSMu3DHkcUjgV08CmVI0ki 8wlMWa3ERlifEmUsLNq3wtLUI5ZahzDA/Wg6/S7boOK5UojcS4cIYT2S3d/6wVFWwTlK v6FA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5rlxIZpjB1AUFmwcConA8UrzoMfpNRmP/81Q/OzWCvU=; b=SdfYfXJYcpyuZXhPkQzGNuwWasn2XbYDQ3Gj/wUav070Xpb0lX73a/ixBvxzF3H4PZ yElKfpNuM/Sf5RNamaSgFPc5rKlU9HGQpRK3JaIJ+cooHvMDRxqHxtozNyhlLLOEJkLh ca3e1fQEOCiHTYsYBVIzJ4tN/CBiJ4jmMbHPOhxb1Erlvf3EBSONg3dsvhzEavE0cIHA qxW+DKroXNygn+IgR0A+msBNWFJm7oLh/LTpNBsVpMfzRl3mpFNrvqEPnNws/bdM1qbR Ka0xsUdGMe6lMEpdeaJAr5sWP/+/2e/lEb3ASsDRVLcV34K+E+WZgZTv/IeE7hjYy1KZ vOFA==
X-Gm-Message-State: AOAM531iRv21UKirPw33y9Uw5gfRVHByFdSZK/z7jZmGm9g1BsXQj6d5 wnV5GuWYwAestqdjNoq9HxG63stnskRLpL5Sf+m8Ae++BbuidjungARvpUFJUIu86TCuJO/EFzT X7wdA5Kj5a4N7ouw2cfxzFA==
X-Google-Smtp-Source: ABdhPJwlbokoVdgfL6CwJQxPEuQ4i6QDSW0ieeGe+4YpR+4EiDW9yMZFJ2OdZU2DFys3GUPB3mz2RUkjBF8/ZEfJt0w=
X-Received: by 2002:a2e:a795:: with SMTP id c21mr4405869ljf.239.1639777490624;  Fri, 17 Dec 2021 13:44:50 -0800 (PST)
MIME-Version: 1.0
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com> <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com>
In-Reply-To: <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 17 Dec 2021 14:44:23 -0700
Message-ID: <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
To: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
Cc: oauth <oauth@ietf.org>
Content-Type: multipart/related; boundary="000000000000d72e5105d35e7249"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/gkymKG06Iz0_kk1yEXUOkble6Is>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2021 21:45:00 -0000

--000000000000d72e5105d35e7249
Content-Type: multipart/alternative; boundary="000000000000d72e4f05d35e7248"

--000000000000d72e4f05d35e7248
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Yeah, I think it has been discussed before. And if I'm understanding
correctly, it is unfortunately a tricky area. It sounds like more or less
the same thing as "Abuse: The Authorization Server As Open Redirector"
<https://datatracker.ietf.org/doc/html/draft-ietf-oauth-closing-redirectors=
-00#section-2.1>
described in the dormant WG draft, which is ultimately predicated on a
client being registered with a malicious redirect URI. The twist in that
Proofpoint article seems to be using it to evade detection by
products/services that scan email for phishing links.

The "obvious" answer would be to prevent malicious client registration in
the first place. But that's not tenable in many, many situations. Providing
some more guidance about the importance of being as prudent as possible
there couldn't hurt though.

A couple other things that could be considered (acknowledging that the
details of providing guidance that might impact protocol is very tricky):

Require the redirect_uir parameter on the authorization request in all
cases (even when only one is registered for a given client). This would
make it so the malicious URL couldn't be entirely hidden from the email
filters.

Relax how aggressively OAuth demands that the AS automatically redirect in
error conditions. And either respond with a 400 directly (which just stops
things at that point) or provide a meaningful interstitial page to the user
before redirecting them (which at least helps users see something is
amiss). I do think OAuth is a bit overzealous in automatically returning
the user's browser context to the client in error conditions. There are
some situations (like prompt=3Dnone) that rely on the behavior but in most
cases it isn't necessary or helpful and can be problematic.

On Fri, Dec 17, 2021 at 1:59 PM Hans Zandbelt <hans.zandbelt@zmartzone.eu>
wrote:

> AFAIK this topic has been discussed before, e.g.:
> https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/
>
> Hans.
>
> On Fri, Dec 17, 2021 at 9:44 PM Pieter Kasselman <pieter.kasselman=3D
> 40microsoft.com@dmarc.ietf.org> wrote:
>
>> The problem isn=E2=80=99t invalid URLs but malicious ones. Given a choic=
e between
>> a sub-optimal user experience and a phished end-user, perhaps an option
>> that allows the authorization server to handle the error, rather than
>> redirecting can serve end-users better. But as Vittorio points, out, the=
re
>> are probably other options as well to consider. URL reputation services =
is
>> another option, but problematic since they are imperfect and I expect ha=
rd
>> to standardise to a point that creates a common minimum level of assuran=
ce
>> (similar to any fraud calculation or risk score).
>>
>>
>>
>> *From:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
>> *Sent:* Friday 17 December 2021 20:27
>> *To:* Pieter Kasselman <pieter.kasselman@microsoft.com>
>> *Cc:* Vittorio Bertocci <Vittorio@auth0.com>; oauth <oauth@ietf.org>
>> *Subject:* Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>>
>>
>>
>> You want to redirect on some errors because the last thing an AS wants i=
s
>> to leave the user in the AS because the user can't do anything there and
>> the AS can't do anything either. It's just bad UX. But if the redirect u=
rl
>> isn't valid, this is absolutely the time that the AS should keep the use=
r
>> there for user's protection.  Any AS redirecting the user to an invalid
>> redirect url, isn't doing the right thing.
>>
>>
>>
>> But that only solves the illegitimate phishing urls, it doesn't solve th=
e
>> class of problem where a phishing application is legitimately registered=
.
>>
>>
>> [image: Image removed by sender.]
>>
>> *Warren Parad*
>>
>> Founder, CTO
>>
>> Secure your user data with IAM authorization as a service. Implement
>> Authress
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Faut=
hress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b=
9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775369=
6441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvG=
wxr%2FzF52w0%3D&reserved=3D0>
>> .
>>
>>
>>
>>
>>
>> On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman <pieter.kasselman=3D
>> 40microsoft.com@dmarc.ietf.org> wrote:
>>
>> Agreed that the attackers goal is to bypass phishing filters and they
>> found a way to achieve this by using an IdP that adheres to the standard=
s.
>> I don=E2=80=99t have the context for the design choice to redirect on an=
 error
>> condition, but am curious why the IdP should not be allowed to handle th=
e
>> error condition, rather than redirect (or at least have the option to do
>> so)?
>>
>>
>>
>> *From:* OAuth <oauth-bounces@ietf.org> *On Behalf Of *Vittorio Bertocci
>> *Sent:* Friday 17 December 2021 19:55
>> *To:* Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
>> *Cc:* oauth <oauth@ietf.org>
>> *Subject:* [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>>
>>
>>
>> The attack doesn't rely on redirecting to unregistered URLs, that's the
>> problem.
>>
>> The goal of the attack is to circumvent phishing filters, by presenting =
a
>> URL from a legitimate domain (the AS) that eventually redirects to the
>> actual phishing URL. The actual phishing page doesn't need to target the
>> same authorization server, or an authorization server at all for that
>> matter.
>>
>> An attacker can register a legitimate app on any authorization server as
>> a service, on their own tenant. The goal is just to have a starting URL
>> that phishing filters won't block, and the attacker is in full control o=
f
>> the redirect URIs they register in their own tenant.
>>
>>
>>
>> My take: it might be tricky to change the redirect on error behavior at
>> this point, but we should at least note the issue in the security
>> considerations/BCPs and possibly give some advice. For example, on top o=
f
>> my head: AS should expose their endpoints on a domain dedicated to
>> OAuth/OIDC operations, and avoid using its top level domains (different
>> area/service, but think herokuapp.com
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fhero=
kuapp.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500=
b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536=
96441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJ=
BTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D6oiRh6TMVJnXYUGdDJt%2BLQQI0gCtOs=
7au%2BU7ctOd%2Bjo%3D&reserved=3D0>
>> vs heroku.com
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fhero=
ku.com%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b94=
37ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964=
41984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DegS2AEI1FmpbL09upMutgGCUtpgyEn2l1Ft=
dDb7WCdI%3D&reserved=3D0>)
>> so that if a phishing filter decides to block direct links to the issuin=
g
>> endpoints will only impact things like IdP initiated flows (solvable by
>> adding jumpstart endpoints on the RP anyway, just like IdP initiated sig=
n
>> in works in OIDC). I am sure there are lots of other things we can come =
up
>> with that can make the problem better.
>>
>>
>>
>> On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D
>> 40rhosys.ch@dmarc.ietf.org> wrote:
>>
>> I think this just falls into the category of never redirect the user to =
a
>> url that doesn't match one of the preregistered redirect urls (or logout
>> urls for that matter). Any application that has redirects anywhere provi=
des
>> an opportunity for this attack vector, OAuth isn't unique in that way, i=
t
>> just is consistent and documented. And the 2.1 draft is pretty clear on
>> this front:
>>
>>
>>
>>
>> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4=
.1.2.1
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdat=
atracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%23section-4.1.2.1=
&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac09408=
d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441984307%=
7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw=
iLCJXVCI6Mn0%3D%7C3000&sdata=3DM7ZtR%2BTYVIVzXZmHaeJS6rGVLC84RUisnfl5KCF0rH=
g%3D&reserved=3D0>
>>
>>    If the request fails due to a missing, invalid, or mismatching
>>    redirect URI, or if the client identifier is missing or invalid, the
>>    authorization server SHOULD inform the resource owner of the error
>>    and
>> *MUST NOT automatically redirect the user agent to the invalid
>>  redirect URI*.
>>
>>
>>
>> I want to call this attack vector "*illegitimate* phishing applications"
>> which is easily blocked by preregistration and/or PARs. And is only a ve=
ry
>> small subset of phishing attacks with OAuth, of which the larger group i=
s "
>> *legitimate* phishing applications". An app can be registered correctly,
>> and still issue a phishing attack as phishing attacks through OAuth are
>> actually indistinguishable from standard user delegation. There is no wa=
y
>> to prevent these without an application review before registration is
>> completed, here's an example that cloned Google apps y creating a fake a=
pp
>> called *google defender*:
>> https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-au=
thentication-advanced-social-engineering-attacks.html
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.trendmicro.com%2Fen_us%2Fresearch%2F17%2Fd%2Fpawn-storm-abuses-open-authen=
tication-advanced-social-engineering-attacks.html&data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sda=
ta=3D9kKah9zgc66ew2AD5iGhgX2Qnzbnq3UJ%2FHoHsuzUU5w%3D&reserved=3D0>
>>
>>
>>
>> If we can't protect against these latter ones, I hardly think protecting
>> against the former is useful/interesting/valuable.
>>
>>
>> [image: Image removed by sender.]
>>
>> *Warren Parad*
>>
>> Founder, CTO
>>
>> Secure your user data with IAM authorization as a service. Implement
>> Authress
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Faut=
hress.io%2F&data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b=
9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775369=
6441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB=
TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvG=
wxr%2FzF52w0%3D&reserved=3D0>
>> .
>>
>>
>>
>>
>>
>> On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <
>> rifaat.s.ietf@gmail.com> wrote:
>>
>> All,
>>
>>
>>
>> An article was recently published discussing some *OAuth Redirection
>> Attacks* to try to bypass *phishing* detection solutions. See the
>> details of these attacks in the following link:
>>
>>
>>
>>
>> https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-o=
auth-implementation-vulnerabilities-lead-redirection
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.proofpoint.com%2Fus%2Fblog%2Fcloud-security%2Fmicrosoft-and-github-oauth-i=
mplementation-vulnerabilities-lead-redirection&data=3D04%7C01%7Cpieter.kass=
elman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af=
91ab2d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWI=
joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=
=3DitNmcvlkuKrPzG6%2F23Iod8zyH%2FqSjhcNuxJMw3dZslU%3D&reserved=3D0>
>>
>>
>>
>>
>>
>> The article discusses attacks on Microsoft and GitHub, but these attacks
>> are not unique to these companies.
>>
>> The attacks take advantage of how OAuth handles error responses, which
>> sends responses to the application=E2=80=99s redirect URL.
>>
>>
>>
>> I would like to get the thoughts of the working group on these types of
>> attacks.
>>
>> What is the best way to mitigate these attacks?
>>
>> Do we need a new approach for handling errors with OAuth?
>>
>>
>>
>> Regards,
>>
>>  Rifaat
>>
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9S1YCx=
61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&reserved=3D0>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> <https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
.ietf.org%2Fmailman%2Flistinfo%2Foauth&data=3D04%7C01%7Cpieter.kasselman%40=
microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL=
jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D9S1YCx=
61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&reserved=3D0>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>
>
> --
> hans.zandbelt@zmartzone.eu
> ZmartZone IAM - www.zmartzone.eu
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

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

--000000000000d72e4f05d35e7248
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Yeah, I think it has been discussed before. And if I&=
#39;m understanding correctly, it is unfortunately a tricky area. It sounds=
 like more or less the same thing as <a href=3D"https://datatracker.ietf.or=
g/doc/html/draft-ietf-oauth-closing-redirectors-00#section-2.1" target=3D"_=
blank">&quot;Abuse: The Authorization Server As Open Redirector&quot;</a> d=
escribed in the dormant WG draft, which is ultimately predicated on a clien=
t being registered with a malicious redirect URI. The twist in that Proofpo=
int article seems to be using it to evade detection by products/services th=
at scan email for phishing links. <br></div><div><br></div><div>The &quot;o=
bvious&quot; answer would be to prevent malicious client registration in th=
e first place. But that&#39;s not tenable in many, many situations. Providi=
ng some more guidance about the importance of being as prudent as possible =
there couldn&#39;t hurt though.=C2=A0 <br></div><div><br></div><div> A coup=
le other things that could be considered (acknowledging that the details of=
 providing guidance that might impact protocol is very tricky):</div><div><=
br></div><div>Require the redirect_uir parameter on the authorization reque=
st in all cases (even when only one is registered for a given client). This=
 would make it so the malicious URL couldn&#39;t be entirely hidden from th=
e email filters.</div><div><br></div><div>Relax how aggressively OAuth dema=
nds that the AS automatically redirect in error conditions. And either resp=
ond with a 400 directly (which just stops things at that point) or provide =
a meaningful interstitial page to the user before redirecting them (which a=
t least helps users see something is amiss). I do think OAuth is a bit over=
zealous in automatically returning the user&#39;s browser context to the cl=
ient in error conditions. There are some situations (like prompt=3Dnone) th=
at rely on the behavior but in most cases it isn&#39;t necessary or helpful=
 and can be problematic. <br></div></div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 17, 2021 at 1:59 PM Hans Zan=
dbelt &lt;<a href=3D"mailto:hans.zandbelt@zmartzone.eu" target=3D"_blank">h=
ans.zandbelt@zmartzone.eu</a>&gt; wrote:<br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr">AFAIK this topic=
 has been discussed before, e.g.:<div><a href=3D"https://mailarchive.ietf.o=
rg/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/" target=3D"_blank">https://m=
ailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/</a><br></di=
v><div><br></div><div>Hans.</div></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 17, 2021 at 9:44 PM Pieter Kas=
selman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.=
org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE">
<div>
<p class=3D"MsoNormal"><span>The problem isn=E2=80=99t invalid URLs but mal=
icious ones. Given a choice between a sub-optimal user experience and a phi=
shed end-user, perhaps an option that allows the authorization server to ha=
ndle the
 error, rather than redirecting can serve end-users better. But as Vittorio=
 points, out, there are probably other options as well to consider. URL rep=
utation services is another option, but problematic since they are imperfec=
t and I expect hard to standardise
 to a point that creates a common minimum level of assurance (similar to an=
y fraud calculation or risk score).<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm"=
>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.i=
etf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;
<br>
<b>Sent:</b> Friday 17 December 2021 20:27<br>
<b>To:</b> Pieter Kasselman &lt;<a href=3D"mailto:pieter.kasselman@microsof=
t.com" target=3D"_blank">pieter.kasselman@microsoft.com</a>&gt;<br>
<b>Cc:</b> Vittorio Bertocci &lt;<a href=3D"mailto:Vittorio@auth0.com" targ=
et=3D"_blank">Vittorio@auth0.com</a>&gt;; oauth &lt;<a href=3D"mailto:oauth=
@ietf.org" target=3D"_blank">oauth@ietf.org</a>&gt;<br>
<b>Subject:</b> Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<u><=
/u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">You want to redirect on some errors because the last=
 thing an AS wants is to leave the user in the AS because the user can&#39;=
t do anything there and the AS can&#39;t do anything either. It&#39;s just =
bad UX. But if the redirect url isn&#39;t valid, this
 is absolutely the time that the AS should keep the user there for user&#39=
;s protection.=C2=A0 Any AS redirecting the user to an invalid redirect url=
, isn&#39;t doing the right thing.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But that only solves the illegitimate phishing urls,=
 it doesn&#39;t solve the class of problem where a phishing application is =
legitimately registered.<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"=
0" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204=
,204,204) white white;padding:5pt" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm;border:medium none;padding:0cm"><span style=3D"font-=
family:Arial,sans-serif;color:black;border:1pt none windowtext;padding:0cm"=
><img style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_4601110864=
832470390gmail-m_-1379917499709763315gmail-m_3839061275935403757Picture_x00=
20_1" src=3D"cid:17dca2f00953455a1fe1" alt=3D"Image removed by sender." wid=
th=3D"199" height=3D"34"></span><span><u></u><u></u></span></p>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid=
 solid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidd=
en" valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid soli=
d none;border-width:1pt 1pt medium;padding:0cm">
<p style=3D"margin:0cm;border:medium none;padding:0cm"><b><span style=3D"fo=
nt-family:Lato,sans-serif">Warren Parad</span></b><span><u></u><u></u></spa=
n></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid=
 solid;border-width:medium 1pt 1pt;padding:0cm">
<p style=3D"margin:0cm;border:medium none;padding:0cm"><span style=3D"font-=
size:10pt;font-family:Lato,sans-serif">Founder, CTO</span><span><u></u><u><=
/u></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data=
 with IAM authorization as a service. Implement=C2=A0</span><a href=3D"http=
s://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io=
%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437=
ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441=
984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6=
Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvG=
wxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-siz=
e:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u></u><u=
></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman &lt=
;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" targe=
t=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p=
>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal">Agreed that the attackers goal is to bypass phishing=
 filters and they found a way to achieve this by using an IdP that adheres =
to the standards. I don=E2=80=99t have the context for the
 design choice to redirect on an error condition, but am curious why the Id=
P should not be allowed to handle the error condition, rather than redirect=
 (or at least have the option to do so)?<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;borde=
r-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm"=
>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> OAuth &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" targ=
et=3D"_blank"><span lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span l=
ang=3D"EN-US">&gt;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D</span><a href=3D"mailto:40rhosys.ch@d=
marc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40rhosys.ch@dmarc.iet=
f.org</span></a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> oauth &lt;</span><a href=3D"mailto:oauth@ietf.org" target=3D"_bl=
ank"><span lang=3D"EN-US">oauth@ietf.org</span></a><span lang=3D"EN-US">&gt=
;<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks</span><=
u></u><u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">The attack doesn&#39;t=C2=A0rely on redirecting to u=
nregistered URLs, that&#39;s the problem.<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">The goal of the attack=C2=A0is to circumvent phishin=
g filters, by presenting a URL from a legitimate domain (the AS) that event=
ually redirects to the actual phishing=C2=A0URL. The actual
 phishing=C2=A0page=C2=A0doesn&#39;t need to target the same authorization =
server, or an authorization server at all for that matter.=C2=A0<u></u><u><=
/u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">An attacker can register a legitimate app on any aut=
horization server as a service, on their own=C2=A0tenant. The goal is just =
to have a starting URL that phishing filters won&#39;t block,
 and the attacker is in full control of the redirect URIs they register in =
their own tenant.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">My take: it might be tricky to change the redirect o=
n error behavior at this point, but we should at least note the issue in th=
e security considerations/BCPs and possibly give some
 advice. For example, on top of my head: AS should expose their endpoints o=
n a domain dedicated to OAuth/OIDC operations, and avoid using its top leve=
l domains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F=
%2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7=
C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C=
0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi=
V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D6oiRh6TMVJnXYUGdD=
Jt%2BLQQI0gCtOs7au%2BU7ctOd%2Bjo%3D&amp;reserved=3D0" target=3D"_blank">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman=
%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DegS2AEI1FmpbL09upMutgGCUtpgyEn2l1FtdDb7WCdI%3D&amp;reserved=3D0" target=
=3D"_blank">
heroku.com</a>) so that if a phishing filter decides to block direct links =
to the issuing endpoints will only impact things like IdP initiated flows (=
solvable by adding jumpstart endpoints on the RP anyway, just like IdP init=
iated sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make t=
he problem better.<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wpa=
rad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rho=
sys.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">I think this just falls into the category of never r=
edirect the user to a url that doesn&#39;t match one of the preregistered=
=C2=A0redirect urls (or logout urls for that matter). Any application
 that has redirects anywhere provides an opportunity for this attack vector=
, OAuth isn&#39;t unique in that way, it just is consistent and documented.=
 And the 2.1 draft is pretty clear on this front:<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-o=
auth-v2-1-04%23section-4.1.2.1&amp;data=3D04%7C01%7Cpieter.kasselman%40micr=
osoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011=
db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM=
DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DM7ZtR%=
2BTYVIVzXZmHaeJS6rGVLC84RUisnfl5KCF0rHg%3D&amp;reserved=3D0" target=3D"_bla=
nk">https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-=
4.1.2.1</a><u></u><u></u></p>
</div>
<div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<p class=3D"MsoNormal">=C2=A0 =C2=A0If the request fails due to a missing, =
invalid, or mismatching<br>
=C2=A0 =C2=A0redirect URI, or if the client identifier is missing or invali=
d, the<br>
=C2=A0 =C2=A0authorization server SHOULD inform the resource owner of the e=
rror<br>
=C2=A0 =C2=A0and <b>MUST NOT automatically redirect the user agent to the i=
nvalid<br>
=C2=A0 =C2=A0redirect URI</b>.<u></u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I want to call this attack vector &quot;<b>illegitim=
ate</b>=C2=A0phishing applications&quot; which is easily blocked by preregi=
stration and/or PARs. And is only a very small subset of phishing
 attacks with OAuth, of which the larger group is &quot;<b>legitimate</b> p=
hishing applications&quot;. An app can be registered correctly, and still i=
ssue a phishing attack as phishing attacks through OAuth are actually indis=
tinguishable from standard user delegation.
 There is no way to prevent these without an application review before regi=
stration is completed, here&#39;s an example that cloned Google apps y crea=
ting a fake app called
<b>google defender</b>:=C2=A0<a href=3D"https://nam06.safelinks.protection.=
outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17=
%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-at=
tacks.html&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc0875=
00b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D9kKah9zgc66ew2AD5iGhgX2Qnz=
bnq3UJ%2FHoHsuzUU5w%3D&amp;reserved=3D0" target=3D"_blank">https://www.tren=
dmicro.com/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanc=
ed-social-engineering-attacks.html</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">If we can&#39;t protect against these latter ones, I=
 hardly think protecting against=C2=A0the former is useful/interesting/valu=
able.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"=
0" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204=
,204,204) white white;padding:5pt;overflow:hidden" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack;border:1pt none windowtext;padding:0cm"><img style=3D"width: 2.0729in;=
 height: 0.3541in;" id=3D"gmail-m_4601110864832470390gmail-m_-1379917499709=
763315gmail-m_3839061275935403757gmail-m_-4701354171951797092_x005f_x0000_i=
1025" src=3D"cid:17dca2f00953455a1fe1" alt=3D"Image removed by sender." wid=
th=3D"199" height=3D"34" border=3D"0"></span><span><u></u><u></u></span></p=
>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid=
 solid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidd=
en" valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid soli=
d none;border-width:1pt 1pt medium;padding:0cm">
<p style=3D"margin:0cm"><b><span style=3D"font-family:Lato,sans-serif">Warr=
en Parad</span></b><span><u></u><u></u></span></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid=
 solid;border-width:medium 1pt 1pt;padding:0cm">
<p style=3D"margin:0cm"><span style=3D"font-size:10pt;font-family:Lato,sans=
-serif">Founder, CTO</span><span><u></u><u></u></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;color:black">Secure yo=
ur user data with IAM authorization as a service. Implement=C2=A0</span><a =
href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Fauthress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10c=
c087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C=
637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu=
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H=
29FaU2Lc6rvGwxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=
=3D"font-size:10pt">Authress</span></a><span style=3D"font-size:10pt">.</sp=
an><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef &=
lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifaat.s.ie=
tf@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rg=
b(204,204,204);border-style:none none none solid;border-width:medium medium=
 medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">All,</span><u></u><u></u></p>
<p style=3D"margin:0cm">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">An article was recently published discussing some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection=
 solutions. See the details of these attacks in the following link:</span><=
u></u><u></u></p>
<p style=3D"margin:0cm">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><a href=3D"https://nam06.safelinks.protection.outlo=
ok.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2Fcloud-security=
%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities-lead-redirecti=
on&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437a=
c09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964419=
84307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I=
k1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DitNmcvlkuKrPzG6%2F23Iod8zyH%2FqSjh=
cNuxJMw3dZslU%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-fa=
mily:Arial,sans-serif">https://www.proofpoint.com/us/blog/cloud-security/mi=
crosoft-and-github-oauth-implementation-vulnerabilities-lead-redirection</s=
pan></a><u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">The article discusses attacks on Microsoft and GitHub, but these atta=
cks are not unique to these companies.</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">The attacks take advantage of how OAuth handles error responses, whic=
h sends responses to the application=E2=80=99s redirect URL.</span><u></u><=
u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">I would like to get the thoughts of the working group on these types =
of attacks.=C2=A0</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">What is the best way to mitigate these attacks?</span><u></u><u></u><=
/p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">Do we need a new approach for handling errors with OAuth?</span><u></=
u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">Regards,</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:b=
lack">=C2=A0Rifaat</span><u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.k=
asselman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f14=
1af91ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8ey=
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp=
;sdata=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u=
></u></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font=
-size:small"><a href=3D"mailto:hans.zandbelt@zmartzone.eu" target=3D"_blank=
">hans.zandbelt@zmartzone.eu</a></div><div style=3D"font-size:small">ZmartZ=
one IAM - <a href=3D"http://www.zmartzone.eu" target=3D"_blank">www.zmartzo=
ne.eu</a><br></div></div></div></div></div></div></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:ba=
seline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-=
ui,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,C=
antarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><=
span style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:=
baseline;background:transparent;font-family:proxima-nova-zendesk,system-ui,=
-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ub=
untu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"=
><font size=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidenti=
al and privileged material for the sole use of the intended recipient(s). A=
ny review, use, distribution or disclosure by others is strictly prohibited=
.=C2=A0 If you have received this communication in error, please notify the=
 sender immediately by e-mail and delete the message and any file attachmen=
ts from your computer. Thank you.</font></span></i>
--000000000000d72e4f05d35e7248--

--000000000000d72e5105d35e7249
Content-Type: image/jpeg; name="~WRD2343.jpg"
Content-Disposition: inline; filename="~WRD2343.jpg"
Content-Transfer-Encoding: base64
Content-ID: <17dca2f00953455a1fe1>
X-Attachment-Id: 17dca2f00953455a1fe1

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==
--000000000000d72e5105d35e7249--


From nobody Fri Dec 17 18:18:12 2021
Return-Path: <matake@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 216853A1038 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 18:18:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level: 
X-Spam-Status: No, score=-2.096 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, 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=gmail.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 rYFHqVGPDekV for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 18:18:04 -0800 (PST)
Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 1EF0F3A1033 for <oauth@ietf.org>; Fri, 17 Dec 2021 18:18:04 -0800 (PST)
Received: by mail-pl1-x634.google.com with SMTP id q17so3328528plr.11 for <oauth@ietf.org>; Fri, 17 Dec 2021 18:18:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=GhaZ8RtZRFn9HRiGW1pzwNd+Dy2Ha8YcxkcAF/YcPeY=; b=ZOpXfccQVq3Olfjsj2n9cFTSwRIZRxJm9CqSCnsIpTHZ4tw1mE/k5UqGeocfD4iESG VD0XPxQbISNucM2PJkxnTRacRTQjwB1EdoXzEw9m2ll2kHrDxK/7Psz4GLpPbXZQT/bK xiJSCiRwz7EgmzBHtk1RcLpLIbM3FocZkr4QpQecxyJa5T4ExPBmYCB9RrC7kLkRnAsT 1QJQMJxuj52BnPu54rIKEtfVJ3vWxdrntU1afYDbMulVDzN5enlDrAPIBOMyY/wpZItr YP5mKfoKFxQPwFFO63EnVgBj5qmzffjXF/aMpikY7Mo4qLXTIt095/ISPgXXtFgqWDOH 5Uag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=GhaZ8RtZRFn9HRiGW1pzwNd+Dy2Ha8YcxkcAF/YcPeY=; b=YN2M/BNijIfTizcMlnfdoHr68C5HiMDCTOTX0Y806WwGvtyGM5FAmFhhEnPt2uRByb aW12scroB+H2supm82fQ0ap6vjbh5waKeHPKALqEQkPncki8hzQJCNhPPTtbXatRuewF B1z7ASHrSBO6uagBS749P5IPpHddoF+t1DIwy2eeiGgeoJoia8vjOdyu7SpCCoBDdl62 LONkerhbl5uLxP+t2IXv/vEEFs3a2ci3DDdt9KN9Uz/XHuGG+94z7cFmzZiiWAuHdjUa T86DS5aeSVgMZmVUFaTxdJszUT0aS3ozW+h6MBFavpKAVUd67xuTJApvPt7k1RE6navB aJRQ==
X-Gm-Message-State: AOAM530MBowcmjdioTsnezH1QM76OE5qGFHLq+hl2it0XuktlYC9DP0j 5GdLNUdMT/fuuFo2KTgLyikG39Ta0oY=
X-Google-Smtp-Source: ABdhPJwFk2y5oyCMt4mYIlJCXYIJhotlvRM+Xg5kp2b7yqlaIbCXBml7Vyv5/+CLA2bmaELyPxuIPg==
X-Received: by 2002:a17:902:6b8c:b0:148:8a86:a01c with SMTP id p12-20020a1709026b8c00b001488a86a01cmr6069663plk.50.1639793882531;  Fri, 17 Dec 2021 18:18:02 -0800 (PST)
Received: from smtpclient.apple (om126254235052.33.openmobile.ne.jp. [126.254.235.52]) by smtp.gmail.com with ESMTPSA id c81sm10454565pfb.166.2021.12.17.18.18.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Dec 2021 18:18:01 -0800 (PST)
Content-Type: multipart/alternative; boundary=Apple-Mail-E1F26585-D8EB-4C88-8DFF-1A41695D7C07
Content-Transfer-Encoding: 7bit
From: Nov Matake <matake@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Sat, 18 Dec 2021 11:18:00 +0900
Message-Id: <3B0BD22B-5837-4776-BD1A-F2A27D07686B@gmail.com>
References: <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
Cc: Hans Zandbelt <hans.zandbelt@zmartzone.eu>, oauth <oauth@ietf.org>
In-Reply-To: <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
To: Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>
X-Mailer: iPhone Mail (19C57)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Zu_HuTdHnXgTM6lD68B8pALLSSU>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Dec 2021 02:18:09 -0000

--Apple-Mail-E1F26585-D8EB-4C88-8DFF-1A41695D7C07
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Phishing filters can simply handle all OAuth AuthZ request like URLs in emai=
ls malicious.

> 2021/12/18 6:45=E3=80=81Brian Campbell <bcampbell=3D40pingidentity.com@dma=
rc.ietf.org>=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:
>=20
> =EF=BB=BF
> Yeah, I think it has been discussed before. And if I'm understanding corre=
ctly, it is unfortunately a tricky area. It sounds like more or less the sam=
e thing as "Abuse: The Authorization Server As Open Redirector" described in=
 the dormant WG draft, which is ultimately predicated on a client being regi=
stered with a malicious redirect URI. The twist in that Proofpoint article s=
eems to be using it to evade detection by products/services that scan email f=
or phishing links.=20
>=20
> The "obvious" answer would be to prevent malicious client registration in t=
he first place. But that's not tenable in many, many situations. Providing s=
ome more guidance about the importance of being as prudent as possible there=
 couldn't hurt though. =20
>=20
> A couple other things that could be considered (acknowledging that the det=
ails of providing guidance that might impact protocol is very tricky):
>=20
> Require the redirect_uir parameter on the authorization request in all cas=
es (even when only one is registered for a given client). This would make it=
 so the malicious URL couldn't be entirely hidden from the email filters.
>=20
> Relax how aggressively OAuth demands that the AS automatically redirect in=
 error conditions. And either respond with a 400 directly (which just stops t=
hings at that point) or provide a meaningful interstitial page to the user b=
efore redirecting them (which at least helps users see something is amiss). I=
 do think OAuth is a bit overzealous in automatically returning the user's b=
rowser context to the client in error conditions. There are some situations (=
like prompt=3Dnone) that rely on the behavior but in most cases it isn't nec=
essary or helpful and can be problematic.=20
>=20
> On Fri, Dec 17, 2021 at 1:59 PM Hans Zandbelt <hans.zandbelt@zmartzone.eu>=
 wrote:
>> AFAIK this topic has been discussed before, e.g.:
>> https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/
>>=20
>> Hans.
>>=20
>> On Fri, Dec 17, 2021 at 9:44 PM Pieter Kasselman <pieter.kasselman=3D40mi=
crosoft.com@dmarc.ietf.org> wrote:
>>> The problem isn=E2=80=99t invalid URLs but malicious ones. Given a choic=
e between a sub-optimal user experience and a phished end-user, perhaps an o=
ption that allows the authorization server to handle the error, rather than r=
edirecting can serve end-users better. But as Vittorio points, out, there ar=
e probably other options as well to consider. URL reputation services is ano=
ther option, but problematic since they are imperfect and I expect hard to s=
tandardise to a point that creates a common minimum level of assurance (simi=
lar to any fraud calculation or risk score).
>>>=20
>>> =20
>>>=20
>>> From: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>=20
>>> Sent: Friday 17 December 2021 20:27
>>> To: Pieter Kasselman <pieter.kasselman@microsoft.com>
>>> Cc: Vittorio Bertocci <Vittorio@auth0.com>; oauth <oauth@ietf.org>
>>> Subject: Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>>>=20
>>> =20
>>>=20
>>> You want to redirect on some errors because the last thing an AS wants i=
s to leave the user in the AS because the user can't do anything there and t=
he AS can't do anything either. It's just bad UX. But if the redirect url is=
n't valid, this is absolutely the time that the AS should keep the user ther=
e for user's protection.  Any AS redirecting the user to an invalid redirect=
 url, isn't doing the right thing.
>>>=20
>>> =20
>>>=20
>>> But that only solves the illegitimate phishing urls, it doesn't solve th=
e class of problem where a phishing application is legitimately registered.
>>>=20
>>>=20
>>>=20
>>>=20
>>> Warren Parad
>>> Founder, CTO
>>> Secure your user data with IAM authorization as a service. Implement Aut=
hress.
>>>=20
>>> =20
>>>=20
>>> =20
>>>=20
>>> On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman <pieter.kasselman=3D40m=
icrosoft.com@dmarc.ietf.org> wrote:
>>>=20
>>> Agreed that the attackers goal is to bypass phishing filters and they fo=
und a way to achieve this by using an IdP that adheres to the standards. I d=
on=E2=80=99t have the context for the design choice to redirect on an error c=
ondition, but am curious why the IdP should not be allowed to handle the err=
or condition, rather than redirect (or at least have the option to do so)?
>>>=20
>>> =20
>>>=20
>>> From: OAuth <oauth-bounces@ietf.org> On Behalf Of Vittorio Bertocci
>>> Sent: Friday 17 December 2021 19:55
>>> To: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org>
>>> Cc: oauth <oauth@ietf.org>
>>> Subject: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks
>>>=20
>>> =20
>>>=20
>>> The attack doesn't rely on redirecting to unregistered URLs, that's the p=
roblem.
>>>=20
>>> The goal of the attack is to circumvent phishing filters, by presenting a=
 URL from a legitimate domain (the AS) that eventually redirects to the actu=
al phishing URL. The actual phishing page doesn't need to target the same au=
thorization server, or an authorization server at all for that matter.=20
>>>=20
>>> An attacker can register a legitimate app on any authorization server as=
 a service, on their own tenant. The goal is just to have a starting URL tha=
t phishing filters won't block, and the attacker is in full control of the r=
edirect URIs they register in their own tenant.=20
>>>=20
>>> =20
>>>=20
>>> My take: it might be tricky to change the redirect on error behavior at t=
his point, but we should at least note the issue in the security considerati=
ons/BCPs and possibly give some advice. For example, on top of my head: AS s=
hould expose their endpoints on a domain dedicated to OAuth/OIDC operations,=
 and avoid using its top level domains (different area/service, but think he=
rokuapp.com vs heroku.com) so that if a phishing filter decides to block dir=
ect links to the issuing endpoints will only impact things like IdP initiate=
d flows (solvable by adding jumpstart endpoints on the RP anyway, just like I=
dP initiated sign in works in OIDC). I am sure there are lots of other thing=
s we can come up with that can make the problem better.
>>>=20
>>> =20
>>>=20
>>> On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D40rhosys.ch@dmarc=
.ietf.org> wrote:
>>>=20
>>> I think this just falls into the category of never redirect the user to a=
 url that doesn't match one of the preregistered redirect urls (or logout ur=
ls for that matter). Any application that has redirects anywhere provides an=
 opportunity for this attack vector, OAuth isn't unique in that way, it just=
 is consistent and documented. And the 2.1 draft is pretty clear on this fro=
nt:
>>>=20
>>> =20
>>>=20
>>> https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4=
.1.2.1
>>>=20
>>>    If the request fails due to a missing, invalid, or mismatching
>>>    redirect URI, or if the client identifier is missing or invalid, the
>>>    authorization server SHOULD inform the resource owner of the error
>>>    and MUST NOT automatically redirect the user agent to the invalid
>>>    redirect URI.
>>>=20
>>> =20
>>>=20
>>> I want to call this attack vector "illegitimate phishing applications" w=
hich is easily blocked by preregistration and/or PARs. And is only a very sm=
all subset of phishing attacks with OAuth, of which the larger group is "leg=
itimate phishing applications". An app can be registered correctly, and stil=
l issue a phishing attack as phishing attacks through OAuth are actually ind=
istinguishable from standard user delegation. There is no way to prevent the=
se without an application review before registration is completed, here's an=
 example that cloned Google apps y creating a fake app called google defende=
r: https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-open-aut=
hentication-advanced-social-engineering-attacks.html
>>>=20
>>> =20
>>>=20
>>> If we can't protect against these latter ones, I hardly think protecting=
 against the former is useful/interesting/valuable.
>>>=20
>>>=20
>>>=20
>>>=20
>>> Warren Parad
>>> Founder, CTO
>>> Secure your user data with IAM authorization as a service. Implement Aut=
hress.
>>>=20
>>> =20
>>>=20
>>> =20
>>>=20
>>> On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.=
com> wrote:
>>>=20
>>> All,
>>> =20
>>> An article was recently published discussing some OAuth Redirection Atta=
cks to try to bypass phishing detection solutions. See the details of these a=
ttacks in the following link:
>>> =20
>>> https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-o=
auth-implementation-vulnerabilities-lead-redirection
>>> =20
>>>=20
>>> =20
>>> The article discusses attacks on Microsoft and GitHub, but these attacks=
 are not unique to these companies.
>>> The attacks take advantage of how OAuth handles error responses, which s=
ends responses to the application=E2=80=99s redirect URL.
>>> =20
>>>=20
>>> I would like to get the thoughts of the working group on these types of a=
ttacks.=20
>>> What is the best way to mitigate these attacks?
>>> Do we need a new approach for handling errors with OAuth?
>>> =20
>>>=20
>>> Regards,
>>>  Rifaat
>>> =20
>>>=20
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>=20
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>=20
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>=20
>>=20
>> --=20
>> hans.zandbelt@zmartzone.eu
>> ZmartZone IAM - www.zmartzone.eu
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>=20
> CONFIDENTIALITY NOTICE: This email may contain confidential and privileged=
 material for the sole use of the intended recipient(s). Any review, use, di=
stribution or disclosure by others is strictly prohibited.  If you have rece=
ived this communication in error, please notify the sender immediately by e-=
mail and delete the message and any file attachments from your computer. Tha=
nk you._______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

--Apple-Mail-E1F26585-D8EB-4C88-8DFF-1A41695D7C07
Content-Type: multipart/related; type="text/html";
 boundary=Apple-Mail-26357E61-1EC9-4A0B-9588-ECC6A56862FF
Content-Transfer-Encoding: 7bit


--Apple-Mail-26357E61-1EC9-4A0B-9588-ECC6A56862FF
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Phishing filters can simply handle all OAut=
h AuthZ request like URLs in emails malicious.<br><div dir=3D"ltr"><br></div=
><div dir=3D"ltr"><blockquote type=3D"cite">2021/12/18 6:45=E3=80=81Brian Ca=
mpbell &lt;bcampbell=3D40pingidentity.com@dmarc.ietf.org&gt;=E3=81=AE=E3=83=A1=
=E3=83=BC=E3=83=AB:<br><br></blockquote></div><blockquote type=3D"cite"><div=
 dir=3D"ltr">=EF=BB=BF<div dir=3D"ltr"><div>Yeah, I think it has been discus=
sed before. And if I'm understanding correctly, it is unfortunately a tricky=
 area. It sounds like more or less the same thing as <a href=3D"https://data=
tracker.ietf.org/doc/html/draft-ietf-oauth-closing-redirectors-00#section-2.=
1" target=3D"_blank">"Abuse: The Authorization Server As Open Redirector"</a=
> described in the dormant WG draft, which is ultimately predicated on a cli=
ent being registered with a malicious redirect URI. The twist in that Proofp=
oint article seems to be using it to evade detection by products/services th=
at scan email for phishing links. <br></div><div><br></div><div>The "obvious=
" answer would be to prevent malicious client registration in the first plac=
e. But that's not tenable in many, many situations. Providing some more guid=
ance about the importance of being as prudent as possible there couldn't hur=
t though.&nbsp; <br></div><div><br></div><div> A couple other things that co=
uld be considered (acknowledging that the details of providing guidance that=
 might impact protocol is very tricky):</div><div><br></div><div>Require the=
 redirect_uir parameter on the authorization request in all cases (even when=
 only one is registered for a given client). This would make it so the malic=
ious URL couldn't be entirely hidden from the email filters.</div><div><br><=
/div><div>Relax how aggressively OAuth demands that the AS automatically red=
irect in error conditions. And either respond with a 400 directly (which jus=
t stops things at that point) or provide a meaningful interstitial page to t=
he user before redirecting them (which at least helps users see something is=
 amiss). I do think OAuth is a bit overzealous in automatically returning th=
e user's browser context to the client in error conditions. There are some s=
ituations (like prompt=3Dnone) that rely on the behavior but in most cases i=
t isn't necessary or helpful and can be problematic. <br></div></div><br><di=
v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 17=
, 2021 at 1:59 PM Hans Zandbelt &lt;<a href=3D"mailto:hans.zandbelt@zmartzon=
e.eu" target=3D"_blank">hans.zandbelt@zmartzone.eu</a>&gt; wrote:<br></div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D=
"ltr">AFAIK this topic has been discussed before, e.g.:<div><a href=3D"https=
://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/" target=3D=
"_blank">https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElx=
rc4s/</a><br></div><div><br></div><div>Hans.</div></div><br><div class=3D"gm=
ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 17, 2021 at 9:4=
4 PM Pieter Kasselman &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.c=
om@dmarc.ietf.org" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-IE">
<div>
<p class=3D"MsoNormal"><span>The problem isn=E2=80=99t invalid URLs but mali=
cious ones. Given a choice between a sub-optimal user experience and a phish=
ed end-user, perhaps an option that allows the authorization server to handl=
e the
 error, rather than redirecting can serve end-users better. But as Vittorio p=
oints, out, there are probably other options as well to consider. URL reputa=
tion services is another option, but problematic since they are imperfect an=
d I expect hard to standardise
 to a point that creates a common minimum level of assurance (similar to any=
 fraud calculation or risk score).<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span><u></u>&nbsp;<u></u></span></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;border=
-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=3D=
"EN-US"> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.=
org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;
<br>
<b>Sent:</b> Friday 17 December 2021 20:27<br>
<b>To:</b> Pieter Kasselman &lt;<a href=3D"mailto:pieter.kasselman@microsoft=
.com" target=3D"_blank">pieter.kasselman@microsoft.com</a>&gt;<br>
<b>Cc:</b> Vittorio Bertocci &lt;<a href=3D"mailto:Vittorio@auth0.com" targe=
t=3D"_blank">Vittorio@auth0.com</a>&gt;; oauth &lt;<a href=3D"mailto:oauth@i=
etf.org" target=3D"_blank">oauth@ietf.org</a>&gt;<br>
<b>Subject:</b> Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<u></=
u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<p class=3D"MsoNormal">You want to redirect on some errors because the last t=
hing an AS wants is to leave the user in the AS because the user can't do an=
ything there and the AS can't do anything either. It's just bad UX. But if t=
he redirect url isn't valid, this
 is absolutely the time that the AS should keep the user there for user's pr=
otection.&nbsp; Any AS redirecting the user to an invalid redirect url, isn'=
t doing the right thing.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">But that only solves the illegitimate phishing urls, i=
t doesn't solve the class of problem where a phishing application is legitim=
ately registered.<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"0=
" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204,=
204,204) white white;padding:5pt" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm;border:medium none;padding:0cm"><span style=3D"font-f=
amily:Arial,sans-serif;color:black;border:1pt none windowtext;padding:0cm"><=
img style=3D"width: 2.0729in; height: 0.3541in;" id=3D"gmail-m_4601110864832=
470390gmail-m_-1379917499709763315gmail-m_3839061275935403757Picture_x0020_1=
" alt=3D"Image removed by sender." width=3D"199" height=3D"34" src=3D"cid:17=
dca2f00953455a1fe1"></span><span><u></u><u></u></span></p>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid s=
olid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidden"=
 valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid solid=
 none;border-width:1pt 1pt medium;padding:0cm">
<p style=3D"margin:0cm;border:medium none;padding:0cm"><b><span style=3D"fon=
t-family:Lato,sans-serif">Warren Parad</span></b><span><u></u><u></u></span>=
</p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid s=
olid;border-width:medium 1pt 1pt;padding:0cm">
<p style=3D"margin:0cm;border:medium none;padding:0cm"><span style=3D"font-s=
ize:10pt;font-family:Lato,sans-serif">Founder, CTO</span><span><u></u><u></u=
></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt">Secure your user data w=
ith IAM authorization as a service. Implement&nbsp;</span><a href=3D"https:/=
/nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&=
amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac094=
08d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441984307=
%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw=
iLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2Lc6rvGwxr%2FzF5=
2w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-size:10pt">Au=
thress</span></a><span style=3D"font-size:10pt">.</span><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman &lt;=
pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" target=3D=
"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rgb=
(204,204,204);border-style:none none none solid;border-width:medium medium m=
edium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<p class=3D"MsoNormal">Agreed that the attackers goal is to bypass phishing f=
ilters and they found a way to achieve this by using an IdP that adheres to t=
he standards. I don=E2=80=99t have the context for the
 design choice to redirect on an error condition, but am curious why the IdP=
 should not be allowed to handle the error condition, rather than redirect (=
or at least have the option to do so)?<u></u><u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<div style=3D"border-color:rgb(225,225,225) currentcolor currentcolor;border=
-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=3D=
"EN-US"> OAuth &lt;</span><a href=3D"mailto:oauth-bounces@ietf.org" target=3D=
"_blank"><span lang=3D"EN-US">oauth-bounces@ietf.org</span></a><span lang=3D=
"EN-US">&gt;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D</span><a href=3D"mailto:40rhosys.ch@dm=
arc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40rhosys.ch@dmarc.ietf.=
org</span></a><span lang=3D"EN-US">&gt;<br>
<b>Cc:</b> oauth &lt;</span><a href=3D"mailto:oauth@ietf.org" target=3D"_bla=
nk"><span lang=3D"EN-US">oauth@ietf.org</span></a><span lang=3D"EN-US">&gt;<=
br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks</span><u=
></u><u></u></p>
</div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">The attack doesn't&nbsp;rely on redirecting to unregi=
stered URLs, that's the problem.<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">The goal of the attack&nbsp;is to circumvent phishing=
 filters, by presenting a URL from a legitimate domain (the AS) that eventua=
lly redirects to the actual phishing&nbsp;URL. The actual
 phishing&nbsp;page&nbsp;doesn't need to target the same authorization serve=
r, or an authorization server at all for that matter.&nbsp;<u></u><u></u></p=
>
</div>
</div>
<div>
<p class=3D"MsoNormal">An attacker can register a legitimate app on any auth=
orization server as a service, on their own&nbsp;tenant. The goal is just to=
 have a starting URL that phishing filters won't block,
 and the attacker is in full control of the redirect URIs they register in t=
heir own tenant.&nbsp;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">My take: it might be tricky to change the redirect on=
 error behavior at this point, but we should at least note the issue in the s=
ecurity considerations/BCPs and possibly give some
 advice. For example, on top of my head: AS should expose their endpoints on=
 a domain dedicated to OAuth/OIDC operations, and avoid using its top level d=
omains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%=
2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C1=
0cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7=
C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu=
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D6oiRh6TMVJnXYUGdDJt%2B=
LQQI0gCtOs7au%2BU7ctOd%2Bjo%3D&amp;reserved=3D0" target=3D"_blank">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.c=
om/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cpieter.kasselman%4=
0microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj=
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DegS2=
AEI1FmpbL09upMutgGCUtpgyEn2l1FtdDb7WCdI%3D&amp;reserved=3D0" target=3D"_blan=
k">
heroku.com</a>) so that if a phishing filter decides to block direct links t=
o the issuing endpoints will only impact things like IdP initiated flows (so=
lvable by adding jumpstart endpoints on the RP anyway, just like IdP initiat=
ed sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make th=
e problem better.<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad &lt;wpar=
ad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank">40rhosy=
s.ch@dmarc.ietf.org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rgb=
(204,204,204);border-style:none none none solid;border-width:medium medium m=
edium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">I think this just falls into the category of never re=
direct the user to a url that doesn't match one of the preregistered&nbsp;re=
direct urls (or logout urls for that matter). Any application
 that has redirects anywhere provides an opportunity for this attack vector,=
 OAuth isn't unique in that way, it just is consistent and documented. And t=
he 2.1 draft is pretty clear on this front:<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"https://nam06.safelinks.protection.outlook=
.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oau=
th-v2-1-04%23section-4.1.2.1&amp;data=3D04%7C01%7Cpieter.kasselman%40microso=
ft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47=
%7C1%7C0%7C637753696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DM7ZtR%2BTYVI=
VzXZmHaeJS6rGVLC84RUisnfl5KCF0rHg%3D&amp;reserved=3D0" target=3D"_blank">htt=
ps://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.2.1<=
/a><u></u><u></u></p>
</div>
<div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rgb=
(204,204,204);border-style:none none none solid;border-width:medium medium m=
edium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<p class=3D"MsoNormal">&nbsp; &nbsp;If the request fails due to a missing, i=
nvalid, or mismatching<br>
&nbsp; &nbsp;redirect URI, or if the client identifier is missing or invalid=
, the<br>
&nbsp; &nbsp;authorization server SHOULD inform the resource owner of the er=
ror<br>
&nbsp; &nbsp;and <b>MUST NOT automatically redirect the user agent to the in=
valid<br>
&nbsp; &nbsp;redirect URI</b>.<u></u><u></u></p>
</blockquote>
<div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I want to call this attack vector "<b>illegitimate</b=
>&nbsp;phishing applications" which is easily blocked by preregistration and=
/or PARs. And is only a very small subset of phishing
 attacks with OAuth, of which the larger group is "<b>legitimate</b> phishin=
g applications". An app can be registered correctly, and still issue a phish=
ing attack as phishing attacks through OAuth are actually indistinguishable f=
rom standard user delegation.
 There is no way to prevent these without an application review before regis=
tration is completed, here's an example that cloned Google apps y creating a=
 fake app called
<b>google defender</b>:&nbsp;<a href=3D"https://nam06.safelinks.protection.o=
utlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17%2=
Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-attac=
ks.html&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9=
437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377536964=
41984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI=
6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D9kKah9zgc66ew2AD5iGhgX2Qnzbnq3UJ%=
2FHoHsuzUU5w%3D&amp;reserved=3D0" target=3D"_blank">https://www.trendmicro.c=
om/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanced-social=
-engineering-attacks.html</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">If we can't protect against these latter ones, I hard=
ly think protecting against&nbsp;the former is useful/interesting/valuable.<=
u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<table style=3D"border-collapse:collapse" cellspacing=3D"0" cellpadding=3D"0=
" border=3D"0">
<tbody>
<tr>
<td style=3D"border-width:1pt;border-style:solid;border-color:white rgb(204,=
204,204) white white;padding:5pt;overflow:hidden" valign=3D"top">
<div style=3D"border:1pt solid white;padding:0cm">
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack;border:1pt none windowtext;padding:0cm"><img style=3D"width: 2.0729in; h=
eight: 0.3541in;" id=3D"gmail-m_4601110864832470390gmail-m_-1379917499709763=
315gmail-m_3839061275935403757gmail-m_-4701354171951797092_x005f_x0000_i1025=
" alt=3D"Image removed by sender." width=3D"199" height=3D"34" border=3D"0" s=
rc=3D"cid:17dca2f00953455a1fe1"></span><span><u></u><u></u></span></p>
</div>
</td>
<td style=3D"border-color:white white white currentcolor;border-style:solid s=
olid solid none;border-width:1pt 1pt 1pt medium;padding:5pt;overflow:hidden"=
 valign=3D"top">
<div style=3D"border-color:white white currentcolor;border-style:solid solid=
 none;border-width:1pt 1pt medium;padding:0cm">
<p style=3D"margin:0cm"><b><span style=3D"font-family:Lato,sans-serif">Warre=
n Parad</span></b><span><u></u><u></u></span></p>
</div>
<div style=3D"border-color:currentcolor white white;border-style:none solid s=
olid;border-width:medium 1pt 1pt;padding:0cm">
<p style=3D"margin:0cm"><span style=3D"font-size:10pt;font-family:Lato,sans-=
serif">Founder, CTO</span><span><u></u><u></u></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;color:black">Secure you=
r user data with IAM authorization as a service. Implement&nbsp;</span><a hr=
ef=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fau=
thress.io%2F&amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087=
500b9437ac09408d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3696441984307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC=
JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DbD0m3JF8HeDpcw65ZHO4H29FaU2L=
c6rvGwxr%2FzF52w0%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font=
-size:10pt">Authress</span></a><span style=3D"font-size:10pt">.</span><u></u=
><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef &l=
t;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifaat.s.ietf=
@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-color:currentcolor currentcolor currentcolor rgb=
(204,204,204);border-style:none none none solid;border-width:medium medium m=
edium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">All,</span><u></u><u></u></p>
<p style=3D"margin:0cm">&nbsp;<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">An article was recently published discussing some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection s=
olutions. See the details of these attacks in the following link:</span><u><=
/u><u></u></p>
<p style=3D"margin:0cm">&nbsp;<u></u><u></u></p>
<p style=3D"margin:0cm"><a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2Fcloud-security%2=
Fmicrosoft-and-github-oauth-implementation-vulnerabilities-lead-redirection&=
amp;data=3D04%7C01%7Cpieter.kasselman%40microsoft.com%7C10cc087500b9437ac094=
08d9c19b9d90%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753696441984307=
%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw=
iLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DitNmcvlkuKrPzG6%2F23Iod8zyH%2FqSjhcNuxJMw=
3dZslU%3D&amp;reserved=3D0" target=3D"_blank"><span style=3D"font-family:Ari=
al,sans-serif">https://www.proofpoint.com/us/blog/cloud-security/microsoft-a=
nd-github-oauth-implementation-vulnerabilities-lead-redirection</span></a><u=
></u><u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<p style=3D"margin:0cm">&nbsp;<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">The article discusses attacks on Microsoft and GitHub, but these attack=
s are not unique to these companies.</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">The attacks take advantage of how OAuth handles error responses, which s=
ends responses to the application=E2=80=99s redirect URL.</span><u></u><u></=
u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">I would like to get the thoughts of the working group on these types of=
 attacks.&nbsp;</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">What is the best way to mitigate these attacks?</span><u></u><u></u></p=
>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">Do we need a new approach for handling errors with OAuth?</span><u></u>=
<u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">Regards,</span><u></u><u></u></p>
<p style=3D"margin:0cm"><span style=3D"font-family:Arial,sans-serif;color:bl=
ack">&nbsp;Rifaat</span><u></u><u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.kass=
elman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u></u></p=
>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cpieter.kass=
elman%40microsoft.com%7C10cc087500b9437ac09408d9c19b9d90%7C72f988bf86f141af9=
1ab2d7cd011db47%7C1%7C0%7C637753696442034307%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3D9S1YCx61RDItp9TtylYb4bgxMTABCZJ9MbjwUHV%2FStM%3D&amp;reserved=3D0" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><u></u><u></u></p=
>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr">=
<div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font-s=
ize:small"><a href=3D"mailto:hans.zandbelt@zmartzone.eu" target=3D"_blank">h=
ans.zandbelt@zmartzone.eu</a></div><div style=3D"font-size:small">ZmartZone I=
AM - <a href=3D"http://www.zmartzone.eu" target=3D"_blank">www.zmartzone.eu<=
/a><br></div></div></div></div></div></div></div>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:bas=
eline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-ui=
,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,Cant=
arell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><span=
 style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:basel=
ine;background:transparent;font-family:proxima-nova-zendesk,system-ui,-apple=
-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,Ca=
ntarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"><font s=
ize=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidential and pr=
ivileged material for the sole use of the intended recipient(s). Any review,=
 use, distribution or disclosure by others is strictly prohibited.&nbsp; If y=
ou have received this communication in error, please notify the sender immed=
iately by e-mail and delete the message and any file attachments from your c=
omputer. Thank you.</font></span></i><span>_________________________________=
______________</span><br><span>OAuth mailing list</span><br><span>OAuth@ietf=
.org</span><br><span>https://www.ietf.org/mailman/listinfo/oauth</span><br><=
/div></blockquote></body></html>=

--Apple-Mail-26357E61-1EC9-4A0B-9588-ECC6A56862FF
Content-Type: image/jpeg; name=~WRD2343.jpg;
 x-apple-part-url=17dca2f00953455a1fe1
Content-Disposition: inline;
	filename=~WRD2343.jpg
Content-Transfer-Encoding: base64
Content-Id: <17dca2f00953455a1fe1>

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==

--Apple-Mail-26357E61-1EC9-4A0B-9588-ECC6A56862FF
Content-Type: image/jpeg; name=~WRD2343.jpg;
 x-apple-part-url=17dca2f00953455a1fe1
Content-Disposition: inline;
	filename=~WRD2343.jpg
Content-Transfer-Encoding: base64
Content-Id: <17dca2f00953455a1fe1>

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==

--Apple-Mail-26357E61-1EC9-4A0B-9588-ECC6A56862FF--

--Apple-Mail-E1F26585-D8EB-4C88-8DFF-1A41695D7C07--


From nobody Fri Dec 17 22:11:37 2021
Return-Path: <david@alkaline-solutions.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCA1C3A0B59 for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 22:11:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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_PASS=-0.001, UNPARSEABLE_RELAY=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=alkaline-solutions.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 aUBGTKVtRvEt for <oauth@ietfa.amsl.com>; Fri, 17 Dec 2021 22:11:30 -0800 (PST)
Received: from caesium6.alkaline.solutions (caesium6.alkaline.solutions [157.230.133.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0AEC33A0B41 for <oauth@ietf.org>; Fri, 17 Dec 2021 22:11:29 -0800 (PST)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by caesium6.alkaline.solutions (Postfix) with ESMTPA id 2EAE5206E27; Sat, 18 Dec 2021 06:11:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alkaline-solutions.com; s=dkim; t=1639807888; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HTI6TW2lnKcBgs7gBZkmIVsXcxXuGGmdemHm7bhfOiI=; b=IBN+7f2kqBE/ugwSmlT2yAghuq8uOovTfXKmvX2fFW4scmGndPGSjdRfHUdf4XrtgiB6lJ 9RFCVxaeNxSZyprkZ+BUnkEotYpK6BGNfEherM2mYWcEnd8rPaH1hqZCQi14Yup2u4xtZC yAMRDha3lk0/CamRuZHlzk3vmflT4/k=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
From: David Waite <david@alkaline-solutions.com>
In-Reply-To: <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
Date: Fri, 17 Dec 2021 23:11:26 -0700
Cc: Hans Zandbelt <hans.zandbelt@zmartzone.eu>, oauth <oauth@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FB2B5751-C124-4400-953D-202C8D726350@alkaline-solutions.com>
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com> <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com> <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
To: Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>
Authentication-Results: caesium6.alkaline.solutions; auth=pass smtp.mailfrom=david@alkaline-solutions.com
X-Spamd-Bar: /
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Ytwyo94H3BEIKiki_vkrZ5wy5PA>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Dec 2021 06:11:36 -0000

> On Dec 17, 2021, at 2:44 PM, Brian Campbell =
<bcampbell=3D40pingidentity.com@dmarc.ietf.org> wrote:
>=20
> Relax how aggressively OAuth demands that the AS automatically =
redirect in error conditions. And either respond with a 400 directly =
(which just stops things at that point) or provide a meaningful =
interstitial page to the user before redirecting them (which at least =
helps users see something is amiss). I do think OAuth is a bit =
overzealous in automatically returning the user's browser context to the =
client in error conditions. There are some situations (like prompt=3Dnone)=
 that rely on the behavior but in most cases it isn't necessary or =
helpful and can be problematic.=20

The problem is that if prompt=3Dnone still requires redirection without =
prompt or interstitial, someone wishing to treat dynamic registrations =
of malicious sites as clients will just start using prompt=3Dnone. =
Likewise, a site could still attempt to manipulate the user to release =
information by imitating an extension to the authentication process, =
such as an "expired password change" prompt.

I agree with Nov Matake's comment - phishing link email filters should =
treat all OAuth URLs as suspect, as OAuth has several =
security-recommended features like state and PKCE which do not work as =
expected/reliably with email. Filters integrated into the browser (such =
as based on the unsafe site list in Chrome) should not need changes, as =
they will warn on redirect to the known malicious site.

We should also continue to push as an industry for authentication =
technologies like WebAuthn (as well as mutual TLS and Kerberos) which =
are phishing resistant. We are really talking about failure of a single =
phishing mitigation for _known_ malicious sites - the opportunity to use =
any unknown malicious site or a compromised legitimate site remains open =
even if we do suggest changes to error behavior.

-DW


From nobody Sat Dec 18 07:10:58 2021
Return-Path: <gffletch@aol.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CA273A0F3D for <oauth@ietfa.amsl.com>; Sat, 18 Dec 2021 07:10:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.951
X-Spam-Level: 
X-Spam-Status: No, score=-3.951 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.852, RCVD_IN_MSPIKE_H2=-0.001, 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=aol.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 b1lHiZxRZfbZ for <oauth@ietfa.amsl.com>; Sat, 18 Dec 2021 07:10:51 -0800 (PST)
Received: from sonic304-21.consmr.mail.ne1.yahoo.com (sonic304-21.consmr.mail.ne1.yahoo.com [66.163.191.147]) (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 480DC3A0F35 for <oauth@ietf.org>; Sat, 18 Dec 2021 07:10:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1639840249; bh=TJB2I1qf8HjYFnyk+0+/I/3Xly2TrSkYqlzUhAfZ3sw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=THEdayKKQcXbe7N7SIN62gQ6nT0dqJk/3Eb9AcEolr/YpDRUsOA7kBLWtW5+1VeAqJ86nbkrc7Cdb82vKdilGoQ6AesXHW8vWcgezPF+mloZ3toppHNO6iAKUH0hdrcOBzQm2Br+cYQS0RaToMF9ttgFAbk/WZpWUWF5uxvRowg9g099nj8vQuWLrfsDEVXMi/jV0EZsqCorLliqoIvID9eyzm4m+W5IbzBHINdqt7B9Vs3SnIGhSE5ygg0tZ//1+KfbnQvJQI5lU60idKfVV5jA77Vn9dtaLSf7xZMRKCOzAynVocf8gxOx6hEyzi4wp94dVwRVPp3G7ez5q147CQ==
X-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CelxC9j_5UYmb8o W_2styc8B0r2l4xbFKtISpW9zmIConJFm1NL4ebceMdDIAgpSFsCVXZ9s4qF_LJ6WS0MKFw47x1. MWIcPHZJDc7TVX8nrnafRhCiINIHX6_SNHEoYxWlrrHiV.C1jWVXdBwkOkdLxpJxzm9CnytzTDS8 UWoOwiW2S1rpjdoku9fKRYx.6JTXeazludi2Fdmv6VhvhshZzH8yx3nfkxlRNFgWAX1U0XuwcgRz ICAGWYcXl55Cc6rM_pn4ipiTgrB2vdcAh9a3zv6JiaLBHDArVeOiDz8nIPQAlvmGHi8qmGhty0pZ a5oX8KlhAooPHlSDO5LU90K3llN7VUAjECUXAvu0tWIf.hZG7iVy73.G4Vwl2orRwtIVA92YLDpX IbSClQWqrLc2uUX57AvAXqgbLIgGpiLF47VIEP0hNF6DdCMGITXue_H0adpqzWe9EKFhXlXtOPtO OkhWIp9XZEFDY8XH1dMrZr6FGSU8Aj7IWgb4NUG6Br1uee3DDtZ.o_4dt7D5sqqLu4l6KBJ9w2XO MJFPGyAlvcTBauf2ED6xqk1VUvZo5KL5WrQZU16Ha0xpCIE9jZfcQukbBcecots0E09e0Saco97r z3uzLDl1ZZZJElb3zALDEnw--
X-Sonic-MF: <gffletch@aol.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 18 Dec 2021 15:10:49 +0000
Received: by kubenode538.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 651540120edcb6ad3ed9243a9cdd9dd2;  Sat, 18 Dec 2021 15:10:45 +0000 (UTC)
Message-ID: <4bb64d61-6e79-3c3a-1166-a322dd3089a1@aol.com>
Date: Sat, 18 Dec 2021 10:10:42 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0
Content-Language: en-US
To: David Waite <david=40alkaline-solutions.com@dmarc.ietf.org>, Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>
Cc: oauth <oauth@ietf.org>
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com> <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com> <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com> <FB2B5751-C124-4400-953D-202C8D726350@alkaline-solutions.com>
From: George Fletcher <gffletch@aol.com>
Organization: AOL LLC
In-Reply-To: <FB2B5751-C124-4400-953D-202C8D726350@alkaline-solutions.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/f6S-cyo6a2MWQ6iU25rOqY0kjrI>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Dec 2021 15:10:56 -0000

Given the attack is based on a successfully registered callback URL that 
is malicious, we can also look to the Authorization Server to run more 
checks on the registered callback URLs (e.g. check against the "unsafe" 
URL list). Not a 100% solution by any means but could help with reduce 
the impact. Additionally, making sure the AS can easily revoke any 
client_id and have that take effect quickly.

Another potential option would be to not allow prompt=none (or automatic 
redirects) from contexts where the user hasn't first gone through a full 
authentication flow or at least allow the AS to display UI at it's 
discretion. Though this will definitely break some flows :(

This at least illuminates one of the dangers of allowing a wide open 
dynamic client registration model :)

Thanks,
George

On 12/18/21 1:11 AM, David Waite wrote:
>
>> On Dec 17, 2021, at 2:44 PM, Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org> wrote:
>>
>> Relax how aggressively OAuth demands that the AS automatically redirect in error conditions. And either respond with a 400 directly (which just stops things at that point) or provide a meaningful interstitial page to the user before redirecting them (which at least helps users see something is amiss). I do think OAuth is a bit overzealous in automatically returning the user's browser context to the client in error conditions. There are some situations (like prompt=none) that rely on the behavior but in most cases it isn't necessary or helpful and can be problematic.
> The problem is that if prompt=none still requires redirection without prompt or interstitial, someone wishing to treat dynamic registrations of malicious sites as clients will just start using prompt=none. Likewise, a site could still attempt to manipulate the user to release information by imitating an extension to the authentication process, such as an "expired password change" prompt.
>
> I agree with Nov Matake's comment - phishing link email filters should treat all OAuth URLs as suspect, as OAuth has several security-recommended features like state and PKCE which do not work as expected/reliably with email. Filters integrated into the browser (such as based on the unsafe site list in Chrome) should not need changes, as they will warn on redirect to the known malicious site.
>
> We should also continue to push as an industry for authentication technologies like WebAuthn (as well as mutual TLS and Kerberos) which are phishing resistant. We are really talking about failure of a single phishing mitigation for _known_ malicious sites - the opportunity to use any unknown malicious site or a compromised legitimate site remains open even if we do suggest changes to error behavior.
>
> -DW
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


From nobody Sat Dec 18 07:25:05 2021
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4446D3A0FC4 for <oauth@ietfa.amsl.com>; Sat, 18 Dec 2021 07:25:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level: 
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rhosys.ch
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 eHRuiKFyx9QQ for <oauth@ietfa.amsl.com>; Sat, 18 Dec 2021 07:24:58 -0800 (PST)
Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 0DC613A0FC7 for <oauth@ietf.org>; Sat, 18 Dec 2021 07:24:57 -0800 (PST)
Received: by mail-yb1-xb34.google.com with SMTP id q74so14917605ybq.11 for <oauth@ietf.org>; Sat, 18 Dec 2021 07:24:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bJ2yD2bKXOf/mTlPf5tlTavgbhWgj2zKHm6Ilb3hNE4=; b=U4BIhK8pklY51tIFvc0aBVdoyH/idp8/bOcSQZHQEi0uDE2HxzFWrDlqb6kskVR8FN PixPexrhQ7NwdWv/g/xAw1SqVV9cYXT+duv6QvtKNmKRsisthMtuKXJLEp9fxdihYGtg qRetAt75fROUJeuS7cJeslXSvVEKJjLg6IR3sxBtMXcKi+uCjsqA0e+Wa8BEIA4jBDVW PAoTyd7E9Z0UbmgVbshp0KONiU8JqRB+cljQwtFKdFtRLSFoZzVUlgon2qkY7dn8kle6 HJTU9QRGsUuTI4IBWh8ioERDYR2teNUn8S9vwgaC5C6QN6nca9Vl7smyPuH7i2v1rdan jnGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bJ2yD2bKXOf/mTlPf5tlTavgbhWgj2zKHm6Ilb3hNE4=; b=S8tEAt7yY8ip25g+hYH2a7rVOJ4/9C9/Qk1Tp8gk+8jyo77gn+1IpJIZWsSB3ynxIQ /PTkfyfU4GXP+BvEKJH6Byz96TZTtDZTTIofZGzYxNCFP+n5ereKjVMpcPJBYFe5aNUa wrkt6rm/J5eL0CK+mx+lYIlwLPTf/GBcR3BXv40X7W3LZBBAi5PhMiVRL/3ScPXHo5uD QJqVNjG4X1PuZWmNOI29giomhaod2pdT8tbpWaO4bw3+QjsgFLbDumgxpZXdK/Rx6FFm D1qSZnrLU+C13NKzhLHMvoQZiP2xATeekHUX2ojYoFLiu3DDf6TagtuNRHzsCHU6z7du ICyw==
X-Gm-Message-State: AOAM531J+Bs0xtFotP0SHrCe4R2gDNddpnD/j+0F+GZDl2Xh8Ew5W7gk EQzFHbbw61O6HhulLFn5riojZSJkIb3qH1vyzDD8
X-Google-Smtp-Source: ABdhPJxLBgQxzVDTt8FUXon+F3/xgz+76fc6uJJX5z/Zf8EVRtpFCeR0lVYwzUMNrEMlrfqKVp+hMCQ8H8nF6LGF5Y4=
X-Received: by 2002:a25:6b4a:: with SMTP id o10mr10642839ybm.660.1639841095835;  Sat, 18 Dec 2021 07:24:55 -0800 (PST)
MIME-Version: 1.0
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com> <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com> <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com> <FB2B5751-C124-4400-953D-202C8D726350@alkaline-solutions.com> <4bb64d61-6e79-3c3a-1166-a322dd3089a1@aol.com>
In-Reply-To: <4bb64d61-6e79-3c3a-1166-a322dd3089a1@aol.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Sat, 18 Dec 2021 16:24:45 +0100
Message-ID: <CAJot-L3Sc2RaUtQGMjd9As7=ACBrXiVXSp-pRKQrLYdroXD8UA@mail.gmail.com>
To: George Fletcher <gffletch=40aol.com@dmarc.ietf.org>
Cc: David Waite <david=40alkaline-solutions.com@dmarc.ietf.org>,  Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000179ed05d36d4235"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/DmUaP_okR6uQivshw5PnoLoLkOM>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Dec 2021 15:25:04 -0000

--0000000000000179ed05d36d4235
Content-Type: text/plain; charset="UTF-8"

I also 100% with the recommendation for phishing detectors treat all
perceived OAuth links as malicious in emails. It actually isn't hard to
know that there is a link embedded in a url query parameter. So I would
just take the next step of treating all urls with urls as query parameters
as malicious.

There are exactly zero reasons why a site can't use it's own javascript
redirection unless it's domain has been marked as malicious. The only
conceivable reason is a third party is providing tracking as a service, and
then that's even a better reason to potentially block these.

Phishing can still use PKCE and PAR, nor does WebAuthN provide protection
from this problem.

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement
Authress <https://authress.io/>.


On Sat, Dec 18, 2021 at 4:11 PM George Fletcher <gffletch=
40aol.com@dmarc.ietf.org> wrote:

> Given the attack is based on a successfully registered callback URL that
> is malicious, we can also look to the Authorization Server to run more
> checks on the registered callback URLs (e.g. check against the "unsafe"
> URL list). Not a 100% solution by any means but could help with reduce
> the impact. Additionally, making sure the AS can easily revoke any
> client_id and have that take effect quickly.
>
> Another potential option would be to not allow prompt=none (or automatic
> redirects) from contexts where the user hasn't first gone through a full
> authentication flow or at least allow the AS to display UI at it's
> discretion. Though this will definitely break some flows :(
>
> This at least illuminates one of the dangers of allowing a wide open
> dynamic client registration model :)
>
> Thanks,
> George
>
> On 12/18/21 1:11 AM, David Waite wrote:
> >
> >> On Dec 17, 2021, at 2:44 PM, Brian Campbell <bcampbell=
> 40pingidentity.com@dmarc.ietf.org> wrote:
> >>
> >> Relax how aggressively OAuth demands that the AS automatically redirect
> in error conditions. And either respond with a 400 directly (which just
> stops things at that point) or provide a meaningful interstitial page to
> the user before redirecting them (which at least helps users see something
> is amiss). I do think OAuth is a bit overzealous in automatically returning
> the user's browser context to the client in error conditions. There are
> some situations (like prompt=none) that rely on the behavior but in most
> cases it isn't necessary or helpful and can be problematic.
> > The problem is that if prompt=none still requires redirection without
> prompt or interstitial, someone wishing to treat dynamic registrations of
> malicious sites as clients will just start using prompt=none. Likewise, a
> site could still attempt to manipulate the user to release information by
> imitating an extension to the authentication process, such as an "expired
> password change" prompt.
> >
> > I agree with Nov Matake's comment - phishing link email filters should
> treat all OAuth URLs as suspect, as OAuth has several security-recommended
> features like state and PKCE which do not work as expected/reliably with
> email. Filters integrated into the browser (such as based on the unsafe
> site list in Chrome) should not need changes, as they will warn on redirect
> to the known malicious site.
> >
> > We should also continue to push as an industry for authentication
> technologies like WebAuthn (as well as mutual TLS and Kerberos) which are
> phishing resistant. We are really talking about failure of a single
> phishing mitigation for _known_ malicious sites - the opportunity to use
> any unknown malicious site or a compromised legitimate site remains open
> even if we do suggest changes to error behavior.
> >
> > -DW
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--0000000000000179ed05d36d4235
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I also 100% with the=C2=A0recommendation for phishing dete=
ctors treat all perceived OAuth links as malicious in emails. It actually i=
sn&#39;t hard to know that there is a link embedded in a url query paramete=
r. So I would just take the next step of treating all urls with urls as que=
ry parameters as malicious.<div><br></div><div>There are exactly zero reaso=
ns why a site can&#39;t use it&#39;s own javascript redirection unless it&#=
39;s domain has been marked as malicious. The only conceivable reason is a =
third party is providing tracking as a service, and then that&#39;s even a =
better reason to potentially block these.</div><div><br></div><div>Phishing=
 can still use PKCE and PAR, nor does WebAuthN provide protection from this=
 problem.</div><div><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail_=
signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><table style=
=3D"border:none;border-collapse:collapse"><colgroup><col width=3D"214"><col=
 width=3D"110"></colgroup><tbody><tr style=3D"height:0pt"><td style=3D"bord=
er-left:solid #ffffff 1pt;border-right:solid #cccccc 1pt;border-bottom:soli=
d #ffffff 1pt;border-top:solid #ffffff 1pt;vertical-align:top;padding:5pt 5=
pt 5pt 5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-=
left:solid #ffffff 1pt;border-right:solid #ffffff 1pt;border-top:solid #fff=
fff 1pt;border-bottom:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><=
span style=3D"font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-=
color:transparent;vertical-align:baseline;white-space:pre-wrap"><span style=
=3D"border:none;display:inline-block;overflow:hidden;width:199px;height:34p=
x"><img src=3D"https://lh6.googleusercontent.com/DNiDx1QGIrSqMPKDN1oKevxYuy=
VRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWkPYdBhaZJg1BO45YOc1xs6r9KJ1fYsN=
HogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"199" height=3D"34" style=3D"ma=
rgin-left:0px;margin-top:0px"></span></span></p></td><td style=3D"border-le=
ft:solid #cccccc 1pt;border-right:solid #ffffff 1pt;border-bottom:solid #ff=
ffff 1pt;border-top:solid #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5p=
t 5pt;overflow:hidden"><p dir=3D"ltr" style=3D"line-height:1.2;border-left:=
solid #ffffff 1pt;border-right:solid #ffffff 1pt;border-top:solid #ffffff 1=
pt;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-fam=
ily:Lato,sans-serif;background-color:transparent;font-weight:700;vertical-a=
lign:baseline;white-space:pre-wrap">Warren Parad</span></p><p dir=3D"ltr" s=
tyle=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:solid #f=
fffff 1pt;border-bottom:solid #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"=
><font face=3D"Lato, sans-serif"><span style=3D"font-size:13.3333px;white-s=
pace:pre-wrap">Founder, CTO</span></font></p></td></tr></tbody></table><spa=
n style=3D"font-size:x-small">Secure your user data with IAM authorization =
as a service. Implement=C2=A0</span><a href=3D"https://authress.io/" style=
=3D"font-size:x-small" target=3D"_blank">Authress</a><span style=3D"font-si=
ze:x-small">.</span><br></div></div></div><br></div></div><br><div class=3D=
"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Dec 18, 2021 at=
 4:11 PM George Fletcher &lt;gffletch=3D<a href=3D"mailto:40aol.com@dmarc.i=
etf.org">40aol.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">Given the attack is based on a successfull=
y registered callback URL that <br>
is malicious, we can also look to the Authorization Server to run more <br>
checks on the registered callback URLs (e.g. check against the &quot;unsafe=
&quot; <br>
URL list). Not a 100% solution by any means but could help with reduce <br>
the impact. Additionally, making sure the AS can easily revoke any <br>
client_id and have that take effect quickly.<br>
<br>
Another potential option would be to not allow prompt=3Dnone (or automatic =
<br>
redirects) from contexts where the user hasn&#39;t first gone through a ful=
l <br>
authentication flow or at least allow the AS to display UI at it&#39;s <br>
discretion. Though this will definitely break some flows :(<br>
<br>
This at least illuminates one of the dangers of allowing a wide open <br>
dynamic client registration model :)<br>
<br>
Thanks,<br>
George<br>
<br>
On 12/18/21 1:11 AM, David Waite wrote:<br>
&gt;<br>
&gt;&gt; On Dec 17, 2021, at 2:44 PM, Brian Campbell &lt;bcampbell=3D<a hre=
f=3D"mailto:40pingidentity.com@dmarc.ietf.org" target=3D"_blank">40pingiden=
tity.com@dmarc.ietf.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Relax how aggressively OAuth demands that the AS automatically red=
irect in error conditions. And either respond with a 400 directly (which ju=
st stops things at that point) or provide a meaningful interstitial page to=
 the user before redirecting them (which at least helps users see something=
 is amiss). I do think OAuth is a bit overzealous in automatically returnin=
g the user&#39;s browser context to the client in error conditions. There a=
re some situations (like prompt=3Dnone) that rely on the behavior but in mo=
st cases it isn&#39;t necessary or helpful and can be problematic.<br>
&gt; The problem is that if prompt=3Dnone still requires redirection withou=
t prompt or interstitial, someone wishing to treat dynamic registrations of=
 malicious sites as clients will just start using prompt=3Dnone. Likewise, =
a site could still attempt to manipulate the user to release information by=
 imitating an extension to the authentication process, such as an &quot;exp=
ired password change&quot; prompt.<br>
&gt;<br>
&gt; I agree with Nov Matake&#39;s comment - phishing link email filters sh=
ould treat all OAuth URLs as suspect, as OAuth has several security-recomme=
nded features like state and PKCE which do not work as expected/reliably wi=
th email. Filters integrated into the browser (such as based on the unsafe =
site list in Chrome) should not need changes, as they will warn on redirect=
 to the known malicious site.<br>
&gt;<br>
&gt; We should also continue to push as an industry for authentication tech=
nologies like WebAuthn (as well as mutual TLS and Kerberos) which are phish=
ing resistant. We are really talking about failure of a single phishing mit=
igation for _known_ malicious sites - the opportunity to use any unknown ma=
licious site or a compromised legitimate site remains open even if we do su=
ggest changes to error behavior.<br>
&gt;<br>
&gt; -DW<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; OAuth mailing list<br>
&gt; <a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a>=
<br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
<br>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--0000000000000179ed05d36d4235--


From nobody Sat Dec 18 08:57:28 2021
Return-Path: <phil.hunt@independentid.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EB723A1048 for <oauth@ietfa.amsl.com>; Sat, 18 Dec 2021 08:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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=independentid-com.20210112.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 5fwsZaFytMrz for <oauth@ietfa.amsl.com>; Sat, 18 Dec 2021 08:57:22 -0800 (PST)
Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 49B233A104A for <OAuth@ietf.org>; Sat, 18 Dec 2021 08:57:19 -0800 (PST)
Received: by mail-pj1-x102a.google.com with SMTP id rj2-20020a17090b3e8200b001b1944bad25so237695pjb.5 for <OAuth@ietf.org>; Sat, 18 Dec 2021 08:57:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=independentid-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=xaNdShmb4Ji6VlgMaH7LXFO0HzPeXAn6LbzCoTh+3xQ=; b=yKdb1ht0ZJSuMc2Gq86lJjwNxAIIcMuZlkkpwtk4igzVM6WRJr6jJGdfN9HrWCYdFn elYe3YLTEqD1sYBUfwju3RDZQsr75OsGDs/kTFhUQOZkxQU3bcFl4YUu4kQ9IWZA7OnQ ofS2JzVwwnbjwncODfajaTdhE9Vouc/i8WX4Kuqn1PfGx/egzOwwHWEmcEFF5YGt6ijj Kd863lQhsm4cizOkPL2NRwQiev7jbRcTqoT0/4bzev+xXmCvXXR/nIAQ0zdN9nzbl0+d HKVsY1UaOqbTyc60pnuZVlCl0pWwm/YDAkIj1IlqMNHKBn3s8r8K1BHwKE9TedkVd4qU nfWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=xaNdShmb4Ji6VlgMaH7LXFO0HzPeXAn6LbzCoTh+3xQ=; b=X4HiQsebRJ6Zq2nGaJWHm2wu4iWPmrJNJAnE0/gknEeNqsse2iSMorLJHjCf/XbA3M zffiaUFN3PG2KFlw8wXkNOi/1NCuLkPnbzwYkPnz0yl8h6DQJR4e/pWm179MylsaSNgm fPuca1D854AhbniqbmDJR/SR8H95kelFNzvYlusriUVNFFG80mqII/crN4zhTlsQEV8Y UkDQwp2CEpKyYof7mQhJhdqoqQAgbt45KP2hPRNX/V6U2UjL71NvmxQO+XAuXCdTr68j osazm83f3BzQL0SZj24rhSqwpwRUdqo7MLGXKu2z9mwddXJCCGPuRqYF4fNUv0rc4M+Y IIMg==
X-Gm-Message-State: AOAM531+YEyYmg5WIfk6w90xq5I8TZQG5P6ZyxjtFuQ4xfYKSeqWYj0e 75YMfMv0a1qN2WRwn37N5f1p6Q==
X-Google-Smtp-Source: ABdhPJzYxMrZQR2QQj8q7/vG5aDbj3RVuApc4JtwwPDnTXIVtvvi+ju4Dkr1aXKZg+PMQfpeE5oYBQ==
X-Received: by 2002:a17:90b:4d0e:: with SMTP id mw14mr18733973pjb.151.1639846637950;  Sat, 18 Dec 2021 08:57:17 -0800 (PST)
Received: from smtpclient.apple (node-1w7jr9qjhqzxp1idbpia4sk49.ipv6.telus.net. [2001:569:7316:ae00:9165:f3be:a7:a0d9]) by smtp.gmail.com with ESMTPSA id j1sm13953908pfu.47.2021.12.18.08.57.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Dec 2021 08:57:17 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
From: Phillip Hunt <phil.hunt@independentid.com>
Mime-Version: 1.0 (1.0)
Date: Sat, 18 Dec 2021 08:57:16 -0800
Message-Id: <9AB57403-ECA9-4141-82F2-7344B36A1D2A@independentid.com>
References: <4bb64d61-6e79-3c3a-1166-a322dd3089a1@aol.com>
Cc: David Waite <david=40alkaline-solutions.com@dmarc.ietf.org>, Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>, oauth <OAuth@ietf.org>
In-Reply-To: <4bb64d61-6e79-3c3a-1166-a322dd3089a1@aol.com>
To: George Fletcher <gffletch=40aol.com@dmarc.ietf.org>
X-Mailer: iPhone Mail (19B74)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/cJs1TWYrRs5nyrRtbAKUxsli8qY>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Dec 2021 16:57:27 -0000

Agreed. Most of dyn reg cases we were thinking about occurred because there w=
as a need to register each copy of the same client software. The software st=
atement was intended to allow the registration endpoint recognize software a=
nd to fix things like endpoints.=20

Automatic registration of singletons is definitely suspect.  Do we need best=
 practices?

Phil

> On Dec 18, 2021, at 7:11 AM, George Fletcher <gffletch=3D40aol.com@dmarc.i=
etf.org> wrote:
>=20
> =EF=BB=BFGiven the attack is based on a successfully registered callback U=
RL that is malicious, we can also look to the Authorization Server to run mo=
re checks on the registered callback URLs (e.g. check against the "unsafe" U=
RL list). Not a 100% solution by any means but could help with reduce the im=
pact. Additionally, making sure the AS can easily revoke any client_id and h=
ave that take effect quickly.
>=20
> Another potential option would be to not allow prompt=3Dnone (or automatic=
 redirects) from contexts where the user hasn't first gone through a full au=
thentication flow or at least allow the AS to display UI at it's discretion.=
 Though this will definitely break some flows :(
>=20
> This at least illuminates one of the dangers of allowing a wide open dynam=
ic client registration model :)
>=20
> Thanks,
> George
>=20
>> On 12/18/21 1:11 AM, David Waite wrote:
>>=20
>>>> On Dec 17, 2021, at 2:44 PM, Brian Campbell <bcampbell=3D40pingidentity=
.com@dmarc.ietf.org> wrote:
>>>=20
>>> Relax how aggressively OAuth demands that the AS automatically redirect i=
n error conditions. And either respond with a 400 directly (which just stops=
 things at that point) or provide a meaningful interstitial page to the user=
 before redirecting them (which at least helps users see something is amiss)=
. I do think OAuth is a bit overzealous in automatically returning the user'=
s browser context to the client in error conditions. There are some situatio=
ns (like prompt=3Dnone) that rely on the behavior but in most cases it isn't=
 necessary or helpful and can be problematic.
>> The problem is that if prompt=3Dnone still requires redirection without p=
rompt or interstitial, someone wishing to treat dynamic registrations of mal=
icious sites as clients will just start using prompt=3Dnone. Likewise, a sit=
e could still attempt to manipulate the user to release information by imita=
ting an extension to the authentication process, such as an "expired passwor=
d change" prompt.
>>=20
>> I agree with Nov Matake's comment - phishing link email filters should tr=
eat all OAuth URLs as suspect, as OAuth has several security-recommended fea=
tures like state and PKCE which do not work as expected/reliably with email.=
 Filters integrated into the browser (such as based on the unsafe site list i=
n Chrome) should not need changes, as they will warn on redirect to the know=
n malicious site.
>>=20
>> We should also continue to push as an industry for authentication technol=
ogies like WebAuthn (as well as mutual TLS and Kerberos) which are phishing r=
esistant. We are really talking about failure of a single phishing mitigatio=
n for _known_ malicious sites - the opportunity to use any unknown malicious=
 site or a compromised legitimate site remains open even if we do suggest ch=
anges to error behavior.
>>=20
>> -DW
>>=20
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>=20
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


From nobody Sun Dec 19 01:09:03 2021
Return-Path: <torsten@lodderstedt.net>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C1343A00E0 for <oauth@ietfa.amsl.com>; Sun, 19 Dec 2021 01:09:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.087
X-Spam-Level: 
X-Spam-Status: No, score=-2.087 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, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lodderstedt.net
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 OslzxJcj7iob for <oauth@ietfa.amsl.com>; Sun, 19 Dec 2021 01:08:56 -0800 (PST)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 10D163A00E1 for <oauth@ietf.org>; Sun, 19 Dec 2021 01:08:56 -0800 (PST)
Received: by mail-wm1-x32c.google.com with SMTP id i12so4807812wmq.4 for <oauth@ietf.org>; Sun, 19 Dec 2021 01:08:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lodderstedt.net; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=eRIa7KwWRcLkLgF3k9mVXFhmJ/6/fRo7YK53v0wJcbg=; b=mtnvM3Eg8NTE6CSF8cSumayBN4KlvutQ6xdpA8kpxTnStGI5zw+KBB8hzk/HYD+nuz Ouh6df+b7z5GVBYT2PVHcdcyIY8sqpWRTbdYN54NDbixzqHStU7GPRGBMFX7SsgJqhC2 RqsLJSjwsuWDapnq7tpHbqN1F3mHtnbHXdiORsaGRqqtSX90gCvo2pMYnQpiG7dFaPBj cbg3S6yV3opLWMlBti5avfGSn3cO0cYgMLNgibncZ5G1JzGzCIAmz/Vqnjny0hgyFcUD CFDAU8KEhf1M5uSYOHeFQjdwLcmFL5V2ME0jfwHVGxOZ+8S24kV7G7RMcORvoxLENem3 qqDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=eRIa7KwWRcLkLgF3k9mVXFhmJ/6/fRo7YK53v0wJcbg=; b=gNTZO0q45CUvwKDHk8COz3+PYqtaOTjD/tnzcCyjTSwSch+RrOf4iuuoGLHx5KFQz8 IP29vrzElBygIfcpUrJaDpJxtnQjLgNIDjdtE8aFNpHsN0oaPIYwrwYkUx8JXhtMJEq7 59jPiCchlZ5bV/N4j79sn6xw+cGqCtYxj1z3qGh1PnEklrBk55SHvBXhRRMDY0ms7rb+ uZxgU//vDvoz9FaN74F2BQIcv7jWEx7cZRwanruN0RE+BkLNV/pIA8SR2h+8WDsbBU3F GvMDYEJNbnnGH5owQnxPRSp9k/bjsz5lrOF7ZruFYMbsi7YKFoYaxfpmW5a9VYfc5tf8 pd+w==
X-Gm-Message-State: AOAM530CrX+2eWUGlR3TvPnNi1ejpqo3TnOyx+pJI3Fp5fDYd2x6FfGz BkpzSjlgU8UZxIwBmMhA3g3TcA==
X-Google-Smtp-Source: ABdhPJyBdWW01cXjov+4DXuR88OEV5wlK1QQG+dDgJ7JPEmSg4UMibhgxBcwz+oGmehi6lxuwOWuzA==
X-Received: by 2002:a1c:1dd0:: with SMTP id d199mr16704956wmd.150.1639904933193;  Sun, 19 Dec 2021 01:08:53 -0800 (PST)
Received: from smtpclient.apple (p4fc08ede.dip0.t-ipconnect.de. [79.192.142.222]) by smtp.gmail.com with ESMTPSA id 10sm15071159wrb.75.2021.12.19.01.08.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Dec 2021 01:08:52 -0800 (PST)
Content-Type: multipart/alternative; boundary=Apple-Mail-9AACA11F-59A4-45C6-BFD0-22E8B9186972
Content-Transfer-Encoding: 7bit
From: Torsten Lodderstedt <torsten@lodderstedt.net>
Mime-Version: 1.0 (1.0)
Date: Sun, 19 Dec 2021 10:08:52 +0100
Message-Id: <C160689E-2D17-4C22-B290-90BFB908ADE0@lodderstedt.net>
References: <CAJot-L3Sc2RaUtQGMjd9As7=ACBrXiVXSp-pRKQrLYdroXD8UA@mail.gmail.com>
Cc: George Fletcher <gffletch=40aol.com@dmarc.ietf.org>, David Waite <david=40alkaline-solutions.com@dmarc.ietf.org>, Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
In-Reply-To: <CAJot-L3Sc2RaUtQGMjd9As7=ACBrXiVXSp-pRKQrLYdroXD8UA@mail.gmail.com>
To: Warren Parad <wparad=40rhosys.ch@dmarc.ietf.org>
X-Mailer: iPhone Mail (19C56)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/KL9nGVIPwYd_tRaANAK9oBjKMxM>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Dec 2021 09:09:02 -0000

--Apple-Mail-9AACA11F-59A4-45C6-BFD0-22E8B9186972
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

I think there are two options:
1) validation of the organization/person behind a certain client in order to=
 be able to go after them in case of abuse=20
2) don=E2=80=99t redirect in an error condition

However, even a successful OAuth process can result in a phishing attack. So=
 I don=E2=80=98t think (2) will help entirely.

Treating OAuth authorization links as phishing attempts sounds reasonable to=
 me.

> Am 18.12.2021 um 16:25 schrieb Warren Parad <wparad=3D40rhosys.ch@dmarc.ie=
tf.org>:
>=20
> =EF=BB=BF
> I also 100% with the recommendation for phishing detectors treat all perce=
ived OAuth links as malicious in emails. It actually isn't hard to know that=
 there is a link embedded in a url query parameter. So I would just take the=
 next step of treating all urls with urls as query parameters as malicious.
>=20
> There are exactly zero reasons why a site can't use it's own javascript re=
direction unless it's domain has been marked as malicious. The only conceiva=
ble reason is a third party is providing tracking as a service, and then tha=
t's even a better reason to potentially block these.
>=20
> Phishing can still use PKCE and PAR, nor does WebAuthN provide protection f=
rom this problem.
>=20
>=20
> Warren Parad
> Founder, CTO
> Secure your user data with IAM authorization as a service. Implement Authr=
ess.
>=20
>=20
>> On Sat, Dec 18, 2021 at 4:11 PM George Fletcher <gffletch=3D40aol.com@dma=
rc.ietf.org> wrote:
>> Given the attack is based on a successfully registered callback URL that=20=

>> is malicious, we can also look to the Authorization Server to run more=20=

>> checks on the registered callback URLs (e.g. check against the "unsafe"=20=

>> URL list). Not a 100% solution by any means but could help with reduce=20=

>> the impact. Additionally, making sure the AS can easily revoke any=20
>> client_id and have that take effect quickly.
>>=20
>> Another potential option would be to not allow prompt=3Dnone (or automati=
c=20
>> redirects) from contexts where the user hasn't first gone through a full=20=

>> authentication flow or at least allow the AS to display UI at it's=20
>> discretion. Though this will definitely break some flows :(
>>=20
>> This at least illuminates one of the dangers of allowing a wide open=20
>> dynamic client registration model :)
>>=20
>> Thanks,
>> George
>>=20
>> On 12/18/21 1:11 AM, David Waite wrote:
>> >
>> >> On Dec 17, 2021, at 2:44 PM, Brian Campbell <bcampbell=3D40pingidentit=
y.com@dmarc.ietf.org> wrote:
>> >>
>> >> Relax how aggressively OAuth demands that the AS automatically redirec=
t in error conditions. And either respond with a 400 directly (which just st=
ops things at that point) or provide a meaningful interstitial page to the u=
ser before redirecting them (which at least helps users see something is ami=
ss). I do think OAuth is a bit overzealous in automatically returning the us=
er's browser context to the client in error conditions. There are some situa=
tions (like prompt=3Dnone) that rely on the behavior but in most cases it is=
n't necessary or helpful and can be problematic.
>> > The problem is that if prompt=3Dnone still requires redirection without=
 prompt or interstitial, someone wishing to treat dynamic registrations of m=
alicious sites as clients will just start using prompt=3Dnone. Likewise, a s=
ite could still attempt to manipulate the user to release information by imi=
tating an extension to the authentication process, such as an "expired passw=
ord change" prompt.
>> >
>> > I agree with Nov Matake's comment - phishing link email filters should t=
reat all OAuth URLs as suspect, as OAuth has several security-recommended fe=
atures like state and PKCE which do not work as expected/reliably with email=
. Filters integrated into the browser (such as based on the unsafe site list=
 in Chrome) should not need changes, as they will warn on redirect to the kn=
own malicious site.
>> >
>> > We should also continue to push as an industry for authentication techn=
ologies like WebAuthn (as well as mutual TLS and Kerberos) which are phishin=
g resistant. We are really talking about failure of a single phishing mitiga=
tion for _known_ malicious sites - the opportunity to use any unknown malici=
ous site or a compromised legitimate site remains open even if we do suggest=
 changes to error behavior.
>> >
>> > -DW
>> >
>> > _______________________________________________
>> > OAuth mailing list
>> > OAuth@ietf.org
>> > https://www.ietf.org/mailman/listinfo/oauth
>>=20
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

--Apple-Mail-9AACA11F-59A4-45C6-BFD0-22E8B9186972
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">I t=
hink there are two options:</div><div dir=3D"ltr">1) validation of the organ=
ization/person behind a certain client in order to be able to go after them i=
n case of abuse&nbsp;</div><div dir=3D"ltr">2) don=E2=80=99t redirect in an e=
rror condition</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">However, eve=
n a successful OAuth process can result in a phishing attack. So I don=E2=80=
=98t think (2) will help entirely.</div><div dir=3D"ltr"><br></div><div dir=3D=
"ltr">Treating OAuth authorization links as phishing attempts sounds reasona=
ble to me.</div><div dir=3D"ltr"><br><blockquote type=3D"cite">Am 18.12.2021=
 um 16:25 schrieb Warren Parad &lt;wparad=3D40rhosys.ch@dmarc.ietf.org&gt;:<=
br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF=
<div dir=3D"ltr">I also 100% with the&nbsp;recommendation for phishing detec=
tors treat all perceived OAuth links as malicious in emails. It actually isn=
't hard to know that there is a link embedded in a url query parameter. So I=
 would just take the next step of treating all urls with urls as query param=
eters as malicious.<div><br></div><div>There are exactly zero reasons why a s=
ite can't use it's own javascript redirection unless it's domain has been ma=
rked as malicious. The only conceivable reason is a third party is providing=
 tracking as a service, and then that's even a better reason to potentially b=
lock these.</div><div><br></div><div>Phishing can still use PKCE and PAR, no=
r does WebAuthN provide protection from this problem.</div><div><br clear=3D=
"all"><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmai=
l_signature"><div dir=3D"ltr"><table style=3D"border:none;border-collapse:co=
llapse"><colgroup><col width=3D"214"><col width=3D"110"></colgroup><tbody><t=
r style=3D"height:0pt"><td style=3D"border-left:solid #ffffff 1pt;border-rig=
ht:solid #cccccc 1pt;border-bottom:solid #ffffff 1pt;border-top:solid #fffff=
f 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir=3D"=
ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;border-right:sol=
id #ffffff 1pt;border-top:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;=
margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:=
Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;=
white-space:pre-wrap"><span style=3D"border:none;display:inline-block;overfl=
ow:hidden;width:199px;height:34px"><img src=3D"https://lh6.googleusercontent=
.com/DNiDx1QGIrSqMPKDN1oKevxYuyVRXsqhXdfZOsW56Rf2A74mUKbAPtrJSNw4qynkSjoltWk=
PYdBhaZJg1BO45YOc1xs6r9KJ1fYsNHogY-nh6hjuIm9GCeBRRzrSc8kWcUSNtuA" width=3D"1=
99" height=3D"34" style=3D"margin-left:0px;margin-top:0px" data-unique-ident=
ifier=3D""></span></span></p></td><td style=3D"border-left:solid #cccccc 1pt=
;border-right:solid #ffffff 1pt;border-bottom:solid #ffffff 1pt;border-top:s=
olid #ffffff 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"=
><p dir=3D"ltr" style=3D"line-height:1.2;border-left:solid #ffffff 1pt;borde=
r-right:solid #ffffff 1pt;border-top:solid #ffffff 1pt;margin-top:0pt;margin=
-bottom:0pt"><span style=3D"font-size:11pt;font-family:Lato,sans-serif;backg=
round-color:transparent;font-weight:700;vertical-align:baseline;white-space:=
pre-wrap">Warren Parad</span></p><p dir=3D"ltr" style=3D"line-height:1.2;bor=
der-left:solid #ffffff 1pt;border-right:solid #ffffff 1pt;border-bottom:soli=
d #ffffff 1pt;margin-top:0pt;margin-bottom:0pt"><font face=3D"Lato, sans-ser=
if"><span style=3D"font-size:13.3333px;white-space:pre-wrap">Founder, CTO</s=
pan></font></p></td></tr></tbody></table><span style=3D"font-size:x-small">S=
ecure your user data with IAM authorization as a service. Implement&nbsp;</s=
pan><a href=3D"https://authress.io/" style=3D"font-size:x-small" target=3D"_=
blank">Authress</a><span style=3D"font-size:x-small">.</span><br></div></div=
></div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Sat, Dec 18, 2021 at 4:11 PM George Fletcher &lt;gffletch=
=3D<a href=3D"mailto:40aol.com@dmarc.ietf.org">40aol.com@dmarc.ietf.org</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Given t=
he attack is based on a successfully registered callback URL that <br>
is malicious, we can also look to the Authorization Server to run more <br>
checks on the registered callback URLs (e.g. check against the "unsafe" <br>=

URL list). Not a 100% solution by any means but could help with reduce <br>
the impact. Additionally, making sure the AS can easily revoke any <br>
client_id and have that take effect quickly.<br>
<br>
Another potential option would be to not allow prompt=3Dnone (or automatic <=
br>
redirects) from contexts where the user hasn't first gone through a full <br=
>
authentication flow or at least allow the AS to display UI at it's <br>
discretion. Though this will definitely break some flows :(<br>
<br>
This at least illuminates one of the dangers of allowing a wide open <br>
dynamic client registration model :)<br>
<br>
Thanks,<br>
George<br>
<br>
On 12/18/21 1:11 AM, David Waite wrote:<br>
&gt;<br>
&gt;&gt; On Dec 17, 2021, at 2:44 PM, Brian Campbell &lt;bcampbell=3D<a href=
=3D"mailto:40pingidentity.com@dmarc.ietf.org" target=3D"_blank">40pingidenti=
ty.com@dmarc.ietf.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Relax how aggressively OAuth demands that the AS automatically redi=
rect in error conditions. And either respond with a 400 directly (which just=
 stops things at that point) or provide a meaningful interstitial page to th=
e user before redirecting them (which at least helps users see something is a=
miss). I do think OAuth is a bit overzealous in automatically returning the u=
ser's browser context to the client in error conditions. There are some situ=
ations (like prompt=3Dnone) that rely on the behavior but in most cases it i=
sn't necessary or helpful and can be problematic.<br>
&gt; The problem is that if prompt=3Dnone still requires redirection without=
 prompt or interstitial, someone wishing to treat dynamic registrations of m=
alicious sites as clients will just start using prompt=3Dnone. Likewise, a s=
ite could still attempt to manipulate the user to release information by imi=
tating an extension to the authentication process, such as an "expired passw=
ord change" prompt.<br>
&gt;<br>
&gt; I agree with Nov Matake's comment - phishing link email filters should t=
reat all OAuth URLs as suspect, as OAuth has several security-recommended fe=
atures like state and PKCE which do not work as expected/reliably with email=
. Filters integrated into the browser (such as based on the unsafe site list=
 in Chrome) should not need changes, as they will warn on redirect to the kn=
own malicious site.<br>
&gt;<br>
&gt; We should also continue to push as an industry for authentication techn=
ologies like WebAuthn (as well as mutual TLS and Kerberos) which are phishin=
g resistant. We are really talking about failure of a single phishing mitiga=
tion for _known_ malicious sites - the opportunity to use any unknown malici=
ous site or a compromised legitimate site remains open even if we do suggest=
 changes to error behavior.<br>
&gt;<br>
&gt; -DW<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; OAuth mailing list<br>
&gt; <a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><=
br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferr=
er" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
<br>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>
<span>_______________________________________________</span><br><span>OAuth m=
ailing list</span><br><span>OAuth@ietf.org</span><br><span>https://www.ietf.=
org/mailman/listinfo/oauth</span><br></div></blockquote></body></html>=

--Apple-Mail-9AACA11F-59A4-45C6-BFD0-22E8B9186972--


From nobody Tue Dec 21 04:07:14 2021
Return-Path: <Hannes.Tschofenig@arm.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3CA63A0DE5 for <oauth@ietfa.amsl.com>; Tue, 21 Dec 2021 04:07:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=WG3BBSdb; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=WG3BBSdb
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 QUkCEtCGyN42 for <oauth@ietfa.amsl.com>; Tue, 21 Dec 2021 04:07:05 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60073.outbound.protection.outlook.com [40.107.6.73]) (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 DC2D93A096C for <oauth@ietf.org>; Tue, 21 Dec 2021 04:07:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;  s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=daIk6TBqHI1MRNfvU6fkKCAtmKbWjIKDY7aDsK1fz6w=; b=WG3BBSdbybq9WFEqFtVm/yWrVd1hQPOQs8DDUgyf98lfbLiGcDyArW9HFW0L/4vQ8a6UO4FuO4Pw0VOCrccol7hfON5X0xMpO17TCFmxR9BmglXE0HwwBJSwyDwzdntX0Js73alAgKabkerUBnPs5TfnwQo+K82VESbeiejAcf4=
Received: from AS9PR05CA0045.eurprd05.prod.outlook.com (2603:10a6:20b:489::11) by DB6PR0801MB1669.eurprd08.prod.outlook.com (2603:10a6:4:30::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14; Tue, 21 Dec 2021 12:06:58 +0000
Received: from AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:489:cafe::33) by AS9PR05CA0045.outlook.office365.com (2603:10a6:20b:489::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.16 via Frontend Transport; Tue, 21 Dec 2021 12:06:58 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT038.mail.protection.outlook.com (10.152.17.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14 via Frontend Transport; Tue, 21 Dec 2021 12:06:57 +0000
Received: ("Tessian outbound c61f076cbd30:v110"); Tue, 21 Dec 2021 12:06:57 +0000
X-CR-MTA-TID: 64aa7808
Received: from c8e6114ddb10.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C8574E6E-01E5-4877-918F-6A3415083A4D.1;  Tue, 21 Dec 2021 12:06:51 +0000
Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c8e6114ddb10.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 21 Dec 2021 12:06:51 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dVxrw37dKvFua/ovKP0udI/prz2pW4Tc6n7l2V3y8iiXwsMqFHU5UcZHRsUeywuj4prwwSyt+MRADfJ8xtYZ9vOo1X8CwGaWG2IrnGcKVf/sK+U4na/PVk2eN5fTlAPg5uA9aieGAo4MPqdF8zIvBsM54FW/4kJvBK/Bd/jDOuTTXXLUqtOp++zKhSXcYvg08f2pDsD33U6A0Fm1Dg6NyvDLSUrwI2Tu+uPBY8zxG/krqEy2ftUPkG2qLqdeMf4OBSlz9ZvV+gy7htXuNq3EW/Bjf+3kcTZM/GbG0SnSYTbZfkfvlTs2+Fdf1noRma3dE7R2zw5+5MUaS+qi3PSAMg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=daIk6TBqHI1MRNfvU6fkKCAtmKbWjIKDY7aDsK1fz6w=; b=K2KzvMVIXoNoXoq6j1Jn+QwoClHVCaMYik0ZgYDJ/rTmF1zBbqOO5SCIqmJFh/7Jf1c6ho72I+INfYzA4bjcA4Qsi5ztrTTyJarmhQf1XZaoRIFiI71xajbSHkHGtFPbstnlaoXomllvsam/BrzwQ5w8QITe3DTInVgG+Dzp/7vziXa0wsb20ptjGuS209YE8iWrdq4mgrg4uiWCTT9cr88tlz6uNeaZdQEztp0SuiLog04b1MIdpCrc39QbtJxKyWXB3WVAzz6MwtkC6I9CySQl3YPpEZlEkNnZLipn6Z1vBLXL1TENfBPJnQ5vBwmFiEbs6R5JDDTf314d57++Sg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;  s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=daIk6TBqHI1MRNfvU6fkKCAtmKbWjIKDY7aDsK1fz6w=; b=WG3BBSdbybq9WFEqFtVm/yWrVd1hQPOQs8DDUgyf98lfbLiGcDyArW9HFW0L/4vQ8a6UO4FuO4Pw0VOCrccol7hfON5X0xMpO17TCFmxR9BmglXE0HwwBJSwyDwzdntX0Js73alAgKabkerUBnPs5TfnwQo+K82VESbeiejAcf4=
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com (2603:10a6:10:20d::17) by DB9PR08MB6908.eurprd08.prod.outlook.com (2603:10a6:10:2a0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.14; Tue, 21 Dec 2021 12:06:49 +0000
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::dd96:eb7:b263:b290]) by DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::dd96:eb7:b263:b290%4]) with mapi id 15.20.4801.020; Tue, 21 Dec 2021 12:06:48 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: oauth <oauth@ietf.org>
Thread-Topic: draft-ietf-oauth-rar-08 review
Thread-Index: Adf2YzR6ePhKMUOuQsG/CFufevdtxw==
Date: Tue, 21 Dec 2021 12:06:48 +0000
Message-ID: <DBBPR08MB591528A2D13DE68F1A7A9129FA7C9@DBBPR08MB5915.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ts-tracking-id: 45BB646371805144A52BA28AC61064C9.0
x-checkrecipientchecked: true
Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
X-MS-Office365-Filtering-Correlation-Id: 8f3915d7-44fb-42d5-3ea3-08d9c47a6346
x-ms-traffictypediagnostic: DB9PR08MB6908:EE_|AM5EUR03FT038:EE_|DB6PR0801MB1669:EE_
X-Microsoft-Antispam-PRVS: <DB6PR0801MB16693D2A070463D0FE909E52FA7C9@DB6PR0801MB1669.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: 9fiCgoe5KWk4CCOYSJ8VN0khBteKI4BlUOIzS5O/XHMG3fhoTOvvGe79hAKEjksKNfWm3ScL7dOrcteZ+seakp/TvToMl2Zqv8NGLBGzsbbO0cinJ2K5r4egW8T+jI6m3Z7DP/JZyWJPsxnj3OQoQkEXMn4hJtDhne1sphIDYFAR0IS0YhTjJufZtB/70gbzM0a2NdOBF1iTIpZ2mlusVRplo1KBltciVSJmduNAqGOwtCQZBJ5bwNo0Kh7LQHywq7F3kCFKewDD+7WqmAwsiAzmKSQ9Zvq9NPHNmcnpyw1xNQN5tb+4KMw70/M676ZJDezdGuNyD9rCroryUbsVT5OOKoZP0+BnbZPRBQ13ik8ZFiqKhZYCbplYPAog5eb5xA8J0IBjoAnBo9sCxEyLqIb+lfSzFGm4HHcAtrAJw8Q3l93k05p5hEUj6m/7qjC6Br/vBWF5CnVSbpvK81PJ9UFXBzeTCfaOP69TfYMrYdoPftcoj4yTvr6/iVxNALaMeThywMUgNZxESf5vwWl013Q20mfHIsn/p0F9KcbzWgfAcsUPdlMj2wnIAeXeC52vuDeWD1hiein0lC4OegpJEAJjLdDitwHZgf54pBmRklsSUTzK8lY6Spq6MPAE6WgNb9om6mdv2aIe4/akJ7ZO+9t2L2QxFr+9FwaWG905T1NvmjynZiAdc3MOpjiDtYaVAjFZQ6dUwnOp3xsLZetiA98XMrLULzxKGdhWZ+r28WGNv9EWMMfAEX3HEi97SAeD83yS1Hv7zyqjrQ9BcfWmxzsquWdsm7M8UR+/UW00/y8=
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB5915.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(33656002)(316002)(122000001)(186003)(9686003)(76116006)(7696005)(38070700005)(66556008)(66476007)(2906002)(5660300002)(64756008)(52536014)(83380400001)(38100700002)(66946007)(86362001)(55016003)(66446008)(71200400001)(6916009)(966005)(166002)(508600001)(26005)(8936002)(6506007); DIR:OUT; SFP:1101; 
Content-Type: multipart/alternative; boundary="_000_DBBPR08MB591528A2D13DE68F1A7A9129FA7C9DBBPR08MB5915eurp_"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6908
Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id-Prvs: fee590da-25d1-476b-07ef-08d9c47a5dc9
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 6ZWHXKipYLQQZgKYgm8Fwh+jPKCLQD1Fe+4hfV1BLzSr7/mHmut8sw5EE4pZU4mb6m6J8p424NTc54xKHJPlgInxQfdvUMhB5fNn75a1b14MLd5UyQ6AdqYkYclpULPTNwBkUgB6at60SpNIx83WtDjL/eZ5xYj/39WZgUgnF/N0beiPTl6qh3bV+fPUAemdw/y0oDD4udM6ac7N8vnnlCfw3kUEgSC05rEHnKLylfxLDFW3CoxFjqu2gcuicNqIi3v1m0i75HV+hX72uCRlRwVpouy5HNfFLb3Lys4k+o6iAbThfD3ov6vA1Bp82CZs8oegvUpGI/KOlIE6k/kTn4cXN3nvodETdpLqPYlUV2g8s3bBdMBTx4EJ22ma/QtushyYf84v6KNKlv1Kwf6pVearwhNpsKYR6hAEtNLblTQtMAlPdjuuEKpK+RvNz2W8tXpP1baZIP1qW1HL14wc+2H6Zph5vlSQrsRxyu5VZGscq3IcK8ua+LW4cC7XGaAGU/HIqjW3BFwIBWZjGQPjwUJFZKJyUCkfKX68lv8ifdedEJL6pOIee1L6lm7dY+vGM0xBNnCFj2+7q/k01gkE9MW3uDNedyiOeH+jiQryMSY/TuRX1izuMSqjJZilkwcLdW8zLXic+3xSGpQOkHbQBgZ0e66ssdewQcZP7EL9zhx+huMmBZW4QmRaabDweXJejf/pR4KHpt8HkdzDf5GjnKsBtOODIZpL/53f9nS1smoUJuXMAKQFTilRF7Bw3fwelNtg6kdB0XWP30XcytxjdoZ13BJRXwQL0PpiV/BlcJE=
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:;  IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com;  PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(508600001)(966005)(55016003)(9686003)(336012)(82310400004)(2906002)(8936002)(52536014)(6916009)(8676002)(186003)(316002)(70586007)(70206006)(7696005)(36860700001)(6506007)(26005)(33656002)(356005)(81166007)(83380400001)(47076005)(166002)(5660300002)(86362001)(30864003); DIR:OUT; SFP:1101; 
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2021 12:06:57.9300 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 8f3915d7-44fb-42d5-3ea3-08d9c47a6346
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123];  Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1669
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/3FPBpfWck03biU21ELWiDypPd2I>
Subject: [OAUTH-WG] draft-ietf-oauth-rar-08 review
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Dec 2021 12:07:11 -0000

--_000_DBBPR08MB591528A2D13DE68F1A7A9129FA7C9DBBPR08MB5915eurp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,

thanks for writing this document. I have read through it as part of my shep=
herd writeup and here are a few comments and questions.

Generic Comments:

As a style issue, it would be good to treat code segments as figures with a=
 figure headings so that references in the text is easier to manage.

Editorial: s/This draft/This specification

Normative language: If you search for MUSTs in the document you will notice=
 two things: First, they are not necessarily where you would expect them.

For example: This is from page 6, which explains an example.

"
   The JSON objects with type fields of account_information and
   payment_initiation represent the different authorization data to be
   used by the AS to ask for consent and MUST subsequently also be made
   available to the respective resource servers.
"

Another example from page 29: Here are two approaches offered to mitigate a=
 specific threat. If there are two ways then a MUST is appropriate IMHO. If=
 there are others, maybe it is useful to tell the reader that there are oth=
er approaches and when to use those mitigations so that a developer can mak=
e an informed decision.

"
In order to ensure their integrity, the
   client SHOULD send authorization details in a signed request object
   as defined in [I-D.ietf-oauth-jwsreq] or use the request_uri
   authorization request parameter as defined in [I-D.ietf-oauth-jwsreq]
   in conjunction with [I-D.ietf-oauth-par] to pass the URI of the
   request object to the authorization server.
"

Second, several MUST/SHOULD/MAYs are used with little guidance for the deve=
loper. Help developers to make the best decision.

For example:
"
   Implementers MUST design and use authorization details in a privacy-
   preserving manner.

   The AS MUST take into consideration the privacy implications when
   sharing authorization details with the client or resource servers.
"

In the rest of the review I will go through the individual sections and sha=
re my impressions.


Abstract

The abstract says:

"
   This document specifies a new parameter authorization_details that is
   used to carry fine-grained authorization data in the OAuth
   authorization request.
"

Later in the draft we will learn that the authorization_details parameter i=
s not just carried in the authorization request but also in the token reque=
st.

Maybe you could say:

"
   This document specifies a new parameter authorization_details that is
   used to carry fine-grained authorization data in OAuth
   messages.
"

Section 1: Introduction

References to blog posts about the motivation for why this work is needed m=
ight be better replaced with a short summary, particularly if they motivate=
 the solution in the document. If you don't want such a summary in the body=
 of the document, then the appendix might also be a good place.

The last paragraph in the introduction covers one solution aspect. Is there=
 a specific reason for putting a spotlight on it (compared to other solutio=
n aspects)? I think it comes too early in the document.

I missed one aspect in the introduction that might be relevant for the read=
er, namely that this specification itself is not sufficient for interoperab=
ility.  Developers and those deploying RAR need to make various agreements =
about the JSON structure carried inside the authorization_details parameter=
 since the spec does not do much more than to say that you must use a JSON-=
based structure in this newly defined parameter. The document is more a gui=
de on how to specify this JSON-based structure rather than mandating a spec=
ific structure. I think the introduction would be a good place to set the t=
one for the reader about what to expect in the rest of the document.

Section 2: Request parameter "authorization_details"

At the start of the section I would have expected the structure of the payl=
oad being mandated. Something like "An implementation that claims conforman=
ce with this specification MUST use the following data model for the JSON s=
tructure carried inside the authorization_details parameter." I understand =
that you want to keep everything open for the developer.

Here are examples:

- "The array [of the JSON structure] MAY contain several elements of the sa=
me type."
- type: "This field MAY define which other elements are allowed in the requ=
est. This element is REQUIRED."
(Is this field required to be understood by parsers or is it required to in=
clude this field in any JSON structure included in the authorization_detail=
s parameter? Interestingly, the content of the type element is not mandated=
 either.)
- None of the other fields seem to be required to be included nor implement=
ed.

[Note: Throughout the spec you have used different ways to describe the "fi=
elds" (type, datatype, ) in the JSON structure. I think it would be useful =
to use the same term throughout the document to avoid confusion.]

In Section 2 you include Section 2.2 "Authorization Data Types", which is i=
nteresting since there are two elements defined: data type and type. While =
the subject heading of Section 2.2 gives the impression that you would be d=
escribing the data type you are actually describing the type element. IMHO =
the reason for this confusion is that you use the term "authorization data"=
 to refer to authorization_details. Maybe you could use authorization_detai=
ls throughout the document when you refer to the entire object.

Section 3: Authorization Request

You might want to give some reason to API designers about why they should b=
e using the "scope" parameter together with the authorization_details param=
eter since it introduces extra complexity.

Section 6: Token Request

This section mostly consists of the text in Section 6.1 "Comparing authoriz=
ation details", which essentially acknowledges that comparing any two arbit=
rary authorization details requests is difficult. Then, you give an example=
 of how this could work. The use of RFC 2119 language is IMHO for the examp=
le not appropriate.

For example: The "MAY" in the paragraph below has to be replaced by a "may"=
.

"
   For our running example, the client MAY ask for all permissions of
   the approved grant of type payment_iniation applicable to the
   resource server residing at https://example.com/payments
"

Regarding the use of the MAY in this paragraph I am not sure whether it is =
related to the example or a generic consideration. If it is generic, maybe =
you want to move it into Section 2 (as a description of the element).

"
   The predefined authorization data element locations MAY be used by
   the client to request an access token valid for a certain resource
   server, i.e. it is the recommended way to request issuance of
   audience restricted access tokens.
"

Section 10.  Metadata

In this section I have expected to see an example, as present in all other =
sections. For some reasons you decided not to include one.

Section 11.  Scope value "openid" and "claims" parameter

This section feels a bit out of place. It almost sounds like a design idea =
for use in the OpenID foundation.

Section 12.  Implementation Considerations

This section is good. Just a minor remark: In this paragraph the SHOULD app=
ears to be inappropriate. I think you just want to make the reader aware of=
 existing specifications to deal with concerns regarding large request size=
s.

   Implementers SHOULD therefore consider using the request_uri
   parameter as defined in [I-D.ietf-oauth-jwsreq] in combination with
   the pushed request object mechanism as defined in
   [I-D.ietf-oauth-par] to pass authorization details in a reliable and
   secure manner.

Section 13.  Security Considerations

This paragraph is a repetition of text in Section 2.1:

   All strings MUST be compared using the exact byte representation of
   the characters as defined by [RFC8259].  This is especially true for
   the type field, which dictates which other fields and functions are
   allowed in the request.  The server MUST NOT perform any form of
   collation, transformation, or equivalence on the string values.

14.  Privacy Considerations

In this paragraph (reformatted) you are turning some of the informative ref=
erences into normative:

   Any sensitive personal data included in authorization details MUST be
   prevented from leaking, e.g., through referrer headers.
   Implementation options include

   1) encrypted request objects as defined in [I-D.ietf-oauth-jwsreq],
   2) transmission of authorization details via end-to-end encrypted connec=
tions between client and authorization
   server by utilizing [I-D.ietf-oauth-par], and
   3) the request_uri authorization request parameter as defined in
   [I-D.ietf-oauth-jwsreq].

IMHO [I-D.ietf-oauth-jwsreq] needs to become a normative reference. [I-D.ie=
tf-oauth-jwsreq] has been published as RFC 9101.
When you mandate the use of encryption (either through [I-D.ietf-oauth-jwsr=
eq] or by [I-D.ietf-oauth-par]) then some guidance on when to use what mech=
anism would be good and how credential types influence the deployment.

The following paragraph makes me wonder how developers make design decision=
s since they have
to balance the privacy implications and the desire to make fine-grained aut=
horization decisions:

   The AS MUST take into consideration the privacy implications when
   sharing authorization details with the client or resource servers.
   The AS SHOULD share this data with those parties on a "need to know"
   basis.

Is there any guidance you could give to developers to help them make a good=
 decision?

Ciao
Hannes

IMPORTANT NOTICE: The contents of this email and any attachments are confid=
ential and may also be privileged. If you are not the intended recipient, p=
lease notify the sender immediately and do not disclose the contents to any=
 other person, use it for any purpose, or store or copy the information in =
any medium. Thank you.

--_000_DBBPR08MB591528A2D13DE68F1A7A9129FA7C9DBBPR08MB5915eurp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:DengXian;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@DengXian";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi all, <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">thanks for writing this document. I have read throug=
h it as part of my shepherd writeup and here are a few comments and questio=
ns.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Generic Comments:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">As a style issue, it would be good to treat code seg=
ments as figures with a figure headings so that references in the text is e=
asier to manage.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Editorial: s/This draft/This specification<o:p></o:p=
></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Normative language: If you search for MUSTs in the d=
ocument you will notice two things: First, they are not necessarily where y=
ou would expect them.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For example: This is from page 6, which explains an =
example.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; The JSON objects with type fields of ac=
count_information and<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; payment_initiation represent the differ=
ent authorization data to be<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; used by the AS to ask for consent and M=
UST subsequently also be made<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; available to the respective resource se=
rvers. <o:p></o:p></p>
<p class=3D"MsoNormal">&quot;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Another example from page 29: Here are two approache=
s offered to mitigate a specific threat. If there are two ways then a MUST =
is appropriate IMHO. If there are others, maybe it is useful to tell the re=
ader that there are other approaches
 and when to use those mitigations so that a developer can make an informed=
 decision.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">In order to ensure their integrity, the<o:p></o:p></=
p>
<p class=3D"MsoNormal">&nbsp;&nbsp; client SHOULD send authorization detail=
s in a signed request object<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; as defined in [I-D.ietf-oauth-jwsreq] o=
r use the request_uri<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; authorization request parameter as defi=
ned in [I-D.ietf-oauth-jwsreq]<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; in conjunction with [I-D.ietf-oauth-par=
] to pass the URI of the<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; request object to the authorization ser=
ver.<o:p></o:p></p>
<p class=3D"MsoNormal">&quot;&nbsp;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Second, several MUST/SHOULD/MAYs are used with littl=
e guidance for the developer. Help developers to make the best decision.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For example: <o:p></o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; Implementers MUST design and use author=
ization details in a privacy-<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; preserving manner.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;The AS MUST take into consideratio=
n the privacy implications when<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; sharing authorization details with the =
client or resource servers.<o:p></o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the rest of the review I will go through the indi=
vidual sections and share my impressions.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Abstract<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The abstract says: <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; This document specifies a new parameter=
 authorization_details that is<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; used to carry fine-grained authorizatio=
n data in the OAuth<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; authorization request.<o:p></o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Later in the draft we will learn that the authorizat=
ion_details parameter is not just carried in the authorization request but =
also in the token request.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Maybe you could say:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; This document specifies a new parameter=
 authorization_details that is<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; used to carry fine-grained authorizatio=
n data in OAuth<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; messages.<o:p></o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 1: Introduction<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">References to blog posts about the motivation for wh=
y this work is needed might be better replaced with a short summary, partic=
ularly if they motivate the solution in the document. If you don't want suc=
h a summary in the body of the document,
 then the appendix might also be a good place. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The last paragraph in the introduction covers one so=
lution aspect. Is there a specific reason for putting a spotlight on it (co=
mpared to other solution aspects)? I think it comes too early in the docume=
nt.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I missed one aspect in the introduction that might b=
e relevant for the reader, namely that this specification itself is not suf=
ficient for interoperability.&nbsp; Developers and those deploying RAR need=
 to make various agreements about the JSON
 structure carried inside the authorization_details parameter since the spe=
c does not do much more than to say that you must use a JSON-based structur=
e in this newly defined parameter. The document is more a guide on how to s=
pecify this JSON-based structure
 rather than mandating a specific structure. I think the introduction would=
 be a good place to set the tone for the reader about what to expect in the=
 rest of the document.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 2: Request parameter &quot;authorization_det=
ails&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">At the start of the section I would have expected th=
e structure of the payload being mandated. Something like &quot;An implemen=
tation that claims conformance with this specification MUST use the followi=
ng data model for the JSON structure carried
 inside the authorization_details parameter.&quot; I understand that you wa=
nt to keep everything open for the developer.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Here are examples: <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &quot;The array [of the JSON structure] MAY contai=
n several elements of the same type.&quot;
<o:p></o:p></p>
<p class=3D"MsoNormal">- type: &quot;This field MAY define which other elem=
ents are allowed in the request. This element is REQUIRED.&quot;<o:p></o:p>=
</p>
<p class=3D"MsoNormal">(Is this field required to be understood by parsers =
or is it required to include this field in any JSON structure included in t=
he authorization_details parameter? Interestingly, the content of the type =
element is not mandated either.)<o:p></o:p></p>
<p class=3D"MsoNormal">- None of the other fields seem to be required to be=
 included nor implemented.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[Note: Throughout the spec you have used different w=
ays to describe the &quot;fields&quot; (type, datatype, ) in the JSON struc=
ture. I think it would be useful to use the same term throughout the docume=
nt to avoid confusion.]<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In Section 2 you include Section 2.2 &quot;Authoriza=
tion Data Types&quot;, which is interesting since there are two elements de=
fined: data type and type. While the subject heading of Section 2.2 gives t=
he impression that you would be describing the
 data type you are actually describing the type element. IMHO the reason fo=
r this confusion is that you use the term &quot;authorization data&quot; to=
 refer to authorization_details. Maybe you could use authorization_details =
throughout the document when you refer to
 the entire object.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 3: Authorization Request<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">You might want to give some reason to API designers =
about why they should be using the &quot;scope&quot; parameter together wit=
h the authorization_details parameter since it introduces extra complexity.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 6: Token Request<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This section mostly consists of the text in Section =
6.1 &quot;Comparing authorization details&quot;, which essentially acknowle=
dges that comparing any two arbitrary authorization details requests is dif=
ficult. Then, you give an example of how this
 could work. The use of RFC 2119 language is IMHO for the example not appro=
priate.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For example: The &quot;MAY&quot; in the paragraph be=
low has to be replaced by a &quot;may&quot;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; For our running example, the client MAY=
 ask for all permissions of<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; the approved grant of type payment_inia=
tion applicable to the<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; resource server residing at <a href=3D"=
https://example.com/payments">
https://example.com/payments</a><o:p></o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">Regarding the use of the MAY in this paragraph I am =
not sure whether it is related to the example or a generic consideration. I=
f it is generic, maybe you want to move it into Section 2 (as a description=
 of the element).<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; The predefined authorization data eleme=
nt locations MAY be used by<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; the client to request an access token v=
alid for a certain resource<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; server, i.e. it is the recommended way =
to request issuance of<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; audience restricted access tokens.<o:p>=
</o:p></p>
<p class=3D"MsoNormal">&quot;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 10.&nbsp; Metadata<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In this section I have expected to see an example, a=
s present in all other sections. For some reasons you decided not to includ=
e one.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 11.&nbsp; Scope value &quot;openid&quot; and=
 &quot;claims&quot; parameter<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This section feels a bit out of place. It almost sou=
nds like a design idea for use in the OpenID foundation.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 12.&nbsp; Implementation Considerations<o:p>=
</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This section is good. Just a minor remark: In this p=
aragraph the SHOULD appears to be inappropriate. I think you just want to m=
ake the reader aware of existing specifications to deal with concerns regar=
ding large request sizes.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; Implementers SHOULD therefore consider =
using the request_uri<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; parameter as defined in [I-D.ietf-oauth=
-jwsreq] in combination with<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; the pushed request object mechanism as =
defined in<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; [I-D.ietf-oauth-par] to pass authorizat=
ion details in a reliable and<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; secure manner.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">Section 13.&nbsp; Security Considerations<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This paragraph is a repetition of text in Section 2.=
1:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; All strings MUST be compared using the =
exact byte representation of<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; the characters as defined by [RFC8259].=
&nbsp; This is especially true for<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; the type field, which dictates which ot=
her fields and functions are<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; allowed in the request.&nbsp; The serve=
r MUST NOT perform any form of<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; collation, transformation, or equivalen=
ce on the string values.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">14.&nbsp; Privacy Considerations<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In this paragraph (reformatted) you are turning some=
 of the informative references into normative:
<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;Any sensitive personal data includ=
ed in authorization details MUST be<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; prevented from leaking, e.g., through r=
eferrer headers.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; Implementation options include <o:p></o=
:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;1) encrypted request objects as de=
fined in [I-D.ietf-oauth-jwsreq],
<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;2) transmission of authorization d=
etails via end-to-end encrypted connections between client and authorizatio=
n<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; server by utilizing [I-D.ietf-oauth-par=
], and<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; 3) the request_uri authorization reques=
t parameter as defined in<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; [I-D.ietf-oauth-jwsreq].<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">IMHO [I-D.ietf-oauth-jwsreq] needs to become a norma=
tive reference. [I-D.ietf-oauth-jwsreq] has been published as RFC 9101.<o:p=
></o:p></p>
<p class=3D"MsoNormal">When you mandate the use of encryption (either throu=
gh [I-D.ietf-oauth-jwsreq] or by [I-D.ietf-oauth-par]) then some guidance o=
n when to use what mechanism would be good and how credential types influen=
ce the deployment.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The following paragraph makes me wonder how develope=
rs make design decisions since they have
<o:p></o:p></p>
<p class=3D"MsoNormal">to balance the privacy implications and the desire t=
o make fine-grained authorization decisions:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; The AS MUST take into consideration the=
 privacy implications when<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; sharing authorization details with the =
client or resource servers.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; The AS SHOULD share this data with thos=
e parties on a &quot;need to know&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; basis.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; <o:p></o:p></p>
<p class=3D"MsoNormal">Is there any guidance you could give to developers t=
o help them make a good decision?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Ciao<o:p></o:p></p>
<p class=3D"MsoNormal">Hannes<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
IMPORTANT NOTICE: The contents of this email and any attachments are confid=
ential and may also be privileged. If you are not the intended recipient, p=
lease notify the sender immediately and do not disclose the contents to any=
 other person, use it for any purpose,
 or store or copy the information in any medium. Thank you.
</body>
</html>

--_000_DBBPR08MB591528A2D13DE68F1A7A9129FA7C9DBBPR08MB5915eurp_--


From nobody Tue Dec 21 10:20:58 2021
Return-Path: <wibartle@microsoft.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D4D73A11EF for <oauth@ietfa.amsl.com>; Tue, 21 Dec 2021 10:20:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level: 
X-Spam-Status: No, score=-2.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 k1F-1S5AKhhh for <oauth@ietfa.amsl.com>; Tue, 21 Dec 2021 10:20:51 -0800 (PST)
Received: from na01-obe.outbound.protection.outlook.com (mail-cusazon11020018.outbound.protection.outlook.com [52.101.61.18]) (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 8C4083A11ED for <oauth@ietf.org>; Tue, 21 Dec 2021 10:20:49 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g5MjdWAm1jOyMaWMaZt2PcZB5gASdjfjaJCcmuWlhRjxxvLjv6UtIduQbuSsLB6AvHTZkkpeIBPn0WzTEReIencwtT5ukcif+3Mqlmcg5Oh73eDp1EfT8b0YyWp1PcEA7MWRzA87NhGhfukeCrwyS/9ZqT4Chg4++rdTXti0pDcJOXFjzpiyzGlIQjuVg2W0W7i7KwCKFiULqM2WSDNe6z1NGR1YfXjMva09Bsvdmzw1AScP39HUFEId1lVuHZaO7+VjP3+sufzWqmd+rz3h7KiFgtO+qjz1VGHNp+QWB/ppasib4bQt+xBZd7g00WCLqCceevWX7eQnIwUHN5AT5A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Xw7kqn6CCZBhk0UMMJZLmGV8IwBquW2Q8jrnAl1MIu4=; b=iyn5N5qHeeVeddjuZ0NoEgqE5Yag8+g2sqvDZ/E62hw/Vm1I9zCqrtmAWuEyJvu5t+4nNrx+vRFUGztP5ked6d9Cp6WJyY4pCBSWu4+Xh/sYaMFp/LK17YyfgHWJ2rQ7A6OizNFE8F33BPNXbPdTkYuXx1uALRG7zS9G+58dKvH+pGwouFaoa2PvyEYtEUFsXl6g96TchlUKpqX5Jeem2B06EktJt0fGUrIlwpgwJMDR+V76xW3mGiFr23Gx3cU7Yd25AfkYTrL58mQqLuBHMV/Z9IYeEhAL3DeyHmYlcDI6CA9MtP21cVF8Hs7+7WkrdnmkXSxlFI+FHs4N1DQkug==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xw7kqn6CCZBhk0UMMJZLmGV8IwBquW2Q8jrnAl1MIu4=; b=Fc0rvsB9Ttesu2z5ZZw7HHPWZrxiuEG9zDgQMdPlCKsDbn/nbWrPMI59/TetePbsLUiYNdy3Wnjh6wKleLFiUP+tpAyQqnaeSaKlxQKNsH0HB2GSsv2zqqYnbaSrGVM8QOnMlf+Kk7sHrynhJxeBJQGmfqSSHhIGKwWxvg1QRd0=
Received: from SA1PR00MB1309.namprd00.prod.outlook.com (2603:10b6:806:1fc::6) by PH0PR00MB1184.namprd00.prod.outlook.com (2603:10b6:510:9e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4861.0; Tue, 21 Dec 2021 18:20:45 +0000
Received: from SA1PR00MB1309.namprd00.prod.outlook.com ([fe80::c957:182f:12af:c9b9]) by SA1PR00MB1309.namprd00.prod.outlook.com ([fe80::c957:182f:12af:c9b9%7]) with mapi id 15.20.4861.000; Tue, 21 Dec 2021 18:20:45 +0000
From: Will Bartlett <wibartle@microsoft.com>
To: Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>, Hans Zandbelt <hans.zandbelt@zmartzone.eu>
CC: oauth <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
Thread-Index: AQHX84kNQ3Xq9uE/o0OjPYc+AsXFGqw3N3CAgAYJnsA=
Date: Tue, 21 Dec 2021 18:20:45 +0000
Message-ID: <SA1PR00MB13098D93EAC81F74BBCE4888D37C9@SA1PR00MB1309.namprd00.prod.outlook.com>
References: <CADNypP_AJFBc+HzKfFZ8d0hk7BZc=fYTDLNP6MroHUg-=r7FvQ@mail.gmail.com> <CAJot-L2X+Ma5BnXJ6Ys3UPJgHc_WnYtU33ast-myT2PN6rU5OQ@mail.gmail.com> <CAO_FVe5fUgS+=FoB9fJN7V0ujG+tDSb_20CgU2ffcPO3kENC=w@mail.gmail.com> <AM7PR83MB04521F9B225816B5D4D1A8F891789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CAJot-L2jB63K9RVK8F8PFEtOSXjJk+Eg4iJxs9qm7jt7zq1nMw@mail.gmail.com> <AM7PR83MB0452B729482E04F9B333D37791789@AM7PR83MB0452.EURPRD83.prod.outlook.com> <CA+iA6ujXrAqm5bY-akQyB3seD7zhZg1K26AnViOE2cHGEAvEoA@mail.gmail.com> <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
In-Reply-To: <CA+k3eCS2jNEj4nePQ4kzsvERGnTAw_kimkym1v=a=xFQJG78NA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-12-21T18:05:39Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=28821379-c25f-40e1-a2b5-2cda5e9b620d; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 25853fb3-d149-4822-cb9f-08d9c4ae9b49
x-ms-traffictypediagnostic: PH0PR00MB1184:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <PH0PR00MB11845C3619983B4DE35F1EDFD37C9@PH0PR00MB1184.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1728;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BFbxYaRKRnFg0lwpsHfgp9s+TmA8IzjKd3O1bpWERW9KVU/3ou53Ac58oEh/gu0d8Sk6oWs+Y8GuCEPTKnJIrrLBteirVoqoKH1T74zEKhVoOiCuMc7e7X/d4cI1ogYLB9kveeKE4oMZDvJed1fAKl9Z7o7CgMgE2v/R1fvvXPFiGisQ5X+xzmmIZ7w5erloT/1NhuJkacW5fKabMJPI1XhnLBwHkqAoF8REoMb7mJ5agqsHb7VWnpYCbrRA8gq/4eM4F8kMng8q3CHN+xsP+YKJw0E0ZqAO8ObgRqLEP5p9DRsPWhLic5KXleJ9K1ZrzefbOsdOsJ00HzdVzvuBKD78QljaRec4+VYbF12JBUauwt8XNHFMBNS8sJmsfCvE1uxwWrnQJe9Sfz8yw09XMejDfUt3/TIsL4o3QaLvjACGf/4Tt9AVqYuqml2DVXdg9zlw5u9ad8igmBRPYXYPgNe8TfZPfKVNN1AbHUVg672iWuz39p0nWTBSopUqPEu6Nqap8b8A7ge6wFiUjr7Ol6+iNMJa2mB5QD14Ifi746REDoZbnnzHZxfRVLY6C5hpx8N871tt2H3LbRRveOwVf3jhVMMhaL3bMygUk1xueSOq1HfnKgLqSfIBay9HKgw3/qh4PmZ1p3ZqYCoFGUz53vIz2FaLmCzJ9L0/wIy1rcor35GKt1DlgdweN4eKoABoYj2185t5eqnepvAra6aL8RsqKtbsqiJGctyGl/PzKDahJsgVnTdBX9kLcJnSvi4l4rF0xjnT7urqOIj+HbdCCbHybdu8rt7oI+qbJz/1dFQRnjM8LDdnjDWidORegI2iYjsx0s3zwI8S1csWyKo1DvhSYkzfagAp39f/Avu1hETyJLpIxhp5Ls9vRMfd500U42CghsOAUMzXPM+fjp6k0A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR00MB1309.namprd00.prod.outlook.com; PTR:; CAT:NONE;  SFS:(13230001)(4636009)(366004)(30864003)(5660300002)(8936002)(26005)(52536014)(186003)(166002)(66476007)(66556008)(64756008)(66446008)(4326008)(33656002)(38070700005)(53546011)(8676002)(8990500004)(10290500003)(2906002)(6506007)(99936003)(7696005)(55016003)(316002)(71200400001)(110136005)(83380400001)(38100700002)(66946007)(122000001)(76116006)(86362001)(508600001)(82960400001)(66574015)(9686003)(966005)(82950400001)(91840200004)(20210929001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?h3EVT+rg154n/TpttDyWGZvzNxLURz/u6p4S0TlXProKKowcXgthSup7DemP?= =?us-ascii?Q?5m8vYa8C9DLTFy78A7KUmgRb3D472u+8FnpVXHVYhXdP/dnFVdzKE3oZea7B?= =?us-ascii?Q?gKgsdrvGCAe2stGm5WkgLOP961zPW+R1jH9YU+FxL95CdHQvxV9arIp1v9Xf?= =?us-ascii?Q?+UtVKh2Vs39CFI6fWgPdXcEU5K4Ji9aIeXhtgUSatQPxBs4UTrPbBYuB2tc0?= =?us-ascii?Q?iZJdy1aID17UBw1X+If0MDjMVQ1YrXwWR45pFI0UqwzBjZ3rC6brFOLGaqnE?= =?us-ascii?Q?q5uA7NzggIVQ6MTCEJBcNMTOmYNSuqxk19Wk7lrm12CY6x9iSZB9NZCQWLiB?= =?us-ascii?Q?QREHvNjCkvL1LZydZVGq0hA8zreVCKUxZrXYjet/+fNFT1Da46P2Ph+ezWDq?= =?us-ascii?Q?FP3fqScIDJjbX7tqBOkKOEktXYoj1XVj79/gn8UpN7n9aABU7l/qvMhGwShk?= =?us-ascii?Q?dCVX49bZLc23LFBaFMy4T6OecEbX+iyLhb5WPpLMhB+Dz1/hy4KQ8jNdCY27?= =?us-ascii?Q?gErA7P0vciM29cjXxJu8a0uM0uye7CXbg7Qqzc2NONv742ttaY/mIKWgS2S2?= =?us-ascii?Q?bPQjYybxhfoBZreUlkl4PMXUyoyQa/jfJ2zth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ApLYHE+6U7W41KGgWOc+kBAHbEQ2yR8asMr5zcWHAbopA3gXGH0fiH?= =?us-ascii?Q?ntbfb8Ptvy9llahp4F9iiiVmb7fEObJW69XNlhX7DXat+3BQzK3iYQAWHkep?= =?us-ascii?Q?4aaDoG3BCdZ3c6h3nUPmY+0=3D?=
Content-Type: multipart/related; boundary="_004_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA1PR00MB1309.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 25853fb3-d149-4822-cb9f-08d9c4ae9b49
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2021 18:20:45.6894 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: BVFluE6mO77qsxH4ynX/gbyfWbMXzEAaFc9TCq4tzMsQADpXRMp13DiUiuXeXrheZML2PHrcqDtpD/idhdHMkQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR00MB1184
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Id6nvSoSnZE9rpqe9DWLqSl1Np8>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Dec 2021 18:20:57 -0000

--_004_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_
Content-Type: multipart/alternative;
 boundary="_000_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_"

--_000_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I tend to agree that the requirement to send errors back to the original do=
main is "over-zealous". It's also looping prone at scale - I've seen many a=
 buggy https://contoso.example that issues a request to https://idp.example=
?redirect_uri=3Dhttps://contoso.example<https://idp.example?redirect_uri=3D=
https:/contoso.example> and gets an error response https://contoso.example?=
error=3Dinvalid_request and promptly issues the same login request with an =
updated state value again - https://idp.example?redirect_uri=3Dhttps://cono=
to.example&state=3D https://contoso.example?error%3Dinvalid_request. In pra=
ctice, I think most large scale OAuth providers end up implementing some so=
rt of loop breaking behavior (which is inevitably not-by-spec, as it return=
s a 200/4xx error page rather than a 302 redirect, even though the redirect=
_uri is "correct"). While not all of these looping cases come from invalid_=
request, probably the majority do.

With that said, I do it is useful for apps to get error reports with specif=
ic error descriptions to their domain. At first glance, I wonder why the ST=
S couldn't choose the notify the app's error URI AJAX (or even S2S) - this =
would break loops and fix open redirects, while maintaining diagnosability.

Prompt=3Dnone is unfortunately, the one really hard case, as redirection is=
 essential for the UX. I've previously had discussions around logic like:

  1.  Permit prompt=3Dnone if domainCheck(headers.Referer, request.redirect=
Uri) =3D=3D true
  2.  Permit prompt=3Dnone if login_hint present and that user has previous=
ly signed into the app in that browser session
  3.  Otherwise, deny prompt=3Dnone. (invalid_request)
There is a suggestion that #1 should cover the "optimistic auth" case and #=
2 should cover the "reauth" case, and those are all the use cases for promp=
t=3Dnone. This would block open redirectors, apart from the domain the user=
 is already present on, which is really not much of an attack at all. Howev=
er, "Referer" remains controversial.

I'm fairly dubious of phishing filters. They work ok at scale (i.e. for bro=
ad rather than targeted attacks), but domains are cheap. I'd rather see sta=
ndards try to fix this, than patch it with phishing filters.

Thanks,
Will

From: OAuth <oauth-bounces@ietf.org> On Behalf Of Brian Campbell
Sent: Friday, December 17, 2021 1:44 PM
To: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
Cc: oauth <oauth@ietf.org>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks

Yeah, I think it has been discussed before. And if I'm understanding correc=
tly, it is unfortunately a tricky area. It sounds like more or less the sam=
e thing as "Abuse: The Authorization Server As Open Redirector"<https://nam=
06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.o=
rg%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-closing-redirectors-00%23section-2.1&dat=
a=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7=
C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309021764%7CUnknown%7C=
TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0=
%3D%7C3000&sdata=3D%2FZHy3ugosgps8fQGSP2UYUaTErspOOWWbdmIgcaqBg0%3D&reserve=
d=3D0> described in the dormant WG draft, which is ultimately predicated on=
 a client being registered with a malicious redirect URI. The twist in that=
 Proofpoint article seems to be using it to evade detection by products/ser=
vices that scan email for phishing links.

The "obvious" answer would be to prevent malicious client registration in t=
he first place. But that's not tenable in many, many situations. Providing =
some more guidance about the importance of being as prudent as possible the=
re couldn't hurt though.

A couple other things that could be considered (acknowledging that the deta=
ils of providing guidance that might impact protocol is very tricky):

Require the redirect_uir parameter on the authorization request in all case=
s (even when only one is registered for a given client). This would make it=
 so the malicious URL couldn't be entirely hidden from the email filters.

Relax how aggressively OAuth demands that the AS automatically redirect in =
error conditions. And either respond with a 400 directly (which just stops =
things at that point) or provide a meaningful interstitial page to the user=
 before redirecting them (which at least helps users see something is amiss=
). I do think OAuth is a bit overzealous in automatically returning the use=
r's browser context to the client in error conditions. There are some situa=
tions (like prompt=3Dnone) that rely on the behavior but in most cases it i=
sn't necessary or helpful and can be problematic.

On Fri, Dec 17, 2021 at 1:59 PM Hans Zandbelt <hans.zandbelt@zmartzone.eu<m=
ailto:hans.zandbelt@zmartzone.eu>> wrote:
AFAIK this topic has been discussed before, e.g.:
https://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/<ht=
tps://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmailarchi=
ve.ietf.org%2Farch%2Fmsg%2Foauth%2FgIuIrxeXudRBg8L6RYGDElxrc4s%2F&data=3D04=
%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f98=
8bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309021764%7CUnknown%7CTWFpbG=
Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C=
3000&sdata=3Dy7i0X48%2FZEYsM00yohZPva3E3Ijr8GgVGzF%2FCeMI%2BDQ%3D&reserved=
=3D0>

Hans.

On Fri, Dec 17, 2021 at 9:44 PM Pieter Kasselman <pieter.kasselman=3D40micr=
osoft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
The problem isn't invalid URLs but malicious ones. Given a choice between a=
 sub-optimal user experience and a phished end-user, perhaps an option that=
 allows the authorization server to handle the error, rather than redirecti=
ng can serve end-users better. But as Vittorio points, out, there are proba=
bly other options as well to consider. URL reputation services is another o=
ption, but problematic since they are imperfect and I expect hard to standa=
rdise to a point that creates a common minimum level of assurance (similar =
to any fraud calculation or risk score).

From: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org<mailto:40rhosys.ch@=
dmarc.ietf.org>>
Sent: Friday 17 December 2021 20:27
To: Pieter Kasselman <pieter.kasselman@microsoft.com<mailto:pieter.kasselma=
n@microsoft.com>>
Cc: Vittorio Bertocci <Vittorio@auth0.com<mailto:Vittorio@auth0.com>>; oaut=
h <oauth@ietf.org<mailto:oauth@ietf.org>>
Subject: Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks

You want to redirect on some errors because the last thing an AS wants is t=
o leave the user in the AS because the user can't do anything there and the=
 AS can't do anything either. It's just bad UX. But if the redirect url isn=
't valid, this is absolutely the time that the AS should keep the user ther=
e for user's protection.  Any AS redirecting the user to an invalid redirec=
t url, isn't doing the right thing.

But that only solves the illegitimate phishing urls, it doesn't solve the c=
lass of problem where a phishing application is legitimately registered.


[Image removed by sender.]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a=
08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775374330902176=
4%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DnxOW61%2B9y7YmhKa6aUNjEx%2BgNmGfCFpirw6sx1=
MICq0%3D&reserved=3D0>.


On Fri, Dec 17, 2021 at 9:23 PM Pieter Kasselman <pieter.kasselman=3D40micr=
osoft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
Agreed that the attackers goal is to bypass phishing filters and they found=
 a way to achieve this by using an IdP that adheres to the standards. I don=
't have the context for the design choice to redirect on an error condition=
, but am curious why the IdP should not be allowed to handle the error cond=
ition, rather than redirect (or at least have the option to do so)?

From: OAuth <oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org>> On Beha=
lf Of Vittorio Bertocci
Sent: Friday 17 December 2021 19:55
To: Warren Parad <wparad=3D40rhosys.ch@dmarc.ietf.org<mailto:40rhosys.ch@dm=
arc.ietf.org>>
Cc: oauth <oauth@ietf.org<mailto:oauth@ietf.org>>
Subject: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks

The attack doesn't rely on redirecting to unregistered URLs, that's the pro=
blem.
The goal of the attack is to circumvent phishing filters, by presenting a U=
RL from a legitimate domain (the AS) that eventually redirects to the actua=
l phishing URL. The actual phishing page doesn't need to target the same au=
thorization server, or an authorization server at all for that matter.
An attacker can register a legitimate app on any authorization server as a =
service, on their own tenant. The goal is just to have a starting URL that =
phishing filters won't block, and the attacker is in full control of the re=
direct URIs they register in their own tenant.

My take: it might be tricky to change the redirect on error behavior at thi=
s point, but we should at least note the issue in the security consideratio=
ns/BCPs and possibly give some advice. For example, on top of my head: AS s=
hould expose their endpoints on a domain dedicated to OAuth/OIDC operations=
, and avoid using its top level domains (different area/service, but think =
herokuapp.com<https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A=
%2F%2Fherokuapp.com%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63e=
bbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DDdgp8nsuQKDWDNFAP3LlF0CRKXdK61=
%2B4YRRiqGddYJI%3D&reserved=3D0> vs heroku.com<https://nam06.safelinks.prot=
ection.outlook.com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&data=3D04%7C01%7Cwibar=
tle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91=
ab2d7cd011db47%7C1%7C0%7C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjo=
iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D=
VXLtL1vCFvVfTbKQdP2ZHREm8wzh%2FCibPW5o98%2FzCi0%3D&reserved=3D0>) so that i=
f a phishing filter decides to block direct links to the issuing endpoints =
will only impact things like IdP initiated flows (solvable by adding jumpst=
art endpoints on the RP anyway, just like IdP initiated sign in works in OI=
DC). I am sure there are lots of other things we can come up with that can =
make the problem better.

On Fri, Dec 17, 2021 at 5:00 AM Warren Parad <wparad=3D40rhosys.ch@dmarc.ie=
tf.org<mailto:40rhosys.ch@dmarc.ietf.org>> wrote:
I think this just falls into the category of never redirect the user to a u=
rl that doesn't match one of the preregistered redirect urls (or logout url=
s for that matter). Any application that has redirects anywhere provides an=
 opportunity for this attack vector, OAuth isn't unique in that way, it jus=
t is consistent and documented. And the 2.1 draft is pretty clear on this f=
ront:

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4.1.=
2.1<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdat=
atracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-v2-1-04%23section-4.1.2.1=
&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683=
e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309021764%7CUnknow=
n%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI=
6Mn0%3D%7C3000&sdata=3DazPPkMHdIvZM4w0HIVcS%2FwgrzCd9WvHNVAbUAdKbl4I%3D&res=
erved=3D0>
   If the request fails due to a missing, invalid, or mismatching
   redirect URI, or if the client identifier is missing or invalid, the
   authorization server SHOULD inform the resource owner of the error
   and MUST NOT automatically redirect the user agent to the invalid
   redirect URI.

I want to call this attack vector "illegitimate phishing applications" whic=
h is easily blocked by preregistration and/or PARs. And is only a very smal=
l subset of phishing attacks with OAuth, of which the larger group is "legi=
timate phishing applications". An app can be registered correctly, and stil=
l issue a phishing attack as phishing attacks through OAuth are actually in=
distinguishable from standard user delegation. There is no way to prevent t=
hese without an application review before registration is completed, here's=
 an example that cloned Google apps y creating a fake app called google def=
ender: https://www.trendmicro.com/en_us/research/17/d/pawn-storm-abuses-ope=
n-authentication-advanced-social-engineering-attacks.html<https://nam06.saf=
elinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_=
us%2Fresearch%2F17%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-soc=
ial-engineering-attacks.html&data=3D04%7C01%7Cwibartle%40microsoft.com%7C33=
1dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7=
C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l=
uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3D4RBL68YWSrTiCZrDrxBZJASw=
EcFyy7G1XHMjORF3cy0%3D&reserved=3D0>

If we can't protect against these latter ones, I hardly think protecting ag=
ainst the former is useful/interesting/valuable.


[Image removed by sender.]

Warren Parad

Founder, CTO
Secure your user data with IAM authorization as a service. Implement Authre=
ss<https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fauth=
ress.io%2F&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a=
08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775374330902176=
4%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000&sdata=3DnxOW61%2B9y7YmhKa6aUNjEx%2BgNmGfCFpirw6sx1=
MICq0%3D&reserved=3D0>.


On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com=
<mailto:rifaat.s.ietf@gmail.com>> wrote:

All,



An article was recently published discussing some OAuth Redirection Attacks=
 to try to bypass phishing detection solutions. See the details of these at=
tacks in the following link:



https://www.proofpoint.com/us/blog/cloud-security/microsoft-and-github-oaut=
h-implementation-vulnerabilities-lead-redirection<https://nam06.safelinks.p=
rotection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2Fblog%2=
Fcloud-security%2Fmicrosoft-and-github-oauth-implementation-vulnerabilities=
-lead-redirection&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb74=
34f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377537433=
09071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DUnfy21xWkDqH7w7Fe3qKSq8qVJLTXBsUkzo=
129Pwvpo%3D&reserved=3D0>




The article discusses attacks on Microsoft and GitHub, but these attacks ar=
e not unique to these companies.

The attacks take advantage of how OAuth handles error responses, which send=
s responses to the application's redirect URL.


I would like to get the thoughts of the working group on these types of att=
acks.

What is the best way to mitigate these attacks?

Do we need a new approach for handling errors with OAuth?


Regards,

 Rifaat

_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a=
683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309071753%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3=
D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a=
683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309071753%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3=
D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a=
683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309071753%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3=
D&reserved=3D0>


--
hans.zandbelt@zmartzone.eu<mailto:hans.zandbelt@zmartzone.eu>
ZmartZone IAM - www.zmartzone.eu<https://nam06.safelinks.protection.outlook=
.com/?url=3Dhttp%3A%2F%2Fwww.zmartzone.eu%2F&data=3D04%7C01%7Cwibartle%40mi=
crosoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd0=
11db47%7C1%7C0%7C637753743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA=
wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DoEOw9Xfd=
mFaBqH88tmGZDLQL8nk5CrNMYrQrP9Ii9VI%3D&reserved=3D0>
_______________________________________________
OAuth mailing list
OAuth@ietf.org<mailto:OAuth@ietf.org>
https://www.ietf.org/mailman/listinfo/oauth<https://nam06.safelinks.protect=
ion.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foa=
uth&data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a=
683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637753743309071753%7CUnk=
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX=
VCI6Mn0%3D%7C3000&sdata=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3=
D&reserved=3D0>

CONFIDENTIALITY NOTICE: This email may contain confidential and privileged =
material for the sole use of the intended recipient(s). Any review, use, di=
stribution or disclosure by others is strictly prohibited.  If you have rec=
eived 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.

--_000_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Lato;}
@font-face
	{font-family:-apple-system;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle21
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1651323299;
	mso-list-type:hybrid;
	mso-list-template-ids:301755060 67698703 67698713 67698715 67698703 676987=
13 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I tend to agree that the requirement to send errors =
back to the original domain is &#8220;over-zealous&#8221;. It&#8217;s also =
looping prone at scale &#8211; I&#8217;ve seen many a buggy
<a href=3D"https://contoso.example">https://contoso.example</a> that issues=
 a request to
<a href=3D"https://idp.example?redirect_uri=3Dhttps:/contoso.example">https=
://idp.example?redirect_uri=3Dhttps://contoso.example</a> and gets an error=
 response
<a href=3D"https://contoso.example?error=3Dinvalid_request">https://contoso=
.example?error=3Dinvalid_request</a> and promptly issues the same login req=
uest with an updated state value again - https://idp.example?redirect_uri=
=3Dhttps://conoto.example&amp;state=3D https://contoso.example?error%3Dinva=
lid_request.
 In practice, I think most large scale OAuth providers end up implementing =
some sort of loop breaking behavior (which is inevitably not-by-spec, as it=
 returns a 200/4xx error page rather than a 302 redirect, even though the r=
edirect_uri is &#8220;correct&#8221;). While
 not all of these looping cases come from invalid_request, probably the maj=
ority do.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">With that said, I do it is useful for apps to get er=
ror reports with specific error descriptions to their domain. At first glan=
ce, I wonder why the STS couldn&#8217;t choose the notify the app&#8217;s e=
rror URI AJAX (or even S2S) &#8211; this would break
 loops and fix open redirects, while maintaining diagnosability.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Prompt=3Dnone is unfortunately, the one really hard =
case, as redirection is essential for the UX. I&#8217;ve previously had dis=
cussions around logic like:<o:p></o:p></p>
<ol style=3D"margin-top:0in" start=3D"1" type=3D"1">
<li class=3D"MsoListParagraph" style=3D"margin-left:0in;mso-list:l0 level1 =
lfo1">Permit prompt=3Dnone if domainCheck(headers.Referer, request.redirect=
Uri) =3D=3D true<o:p></o:p></li><li class=3D"MsoListParagraph" style=3D"mar=
gin-left:0in;mso-list:l0 level1 lfo1">Permit prompt=3Dnone if login_hint pr=
esent and that user has previously signed into the app in that browser sess=
ion<o:p></o:p></li><li class=3D"MsoListParagraph" style=3D"margin-left:0in;=
mso-list:l0 level1 lfo1">Otherwise, deny prompt=3Dnone. (invalid_request)<o=
:p></o:p></li></ol>
<p class=3D"MsoNormal">There is a suggestion that #1 should cover the &#822=
0;optimistic auth&#8221; case and #2 should cover the &#8220;reauth&#8221; =
case, and those are all the use cases for prompt=3Dnone. This would block o=
pen redirectors, apart from the domain the user is already present
 on, which is really not much of an attack at all. However, &#8220;Referer&=
#8221; remains controversial.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;m fairly dubious of phishing filters. They w=
ork ok at scale (i.e. for broad rather than targeted attacks), but domains =
are cheap. I&#8217;d rather see standards try to fix this, than patch it wi=
th phishing filters.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Will<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> OAuth &lt;oauth-bounces@ietf.org&gt; <b=
>On Behalf Of </b>
Brian Campbell<br>
<b>Sent:</b> Friday, December 17, 2021 1:44 PM<br>
<b>To:</b> Hans Zandbelt &lt;hans.zandbelt@zmartzone.eu&gt;<br>
<b>Cc:</b> oauth &lt;oauth@ietf.org&gt;<br>
<b>Subject:</b> Re: [OAUTH-WG] [EXTERNAL] Re: OAuth Redirection Attacks<o:p=
></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">Yeah, I think it has been discussed before. And if I=
'm understanding correctly, it is unfortunately a tricky area. It sounds li=
ke more or less the same thing as
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-oauth-closing-redirector=
s-00%23section-2.1&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63e=
bbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63775=
3743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D%2FZHy3ugosgps8fQGSP2UYUaT=
ErspOOWWbdmIgcaqBg0%3D&amp;reserved=3D0" target=3D"_blank">
&quot;Abuse: The Authorization Server As Open Redirector&quot;</a> describe=
d in the dormant WG draft, which is ultimately predicated on a client being=
 registered with a malicious redirect URI. The twist in that Proofpoint art=
icle seems to be using it to evade detection
 by products/services that scan email for phishing links. <o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The &quot;obvious&quot; answer would be to prevent m=
alicious client registration in the first place. But that's not tenable in =
many, many situations. Providing some more guidance about the importance of=
 being as prudent as possible there couldn't
 hurt though.&nbsp; <o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A couple other things that could be considered (ackn=
owledging that the details of providing guidance that might impact protocol=
 is very tricky):<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Require the redirect_uir parameter on the authorizat=
ion request in all cases (even when only one is registered for a given clie=
nt). This would make it so the malicious URL couldn't be entirely hidden fr=
om the email filters.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Relax how aggressively OAuth demands that the AS aut=
omatically redirect in error conditions. And either respond with a 400 dire=
ctly (which just stops things at that point) or provide a meaningful inters=
titial page to the user before redirecting
 them (which at least helps users see something is amiss). I do think OAuth=
 is a bit overzealous in automatically returning the user's browser context=
 to the client in error conditions. There are some situations (like prompt=
=3Dnone) that rely on the behavior
 but in most cases it isn't necessary or helpful and can be problematic. <o=
:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 1:59 PM Hans Zandbelt &lt;<a=
 href=3D"mailto:hans.zandbelt@zmartzone.eu" target=3D"_blank">hans.zandbelt=
@zmartzone.eu</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">AFAIK this topic has been discussed before, e.g.:<o:=
p></o:p></p>
<div>
<p class=3D"MsoNormal"><a href=3D"https://nam06.safelinks.protection.outloo=
k.com/?url=3Dhttps%3A%2F%2Fmailarchive.ietf.org%2Farch%2Fmsg%2Foauth%2FgIuI=
rxeXudRBg8L6RYGDElxrc4s%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C=
331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0=
%7C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV=
2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3Dy7i0X48%2FZEYsM00y=
ohZPva3E3Ijr8GgVGzF%2FCeMI%2BDQ%3D&amp;reserved=3D0" target=3D"_blank">http=
s://mailarchive.ietf.org/arch/msg/oauth/gIuIrxeXudRBg8L6RYGDElxrc4s/</a><o:=
p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Hans.<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Fri, Dec 17, 2021 at 9:44 PM Pieter Kasselman &lt=
;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org" targe=
t=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The problem isn&#8217;t invalid URLs but mali=
cious ones. Given a choice between a sub-optimal user experience and a phis=
hed end-user, perhaps an option that allows
 the authorization server to handle the error, rather than redirecting can =
serve end-users better. But as Vittorio points, out, there are probably oth=
er options as well to consider. URL reputation services is another option, =
but problematic since they are imperfect
 and I expect hard to standardise to a point that creates a common minimum =
level of assurance (similar to any fraud calculation or risk score).<o:p></=
o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div style=3D"border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0=
in 0in 0in;border-color:currentcolor currentcolor">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b>From:</b> Warren Parad &lt;wparad=3D<a href=3D"mailto:40rhosys.=
ch@dmarc.ietf.org" target=3D"_blank">40rhosys.ch@dmarc.ietf.org</a>&gt;
<br>
<b>Sent:</b> Friday 17 December 2021 20:27<br>
<b>To:</b> Pieter Kasselman &lt;<a href=3D"mailto:pieter.kasselman@microsof=
t.com" target=3D"_blank">pieter.kasselman@microsoft.com</a>&gt;<br>
<b>Cc:</b> Vittorio Bertocci &lt;<a href=3D"mailto:Vittorio@auth0.com" targ=
et=3D"_blank">Vittorio@auth0.com</a>&gt;; oauth &lt;<a href=3D"mailto:oauth=
@ietf.org" target=3D"_blank">oauth@ietf.org</a>&gt;<br>
<b>Subject:</b> Re: [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<spa=
n lang=3D"EN-IE"><o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">You want to redirect on some errors because t=
he last thing an AS wants is to leave the user in the AS because the user c=
an't do anything there and the AS can't
 do anything either. It's just bad UX. But if the redirect url isn't valid,=
 this is absolutely the time that the AS should keep the user there for use=
r's protection.&nbsp; Any AS redirecting the user to an invalid redirect ur=
l, isn't doing the right thing.<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">But that only solves the illegitimate phishin=
g urls, it doesn't solve the class of problem where a phishing application =
is legitimately registered.<o:p></o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE"><br clear=3D"all">
<o:p></o:p></span></p>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt">
<div style=3D"border:solid white 1.0pt;padding:0in 0in 0in 0in">
<p style=3D"margin:0in"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black;border:none windowtext 1.0pt;padding:0in"><img border=3D"0=
" width=3D"199" height=3D"34" style=3D"width:2.0729in;height:.3541in" id=3D=
"gmail-m_4601110864832470390gmail-m_-1379917499709763315gmail-m_38390612759=
35403757Picture_x0020_1" src=3D"cid:image001.jpg@01D7F651.97F2E1E0" alt=3D"=
Image removed by sender."></span><o:p></o:p></p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid windowtext 1.0pt;border-left:none;=
padding:5.0pt 5.0pt 5.0pt 5.0pt;border-color:currentcolor;overflow:hidden">
<div style=3D"border:solid windowtext 1.0pt;border-bottom:none;padding:0in =
0in 0in 0in;border-color:currentcolor">
<p style=3D"margin:0in"><b><span style=3D"font-family:&quot;Lato&quot;,sans=
-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"border:solid windowtext 1.0pt;border-top:none;padding:0in 0in=
 0in 0in;border-color:currentcolor white white">
<p style=3D"margin:0in"><span style=3D"font-size:10.0pt;font-family:&quot;L=
ato&quot;,sans-serif">Founder, CTO</span><o:p></o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE" style=3D"font-size:10.0pt">Secure your user d=
ata with IAM authorization as a service. Implement&nbsp;</span><span lang=
=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.com/?url=
=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.c=
om%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C=
1%7C0%7C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQ=
IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DnxOW61%2B9y7Y=
mhKa6aUNjEx%2BgNmGfCFpirw6sx1MICq0%3D&amp;reserved=3D0" target=3D"_blank"><=
span style=3D"font-size:10.0pt">Authress</span></a></span><span lang=3D"EN-=
IE" style=3D"font-size:10.0pt">.</span><span lang=3D"EN-IE"><o:p></o:p></sp=
an></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">On Fri, Dec 17, 2021 at 9:23 PM Pieter Kassel=
man &lt;pieter.kasselman=3D<a href=3D"mailto:40microsoft.com@dmarc.ietf.org=
" target=3D"_blank">40microsoft.com@dmarc.ietf.org</a>&gt;
 wrote:<o:p></o:p></span></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">Agreed that the attackers goal is to bypass p=
hishing filters and they found a way to achieve this by using an IdP that a=
dheres to the standards. I don&#8217;t have
 the context for the design choice to redirect on an error condition, but a=
m curious why the IdP should not be allowed to handle the error condition, =
rather than redirect (or at least have the option to do so)?<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div style=3D"border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0=
in 0in 0in;border-color:currentcolor currentcolor">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b>From:</b> OAuth &lt;<span lang=3D"EN-IE"><a href=3D"mailto:oaut=
h-bounces@ietf.org" target=3D"_blank"><span lang=3D"EN-US">oauth-bounces@ie=
tf.org</span></a></span>&gt;
<b>On Behalf Of </b>Vittorio Bertocci<br>
<b>Sent:</b> Friday 17 December 2021 19:55<br>
<b>To:</b> Warren Parad &lt;wparad=3D<span lang=3D"EN-IE"><a href=3D"mailto=
:40rhosys.ch@dmarc.ietf.org" target=3D"_blank"><span lang=3D"EN-US">40rhosy=
s.ch@dmarc.ietf.org</span></a></span>&gt;<br>
<b>Cc:</b> oauth &lt;<span lang=3D"EN-IE"><a href=3D"mailto:oauth@ietf.org"=
 target=3D"_blank"><span lang=3D"EN-US">oauth@ietf.org</span></a></span>&gt=
;<br>
<b>Subject:</b> [EXTERNAL] Re: [OAUTH-WG] OAuth Redirection Attacks<span la=
ng=3D"EN-IE"><o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The attack doesn't&nbsp;rely on redirecting t=
o unregistered URLs, that's the problem.<o:p></o:p></span></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">The goal of the attack&nbsp;is to circumvent =
phishing filters, by presenting a URL from a legitimate domain (the AS) tha=
t eventually redirects to the actual phishing&nbsp;URL.
 The actual phishing&nbsp;page&nbsp;doesn't need to target the same authori=
zation server, or an authorization server at all for that matter.&nbsp;<o:p=
></o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">An attacker can register a legitimate app on =
any authorization server as a service, on their own&nbsp;tenant. The goal i=
s just to have a starting URL that phishing
 filters won't block, and the attacker is in full control of the redirect U=
RIs they register in their own tenant.&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">My take: it might be tricky to change the red=
irect on error behavior at this point, but we should at least note the issu=
e in the security considerations/BCPs
 and possibly give some advice. For example, on top of my head: AS should e=
xpose their endpoints on a domain dedicated to OAuth/OIDC operations, and a=
void using its top level domains (different area/service, but think
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F=
%2Fherokuapp.com%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63=
ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377=
53743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi=
LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DDdgp8nsuQKDWDNFAP3LlF0CRK=
XdK61%2B4YRRiqGddYJI%3D&amp;reserved=3D0" target=3D"_blank">
herokuapp.com</a> vs <a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttp%3A%2F%2Fheroku.com%2F&amp;data=3D04%7C01%7Cwibartle%40micro=
soft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011d=
b47%7C1%7C0%7C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD=
AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DVXLtL1v=
CFvVfTbKQdP2ZHREm8wzh%2FCibPW5o98%2FzCi0%3D&amp;reserved=3D0" target=3D"_bl=
ank">
heroku.com</a>) so that if a phishing filter decides to block direct links =
to the issuing endpoints will only impact things like IdP initiated flows (=
solvable by adding jumpstart endpoints on the RP anyway, just like IdP init=
iated sign in works in OIDC). I
 am sure there are lots of other things we can come up with that can make t=
he problem better.<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">On Fri, Dec 17, 2021 at 5:00 AM Warren Parad =
&lt;wparad=3D<a href=3D"mailto:40rhosys.ch@dmarc.ietf.org" target=3D"_blank=
">40rhosys.ch@dmarc.ietf.org</a>&gt; wrote:<o:p></o:p></span></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">I think this just falls into the category of =
never redirect the user to a url that doesn't match one of the preregistere=
d&nbsp;redirect urls (or logout urls for that
 matter). Any application that has redirects anywhere provides an opportuni=
ty for this attack vector, OAuth isn't unique in that way, it just is consi=
stent and documented. And the 2.1 draft is pretty clear on this front:<o:p>=
</o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection=
.outlook.com/?url=3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft=
-ietf-oauth-v2-1-04%23section-4.1.2.1&amp;data=3D04%7C01%7Cwibartle%40micro=
soft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011d=
b47%7C1%7C0%7C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD=
AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DazPPkMH=
dIvZM4w0HIVcS%2FwgrzCd9WvHNVAbUAdKbl4I%3D&amp;reserved=3D0" target=3D"_blan=
k">https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04#section-4=
.1.2.1</a><o:p></o:p></span></p>
</div>
<div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp; &nbsp;If the request fails due to a mi=
ssing, invalid, or mismatching<br>
&nbsp; &nbsp;redirect URI, or if the client identifier is missing or invali=
d, the<br>
&nbsp; &nbsp;authorization server SHOULD inform the resource owner of the e=
rror<br>
&nbsp; &nbsp;and <b>MUST NOT automatically redirect the user agent to the i=
nvalid<br>
&nbsp; &nbsp;redirect URI</b>.<o:p></o:p></span></p>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">I want to call this attack vector &quot;<b>il=
legitimate</b>&nbsp;phishing applications&quot; which is easily blocked by =
preregistration and/or PARs. And is only a very small
 subset of phishing attacks with OAuth, of which the larger group is &quot;=
<b>legitimate</b> phishing applications&quot;. An app can be registered cor=
rectly, and still issue a phishing attack as phishing attacks through OAuth=
 are actually indistinguishable from standard
 user delegation. There is no way to prevent these without an application r=
eview before registration is completed, here's an example that cloned Googl=
e apps y creating a fake app called
<b>google defender</b>:&nbsp;<a href=3D"https://nam06.safelinks.protection.=
outlook.com/?url=3Dhttps%3A%2F%2Fwww.trendmicro.com%2Fen_us%2Fresearch%2F17=
%2Fd%2Fpawn-storm-abuses-open-authentication-advanced-social-engineering-at=
tacks.html&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63ebbb7434f=
519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377537433090=
21764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I=
k1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3D4RBL68YWSrTiCZrDrxBZJASwEcFyy7G1XH=
MjORF3cy0%3D&amp;reserved=3D0" target=3D"_blank">https://www.trendmicro.com=
/en_us/research/17/d/pawn-storm-abuses-open-authentication-advanced-social-=
engineering-attacks.html</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">If we can't protect against these latter ones=
, I hardly think protecting against&nbsp;the former is useful/interesting/v=
aluable.<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE"><br clear=3D"all">
<o:p></o:p></span></p>
<div>
<div>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" style=3D"border-collapse:collapse">
<tbody>
<tr>
<td valign=3D"top" style=3D"border:solid white 1.0pt;border-right:solid #CC=
CCCC 1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt;overflow:hidden">
<div style=3D"border:solid white 1.0pt;padding:0in 0in 0in 0in">
<p style=3D"margin:0in"><span style=3D"font-family:&quot;Arial&quot;,sans-s=
erif;color:black;border:none windowtext 1.0pt;padding:0in"><img border=3D"0=
" width=3D"199" height=3D"34" style=3D"width:2.0729in;height:.3541in" id=3D=
"gmail-m_4601110864832470390gmail-m_-1379917499709763315gmail-m_38390612759=
35403757gmail-m_-4701354171951797092_x005f_x0000_i1025" src=3D"cid:image001=
.jpg@01D7F651.97F2E1E0" alt=3D"Image removed by sender."></span><o:p></o:p>=
</p>
</div>
</td>
<td valign=3D"top" style=3D"border:solid windowtext 1.0pt;border-left:none;=
padding:5.0pt 5.0pt 5.0pt 5.0pt;border-color:currentcolor;overflow:hidden">
<div style=3D"border:solid windowtext 1.0pt;border-bottom:none;padding:0in =
0in 0in 0in;border-color:currentcolor">
<p style=3D"margin:0in"><b><span style=3D"font-family:&quot;Lato&quot;,sans=
-serif">Warren Parad</span></b><o:p></o:p></p>
</div>
<div style=3D"border:solid windowtext 1.0pt;border-top:none;padding:0in 0in=
 0in 0in;border-color:currentcolor white white">
<p style=3D"margin:0in"><span style=3D"font-size:10.0pt;font-family:&quot;L=
ato&quot;,sans-serif">Founder, CTO</span><o:p></o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE" style=3D"font-size:10.0pt;color:black">Secure=
 your user data with IAM authorization as a service. Implement&nbsp;</span>=
<span lang=3D"EN-IE"><a href=3D"https://nam06.safelinks.protection.outlook.=
com/?url=3Dhttps%3A%2F%2Fauthress.io%2F&amp;data=3D04%7C01%7Cwibartle%40mic=
rosoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd01=
1db47%7C1%7C0%7C637753743309021764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw=
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DnxOW6=
1%2B9y7YmhKa6aUNjEx%2BgNmGfCFpirw6sx1MICq0%3D&amp;reserved=3D0" target=3D"_=
blank"><span style=3D"font-size:10.0pt">Authress</span></a></span><span lan=
g=3D"EN-IE" style=3D"font-size:10.0pt">.</span><span lang=3D"EN-IE"><o:p></=
o:p></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">On Thu, Dec 16, 2021 at 9:05 PM Rifaat Shekh-=
Yusef &lt;<a href=3D"mailto:rifaat.s.ietf@gmail.com" target=3D"_blank">rifa=
at.s.ietf@gmail.com</a>&gt; wrote:<o:p></o:p></span></p>
</div>
<blockquote style=3D"border:none;border-left:solid windowtext 1.0pt;padding=
:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;marg=
in-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204=
,204,204)">
<div>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">All,</span><span lang=3D"EN-IE"><o:p></o:p=
></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">An article was recently published discussi=
ng some
<b>OAuth Redirection Attacks</b> to try to bypass <b>phishing</b> detection=
 solutions. See the details of these attacks in the following link:</span><=
span lang=3D"EN-IE"><o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE"><a href=3D"https://nam06.safel=
inks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.proofpoint.com%2Fus%2F=
blog%2Fcloud-security%2Fmicrosoft-and-github-oauth-implementation-vulnerabi=
lities-lead-redirection&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C331=
dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C=
637753743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu=
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DUnfy21xWkDqH7w7Fe3qKS=
q8qVJLTXBsUkzo129Pwvpo%3D&amp;reserved=3D0" target=3D"_blank"><span style=
=3D"font-family:&quot;Arial&quot;,sans-serif">https://www.proofpoint.com/us=
/blog/cloud-security/microsoft-and-github-oauth-implementation-vulnerabilit=
ies-lead-redirection</span></a><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">The article discusses attacks on Microsoft=
 and GitHub, but these attacks are not unique to these companies.</span><sp=
an lang=3D"EN-IE"><o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">The attacks take advantage of how OAuth ha=
ndles error responses, which sends responses to the application&#8217;s red=
irect URL.</span><span lang=3D"EN-IE"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">I would like to get the thoughts of the wo=
rking group on these types of attacks.&nbsp;</span><span lang=3D"EN-IE"><o:=
p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">What is the best way to mitigate these att=
acks?</span><span lang=3D"EN-IE"><o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">Do we need a new approach for handling err=
ors with OAuth?</span><span lang=3D"EN-IE"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">Regards,</span><span lang=3D"EN-IE"><o:p><=
/o:p></span></p>
<p style=3D"margin:0in"><span lang=3D"EN-IE" style=3D"font-family:&quot;Ari=
al&quot;,sans-serif;color:black">&nbsp;Rifaat</span><span lang=3D"EN-IE"><o=
:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">_____________________________________________=
__<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3D&amp;reserved=3D0" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></=
span></p>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-IE">_____________________________________________=
__<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3D&amp;reserved=3D0" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></=
span></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3D&amp;reserved=3D0" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></=
p>
</blockquote>
</div>
<p class=3D"MsoNormal"><br clear=3D"all">
<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt"><a href=3D"mailto:h=
ans.zandbelt@zmartzone.eu" target=3D"_blank">hans.zandbelt@zmartzone.eu</a>=
<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">ZmartZone IAM - <a =
href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2F=
www.zmartzone.eu%2F&amp;data=3D04%7C01%7Cwibartle%40microsoft.com%7C331dc63=
ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6377=
53743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi=
LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3DoEOw9XfdmFaBqH88tmGZDLQL8=
nk5CrNMYrQrP9Ii9VI%3D&amp;reserved=3D0" target=3D"_blank">
www.zmartzone.eu</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Foauth&amp;data=3D04%7C01%7Cwibartle=
%40microsoft.com%7C331dc63ebbb7434f519a08d9c1a683e0%7C72f988bf86f141af91ab2=
d7cd011db47%7C1%7C0%7C637753743309071753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC=
4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=
=3DdBKEZF8CDX%2FJ7asiHvElHqBv9%2Bw3UZZUcpxeJ411cgs%3D&amp;reserved=3D0" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><o:p></o:p></=
p>
</blockquote>
</div>
<p class=3D"MsoNormal"><br>
<b><i><span style=3D"font-size:10.0pt;font-family:-apple-system;color:#5555=
55;border:none windowtext 1.0pt;padding:0in">CONFIDENTIALITY NOTICE: This e=
mail may contain confidential and privileged material for the sole use of t=
he intended recipient(s). Any review,
 use, distribution or disclosure by others is strictly prohibited.&nbsp; If=
 you have received this communication in error, please notify the sender im=
mediately by e-mail and delete the message and any file attachments from yo=
ur computer. Thank you.</span></i></b><o:p></o:p></p>
</div>
</body>
</html>

--_000_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_--

--_004_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_
Content-Type: image/jpeg; name="image001.jpg"
Content-Description: image001.jpg
Content-Disposition: inline; filename="image001.jpg"; size=823;
 creation-date="Tue, 21 Dec 2021 18:20:44 GMT";
 modification-date="Tue, 21 Dec 2021 18:20:45 GMT"
Content-ID: <image001.jpg@01D7F651.97F2E1E0>
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==

--_004_SA1PR00MB13098D93EAC81F74BBCE4888D37C9SA1PR00MB1309namp_--


From nobody Wed Dec 22 16:07:40 2021
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 499073A0E41 for <oauth@ietfa.amsl.com>; Wed, 22 Dec 2021 16:07:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, 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=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 x_CfPNaGANPL for <oauth@ietfa.amsl.com>; Wed, 22 Dec 2021 16:07:33 -0800 (PST)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 B7AF03A0E4A for <oauth@ietf.org>; Wed, 22 Dec 2021 16:07:32 -0800 (PST)
Received: by mail-lj1-x232.google.com with SMTP id r22so6233430ljk.11 for <oauth@ietf.org>; Wed, 22 Dec 2021 16:07:32 -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=LJ7rKlszG9H8PxpXyXRBID8cRd4SiPaa1gWlcmMlimE=; b=EPDQaeVsW3HFyLafcdeLmxhW56IGSPGRIF4r1HnmCweEq7dZqwumS60aTydGVM7s9N MA0b4ZX2VzAi9GIUnGCEikHrtJk1CpXotaszGZOoBKTfuVEGQn3/GiYXSBHttnIvAtPH uMMeBFYA1y/6du3Xqq7bEcLSGoX3c7vn5qcY6+vIZgEBNDG5Hw7Fz/xvRtafpyvIJeSe Y+6u+PGE8OvhWNz2zBETLSDhatmk1M37wRXfLiJNCxl40Bx8ap+8tXKWB4ndmM13icip iTqxr0sdLaq1IzlB2X/lHPx6xhjaRpREYBJAlYmOs2JvzySGmCj/UAXl1BRNHA9d3pr+ 1G8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LJ7rKlszG9H8PxpXyXRBID8cRd4SiPaa1gWlcmMlimE=; b=TV49XjT+K17nDAObxqnv5aeqxeb1spVq3DMr2a0kq1Pl1lc4K18bneUQFzD2z5iQ31 M3NxF1/jyUbrpX1l3HI9+iG8Ti6p5oLsNU/T+cOhMmMv2wiGw/uRKywlbRKCMub5stlZ 4tO9RMeZDVZWL2At6keGNk7xq7yixHW8UlARoa4Lkxu7R1DWAllJvxOR1rDtjqfvM9sz /ADl8AGJdR77yPcUskkDv/dnM1E4JdSO8g1aQv9OZiRJDuV+GBPS9jGis6NaEjOCHHiX zYOonFjM8gE1TcJkEQSLZLXh8jHGNU17//Zg1fujTayoadbfdg7Iutq7zImAtFYA41Lk +edw==
X-Gm-Message-State: AOAM531LAmNgLRbihhVSOSywybHzZJmBMheyUHYwqg2BmtEq6j0loH+L +FhdgmqwRsRRbsftJKHz6Xs8DP/FzJ8yW3MjQ4Y3lmGJRcNcbZHOUbUpT0jeGhhH52Si1MFB4+S nZ09ydAP/V4OYSQ==
X-Google-Smtp-Source: ABdhPJzv4ZNWlLR6oR+hJt3kS9v9IAx+br1J0+lF/vrQS6Vh8czKdV9ltILEbvgKEBfMUOVFhPqOtfWAte0cBgkmMac=
X-Received: by 2002:a2e:a404:: with SMTP id p4mr3918ljn.78.1640218049526; Wed, 22 Dec 2021 16:07:29 -0800 (PST)
MIME-Version: 1.0
References: <CAOtx8Dm_zbG-cosMELOkoDoCrJP=XGsazATSv7mLmpztj+qcvw@mail.gmail.com> <B77A2D8B-946D-4A71-8D2A-90C36FA94722@forgerock.com> <458129C5-F23C-465C-85ED-4CA939E60983@mit.edu> <E9926A47-5392-4822-9870-30CC8FF1319C@forgerock.com> <27F2DD3C-C77D-4256-ACD1-72EE03953F11@alkaline-solutions.com>
In-Reply-To: <27F2DD3C-C77D-4256-ACD1-72EE03953F11@alkaline-solutions.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Wed, 22 Dec 2021 17:07:03 -0700
Message-ID: <CA+k3eCRSFXhmsNGwC56_Wv24Z-BLfbfbgEEB5Up3Z8uBtMfjpQ@mail.gmail.com>
To: David Waite <david=40alkaline-solutions.com@dmarc.ietf.org>
Cc: Neil Madden <neil.madden@forgerock.com>, oauth <oauth@ietf.org>,  Dmitry Telegin <dmitryt=40backbase.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="00000000000032638c05d3c506bc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/gs_60pDEBKD70Q8r3GYA1Yr7lGw>
Subject: Re: [OAUTH-WG] Proposed changes to RFC 8705 (oauth-mtls)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Dec 2021 00:07:38 -0000

--00000000000032638c05d3c506bc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I'd concur with much of what DW said. Also, for what it's worth, RFC 8705
not introducing a new auth scheme or token type was due, in part, to the
hope/expectation that it'd allow for certificate-bound access token support
to be layered on top of existing systems without needing changes to the
software itself. From the deployments I've seen, I think that's played out
pretty well. It might be a little clumsy but the content of RFC 8705 is
intentional and was based on rough consensus. Updating/obsoleting an RFC is
a substantial endeavor with potentially significant and costly
ramifications. I don't see anywhere near sufficient justification to do so
in this case.




On Thu, Dec 9, 2021 at 3:25 PM David Waite <david=3D
40alkaline-solutions.com@dmarc.ietf.org> wrote:

>
>
> On Dec 9, 2021, at 2:35 PM, Neil Madden <neil.madden@forgerock.com> wrote=
:
>
> On 9 Dec 2021, at 20:36, Justin Richer <jricher@mit.edu> wrote:
>
>
> I disagree with this take. If there are confirmation methods at all, it=
=E2=80=99s
> no longer a Bearer token, and pretending that it is doesn=E2=80=99t help =
anyone. I
> think combining confirmation methods is interesting, but then you get int=
o
> a weird space of how to define the combinations, and what to do if one is
> missing, etc. It opens up a weird space for interop problems. It=E2=80=99=
s not
> insurmountable, but I don=E2=80=99t think it=E2=80=99s a trivial as it mi=
ght look at first.
>
> Plus, the =E2=80=9Cbackwards compatible=E2=80=9D argument is what led to =
the existing RFC
> using Bearer again. In my view, this actually opens up the possibility of
> downgrade attacks against the RS, where a lazy RS doesn=E2=80=99t check t=
he binding
> because it sees =E2=80=9CBearer=E2=80=9D and calls it a day.
>
>
> I think this actually strongly argues the opposite - it is precisely
> because the scheme is under attacker control that enables such downgrade
> attacks. So relying on the scheme to tell you what kind of PoP checks to
> apply makes these kinds of attacks more likely, not less. I=E2=80=99m sug=
gesting
> instead that the RS decides what checks to enforce based on the =E2=80=9C=
cnf=E2=80=9D
> content in the token - which is either signed by the AS or retrieved
> directly from the AS through introspection. On the other hand, the token
> type is not even defined in the recent RFC 9068 for JWT-based ATs. So an
> attacker could easily change the scheme from MTLS to Bearer to see if the
> RS stops performing checks, but they can=E2=80=99t remove a =E2=80=9Ccnf=
=E2=80=9D claim from the
> token itself.
>
> In hindsight, =E2=80=9CBearer=E2=80=9D might have been better named =E2=
=80=9CAccessToken=E2=80=9D or
> similar, but I don=E2=80=99t think the name matters as much as the semant=
ics.
>
>
> While I can=E2=80=99t speak for those involved, I suspect there was a des=
ire to
> carry over OAuth 1 behavior with message signatures at the authorization
> level. That is to say, I suspect the name Bearer was to distinguish again=
st
> say a PoP or HttpSig scheme.
>
> In that light, I suspect the separation was not necessarily one trying to
> capture security semantics, but in understanding the format of the
> authorization header itself. A PoP scheme might include a signed
> challenge-response as a mandatory second parameter, or via wrapping the
> access token into a security structure such as a JWT. Neither of these
> would be valid for the Bearer authorization header, which is meant to
> convey an access token and provides for no additional parameters.
>
> MTLS did not change the semantics of the bearer authorization header,
> since the format/meaning and validation of an access token has always bee=
n
> implementation-defined. Thus, a =E2=80=9CMTLS=E2=80=9D authentication sch=
eme does not
> provide meaningful distinction, even ignoring the issues such distinction
> gives under an attacker model.
>
> -DW
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

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

--00000000000032638c05d3c506bc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;d concur with much of what DW said. Also, for w=
hat it&#39;s worth, RFC 8705 not introducing a new auth scheme or token typ=
e was due, in part, to the hope/expectation that it&#39;d allow for certifi=
cate-bound access token support to be layered on top of existing systems wi=
thout needing changes to the software itself. From the deployments I&#39;ve=
 seen, I think that&#39;s played out pretty well. It might be a little clum=
sy but the content of RFC 8705 is intentional and was based on rough consen=
sus. Updating/obsoleting an RFC is a substantial endeavor with potentially =
significant and costly ramifications. I don&#39;t see anywhere near suffici=
ent justification to do so in this case.<br></div><div><br></div><br><div><=
br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Thu, Dec 9, 2021 at 3:25 PM David Waite &lt;david=3D<a href=3D"=
mailto:40alkaline-solutions.com@dmarc.ietf.org" target=3D"_blank">40alkalin=
e-solutions.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex"><div><br><div><br><blockquote type=3D"cite"><=
div>On Dec 9, 2021, at 2:35 PM, Neil Madden &lt;<a href=3D"mailto:neil.madd=
en@forgerock.com" target=3D"_blank">neil.madden@forgerock.com</a>&gt; wrote=
:</div><br><div><div>On 9 Dec 2021, at 20:36, Justin Richer &lt;<a href=3D"=
mailto:jricher@mit.edu" target=3D"_blank">jricher@mit.edu</a>&gt; wrote:<br=
><div><blockquote type=3D"cite"><br><div><div>I disagree with this take. If=
 there are confirmation methods at all, it=E2=80=99s no longer a Bearer tok=
en, and pretending that it is doesn=E2=80=99t help anyone. I think combinin=
g confirmation methods is interesting, but then you get into a weird space =
of how to define the combinations, and what to do if one is missing, etc. I=
t opens up a weird space for interop problems. It=E2=80=99s not insurmounta=
ble, but I don=E2=80=99t think it=E2=80=99s a trivial as it might look at f=
irst.<div><br></div><div>Plus, the =E2=80=9Cbackwards compatible=E2=80=9D a=
rgument is what led to the existing RFC using Bearer again. In my view, thi=
s actually opens up the possibility of downgrade attacks against the RS, wh=
ere a lazy RS doesn=E2=80=99t check the binding because it sees =E2=80=9CBe=
arer=E2=80=9D and calls it a day. </div></div></div></blockquote><div><br><=
/div><div>I think this actually strongly argues the opposite - it is precis=
ely because the scheme is under attacker control that enables such downgrad=
e attacks. So relying on the scheme to tell you what kind of PoP checks to =
apply makes these kinds of attacks more likely, not less. I=E2=80=99m sugge=
sting instead that the RS decides what checks to enforce based on the =E2=
=80=9Ccnf=E2=80=9D content in the token - which is either signed by the AS =
or retrieved directly from the AS through introspection. On the other hand,=
 the token type is not even defined in the recent RFC 9068 for JWT-based AT=
s. So an attacker could easily change the scheme from MTLS to Bearer to see=
 if the RS stops performing checks, but they can=E2=80=99t remove a =E2=80=
=9Ccnf=E2=80=9D claim from the token itself.</div><div><br></div><div>In hi=
ndsight, =E2=80=9CBearer=E2=80=9D might have been better named =E2=80=9CAcc=
essToken=E2=80=9D or similar, but I don=E2=80=99t think the name matters as=
 much as the semantics.</div></div></div></div></blockquote><br></div><div>=
While I can=E2=80=99t speak for those involved, I suspect there was a desir=
e to carry over OAuth 1 behavior with message signatures at the authorizati=
on level. That is to say, I suspect the name Bearer was to distinguish agai=
nst say a PoP or HttpSig scheme.</div><div><br></div><div>In that light, I =
suspect the separation was not necessarily one trying to capture security s=
emantics, but in understanding the format of the authorization header itsel=
f. A PoP scheme might include a signed challenge-response as a mandatory se=
cond parameter, or via wrapping the access token into a security structure =
such as a JWT. Neither of these would be valid for the Bearer authorization=
 header, which is meant to convey an access token and provides for no addit=
ional parameters.</div><div><br></div><div>MTLS did not change the semantic=
s of the bearer authorization header, since the format/meaning and validati=
on of an access token has always been implementation-defined. Thus, a =E2=
=80=9CMTLS=E2=80=9D authentication scheme does not provide meaningful disti=
nction, even ignoring the issues such distinction gives under an attacker m=
odel.</div><div><br></div><div>-DW</div></div>_____________________________=
__________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

<br>
<i style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:ba=
seline;background:rgb(255,255,255);font-family:proxima-nova-zendesk,system-=
ui,-apple-system,system-ui,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ubuntu,C=
antarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;color:rgb(85,85,85)"><=
span style=3D"margin:0px;padding:0px;border:0px;outline:0px;vertical-align:=
baseline;background:transparent;font-family:proxima-nova-zendesk,system-ui,=
-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Roboto,Oxygen-Sans,Ub=
untu,Cantarell,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-weight:600"=
><font size=3D"2">CONFIDENTIALITY NOTICE: This email may contain confidenti=
al and privileged material for the sole use of the intended recipient(s). A=
ny review, use, distribution or disclosure by others is strictly prohibited=
.=C2=A0 If you have received this communication in error, please notify the=
 sender immediately by e-mail and delete the message and any file attachmen=
ts from your computer. Thank you.</font></span></i>
--00000000000032638c05d3c506bc--


From nobody Thu Dec 23 05:53:22 2021
Return-Path: <rifaat.s.ietf@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD0753A0A86 for <oauth@ietfa.amsl.com>; Thu, 23 Dec 2021 05:53:20 -0800 (PST)
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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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=gmail.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 Nj_vQxs0v7WU for <oauth@ietfa.amsl.com>; Thu, 23 Dec 2021 05:53:16 -0800 (PST)
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 28A6A3A09CF for <oauth@ietf.org>; Thu, 23 Dec 2021 05:53:16 -0800 (PST)
Received: by mail-wr1-x42d.google.com with SMTP id w20so2638273wra.9 for <oauth@ietf.org>; Thu, 23 Dec 2021 05:53:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=L9MpHOHMsjidzHK+jj86AaWBZWete1mJ2Sfg33oifqI=; b=oR+8rFkq59fU0/MpAbuUnGIqcqQ0IFVK5R7gpz/kcnft5kMvyCIZ3FzXbwb7CB/dkh 0WVkTthKDWpUHCi5crdjp5zBHsXRtMqR+yrFQxRC757V9CJ5MUPjhZvTDTuX0QyYzhAB f28rvAPYcoC0PqUJyvTrvFtvppDkq1n1gEAKDwh6t2725qezl4O1jBOyxu1QYDgPBBKw rJg9z7qeFVaP9tKxfA5FczV0cvcxYsMXLBmqZAiNqIC9QooJs0cDLgUzCrzJHklicFE0 Vhp1TVIBvgB+hWSI7bqNAoKMtGFwcJJ0AqU8z4Oz9lGy6uKT4OYQBA5o9+kweWmrF9Xq MUuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=L9MpHOHMsjidzHK+jj86AaWBZWete1mJ2Sfg33oifqI=; b=NzRjXNGPrscztvqeka4bPOUrgJait3U9Ve6/vSIxBlGsK5S3EsE4/AyRR7FCNIHmSu 8ifzqmfpDz73gGQh9++ghYmN0Cq9tFaTfhhZHZ+Nw2ZbGVOXujy5syto7OR6mAhbI79q YijKB/uJknwTbTdB9lm2sVLhTf46w0S1lhp8E53LySY9WxlVqnyQADWBJJ/h+tHhhRwl syc9H2omG5bzxcfGTbW16Crb69hkRVQ+VN3VQ6zCWFEIPx6bjo28yIbBrd3jzIN70ZLs IdJVoMryiwC1/hjSwAA9JglGzf8U2MhAVophhi0qU0rKe0hipLorm+KlDuWGETlxfn0I sdGw==
X-Gm-Message-State: AOAM532P0URxLnY1ZNOqdmG5EWtmxouFnenxldL31RPL5IdDMjXuGT3c NBQ6olzvCPlUo5iQrOdcNK//4oKXvPJaHQ/Prn1AH7fW
X-Google-Smtp-Source: ABdhPJwHcrbsG9tjOftflaUt2rnNIUeakGTk/prDFYJlyPC0rXcS0csQqUW+C8IjVIFLf/PZv68rck95rj7kmwFKkFc=
X-Received: by 2002:a05:6000:1865:: with SMTP id d5mr1722946wri.650.1640267593976;  Thu, 23 Dec 2021 05:53:13 -0800 (PST)
MIME-Version: 1.0
References: <E7B0B283-98EA-44FC-8D22-A05ED75B70B9@ietf.org>
In-Reply-To: <E7B0B283-98EA-44FC-8D22-A05ED75B70B9@ietf.org>
From: Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com>
Date: Thu, 23 Dec 2021 08:53:03 -0500
Message-ID: <CADNypP-issfgerQ8L2UVDuhrC2NACp_rncZg0UXF3XOUdo67HA@mail.gmail.com>
To: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000468cf905d3d08f30"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/y0h2ZvMlo9ud9Yi2qQBZHFgO4T8>
Subject: [OAUTH-WG] Fwd: IETF 113 will be a hybrid onsite/online meeting in Vienna, Austria
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Dec 2021 13:53:21 -0000

--000000000000468cf905d3d08f30
Content-Type: text/plain; charset="UTF-8"

FYI

---------- Forwarded message ---------
From: IETF Executive Director <exec-director@ietf.org>
Date: Tue, Dec 21, 2021 at 8:43 PM
Subject: IETF 113 will be a hybrid onsite/online meeting in Vienna, Austria
To: IETF Announcement List <ietf-announce@ietf.org>


IETF 113 will be held as a hybrid onsite/online meeting with the onsite
element in Vienna, Austria at the Hilton Vienna Park from 19-25 March
2022.  This is a location change from the originally planned Bangkok,
Thailand.


# Decision making

In making this decision the IETF Administration LLC has carefully
considered the current circumstances, the desire of the community and the
guidance of the IESG to answer a series of questions:

1.  Is it possible to hold an international onsite meeting?

We believe that it is now possible to hold an international meeting, as has
been shown by the recent IGF meeting among others, provided that sensible
precautions are taken and that the chosen venue has clear and workable
rules.  Austria has clear and workable rules for entry into the country and
conferences and restaurants.

Clearly, the omicron variant is quickly spreading and some countries are
responding to that with lockdowns and other restrictions.  However, we are
willing to take the risk that this will be sufficiently managed by the time
of the meeting that it can go ahead.


2.  Is it safe to hold an international onsite meeting?

We believe that it is acceptably safe to hold an international meeting.
COVID-19 is now endemic in most countries and the mitigations and
precautions are well understood and practised.   Austria in particular has
strict rules regarding entry to the country and in-country movement,
excellent access to tests and strict controls on the unvaccinated.

A strong majority of IETF participants reside in countries with easy access
to vaccines, including a booster shot. Unvaccinated people will not be able
to enter the country or participate onsite at the meeting, and the IESG has
advised that this exclusion of unvaccinated people should not be considered
discriminatory.

The US State Dept currently rates Austria at "level 4 - do not travel", but
sufficient numbers of staff, contractors and supporting volunteers are
willing to travel despite this that we are wiling to take the risk.


3.  Is it viable to hold an onsite meeting and what will the experience be
for both those onsite and those online?

The IESG has advised that a meeting of approximately 50% the size of a
normal in person meeting (~500 people) is acceptable.  We cannot be certain
that this number will wish to participate onsite but we are willing to take
the risk.

This will not be a normal onsite meetings, it will be a hybrid
onsite/online meeting with changes made so that any disadvantage to those
who choose not to travel will be minimised.  The IESG is planning a shorter
working day similar to fully online meetings and new technology is being
provided by Meetecho to provide a more integrated session experience.

We believe that the financial risk is acceptable.  The contract has a
strong force majeure cancellation clause and a strong cancel-and-rebook
clause.


4.  is it the right thing to do?

Many in our community want to meet in person again and believe that the
risk in doing so is acceptable and we believe that supporting this is the
right thing to do.  Moving back to normal meetings will inevitably take
multiple steps and this is the first of those.

We are well aware that some will regard this as the wrong decision given
the risks to personal safety involved.  However as nobody is required to
participate in person (that includes staff, contractors and supporting
volunteers), nor should any participants feel pressure to be onsite, we
believe that we are finding the correct balance between personal choice,
personal safety and meeting experience.

The formal assessment is
https://www.ietf.org/media/documents/IETF_113_Vienna_go_no-go_assessment.pdf

Finally, just to note: as this decision is being made with less than 14
weeks to go until the meeting, this qualifies as an emergency situation
under RFC 9137 and so this decision has been made without community
consultation.


# Registrations

Registrations will open in the new year when we have updated the
registration system and sorted out European VAT.  At that time we will
provide details of what to expect both in travelling and our onsite
COVID-management practises so that you can make an informed decision.
Registration fees will be the same for onsite participation as they have
been previously.


If you have any questions or wish to discuss this further then please
either reply to admin-discuss@ietf.org or directly to me at
exec-director@ietf.org

Jay


-- 
Jay Daley
IETF Executive Director
exec-director@ietf.org

_______________________________________________
IETF-Announce mailing list
IETF-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/ietf-announce

--000000000000468cf905d3d08f30
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">FYI<br><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">---------- Forwarded message ---------<br>From: <strong c=
lass=3D"gmail_sendername" dir=3D"auto">IETF Executive Director</strong> <sp=
an dir=3D"auto">&lt;<a href=3D"mailto:exec-director@ietf.org">exec-director=
@ietf.org</a>&gt;</span><br>Date: Tue, Dec 21, 2021 at 8:43 PM<br>Subject: =
IETF 113 will be a hybrid onsite/online meeting in Vienna, Austria<br>To: I=
ETF Announcement List &lt;<a href=3D"mailto:ietf-announce@ietf.org">ietf-an=
nounce@ietf.org</a>&gt;<br></div><br><br>IETF 113 will be held as a hybrid =
onsite/online meeting with the onsite element in Vienna, Austria at the Hil=
ton Vienna Park from 19-25 March 2022.=C2=A0 This is a location change from=
 the originally planned Bangkok, Thailand.<br>
<br>
<br>
# Decision making<br>
<br>
In making this decision the IETF Administration LLC has carefully considere=
d the current circumstances, the desire of the community and the guidance o=
f the IESG to answer a series of questions:<br>
<br>
1.=C2=A0 Is it possible to hold an international onsite meeting?<br>
<br>
We believe that it is now possible to hold an international meeting, as has=
 been shown by the recent IGF meeting among others, provided that sensible =
precautions are taken and that the chosen venue has clear and workable rule=
s.=C2=A0 Austria has clear and workable rules for entry into the country an=
d conferences and restaurants.=C2=A0 <br>
<br>
Clearly, the omicron variant is quickly spreading and some countries are re=
sponding to that with lockdowns and other restrictions.=C2=A0 However, we a=
re willing to take the risk that this will be sufficiently managed by the t=
ime of the meeting that it can go ahead.<br>
<br>
<br>
2.=C2=A0 Is it safe to hold an international onsite meeting?<br>
<br>
We believe that it is acceptably safe to hold an international meeting.=C2=
=A0 COVID-19 is now endemic in most countries and the mitigations and preca=
utions are well understood and practised.=C2=A0 =C2=A0Austria in particular=
 has strict rules regarding entry to the country and in-country movement, e=
xcellent access to tests and strict controls on the unvaccinated.<br>
<br>
A strong majority of IETF participants reside in countries with easy access=
 to vaccines, including a booster shot. Unvaccinated people will not be abl=
e to enter the country or participate onsite at the meeting, and the IESG h=
as advised that this exclusion of unvaccinated people should not be conside=
red discriminatory.<br>
<br>
The US State Dept currently rates Austria at &quot;level 4 - do not travel&=
quot;, but sufficient numbers of staff, contractors and supporting voluntee=
rs are willing to travel despite this that we are wiling to take the risk.<=
br>
<br>
<br>
3.=C2=A0 Is it viable to hold an onsite meeting and what will the experienc=
e be for both those onsite and those online?<br>
<br>
The IESG has advised that a meeting of approximately 50% the size of a norm=
al in person meeting (~500 people) is acceptable.=C2=A0 We cannot be certai=
n that this number will wish to participate onsite but we are willing to ta=
ke the risk.<br>
<br>
This will not be a normal onsite meetings, it will be a hybrid onsite/onlin=
e meeting with changes made so that any disadvantage to those who choose no=
t to travel will be minimised.=C2=A0 The IESG is planning a shorter working=
 day similar to fully online meetings and new technology is being provided =
by Meetecho to provide a more integrated session experience.<br>
<br>
We believe that the financial risk is acceptable.=C2=A0 The contract has a =
strong force majeure cancellation clause and a strong cancel-and-rebook cla=
use. <br>
<br>
<br>
4.=C2=A0 is it the right thing to do?<br>
<br>
Many in our community want to meet in person again and believe that the ris=
k in doing so is acceptable and we believe that supporting this is the righ=
t thing to do.=C2=A0 Moving back to normal meetings will inevitably take mu=
ltiple steps and this is the first of those.<br>
<br>
We are well aware that some will regard this as the wrong decision given th=
e risks to personal safety involved.=C2=A0 However as nobody is required to=
 participate in person (that includes staff, contractors and supporting vol=
unteers), nor should any participants feel pressure to be onsite, we believ=
e that we are finding the correct balance between personal choice, personal=
 safety and meeting experience.<br>
<br>
The formal assessment is <a href=3D"https://www.ietf.org/media/documents/IE=
TF_113_Vienna_go_no-go_assessment.pdf" rel=3D"noreferrer" target=3D"_blank"=
>https://www.ietf.org/media/documents/IETF_113_Vienna_go_no-go_assessment.p=
df</a><br>
<br>
Finally, just to note: as this decision is being made with less than 14 wee=
ks to go until the meeting, this qualifies as an emergency situation under =
RFC 9137 and so this decision has been made without community consultation.=
<br>
<br>
<br>
# Registrations<br>
<br>
Registrations will open in the new year when we have updated the registrati=
on system and sorted out European VAT.=C2=A0 At that time we will provide d=
etails of what to expect both in travelling and our onsite COVID-management=
 practises so that you can make an informed decision.=C2=A0 Registration fe=
es will be the same for onsite participation as they have been previously.<=
br>
<br>
<br>
If you have any questions or wish to discuss this further then please eithe=
r reply to <a href=3D"mailto:admin-discuss@ietf.org" target=3D"_blank">admi=
n-discuss@ietf.org</a> or directly to me at <a href=3D"mailto:exec-director=
@ietf.org" target=3D"_blank">exec-director@ietf.org</a><br>
<br>
Jay<br>
<br>
<br>
-- <br>
Jay Daley<br>
IETF Executive Director<br>
<a href=3D"mailto:exec-director@ietf.org" target=3D"_blank">exec-director@i=
etf.org</a><br>
<br>
_______________________________________________<br>
IETF-Announce mailing list<br>
<a href=3D"mailto:IETF-Announce@ietf.org" target=3D"_blank">IETF-Announce@i=
etf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ietf-announce" rel=3D"nore=
ferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ietf-announ=
ce</a><br>
</div></div>

--000000000000468cf905d3d08f30--


From nobody Thu Dec 23 16:21:02 2021
Return-Path: <iana-shared@icann.org>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDEA43A0CF1; Thu, 23 Dec 2021 16:20:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.628
X-Spam-Level: 
X-Spam-Status: No, score=-0.628 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MISSING_HEADERS=1.021, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 Hm0ZRvSioBuT; Thu, 23 Dec 2021 16:20:40 -0800 (PST)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [192.0.33.81]) (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 E56423A0CEF; Thu, 23 Dec 2021 16:20:40 -0800 (PST)
Received: from request4.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 04F8DE0FDA; Fri, 24 Dec 2021 00:20:40 +0000 (UTC)
Received: by request4.lax.icann.org (Postfix, from userid 48) id 01997205FD; Fri, 24 Dec 2021 00:20:40 +0000 (UTC)
RT-Owner: amanda.baber
From: "Amanda Baber via RT" <drafts-expert-review-comment@iana.org>
Reply-To: drafts-expert-review-comment@iana.org
In-Reply-To: <rt-4.4.3-1907-1637090376-1238.1216703-9-0@icann.org>
References: <RT-Ticket-1216703@icann.org> <rt-4.4.3-1907-1637090376-1238.1216703-9-0@icann.org>
Message-ID: <rt-4.4.3-13969-1640305239-777.1216703-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1216703
X-Managed-BY: RT 4.4.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: amanda.baber@icann.org
CC: ve7jtb@ve7jtb.com, oauth@ietf.org, oauth-ext-review@ietf.org, nat@sakimura.org, michael.jones@microsoft.com, dick.hardt@gmail.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 24 Dec 2021 00:20:39 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/ZjK0qE5YOe2eR6yFn_EE3zRwDY0>
Subject: [OAUTH-WG] [IANA #1216703] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Dec 2021 00:20:45 -0000

Attn: Michael, Nat, John and Dick (OAuth Authorization Server Metadata
registry experts)

Have you had a chance to review the request in this document?

https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/

Is approval from all four experts required?

thanks,

Amanda Baber
IANA Operations Manager

On Wed Nov 24 21:27:25 2021, amanda.baber wrote:
> Attn: Michael, Nat, John and Dick (OAuth Authorization Server Metadata
> registry experts)
> 
> I'm resending a review request for a document that's listed on the
> next IESG telechat. Can you get to this before 12/2?
> 
> Please let us know if approval from all four experts is required.
> 
> thanks,
> 
> Amanda Baber
> IANA Operations Manager
> 
> On Tue Nov 16 21:09:23 2021, michelle.cotton wrote:
> > Mailing List/Expert Review requested
> >
> > Attn: Michael, Nat, John and Dick (OAuth Authorization Server
> > Metadata
> > registry experts)
> >
> > As the designated experts for the OAuth Authorization Server Metadata
> > registry, can you review the proposed registration in draft-oauth-
> > iss-
> > auth-resp for us? Please see:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> >
> > A single, new registration is being requested:
> >
> > Metadata Name: authorization_response_iss_parameter_supported
> > Metadata Description: Boolean value indicating whether the
> > authorization server provides the iss parameter in the authorization
> > response.
> > Change Controller: IESG
> > Reference: [ RFC-to-be; Section 3 ]
> >
> > If this is request is OK, when the IESG approves the document for
> > publication, we'll make the registration at
> >
> > https://www.iana.org/assignments/oauth-parameters/
> >
> > If you're the first expert to submit a review, please let us know
> > whether you want us to wait for both reviewers to respond before we
> > mark the document "IANA OK" (or send your comments to the authors, if
> > the registrations aren't OK).
> >
> > The IESG has asked us to set a two-week deadline for registration
> > reviews. The due date for this request is 2021-11-30.
> >
> > Thank you,
> >
> > Michelle Cotton
> > IANA Services


From nobody Thu Dec 23 16:21:31 2021
Return-Path: <iana-shared@icann.org>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72A803A0933; Thu, 23 Dec 2021 16:21:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.628
X-Spam-Level: 
X-Spam-Status: No, score=-0.628 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MISSING_HEADERS=1.021, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 eg6-goNAUMF4; Thu, 23 Dec 2021 16:21:25 -0800 (PST)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [192.0.33.81]) (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 A470A3A0CEF; Thu, 23 Dec 2021 16:21:23 -0800 (PST)
Received: from request4.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 6DC9DE0FDB; Fri, 24 Dec 2021 00:21:23 +0000 (UTC)
Received: by request4.lax.icann.org (Postfix, from userid 48) id 6D198205FD; Fri, 24 Dec 2021 00:21:23 +0000 (UTC)
RT-Owner: amanda.baber
From: "Amanda Baber via RT" <drafts-expert-review-comment@iana.org>
Reply-To: drafts-expert-review-comment@iana.org
In-Reply-To: <rt-4.4.3-1775-1637091070-1032.1216704-9-0@icann.org>
References: <RT-Ticket-1216704@icann.org> <rt-4.4.3-1775-1637091070-1032.1216704-9-0@icann.org>
Message-ID: <rt-4.4.3-22798-1640305283-1042.1216704-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1216704
X-Managed-BY: RT 4.4.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: amanda.baber@icann.org
CC: oauth@ietf.org, oauth-ext-review@ietf.org, hannes.tschofenig@arm.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 24 Dec 2021 00:21:23 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/ESsiV59oiEIbsMEi_UzK1yAnbp4>
Subject: [OAUTH-WG] [IANA #1216704] Expert Review for draft-ietf-oauth-iss-auth-resp (oauth-parameters) (2)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Dec 2021 00:21:30 -0000

Hi Hannes,

Have you had a chance to review the OAuth Parameters request in this document?

https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/

thanks,

Amanda Baber
IANA Operations Manager

On Wed Nov 24 21:28:18 2021, amanda.baber wrote:
> Attn: Hannes (OAuth Parameters registry expert)
> 
> I'm resending a review request for a document that's listed on the
> next IESG telechat. Can you get to this before 12/2?
> 
> thanks,
> 
> Amanda Baber
> IANA Operations Manager
> 
> On Tue Nov 16 21:17:59 2021, michelle.cotton wrote:
> > Mailing List/Expert Review requested
> >
> > Attn: Hannes (OAuth Parameters registry expert)
> >
> > As the designated expert for the OAuth Parameters registry, can you
> > review the proposed registration in draft-oauth-iss-auth-resp for us?
> > Please see:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-iss-auth-resp/
> >
> > A single, new registration is being requested:
> >
> > Name: iss
> > Parameter Usage Location: authorization response
> > Change Controller: IESG
> > Reference: [ RFC-to-be; Section 2 ]
> >
> > If this is request is OK, when the IESG approves the document for
> > publication, we'll make the registration at
> >
> > https://www.iana.org/assignments/oauth-parameters/
> >
> > The IESG has asked us to set a two-week deadline for registration
> > reviews. The due date for this request is 2021-11-30.
> >
> > Thank you,
> >
> > Michelle Cotton
> > IANA Services


From nobody Tue Dec 28 14:10:01 2021
Return-Path: <session-request@ietf.org>
X-Original-To: oauth@ietf.org
Delivered-To: oauth@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B6083A1A54; Tue, 28 Dec 2021 14:09:58 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Meeting Session Request Tool <session-request@ietf.org>
To: <session-request@ietf.org>
Cc: oauth-chairs@ietf.org, oauth@ietf.org, rdd@cert.org, rifaat.s.ietf@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.41.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <164072939847.24520.6913718319187087492@ietfa.amsl.com>
Date: Tue, 28 Dec 2021 14:09:58 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/9j9bLTGI3QlaOyscgCnFC27Ogz8>
Subject: [OAUTH-WG] oauth - New Meeting Session Request for IETF 113
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Dec 2021 22:09:59 -0000

A new meeting session request has just been submitted by Rifaat Shekh-Yusef, a Chair of the oauth working group.


---------------------------------------------------------
Working Group Name: Web Authorization Protocol
Area Name: Security Area
Session Requester: Rifaat Shekh-Yusef


Number of Sessions: 2
Length of Session(s): unspecified
Number of Attendees: 50
Conflicts to Avoid: 
 Technology overlap: tls secevent suit saag gnap
 Leave at least one free day in between the two sessions
       


People who must be present:
  Roman Danyliw
  Hannes Tschofenig
  Rifaat Shekh-Yusef

Resources Requested:

Special Requests:
  
---------------------------------------------------------



From nobody Thu Dec 30 13:40:54 2021
Return-Path: <l2ichshop@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BE193A0A51 for <oauth@ietfa.amsl.com>; Thu, 30 Dec 2021 13:40:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 s6KaDBpNawYY for <oauth@ietfa.amsl.com>; Thu, 30 Dec 2021 13:40:50 -0800 (PST)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 B76DF3A0A2A for <oauth@ietf.org>; Thu, 30 Dec 2021 13:40:49 -0800 (PST)
Received: by mail-ed1-x52c.google.com with SMTP id o6so102587059edc.4 for <oauth@ietf.org>; Thu, 30 Dec 2021 13:40:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:to:subject:thread-topic:thread-index:date:message-id :accept-language:content-language:mime-version; bh=9uzY10cbtYHriXs0VvlDJNozs3qp54kCPwpRDwW84Pw=; b=MezfHSq1I6RnFXt4sDJG1mKXVWOxwxIgn76EAXuhm7DdVpnScvQaaFkpHheBoT6zWj 9Kv01L84ACgBwY4aqlda6x7HQTTEKTrijw8NDZWlFRf9LNzp4AI5KZVCzllrrbiYgFay 4cK86ph0AVjkC8cK0ksg9o/Zmut6cjH/7iNoZcpHY140OHvFcRJHhspnbCGKi3Cohrmy vP939l6s2cY1oVI4szimOTVhHhxclzRDhph7fWz+AOscDR67D9yLLTjITXpyxRXDhEZS foyIjL4tJQtsB+fQZcSb9JCoeOLRNLIOHxBA+6SVKWNq2PvNGtrwS0Oo982IMVFZ3Zvt ia0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:thread-topic:thread-index:date :message-id:accept-language:content-language:mime-version; bh=9uzY10cbtYHriXs0VvlDJNozs3qp54kCPwpRDwW84Pw=; b=ajwQe/diU7HZGvdYu1QSRd1hJvAFKzwrfR9FYZM+k5FY02Lg68RjEijrbnN38gBhWT 9ji5tBA8d6ELstSCthByoBmW1nZGhJbP+9GgT5sBB8hezKZ9GuRoFQIna8o6mdNwniX9 /uCqvUQjifyP6StiPzA6XkKoEnWftAyVueCfTsaIqZEuZeEfPDRXap1NGTv+1tg7KN0/ cIMoA0xHWcbdrQdWWU7MnLuwSTF5Qhn+6UAbpf9DFB2NT3936DtqQNRh3LAqIv5QZ+NS kKZ6xnJa0eENDp1Uk+GDlHJMXt8f/2FPTaR9MWLFwxzRiKGWGp9MSgA0iOBtsK5Lp1oE qKMg==
X-Gm-Message-State: AOAM533wuBD4JT4ipjzBMsZlbdkYhYyJ/oS/j78wzW0aD+2uV2FmGRgw GKaKXJFOlIabY2uEfg2AGok=
X-Google-Smtp-Source: ABdhPJzpBgLoQNl1Xgx5Izuo8WzRlh8k/cfdwAUvIKgrJsnJuKGmbs5rObv8UDMYh4O2m+WWDLl1/w==
X-Received: by 2002:a17:906:c13:: with SMTP id s19mr26381942ejf.330.1640900446042;  Thu, 30 Dec 2021 13:40:46 -0800 (PST)
Received: from SI2PR04MB5427.apcprd04.prod.outlook.com ([2603:1046:c01:245c::5]) by smtp.gmail.com with ESMTPSA id nb41sm8029337ejc.224.2021.12.30.13.40.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Dec 2021 13:40:45 -0800 (PST)
From: Oh Arthit <l2ichshop@gmail.com>
To: "l2ichshops@l2ichshop.onmicrosoft.com" <l2ichshops@l2ichshop.onmicrosoft.com>, Oh Arthit <oharthit@l2ichshop.onmicrosoft.com>, Arthit Kosachunhanun <outlook_13b52962273ca630@outlook.com>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: =?windows-874?B?zdLL0sOhxdKnx9G5?=
Thread-Index: AQHX/cXHGVdley2F1kOzpWg014khZA==
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Thu, 30 Dec 2021 21:40:41 +0000
Message-ID: <SI2PR04MB54276E66E31282027697BCE6A1459@SI2PR04MB5427.apcprd04.prod.outlook.com>
Accept-Language: th-TH, en-US
Content-Language: th-TH
X-MS-Has-Attach: 
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator: 
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative; boundary="_000_SI2PR04MB54276E66E31282027697BCE6A1459SI2PR04MB5427apcp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/_I43ng6XQ-0ipBDnHRCWbOcQ0dA>
Subject: [OAUTH-WG] =?windows-874?B?zdLL0sOhxdKnx9G5?=
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Dec 2021 21:40:53 -0000

--_000_SI2PR04MB54276E66E31282027697BCE6A1459SI2PR04MB5427apcp_
Content-Type: text/plain; charset="windows-874"
Content-Transfer-Encoding: quoted-printable



=C3=D1=BA Outlook =CA=D3=CB=C3=D1=BA Android<https://aka.ms/AAb9ysg>

--_000_SI2PR04MB54276E66E31282027697BCE6A1459SI2PR04MB5427apcp_
Content-Type: text/html; charset="windows-874"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-8=
74">
</head>
<body>
<div style=3D"color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);=
" dir=3D"auto">
<br>
</div>
<div id=3D"ms-outlook-mobile-signature" dir=3D"auto">
<div><br>
</div>
=C3=D1=BA <a href=3D"https://aka.ms/AAb9ysg" style=3D"">Outlook =CA=D3=CB=
=C3=D1=BA Android</a></div>
</body>
</html>

--_000_SI2PR04MB54276E66E31282027697BCE6A1459SI2PR04MB5427apcp_--

