Re: [regext] I-D Action: draft-ietf-regext-rdap-openid-18.txt

"Hollenbeck, Scott" <shollenbeck@verisign.com> Wed, 19 October 2022 12:13 UTC

Return-Path: <shollenbeck@verisign.com>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65035C14CE2E for <regext@ietfa.amsl.com>; Wed, 19 Oct 2022 05:13:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=verisign.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R-jNPv480Hnn for <regext@ietfa.amsl.com>; Wed, 19 Oct 2022 05:13:08 -0700 (PDT)
Received: from mail2.verisign.com (mail2.verisign.com [72.13.63.31]) (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 9334DC14CF04 for <regext@ietf.org>; Wed, 19 Oct 2022 05:13:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verisign.com; l=4754; q=dns/txt; s=VRSN; t=1666181589; h=from:to:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=DB2mLOHPyI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YLe+QDAGW4JXmYYLcc4rokzRCdv3 FjPlcnvXHpxqqaTD3ma8994sA+PBMTcFkdaDQdscOfPy4CLTF0b5v4XcuteLQ==
IronPort-HdrOrdr: A9a23:rgkIvKoeA0MAFTpGTO+u5j8aV5r2eYIsimQD101hICG9Ffbo8v xG/c5rtyMc5wxwZJhNo7690cq7Lk80nKQdibX5Vo3SPzUO1lHIEKhSqaXvxDH6EzDz+6p3xc 5bH5RWOZnVAUJhhcj3pCu1A78bquWvweSNif3Fx3lgCTt2bbpthj0VNi+AHlZoSBJ9CZ01KZ qZ6qN8zAadRQ==
X-IronPort-AV: E=Sophos;i="5.95,196,1661817600"; d="scan'208";a="17811034"
Received: from BRN1WNEX02.vcorp.ad.vrsn.com (10.173.153.49) by BRN1WNEX01.vcorp.ad.vrsn.com (10.173.153.48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.13; Wed, 19 Oct 2022 08:13:06 -0400
Received: from BRN1WNEX02.vcorp.ad.vrsn.com ([10.173.153.49]) by BRN1WNEX02.vcorp.ad.vrsn.com ([10.173.153.49]) with mapi id 15.01.2507.013; Wed, 19 Oct 2022 08:13:06 -0400
From: "Hollenbeck, Scott" <shollenbeck@verisign.com>
To: "kowalik@denic.de" <kowalik@denic.de>, "regext@ietf.org" <regext@ietf.org>
Thread-Topic: [EXTERNAL] Re: [regext] I-D Action: draft-ietf-regext-rdap-openid-18.txt
Thread-Index: AQHY4sIBjNl0p0yGz0urLS78qx/GzK4VoLtw
Date: Wed, 19 Oct 2022 12:13:06 +0000
Message-ID: <10bc0276343043fda21269bd3941d39a@verisign.com>
References: <166601174018.24122.2194661681253850980@ietfa.amsl.com> <d5943e3bac624018872f50fd52b51ec1@verisign.com> <30759a3c-803b-4272-5755-3d8064a4fc56@denic.de>
In-Reply-To: <30759a3c-803b-4272-5755-3d8064a4fc56@denic.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.170.148.18]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/RYYjBOxy5sC-hy-rnQ_nWk1OGzk>
Subject: Re: [regext] I-D Action: draft-ietf-regext-rdap-openid-18.txt
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Oct 2022 12:13:13 -0000

> -----Original Message-----
> From: regext <regext-bounces@ietf.org> On Behalf Of Pawel Kowalik
> Sent: Tuesday, October 18, 2022 3:19 AM
> To: regext@ietf.org
> Subject: [EXTERNAL] Re: [regext] I-D Action: draft-ietf-regext-rdap-openid-
> 18.txt
>
> Caution: This email originated from outside the organization. Do not click links
> or open attachments unless you recognize the sender and know the content is
> safe.
>
> Am 17.10.22 um 15:32 schrieb Hollenbeck, Scott:
>
> >> [SAH] This update addresses most of the feedback received during the
> recent WG last call. There are still a few open issues for which I'm hoping to
> see WG discussion:
> Thank you Scott.
> >> 1. How do we address web service clients?
>
> [PK] I think the elements we need for web service clients were already
> elaborated in the discussion over the version 17.
> I'm happy to support with text proposal if needed.

[SAH] Text would be appreciated. Something like this perhaps?

4.2.5 Web Service Clients

<Paragraph that describes what a web service client is>

4.2.5.1 Web Service Client Login

<Query parameters and/or path segment descriptions>

4.2.5.2 Web Service Client Session Management

<Query parameters and/or path segment descriptions>

> One additional point that appeared in the side discussion is whether
> such client shall be able to request additional claims from the OP.
> Currently the specification only allows RDAP server to request claims
> which leaves the web client without such possibility, which in turn may
> end up in a broken experience.
> The proposal here is to add a "scope" query parameter to the /login path
> which RDAP server may use to request additional claims from the OP on
> behalf of the client.

[SAH] Maybe, pending resolution of what to do with the userClaims.

> >> 2. Are there any security concerns associated with return of the "userID",
> "iss", and "userClaims" members of the "farv1_session" data structure?
>
> [PK] The specification does not foresee any (even optional)
> authentication of the client application. In this sense each client has
> to be treated as a public client.
> There is a risk of malicious client obtaining access to those PII data
> because all the user sees in the consent step is RDAP requesting data to
> the OP.
> Device flow is in this sense more vulnerable to phishing attacks to
> obtain PII and also access to RDAP data as such.
> A countermeasure could be the RDAP server offering an own
> consent/confirmation screen displaying some identifiable information
> about the client requesting access.

[SAH] If the PII data you're referring to is what's included in the userClaims, this might not be an issue if the claims aren't returned, correct?

> >> 3. Anything else I might have inadvertently missed.
>
> [PK] "userClaim" is marked OPTIONAL in 4.1.1 whereas the following
> chapters indicate it is mandatory most of the times:
>
> 4.2.3.  Login Response
> 4.4.  Session Status
> 4.5.  Session Refresh
>
> I suggested to change:
> ...response MUST include a "farv1_session" data structure that includes
> a "userClaims" object and a "sessionInfo" object.
>
> to
>
> ..response MUST include a "farv1_session" data structure that includes a
> "sessionInfo" object and an optional "userClaims" object.

[SAH] Agreed, pending resolution of what to do with the userClaims. More in my response to Mario in a moment...

Scott