Re: [OAUTH-WG] WGLC on draft-ietf-oauth-v2-threatmodel-01, ends 9 Dec 2011

Justin Richer <jricher@mitre.org> Thu, 05 January 2012 15:55 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 7901321F8800 for <oauth@ietfa.amsl.com>; Thu, 5 Jan 2012 07:55:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level:
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dTHehpYDC9SW for <oauth@ietfa.amsl.com>; Thu, 5 Jan 2012 07:55:18 -0800 (PST)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id 5404621F870C for <oauth@ietf.org>; Thu, 5 Jan 2012 07:55:18 -0800 (PST)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id B3B9621B0A71 for <oauth@ietf.org>; Thu, 5 Jan 2012 10:55:13 -0500 (EST)
Received: from IMCCAS01.MITRE.ORG (imccas01.mitre.org [129.83.29.78]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 8675521B0A39 for <oauth@ietf.org>; Thu, 5 Jan 2012 10:55:13 -0500 (EST)
Received: from [129.83.50.12] (129.83.31.51) by IMCCAS01.MITRE.ORG (129.83.29.78) with Microsoft SMTP Server (TLS) id 14.1.339.1; Thu, 5 Jan 2012 10:55:13 -0500
Message-ID: <4F05C7B8.4070204@mitre.org>
Date: Thu, 05 Jan 2012 10:54:32 -0500
From: Justin Richer <jricher@mitre.org>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0
MIME-Version: 1.0
To: oauth@ietf.org
References: <CALaySJKhYQQdmjvWBLS3mwzzrDt35jfDn2xZCuDOk=hpwEUiKQ@mail.gmail.com> <CAC4RtVDyiuqCGO25nZQEVxi0uchTi2gu_peh=+FwmWwZsQ=LEQ@mail.gmail.com> <CAC4RtVCvnz7n9Ei08h7QRruesJ=GeOMOOvBkNAVmcc8_gzg7QQ@mail.gmail.com> <8AB6F5CC-E9A2-4A07-9AA0-83FB7C67A221@oracle.com> <4EEA3951.5010904@mtcc.com> <OF6C9EBE7C.1B053FE3-ON80257968.003C02DF-80257968.003CAA12@ie.ibm.com> <4EEB5BDD.7080401@mtcc.com> <4F038CB9.1040403@mtcc.com> <F674B8D6-54D6-4B39-A494-9D7EB6E058D6@oracle.com> <4F0394D6.1090006@mtcc.com> <OFD88021B6.E1FD29B9-ON8025797B.004036CF-8025797B.00404EA6@ie.ibm.com> <4F04AAAE.6080702@mtcc.com> <4F04ACE4.1070006@stpeter.im> <4F04B101.3070708@mtcc.com> <OF0587BA9E.B7B40207-ON8025797B.00702BFB-8025797B.007103EA@ie.ibm.com> <CALaySJLcFGyt97OVFZY34kZSjp2bKRqiH_JSDQQaO-aTjSWh2g@mail.gmail.com> <4F04BF70.3010501@mtcc.com> <1325720576.43079.YahooMailNeo@web31816.mail.mud.yahoo.com> <4F04E79B.1030604@mtcc.com>
In-Reply-To: <4F04E79B.1030604@mtcc.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [129.83.31.51]
Subject: Re: [OAUTH-WG] WGLC on draft-ietf-oauth-v2-threatmodel-01, ends 9 Dec 2011
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: Thu, 05 Jan 2012 15:55:19 -0000

I'm OK with the threat document including a line this this, or Eran's 
proposed text, in the introduction to what OAuth can and can't do. It's 
important to set scope appropriately. (and I am very sorry for that pun)

However, the contention about native apps that Mike brings up is 
misleading for one key reason: if the user's browser is compromised 
(which is the attack vector in question), then all OAuth-backed webapps 
will *also* be compromised, since the bad party can just grab the data 
on its way to the screen. And if the user downloads malware masquerading 
as a good app (which OAuth *can* protect against by using client secrets 
in some circumstances and trusted callback urls in others), and they 
approve the bad app, then they're hosed too.

So, no, OAuth won't protect you against malware-infested browsers or 
against phishing. It significantly reduces but does not eliminate 
security threats, and (a point that hasn't been brought up) it 
significantly eases the cleanup burden on users and service providers in 
the case of a breach. If this really is a confusing point to people, we 
can say that in the threat document, and Bill's text would do that, 
without the addendum about native clients. I believe that the native 
client text that speaks about embedded vs. external browsers is already 
clear on this matter -- but if someone has better text (as in, 
"paragraph X should say the following exact words", not "it needs to be 
better"), then we can incorporate it.

Even so, I do think it's clear from what text we already have. It would 
be superfluous but not burdensome to add extra text into the threat 
model document (not core) as has been proposed here by Bill and 
previously be Eran.

  -- Justin

On 01/04/2012 06:58 PM, Michael Thomas wrote:
> On 01/04/2012 03:42 PM, William Mills wrote:
>> I think the threat draft should simply say, "OAuth does not and can 
>> not protect the user against credential compromise as a result of 
>> phishing, malware, social engineering, or machine compromise."
>
> I could live with something like this, but I think it needs to be much 
> more
> explicit that it applies to any authentication service that allows 
> native apps as clients
> with no form of strong app vetting. It may even be useful to point to 
> a couple of
> large deployments who are at risk from this, like, oh say, twitterbook.
>
> If this draft doesn't take a strong stand against that practice, it's 
> doing nothing
> more than giving a wink and a nod that what twitterbook is currently 
> doing is safe.
> That's bad, but I suspect it's the elephant in the room.
>
> Mike
>
>>
>> Get rid of the fancy rhetoric, we don't need to explain a lot more 
>> than this.
>>
>> I don't agree that OAuth purports to solve these problems. What it 
>> solves is limiting the credentials granted to allow the user more 
>> control and limited damage in the event of credential misuse.
>>
>> -bill
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
>>
> -- 
>> *From:* Michael Thomas <mike@mtcc.com>
>> *To:* Barry Leiba <barryleiba@computer.org>
>> *Cc:* oauth WG <oauth@ietf.org>
>> *Sent:* Wednesday, January 4, 2012 1:06 PM
>> *Subject:* Re: [OAUTH-WG] WGLC on draft-ietf-oauth-v2-threatmodel-01, 
>> ends 9 Dec 2011
>>
>> On 01/04/2012 12:41 PM, Barry Leiba wrote:
>> > up being a compromised browser or a native application that the user
>> > perhaps unwisely installed, all the security in the framework goes out
>>     ^^^^^^^^^
>> > the window, because an untrustworthy UA can fiddle with pretty much
>> > everything.
>> >
>>
>> I think the "perhaps unwisely" goes to the heart of my objection. You
>> might as well be talking about "perhaps unwisely" driving a car,
>> or "perhaps unwisely" eating food: the reality is that people download
>> apps by the *billions*.  When I was initially blown off, many of the
>> participants including document editors implied that only idiots get
>> apps for their phones. That is *completely* unhelpful as the reality
>> is that OAUTH's use is hugely if not primarily deployed in that sort of
>> environment.
>>
>> This is a threat that cuts to the very heart of what OAUTH is, and 
>> purports
>> to defend against: keeping user credentials out of the hands of an
>> untrusted third party. If there really aren't any good ways to 
>> mitigate this
>> in an app environment, why is OAUTH being deployed so aggressively 
>> there?
>> Shouldn't the threat draft say in blinking bold: "DEPLOYING OAUTH
>> IN NATIVE APPS CONSIDERED HARMFUL"?
>>
>> Mike
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth