Re: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer

William Mills <wmills@yahoo-inc.com> Mon, 16 April 2012 16:23 UTC

Return-Path: <wmills@yahoo-inc.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6FAF11E809C for <apps-discuss@ietfa.amsl.com>; Mon, 16 Apr 2012 09:23:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.878
X-Spam-Level:
X-Spam-Status: No, score=-16.878 tagged_above=-999 required=5 tests=[AWL=0.406, BAYES_00=-2.599, SARE_MILLIONSOF=0.315, USER_IN_DEF_WHITELIST=-15]
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 TAyno0XwOSqv for <apps-discuss@ietfa.amsl.com>; Mon, 16 Apr 2012 09:23:19 -0700 (PDT)
Received: from nm25-vm0.bullet.mail.bf1.yahoo.com (nm25-vm0.bullet.mail.bf1.yahoo.com [98.139.213.156]) by ietfa.amsl.com (Postfix) with SMTP id 99F2311E8091 for <apps-discuss@ietf.org>; Mon, 16 Apr 2012 09:23:19 -0700 (PDT)
Received: from [98.139.212.144] by nm25.bullet.mail.bf1.yahoo.com with NNFMP; 16 Apr 2012 16:23:19 -0000
Received: from [98.139.212.205] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 16 Apr 2012 16:23:19 -0000
Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 16 Apr 2012 16:23:19 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 16725.1673.bm@omp1014.mail.bf1.yahoo.com
Received: (qmail 90752 invoked by uid 60001); 16 Apr 2012 16:23:18 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1334593398; bh=fXIGkT0l/vETyDeh4qhS0ecFDGREr0SWzCw56RQERGM=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Jvx37sAVO8/ejYCxVVvmg0rO2Ff/T2XpRYcRPE3qRX7Jnuds3HjUHryWEpl3BVp+PwvVp79v5kL/LUDRrkrseVh/MpgwFpE+OCZ9UAkD+F2RxLUoIQx4QQl4+zULey3uU8mqlNZxzIiBzwQdmIE8bftN9zqDWpD1CuVTmyDrBR8=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ginc1024; d=yahoo-inc.com; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KZWJJ1Z9m9sNgD+tj0EtkBb+EwL4KuHXsjdwbB7wuNQ15ute1yvy5KRocMRI9Oj78aBJMO4VgP74IQzSag9TFyBEec0p7Q1RddmnoFyFf829/co1+oS/o983WKpdN06tZNalOuRqBHrXkGXi05DCWNXdArGYfiTP7JMwfXUT91E=;
X-YMail-OSG: T6_N.JkVM1mhH_I9iBFJZhWOt3eCWMLk5O2MD_yICqG9nmr DcQ49cHqJuIL11dktgHeSkd8knDp0vEdRTTKC8A7N23903VzRGMZ5_tpc_iP imjhY0OeGMVwkJCB4bbJddKOf3_QtQrRH2CnWKbg4T2q386Muas0p5uykP5. JAZt.tw8I3f8YDTwdrgPsgH8jZjQgoJS1CQ6Wc2oB5ptay.5xIm1lGarhTjg Hi7UUzewGhNFy_V17cmKxQUPxx.2qY2yS6sbgQpV5.BEIHgSuj6ZgRDnfybd WIfpoVkMzeTUw3TEk30XwC0ugruLUJRTMFCRMHDIjameY8CPYl7747G7.wMI TDgWPb9_lLsO8xE4Bs3Z_14t2bf_cv5ZuSvGkgLHorb1WKTQ62SVeN3BpEot MbyZb2ZRMfpPlb8nN19PAaP6cVXwd43GrKpyZVgM2exzCvrltOgKQ3tt0dFQ nVKmzNzToMIsMvZ6xO4GjCwVv
Received: from [99.31.212.42] by web31808.mail.mud.yahoo.com via HTTP; Mon, 16 Apr 2012 09:23:18 PDT
X-RocketYMMF: william_john_mills
X-Mailer: YahooMailWebService/0.8.118.349524
References: <4F866AC0.3000603@qualcomm.com> <01OE8FW1U53G00ZUIL@mauve.mrochek.com> <82462DAA-5118-4108-AA5C-FBEBBC563D4E@mnot.net> <01OE921YMRSW00ZUIL@mauve.mrochek.com> <4F8898A9.8020806@cs.tcd.ie> <CAHBU6it6vxo=B85Q7fpzsVY97QD8jtbEs-pxvWHP-81zv8Ov4g@mail.gmail.com> <sjmpqb73foo.fsf@mocana.ihtfp.org> <1334590326.6719.YahooMailNeo@web31807.mail.mud.yahoo.com> <4F8C3EFF.20103@cs.tcd.ie>
Message-ID: <1334593398.74981.YahooMailNeo@web31808.mail.mud.yahoo.com>
Date: Mon, 16 Apr 2012 09:23:18 -0700
From: William Mills <wmills@yahoo-inc.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
In-Reply-To: <4F8C3EFF.20103@cs.tcd.ie>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Cc: Ned Freed <ned.freed@mrochek.com>, "draft-ietf-oauth-v2-bearer.all@tools.ietf.org" <draft-ietf-oauth-v2-bearer.all@tools.ietf.org>, Apps Discuss <apps-discuss@ietf.org>, Mark Nottingham <mnot@mnot.net>, Pete Resnick <presnick@qualcomm.com>, Derek Atkins <derek@ihtfp.com>
Subject: Re: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: William Mills <wmills@yahoo-inc.com>
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Apr 2012 16:23:20 -0000





