Re: [OAUTH-WG] OAuth Tokens and URI's
Jim Manico <jim@manicode.com> Fri, 09 December 2016 19:58 UTC
Return-Path: <jim@manicode.com>
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 8F5BB129548 for <oauth@ietfa.amsl.com>; Fri, 9 Dec 2016 11:58:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=manicode-com.20150623.gappssmtp.com
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 x3OsDUQNMxzZ for <oauth@ietfa.amsl.com>; Fri, 9 Dec 2016 11:58:47 -0800 (PST)
Received: from mail-wj0-x229.google.com (mail-wj0-x229.google.com [IPv6:2a00:1450:400c:c01::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00BBC1296A7 for <oauth@ietf.org>; Fri, 9 Dec 2016 11:58:46 -0800 (PST)
Received: by mail-wj0-x229.google.com with SMTP id tg4so23204134wjb.1 for <oauth@ietf.org>; Fri, 09 Dec 2016 11:58:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manicode-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=Umql7fr5QS+X5mq/su4MQqGwXYTrh+nWU+MxtuelDsc=; b=L2qOXwZn5LASSOMlxaiUAWdYqhvdObthfnlZzFliutdNeEcGv4eKM0V+f75ULMvuCL bgiZj/oZBlUNJcCrV55MMOh2xGgq1z+kaByzHEZc70WYK6IgXfq+uOeqnyUMQll9+y78 f7GF30Fns6A4Uh+BFjYlx67Jl9YOz9eE2X6Y207dP0Ea20vnayA5C6d7fnCXQnKNzOp9 pllQkflgpAkWOl3m3BulVCIiVilOzwYqH8a8RywZRaP39qOj4s+retINrl2pfQOA+W1d Dxaj6qFvsNNrEnUtunrfAH42txWXyCMCd4DYo2SVaVdrGmeauVdTKHJE+j1n7bw9Z7h/ z0Ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=Umql7fr5QS+X5mq/su4MQqGwXYTrh+nWU+MxtuelDsc=; b=Dg8plJzv45s7h5GicWcBM8XsUq8Vnz57hhMockig3h32eIICE+QQ5uBdzws2DvZGU6 +XRFvDstPqNbxyltmWmOpUuslmt2In+jcOde4r/eJZ4aKGVNH8a1HmhmCUP/BIzvTzAC hlpjdT/UTwJY/U4/t0j92WpgWJNiLZcWo7zdSKAF3y+VV8hnrE2Rb5p0mSEOQKJq3aAF OLvsnxSGEZhOOmZ3CJtynoPcZ9cGeTDwCpqSgWNR0qXtyEunt7jN/8x4JM2Mg2NBPDCS c/nrnNuJLpeNnyzL2Ez1Tc8Ximb/ILck2g0L8Erq1cWIXBBFdXc6dTuyeKmVqua6+rD3 crnQ==
X-Gm-Message-State: AKaTC00CqEGHHJGlh9UTUa2ZTsvTqSSt8U/gVJJsu41h0C8u9LfscGxDOZyMxlZbIbmm1NbT
X-Received: by 10.194.246.170 with SMTP id xx10mr50877841wjc.174.1481313525304; Fri, 09 Dec 2016 11:58:45 -0800 (PST)
Received: from heembo.local (36.42.158.77.rev.sfr.net. [77.158.42.36]) by smtp.googlemail.com with ESMTPSA id l6sm22196203wmd.5.2016.12.09.11.58.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Dec 2016 11:58:44 -0800 (PST)
To: OAuth WG <oauth@ietf.org>, Torsten Lodderstedt <torsten@lodderstedt.net>
References: <523660d6-b535-4877-2653-78be3c01b881@manicode.com>
From: Jim Manico <jim@manicode.com>
Message-ID: <583e6e3c-51dd-db2c-6e41-cb8255ff45d1@manicode.com>
Date: Fri, 09 Dec 2016 20:58:43 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <523660d6-b535-4877-2653-78be3c01b881@manicode.com>
Content-Type: multipart/alternative; boundary="------------8B499BBEF4382A0D107CEC57"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/OD5qzgB6lN9Ka0k-eMMCaygqfdY>
Subject: Re: [OAUTH-WG] OAuth Tokens and URI's
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 09 Dec 2016 19:58:49 -0000
... One more note. You mentioned in this section... o Use form post mode instead of redirect for authorization response .. This might be worth expanding on./Use form post and keep data OUT OF THE ACTION/ (which is essentially the same as a GET). Safe transport of tokens includes well configured HTTPS, POST and other verbs, and data being the body of the request, not in the action of a form. Fair? (And sorry, I missed this one the first time around) Aloha, Jim On 12/9/16 8:54 PM, Jim Manico wrote: > Torsten, > > The > https://datatracker.ietf.org/doc/draft-lodderstedt-oauth-security-topics/?include_text=1 > guide you are working on is a special kind of magic. Thank you for > taking the time to write this very important document. > > When it comes to 2.2.1, I see your great suggestion to prevent > referrer leakage. These defenses are very important, and I appreciate > how clearly you laid these out. > > But I think they skip the really core problem that web security > solutions must embrace - which I believe to be, /do not put sensitive > data in URL/GET parameters/. This goes all the way back to RFC 2616 > #9.1.1: "the GET and HEAD methods SHOULD NOT have the significance of > taking an action other than retrieval" which I feel implies "should > not do anything dangerous" including transport sensitive data. > > OAuth 2 goes pretty wild - all the way - with putting very sensitive > tokens in URIs/URLs and I have seen some solutions that break the > "standard" and POST/PUT/PATCH when they can, keeping tokens out of > POST actions, URL's and similar. Is this worth discussing? > > Thank you again for this very important and well written document. > > Aloha from Hawaii, > -- > Jim Manico > Manicode Security > https://www.manicode.com -- Jim Manico Manicode Security https://www.manicode.com
- [OAUTH-WG] OAuth Tokens and URI's Jim Manico
- Re: [OAUTH-WG] OAuth Tokens and URI's Jim Manico