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

Hannes Tschofenig <hannes.tschofenig@gmx.net> Thu, 25 February 2016 07:43 UTC

Return-Path: <hannes.tschofenig@gmx.net>
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 00A5B1A1A94 for <oauth@ietfa.amsl.com>; Wed, 24 Feb 2016 23:43:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.606
X-Spam-Level:
X-Spam-Status: No, score=-2.606 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.006, SPF_PASS=-0.001] autolearn=ham
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 H8GGLYhD4Mgb for <oauth@ietfa.amsl.com>; Wed, 24 Feb 2016 23:43:38 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B65941A1AA3 for <oauth@ietf.org>; Wed, 24 Feb 2016 23:43:37 -0800 (PST)
Received: from [192.168.10.140] ([80.92.123.193]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lpspj-1a2Whs1P55-00ff6g; Thu, 25 Feb 2016 08:43:35 +0100
To: Vladimir Dzhuvinov <vladimir@connect2id.com>, oauth@ietf.org
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>
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Openpgp: id=071A97A9ECBADCA8E31E678554D9CEEF4D776BC9
X-Enigmail-Draft-Status: N1110
Message-ID: <56CEB0A6.4050500@gmx.net>
Date: Thu, 25 Feb 2016 08:43:34 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56CC21CB.7070404@connect2id.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="Nkc2PnQb0btKwC3IAMLERSX0eVIiK8Baa"
X-Provags-ID: V03:K0:taRuu9P9VbvgwD75J7Qn27GtveEevQyo6SjXGb/DQDUEu2lM5HE H3cARVEyKfuoPJHcl1SLh6+6zZi0d9oiuu+7WCOJ5yOCgYVZN2tRXfxAmQTBMHPQi9OEozX t5Qu7awfA2H+EHJLbwKSj6NAgCIWrE06DeWRrFmY1kLaTiFQtZBZ5Tqd0sbGtt2gLLmzej1 7c6Nf7aOyyC91mxJoMUxA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:eS6kP3t0oUk=:lhYTp6qbNLZrQCz4gA9vQT 087Y8NLo5OrfFjA0BnVjk7BQwSSm8GNcFViYbpP83E4395A3xW3uu1J6iIHb2WOdlrYoZbVVa Xp/0S+25QQAkpBAXGqP+PZwtdzGtcvC5LULWgUAVsspV/IkG4uo+ATEMn8RxZJviyvj5PNXED 9/oDIiXKqXNoryAj9tJCkdWPY3yHhAr1yytLbW0rz2UGxSjnhogBalMSe5scccbhHuRV9x/8z El6wR/hBEt09cuPsvBSMk9hopThtNe4f7So+Z4b/04sJpcAP3I4D8MXH6QZvE6mCblDz0sQgh 4xXF0IHBBQjepgk7Fc17W/znIdzysjonFKjCPx10wIJLcNFVYM/3+YDH2Xvi0qg6qfQwqHVj+ 5Kylf9DVeLc2smdrtvTj94sjbWReVQWKAh77BhF5w0cSvSFACWL0KKg9mWb9NrB5NLHTsj2CR F/dttOw9YsT8LBSy3mIOVSxaSrTcGnHxbgRVQ2DRKDRAEEqPnXFHCDHCWOfHy7MbuNu9K6Ksh WKEz53FxKN+foTdZ8paMp513DgpWIQlRLj9/P0bjHpqED6/H+K/lL9WNTaN7VO6bZH+dAbtSR pPtcz3XgGrSjtEz+DpI6mt+cvro76pGu0wDeEntUag4KSPFN+4m9R6wKsIr0pkcC6f2Vkz+c/ qpQg1JI6cP2hE9R8ih59+qrigZbJuCzV0gnRhFPuB8jqxbtBZOh5bP1uY69QqiMIe8KUoiHMH NHW2ofYA1AsMCWOtYmTKk8TrR0/4B6R3ugtOsdBJKk1SQ2vjHmC8cvEKv3E=
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/3P7ZpEvbo0CGVQfXaOxelrx383k>
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: Thu, 25 Feb 2016 07:43:41 -0000

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] 
>> Sent: Saturday, February 20, 2016 2:25 AM
>> To: Mike Jones <Michael.Jones@microsoft.com>; William Denniss <wdenniss@google.com>; Phil Hunt (IDM) <phil.hunt@oracle.com>
>> Cc: 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
>> https://www.ietf.org/mailman/listinfo/oauth
> 
> 
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>