Re: [OAUTH-WG] Review of draft-ietf-oauth-introspection-01

Bill Mills <wmills_92105@yahoo.com> Tue, 02 December 2014 20:35 UTC

Return-Path: <wmills_92105@yahoo.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 470C31A7005 for <oauth@ietfa.amsl.com>; Tue, 2 Dec 2014 12:35:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.109
X-Spam-Level:
X-Spam-Status: No, score=-0.109 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 LETJ401A-G_Y for <oauth@ietfa.amsl.com>; Tue, 2 Dec 2014 12:35:53 -0800 (PST)
Received: from nm37-vm4.bullet.mail.bf1.yahoo.com (nm37-vm4.bullet.mail.bf1.yahoo.com [72.30.238.204]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0591D1A7006 for <oauth@ietf.org>; Tue, 2 Dec 2014 12:35:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1417552552; bh=MVI6FYrPvvrvyQuaw1yOCyDIB7T5Kd0iKG+0w5nIb7I=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=s/+RejiO8XvUk/ixlWvmztshAGJx6SWJjKeo4OtZ/ETFWuPSl6nk4yV+bm+RDu/PJp7Fl3INOSBlVkHVVZdaWmrhZnQcY9vKO+7fxkE5WTNcHXKZNINal1jwR+bV/C7kKr9gsDLtHQa0bk6QqwtXoQWTcMhoTMWgMC2iOejU0O7X7+xqFMlLncAfUMAhvjaMyOaSQNElStjMjbNdHKVIoAHb+xefcFGxyBj3RYMl+Osf3e0FPlrpij4RoUaBKqWoBJJ/dGMB2Dp82fTT44oS/zZrkRdsGs9IRK6hJPqvawrQRCSDvyN6BPaYUzHShQCw0R8OITIvzh3nxUF1hlIRRA==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=OxaXxwH0u0sOuCmYTTo2mwWunQmtKCgHDmfWXm/tcJSnAsmpQ003YgfBtj1NzkBFSzXzF9fG3glYUlwjQfMkX6G09iqDx1nT65hkROU5GFZv5MbP0TRLJDQMLKXeOfe13Gk0ieWxMyyRlxKJ235Ww5soWxZbCeelZcIcIVIm/l9smYbKurL7xE3mTU0IXZMB+dzwVgWuf3PEf4qy64uYKVVdp2gmr4v0dbIhOM07oTHo5YdMIVBH7HABTmKFffbuomm9YuWsoayyEvGoe1wVhm4oaangkBWBl9TTshCDxjz0wNNqz0EF0goCnfgDJ5v7h/FrXaInutYc57eL20lLCw==;
Received: from [98.139.215.140] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2014 20:35:52 -0000
Received: from [98.139.212.243] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2014 20:35:52 -0000
Received: from [127.0.0.1] by omp1052.mail.bf1.yahoo.com with NNFMP; 02 Dec 2014 20:35:52 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 166178.96850.bm@omp1052.mail.bf1.yahoo.com
X-YMail-OSG: c5m_gxUVM1kf5u5drP11PukQtR_rsW09WsPWICHGSoxe_N8SDTERDzO.VL.5cpa JAhRwA_fXbWunQjjux9mkcLc9h35V1wOjvqWd6E1GDZ4Laq9Et7f44DJ4u5O35FxwhRt10ZGi.WZ pPjJNNSeUz7rp4ZEn3F2vYmUqJyv2vnYNWkq9VPnan6qvjSSZjCYZeOvE_gB38NdHT_k_aOeUCaJ PooBDJQHuPIepKXIKEbs7Vq97eo4uZRUsdOFr7rBb7V44hfzJQ8P9k.WOV75Kb7545G8p_2MNEJ5 Wz24b3FPSllAfKfZi6JSRlc76aEvlq.uEGHIAqnPohp2qQEXlZaj.mXtrQL7VdlDwJ9kyrjEhYf8 KE7ENZYPZtpmW7Y.2W7M0xjDUlHZl7VjqwbNXEmrKEYuDPDFqPGV83fT80sXuSwqH8Qru5j6Hlo8 Wtv5sOxbmaC22IFp3FrtJeSVlk6FS_4AtcXcmDYUGO_4mRuLNsvvN530tT7DeovzXdUUQeNpQeXM-
Received: by 66.196.81.116; Tue, 02 Dec 2014 20:35:51 +0000
Date: Tue, 02 Dec 2014 20:35:51 +0000
From: Bill Mills <wmills_92105@yahoo.com>
To: John Bradley <ve7jtb@ve7jtb.com>, "Justin P. Richer" <jricher@mitre.org>
Message-ID: <361405969.4017078.1417552551240.JavaMail.yahoo@jws106103.mail.bf1.yahoo.com>
In-Reply-To: <BA5E5445-7B45-4798-A462-154A76152A4A@ve7jtb.com>
References: <BA5E5445-7B45-4798-A462-154A76152A4A@ve7jtb.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_4017077_1227672910.1417552551230"
Archived-At: http://mailarchive.ietf.org/arch/msg/oauth/bvwMOJL8fDlgw7dX2aojlxsHRKc
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Review of draft-ietf-oauth-introspection-01
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Bill Mills <wmills_92105@yahoo.com>
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: <http://www.ietf.org/mail-archive/web/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, 02 Dec 2014 20:35:55 -0000

+1 for "Making authentication to the introspection endpoint a MUST if additional attributes are present is OK" 

     On Tuesday, December 2, 2014 12:15 PM, John Bradley <ve7jtb@ve7jtb.com> wrote:
   

 Many of the proprietary introspection protocols in use return scope, role or other meta data for the RS to make its access policy decision on.One of the reasons for using opaque tokens rather than JWT is to prevent leakage of that info.
Making authentication to the introspection endpoint a MUST if additional attributes are present is OK,  I might even be inclined to say that authentication of some sort is always required, but that might be going a bit far for some use cases.
We have a lot of proprietary ways to do this from IBM, Layer 7, Ping etc.  It would be nice if we could standardize it.   Precluding other attributes would not be helpful for adoption.

One issue that we haven’t addressed in this spec is what happens if there are multiple AS for the RS and how it would decide what introspection endpoint to use.Perhaps that needs to be a extension, leaving this for the simple case.
However having more than on e AS per RS is not as unusual as it once was in larger environments.
John B.


On Dec 2, 2014, at 4:56 PM, Richer, Justin P. <jricher@mitre.org> wrote:

Agreed, which is why we've got space for the "sub" and "user_id" fields but not anything else about the user, and we've got a privacy considerations section for dealing with that. If you can help make the wording on that section stronger, I'd appreciate it.
 -- Justin
On Dec 2, 2014, at 2:25 PM, Bill Mills <wmills_92105@yahoo.com> wrote:

If introspection returns any other user data beyond what is strictly required to validate the token based solely on possession of the public part it would be a mistake.

On Tuesday, December 2, 2014 11:13 AM, "Richer, Justin P." <jricher@mitre.org> wrote:


That's all fine -- it's all going over TLS anyway (RS->AS) just like the original token fetch by the client (C->AS). Doesn't mean you need TLS *into* the RS (C->RS) with a good PoP token. 
Can you explain how this is related to "act on behalf of"? I don't see any connection.
 -- Justin
On Dec 2, 2014, at 2:09 PM, Bill Mills <wmills_92105@yahoo.com> wrote:

Fetching the public key for a token might be fine, but what if the introspection endpoint returns the symmetric key?  Data about the user?  Where does this blur the line between this and "act on behalf of"?

On Tuesday, December 2, 2014 11:05 AM, "Richer, Justin P." <jricher@mitre.org> wrote:


The call to introspection has a TLS requirement, but the call to the RS wouldn't necessarily have that requirement. The signature and the token identifier are two different things. The identifier doesn't do an attacker any good on its own without the verifiable signature that's associated with it and the request. What I'm saying is that you introspect the identifier and get back something that lets you, the RS, check the signature.
 -- Justin
On Dec 2, 2014, at 1:40 PM, Bill Mills <wmills_92105@yahoo.com> wrote:

"However, I think it's very clear how PoP tokens would work. ..."
I don't know if that's true.  POP tokens (as yet to be fully defined) would then also have a TLS or transport security requirement unless there is token introspection client auth in play I think.  Otherwise I can as an attacker take that toklen and get info about it that might be useful, and I don't think that's what we want.
-bill










_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth