Re: [OAUTH-WG] Fixing the Authorization Server Mix-Up: Call for Adoption

"Donald F. Coffin" <donald.coffin@reminetworks.com> Sat, 27 February 2016 17:10 UTC

Return-Path: <donald.coffin@reminetworks.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 C153F1ACE43 for <oauth@ietfa.amsl.com>; Sat, 27 Feb 2016 09:10:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 aVnkA-UKBbI2 for <oauth@ietfa.amsl.com>; Sat, 27 Feb 2016 09:10:52 -0800 (PST)
Received: from gproxy6-pub.mail.unifiedlayer.com (gproxy6-pub.mail.unifiedlayer.com [67.222.39.168]) by ietfa.amsl.com (Postfix) with SMTP id 0CF811ACDD3 for <oauth@ietf.org>; Sat, 27 Feb 2016 09:10:51 -0800 (PST)
Received: (qmail 31392 invoked by uid 0); 27 Feb 2016 17:10:48 -0000
Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy6.mail.unifiedlayer.com with SMTP; 27 Feb 2016 17:10:48 -0000
Received: from host125.hostmonster.com ([74.220.207.125]) by cmgw2 with id PVAg1s00G2is6CS01VAjST; Sat, 27 Feb 2016 10:10:46 -0700
X-Authority-Analysis: v=2.1 cv=PPOcp5aC c=1 sm=1 tr=0 a=Ux/kOkFFYyRqKxKNbwCgLQ==:117 a=Ux/kOkFFYyRqKxKNbwCgLQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=rE68L1KyjUoA:10 a=zwqKzj3qmOAA:10 a=jFJIQSaiL_oA:10 a=DAwyPP_o2Byb1YXLmDAA:9 a=UGkfVyPCAAAA:8 a=LS6YZpeZAAAA:8 a=VVlED5B4AAAA:8 a=48vgC7mUAAAA:8 a=yMhMjlubAAAA:8 a=1XWaLZrsAAAA:8 a=yPCof4ZbAAAA:8 a=WR7ZbWLgLGow1P7xlOwA:9 a=ZSgahw6XrKnjERfw:21 a=JEBlhHPwf3ML2NKV:21 a=QEXdDO2ut3YA:10 a=3uZdkJafswoA:10 a=VQchPmBwTIUA:10 a=wNReZwrxAf8A:10 a=JOIxjCRBdi0A:10 a=SSmOFEACAAAA:8 a=ldCRhBlnqzwn4YIV:21 a=N455cIzFmNCqdlc_:21 a=L3a1n0l8VnZQk5Ls:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=reminetworks.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:In-Reply-To:References:Cc:To:From; bh=hXZ+dtE0etrWQ4iwnBZ8uEX/yUdWp3lyMEK3car61aw=; b=vivxG0gyx9RSznAu3SXljrK03vCPuaQ8Bfv6ePBRAWXttizSdV5wtDO6EvIfTTK6vQCMIdRHURttcIp+23FC76FlJdcbi9jd9mXiIBC+N1WzOtEkKe2ump/30+YGLf0G;
Received: from [162.206.229.38] (port=25534 helo=HPPavilionElite) by host125.hostmonster.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from <donald.coffin@reminetworks.com>) id 1aZiO9-0000p1-Mg; Sat, 27 Feb 2016 10:10:41 -0700
From: "Donald F. Coffin" <donald.coffin@reminetworks.com>
To: "'Brian Campbell'" <bcampbell@pingidentity.com>, "'Hannes Tschofenig'" <hannes.tschofenig@gmx.net>
References: <56C7702B.2000401@gmx.net> <BY2PR03MB442E9BF84AFA890378C5116F5A00@BY2PR03MB442.namprd03.prod.outlook.com> <56C77D92.5050203@pingidentity.com> <88DE9988-2CDB-4206-86CE-E7EFF93FB27A@oracle.com> <CAAP42hD96u0Nepdo8YcHeXEo2v1Mo=a_Zo4OcS9ppu7rU-=8Ag@mail.gmail.com> <56C8360C.8010203@gmx.net> <BY2PR03MB44257DFC0BD58DC443A5BB3F5A10@BY2PR03MB442.namprd03.prod.outlook.com> <56C83EEA.8000306@gmx.net> <BY2PR03MB442B1EFAAB9911D5569A833F5A10@BY2PR03MB442.namprd03.prod.outlook.com> <56CC21CB.7070404@connect2id.com> <56CEB0A6.4050500@gmx.net> <CA+k3eCTeAULzW+JQ0P2i8sx=+uxMKjgemaPwKKSmr0_F7MXE6w@mail.gmail.com>
In-Reply-To: <CA+k3eCTeAULzW+JQ0P2i8sx=+uxMKjgemaPwKKSmr0_F7MXE6w@mail.gmail.com>
Date: Sat, 27 Feb 2016 12:10:38 -0500
Organization: REMI Networks
Message-ID: <039a01d17181$c99bdd10$5cd39730$@reminetworks.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_039B_01D17157.E0C734A0"
X-Mailer: Microsoft Outlook 15.0
Content-Language: en-us
Thread-Index: AQHIN4/Puv2zCIwoSufeBP+WwUtTKwL5RbkwAl3bNncB8IKD9QJ1xCpiAevZkt0BNvlAqQJ3VbZWAc1p3P4CggNjxwEQI9ayAd0ZiTeenfJ1gA==
X-Identified-User: {1395:host125.hostmonster.com:reminetw:reminetworks.com} {sentby:smtp auth 162.206.229.38 authed with donald.coffin@reminetworks.com}
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/DQWRuEkiNPZAgOfUC36QpZURwNE>
Cc: 'oauth' <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Fixing the Authorization Server Mix-Up: Call for Adoption
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
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, 27 Feb 2016 17:10:54 -0000