>________________________________
> From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
>To: William Mills <wmills@yahoo-inc.com> 
>Cc: Derek Atkins <derek@ihtfp.com>; Tim Bray <tbray@textuality.com>; Ned Freed <ned.freed@mrochek.com>; "draft-ietf-oauth-v2-bearer.all@tools.ietf.org" <draft-ietf-oauth-v2-bearer.all@tools.ietf.org>; Apps Discuss <apps-discuss@ietf.org>; Mark Nottingham <mnot@mnot.net>; Pete Resnick <presnick@qualcomm.com> 
>Sent: Monday, April 16, 2012 8:47 AM
>Subject: Re: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer
> 
>
>Hi Bill,
>
>On 04/16/2012 04:32 PM, William Mills wrote:
>> 
>> 
>> A big problem, in my opinion, is that credentials will end up in the browser history cache when they are included in the URL.  This is significant.  Unless an explicit user "sign out" in the browser invalidates all tokens issued to the browser (this is a significant revocation requirement and revocations isn't properly solved yet) then someone sitting down at the machine can recover a credential by looking in the history.
>> 
>> 
>> Note that enterprise edge proxies that are doing SSL termination may well see this, but that could be considered "their problem".  I have seen apparent evidence of 
>> large companies using egress proxies that terminate all SSL outbound at 
>> their proxy (depressingly evil), and they frequently get stuff wrong in 
>> terms of proxy settings.
>
>Right. I agree that is an issue. The draft does try to address that
>and we can chat about whether it does that well enough or not (but
>that's maybe more for the oauth list really.)
>
>But your issue is a different one from that being discussed in
>this thread. Yours is due to the value being a bearer token and
>not due to the name of the parameter being registered/reserved.

Yeah, true.  But if it's not there then it doesn't need a name.


>
>S.
>
>
>> 
>> -bill
>> 
>> 
>> 
>>> ________________________________
>>> From: Derek Atkins <derek@ihtfp.com>
>>> To: Tim Bray <tbray@textuality.com> 
>>> Cc: Ned Freed <ned.freed@mrochek.com>; draft-ietf-oauth-v2-bearer.all@tools.ietf.org; Apps Discuss <apps-discuss@ietf.org>; Mark Nottingham <mnot@mnot.net>; Pete Resnick <presnick@qualcomm.com> 
>>> Sent: Monday, April 16, 2012 7:38 AM
>>> Subject: Re: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer
>>>
>>> Tim,
>>>
>>> Tim Bray <tbray@textuality.com> writes:
>>>
>>>> As I pointed out in the other thread on this, it’s an architectural
>>>> botch. Go and look in RFC3986 and find where it discusses reserving
>>>> keywords in this part of the URI.  Hey, it’s not there!  (hint, hint)
>>>>
>>>> What *is* there is a lengthy discussion of the very important task,
>>>> done probably millions of times per second, of comparing two URIs and
>>>> deciding if they're equivalent, i.e. identify the same thing; this is
>>>> done by every piece of caching infrastructure and webcrawler.  Do all
>>>> these have to be retooled to peek in the arguments and change their
>>>> decision based on whether some bits are just outh_* crud?    (That
>>>> question is rhetorical).
>>>>
>>>> This is a deeply bad idea. -T
>>>
>>> As pointed out elsewhere on this thread by Mike Jones, caches, crawlers,
>>> and other middleware will never see this because the bearer token MUST
>>> be protected by SSL/TLS.  So no, nothing needs to be retooled because
>>> nothing will see it.
>>>
>>> -derek
>>>
>>> -- 
>>>        Derek Atkins                 617-623-3745
>>>      derek@ihtfp.com            www.ihtfp.com
>>>        Computer and Internet Security Consultant
>>> _______________________________________________
>>> apps-discuss mailing list
>>> apps-discuss@ietf.org
>>> https://www.ietf.org/mailman/listinfo/apps-discuss
>>>
>>>
>>>
>
>
>