Re: [OAUTH-WG] [Technical Errata Reported] RFC7009 (6663)

Warren Parad <wparad@rhosys.ch> Thu, 02 September 2021 08:32 UTC

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 795253A07EF for <oauth@ietfa.amsl.com>; Thu, 2 Sep 2021 01:32:55 -0700 (PDT)
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 hTJRQsqYWDOv for <oauth@ietfa.amsl.com>; Thu, 2 Sep 2021 01:32:49 -0700 (PDT)
Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (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 79BD83A07E0 for <oauth@ietf.org>; Thu, 2 Sep 2021 01:32:49 -0700 (PDT)
Received: by mail-yb1-xb32.google.com with SMTP id a93so2358589ybi.1 for <oauth@ietf.org>; Thu, 02 Sep 2021 01:32:49 -0700 (PDT)
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=pXex/MuE8orzlyTOWsKTICGp6hrndDmyRMYPaGQzyX4=; b=ILfh2+ZwhWTNBs7Ya9RzhBP9tWzzRfi31GuZ20F9FX10vJdkJnf6kwgMpOIXmMmc48 BXfhzbJQ+MaAdj9qgscjhAktFmlABszexMdB30rb+H75d+JlSQLpnkFprJzL8a+idUsI UV86GEsa+MKMmq53/AZ1ln2m3ZBL9FvyBWGgxV2YGb3uKVSWeHTBR4o13r6XQMeUDvmW 6B3sDSt02XPDLnX3mPyzxPpUVUzjf2yLfpA0WJ6Y1WbF4DwhMpTGvoD3H9qtz8le9YEM KhYu9R1Za1Nxs4+NHFP39LWEKdnIwnDpJN3hjPkgOiuidh5QSdZCEfIYd/dGYQS2+u3Z qsOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pXex/MuE8orzlyTOWsKTICGp6hrndDmyRMYPaGQzyX4=; b=c3Fo+ElO4b9hP9WgTMqrYQ5I8vkvDxABLB0rnEldKvAYCg5xZ+a4gk+xUHdG+CGwhy rTp+3ObZqHBfI6lni1ATjfZH5BEAPG1oXQXl71LS1E6lGuOx1p+C1aNvfHFCeliNB2uL 95INidZjsKAvZuS75xT06DP77tOaUZCqlDxGe6RNHRji7PtDsZK3qITSBUhiy/I0kdrs 2nC4oI0IQSkf6Idxk3U9+EFDB2C3mBTW2FJwSVjl9zYA7fuQUrCpSbQP1D/tN1cgCN7i 0rfc67H6YaH9yVf/HJgY8MD4DMQN/bLXSwsnpI/ba7kJ2mAhHk2HRw8PiFfsf3A6oV/J d01g==
X-Gm-Message-State: AOAM5329oRAKA/c/0q/RcsLOzHelP932Qiirc0aBac2OZZgBDFcbQBZd r6jQsr56UHiQSNYm9GatNsy4IcKtDMpFJimeG0xg
X-Google-Smtp-Source: ABdhPJz3KqPF/Ht+LqoXCW8NU6xKLWJpT+5haiVTiQ17b2cSdXn3nIIhS1kOW5hRfzXLYcv2aFabbDSOfIT5EV12Vsk=
X-Received: by 2002:a25:d049:: with SMTP id h70mr2786253ybg.182.1630571567356; Thu, 02 Sep 2021 01:32:47 -0700 (PDT)
MIME-Version: 1.0
References: <20210822091434.93EFCF40723@rfc-editor.org> <80CE09CD-E462-4CB6-B4CC-EF4A7BE9F854@mit.edu> <CAEayHEP1Jg-WPo-4B5k5JVA_zDOL7m1tWq9q2yWSS_deRcP6Fw@mail.gmail.com> <CAFvbn=Zsh87pxNr_uXiOBOQ__ZJrqGPrkyOJbY5h1WLGzkemqA@mail.gmail.com> <CAJot-L0svK5tQ=ExTOYDybX-8zLC4omjKc6ggFcO8wUExA-5og@mail.gmail.com> <CAFvbn=ZC5Ufgh6gbEKd8ai91yc8Z2OJr3tx+u1GOx9qBy=znuA@mail.gmail.com> <CAJot-L0S3OMOJox=oeRVAAZU3enF1_4HbYZup6kEZBbAYp4s2w@mail.gmail.com> <CAFvbn=aij_gjECQzEf9K1t79MJZ4uj40GdV0=4KrRDnUUqnJPQ@mail.gmail.com> <CAJot-L11rTavZUMHs6fHXxVT-ueYo5JavYArbYm+FUeOynSG_A@mail.gmail.com> <CAFvbn=Y0EhVG+JvSd62CwtJQYSZD=7=N++_P+ivEQSuvFx2RAw@mail.gmail.com>
In-Reply-To: <CAFvbn=Y0EhVG+JvSd62CwtJQYSZD=7=N++_P+ivEQSuvFx2RAw@mail.gmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Thu, 02 Sep 2021 10:32:36 +0200
Message-ID: <CAJot-L0Xt5w=dBPSC+zbHV4reQVOYJgte2U=QJe46XkE_7CA=Q@mail.gmail.com>
To: Ash Narayanan <ashvinnarayanan@gmail.com>
Cc: IETF oauth WG <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000db46405caff079f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/qICQNz8Tb7qd0txdDGx8pw1ugIQ>
Subject: Re: [OAUTH-WG] [Technical Errata Reported] RFC7009 (6663)
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 Sep 2021 08:32:56 -0000

Ah in 5. Security Considerations 👍

Warren Parad

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


On Thu, Sep 2, 2021 at 10:25 AM Ash Narayanan <ashvinnarayanan@gmail.com>
wrote:

> According to this specification, a client's request must contain a
>>    valid client_id, in the case of a public client, or valid client
>>    credentials, in the case of a confidential client.
>>
>>
>
> On Thu, Sep 2, 2021 at 6:22 PM Warren Parad <wparad@rhosys.ch> wrote:
>
>> Can you point out where it says that, I think I must of missed it.
>>
>> Warren Parad
>>
>> Founder, CTO
>> Secure your user data with IAM authorization as a service. Implement
>> Authress <https://authress.io/>.
>>
>>
>> On Thu, Sep 2, 2021 at 10:21 AM Ash Narayanan <ashvinnarayanan@gmail.com>
>> wrote:
>>
>>> Hey Warren,
>>>
>>> 7009 states that you need to pass just the client_id for public clients,
>>> so if:
>>>
>>>> The client_id isn't necessary.
>>>>
>>>
>>> Then obviously something about 7009 needs to change.
>>>
>>> Whichever angle you look at, 7009 needs to change.
>>>
>>> On Thu, Sep 2, 2021 at 5:16 PM Warren Parad <wparad@rhosys.ch> wrote:
>>>
>>>> Great, then let's fix 6749 not this one. The client_id isn't necessary.
>>>>
>>>> And then wouldn't 7009 not need to be changed because it already says
>>>> you don't need to pass any authorization for public clients?
>>>>
>>>> For credentialled client issued grants, refresh tokens, and access
>>>> tokens, these must not be able to be revoked without client credentials, so
>>>> using the refresh token or access token only for all other client types
>>>> must not be supported.
>>>>
>>>> On Thu, Sep 2, 2021, 08:52 Ash Narayanan <ashvinnarayanan@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Warren,
>>>>>
>>>>> If you are referring to the client_id as arbitrary information, then
>>>>> the same would also be true for refresh requests to the token endpoint from
>>>>> public clients.  As per 6749, you need to pass the client_id along with the
>>>>> refresh token. The client_id adds no additional security.
>>>>>
>>>>> But really, the whole point I've been trying to make from the start is
>>>>> that the token itself should be the only form of 'security' needed...as
>>>>> that's the point of OAuth.
>>>>>
>>>>> Regardless, 7009 needs to be made obsolete by a newer RFC.
>>>>>
>>>>> Ash
>>>>>
>>>>> On Thu, Sep 2, 2021 at 4:41 PM Warren Parad <wparad@rhosys.ch> wrote:
>>>>>
>>>>>> What's the point in passing arbitrary other information that is
>>>>>> already known by the AS and does not provide the level of security
>>>>>> necessary to prevent abuse of the revocation endpoint?
>>>>>>
>>>>>> On Thu, Sep 2, 2021, 01:12 Ash Narayanan <ashvinnarayanan@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Thomas,
>>>>>>>
>>>>>>> The approach you've suggested sounds good. Passing just the
>>>>>>> client_id along with the token and type (regardless of client type) would
>>>>>>> be consistent with how refresh_token requests are structured. As long as
>>>>>>> the new RFC obsoletes this one.
>>>>>>>
>>>>>>> Ash
>>>>>>> _______________________________________________
>>>>>>> OAuth mailing list
>>>>>>> OAuth@ietf.org
>>>>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>>>>>
>>>>>>