+1

 

Best regards,

Don

Donald F. Coffin

Founder/CTO

 

REMI Networks

2335 Dunwoody Xing #E

Dunwoody, GA 30338-8221

 

Phone:      (949) 636-8571

Email:        <mailto:donald.coffin@reminetworks.com> donald.coffin@reminetworks.com

 

From: Brian Campbell [mailto:bcampbell@pingidentity.com] 
Sent: Friday, February 26, 2016 5:28 PM
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Cc: oauth <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Fixing the Authorization Server Mix-Up: Call for Adoption

 

My preference is for Option A. 

The mix-up attack, in all it's variations, relies on there being no means in OAuth for the AS to identify itself to the client when it returns the user's browser to the client's redirect_uri. 'OAuth 2.0 Mix-Up Mitigation' addresses that fundamental missing piece by including the 'iss' authorization response parameter. 

During the course of the discussions in Darmstadt Hans and I independently implemented and successfully interop tested the 'iss' and 'client_id' authorization response parameters, which is what was anticipated to be in the mitigation draft. Doing so was very simple and straightforward. And it addresses the vulnerability. We decided, unfortunately, to pull that functionality out of a looming a product release due to the churn in this WG and the perceived risk of changes in what would eventually become the standard solution. Of course, that kind of risk is always present with draft standards but it's been very frustrating in this case to have worked towards a simple solution to a known problem only to have progress get hung up in lack of agreement in this WG.     

I'll also say that in many/most cases the AS doesn't explicitly know all of the resources that tokens it issues can or will be used at (and there are often more than one). So the ruri/Resource URI parameter isn't really a workable option. 

 

 

 

On Thu, Feb 25, 2016 at 12:43 AM, Hannes Tschofenig <hannes.tschofenig@gmx.net <mailto:hannes.tschofenig@gmx.net> > wrote:

Vladimir,

yes, we could do a formal analysis and it would be a very good idea.
It would even go faster if a few of us work together on it. Anyone
interested?

