Re: [OAUTH-WG] draft-ietf-oauth-assertions-09

"Richer, Justin P." <jricher@mitre.org> Fri, 11 January 2013 14:37 UTC

Return-Path: <jricher@mitre.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 8A7A921F873C for <oauth@ietfa.amsl.com>; Fri, 11 Jan 2013 06:37:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.895
X-Spam-Level:
X-Spam-Status: No, score=-4.895 tagged_above=-999 required=5 tests=[AWL=-0.596, BAYES_00=-2.599, MANGLED_EMAIL=2.3, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C6SZUcdCAJaQ for <oauth@ietfa.amsl.com>; Fri, 11 Jan 2013 06:37:36 -0800 (PST)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id 7919A21F8455 for <oauth@ietf.org>; Fri, 11 Jan 2013 06:37:36 -0800 (PST)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id EEE5E1F3566; Fri, 11 Jan 2013 09:37:35 -0500 (EST)
Received: from IMCCAS04.MITRE.ORG (imccas04.mitre.org [129.83.29.81]) by smtpksrv1.mitre.org (Postfix) with ESMTP id DDF221F356D; Fri, 11 Jan 2013 09:37:35 -0500 (EST)
Received: from IMCMBX01.MITRE.ORG ([169.254.1.25]) by IMCCAS04.MITRE.ORG ([129.83.29.81]) with mapi id 14.02.0318.004; Fri, 11 Jan 2013 09:37:35 -0500
From: "Richer, Justin P." <jricher@mitre.org>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Thread-Topic: [OAUTH-WG] draft-ietf-oauth-assertions-09
Thread-Index: AQHN79RL+fDQvzjad0WAuZe12tNYZphEUmcAgAA0JQA=
Date: Fri, 11 Jan 2013 14:37:34 +0000
Message-ID: <B33BFB58CCC8BE4998958016839DE27E0687634C@IMCMBX01.MITRE.ORG>
References: <A1DF5DE7-CC32-48CE-A33E-81BC2968DF14@gmx.net> <50EFF7F0.90300@cs.tcd.ie>
In-Reply-To: <50EFF7F0.90300@cs.tcd.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.31.7.155]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <329D781EBC3ABF43AEB6D473D3131FA3@imc.mitre.org>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "oauth@ietf.org WG" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] draft-ietf-oauth-assertions-09
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
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: <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: Fri, 11 Jan 2013 14:37:37 -0000

It's my understanding that the general assertions claim is more of a conceptual mapping than it is a concrete encoding, so anything more specific here would be out of place. I would like the authors to either confirm or correct my assumptions, though.

 -- Justin


On Jan 11, 2013, at 6:30 AM, Stephen Farrell <stephen.farrell@cs.tcd.ie>
 wrote:

> 
> Hi,
> 
> Since we thought we were done with it, I put this document
> on the IESG telechat agenda for Jan 24. Hannes' question
> however looks like its a real one that needs an answer.
> 
> I'd appreciate it if the WG could figure out if there's any
> change needed and either make that change in the next week,
> or else tell me to take the draft off the telechat agenda
> for now.
> 
> If discussion doesn't happen, or happens but doesn't reach
> a conclusion, then I'll take the draft off the agenda in a
> week's time and we can sort out if any changes are needed
> later.
> 
> The reason why now+1-week matters, is that that's when
> IESG members tend to do their reviews and having 'em all
> review a moving target isn't a good plan.
> 
> Thanks,
> S.
> 
> On 01/11/2013 08:18 AM, Hannes Tschofenig wrote:
>> Hi guys, 
>> 
>> Thanks for updating the assertion document and for incorporating the comments received on the mailing list. 
>> 
>> There is only one issue that caught my attention. You changed the description of the audience element to the following text (in version -09 of http://tools.ietf.org/html/draft-ietf-oauth-assertions-09):
>> "
>>   Audience  A value that identifies the parties intended to process the
>>      assertion.  An audience value MAY be the URL of the Token Endpoint
>>      as defined in Section 3.2 of OAuth 2.0 [RFC6749].
>> "
>> 
>> Since the value in the audience field is used to by the authorization server in a comparison operation (see Section 5.2) I believe the current text will lead to interoperability problems. Not only is the comparision operation unspecified but even the value that is contained in the field is left open. The RFC 2119 MAY does not really give a lot of hints of what should be put in there. 
>> 
>> Without having a clear description of what identifier is contained in this field and how the comparison works it is either possible that a legitimate client is rejected by the authorization server (which is annoying) or an assertion with an incorrect assertion is accepted (which is a security problem). 
>> 
>> Btw, the same issue can also be seen in http://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer-04, http://tools.ietf.org/html/draft-ietf-oauth-saml2-bearer-15 and in a more generic form also in the JWT (Section 4.1.3 of http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06; "aud" claim). >From the description in the JWT document I was not quite sure whether the ability to carry an array of case sensitive strings for that field is also allowed in any of the assertion documents. 
>> 
>> Note that there are two documents that provide input to this problem space, namely:
>> http://tools.ietf.org/html/rfc6125
>> http://tools.ietf.org/html/draft-iab-identifier-comparison-07
>> 
>> So, I would suggest to decide what type of identifier goes into this field and then to point to a document that illustrates how the comparison operation would look like. Possible identifiers are domain names, IP addresses, URIs, etc. Just as an example from RFC 6125 would you allow a wildcard match (like "*.example.com") or only an equality match? Would "www.example.com" be the same as "example.com" if they resolve to the same IP address(es)?
>> 
>> Ciao
>> Hannes
>> 
>> _______________________________________________
>> 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