This would be a good contribution for the workshop in July, btw.

Ciao
Hannes


On 02/23/2016 10:09 AM, Vladimir Dzhuvinov wrote:
> Hi Mike,
>
> You mention that you spent considerable time in research. I wonder if
> there is existing theory, in communications or information theory, that
> can be used to formally establish and prove (or disprove) the security
> of the proposed OAuth measures? Perhaps some work that is totally
> unrelated to identity and the web protocols, but could well apply here?
>
> My reasoning is that we have a closed system that is fairly simple, so
> formal analysis must be entirely possible.
>
> 1. We have 5 parties (client, AS, RS, user, user agent).
>
> 2. The OAuth protocol follows a simple and well-defined pattern of
> messages between the parties.
>
> 3. The points and the number of ways by which an adversary may break
> into OAuth must therefore be finite.
>
> 4. The security requirement is essentially to guarantee the precedence
> and authenticity of the messages from discovery endpoint to RS, and the
> preferred way to do that is by establishing a binding between the
> messages, which can be forward or backward binding.
>
>
> Right now the WG concern is whether all possible attacks have been
> recognised, and then taken care of. If we can have a formal model that
> can reliably reveal and prove that, this will be a huge breakthrough.
>
> Cheers,
>
> Vladimir
>
>
>
> On 20/02/16 12:41, Mike Jones wrote:
>> Suggesting that they be read is of course, the right long-term approach.  But as someone who spent 20+ years as a researcher before switching to digital identity, I was sensitive to not wanting to upstage their work by copying too much of their material into our draft before their publications were widely known.  I'll of course commit to working the researchers and the working group to create a self-contained concise description of the threats and mitigations in the working group document.
>>
>>                              Cheers,
>>                              -- Mike
>>
>> -----Original Message-----
>> From: Hannes Tschofenig [mailto:hannes.tschofenig@gmx.net <mailto:hannes.tschofenig@gmx.net> ]
>> Sent: Saturday, February 20, 2016 2:25 AM
>> To: Mike Jones <Michael.Jones@microsoft.com <mailto:Michael.Jones@microsoft.com> >; William Denniss <wdenniss@google.com <mailto:wdenniss@google.com> >; Phil Hunt (IDM) <phil.hunt@oracle.com <mailto:phil.hunt@oracle.com> >
>> Cc: oauth@ietf.org <mailto:oauth@ietf.org> 
>> Subject: Re: [OAUTH-WG] Fixing the Authorization Server Mix-Up: Call for Adoption
>>
>> Hi Mike,
>>
>> On 02/20/2016 10:52 AM, Mike Jones wrote:
>>> Have you read both of their publications?  If not, do yourself a favor
>>> and do.  They're actually both very readable and quite informative.
>> I have read both documents. In context of this discussion the question is whether we
>>
>> (a) require them to be read (in which case they should be a normative reference), or
>> (b) suggest them to be read (since they provide additional background information). In this case they are an informative reference.
>>
>> I believe believe we want (b) for the OAuth WG document. While I encourage everyone to read the publications I also believe that there is lots of material in there that goes beyond the information our audience typically reads (such as the text about the formal analysis).
>>
>> There is probably also a middle-ground where we either copy relevant text from the papers into the draft or reference specific sections that are "must-read".
>>
>> One other issue: I actually thought that the threat that is outlined in the research paper is sufficiently well described but the second threat, which is called 'cut-and-paste attack', requires more work.
>> I noted this in my summary mail to the list, see http://www.ietf.org/mail-archive/web/oauth/current/msg15697.html
>>
>> Ciao
>> Hannes
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org <mailto:OAuth@ietf.org> 
>> https://www.ietf.org/mailman/listinfo/oauth
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org <mailto:OAuth@ietf.org> 
> https://www.ietf.org/mailman/listinfo/oauth
>


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