
From ietf@adambarth.com  Fri Feb  4 17:56:26 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2D9B93A68FD for <websec@core3.amsl.com>; Fri,  4 Feb 2011 17:56:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[AWL=-0.719, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G085KCb7wVWz for <websec@core3.amsl.com>; Fri,  4 Feb 2011 17:56:25 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 5A5C53A69B0 for <websec@ietf.org>; Fri,  4 Feb 2011 17:56:25 -0800 (PST)
Received: by vws7 with SMTP id 7so2019523vws.31 for <websec@ietf.org>; Fri, 04 Feb 2011 17:59:51 -0800 (PST)
Received: by 10.220.91.212 with SMTP id o20mr3065580vcm.140.1296871191244; Fri, 04 Feb 2011 17:59:51 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by mx.google.com with ESMTPS id c8sm612277vcc.9.2011.02.04.17.59.50 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Feb 2011 17:59:50 -0800 (PST)
Received: by vws7 with SMTP id 7so2019513vws.31 for <websec@ietf.org>; Fri, 04 Feb 2011 17:59:49 -0800 (PST)
Received: by 10.220.182.71 with SMTP id cb7mr3504062vcb.73.1296871189412; Fri, 04 Feb 2011 17:59:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.165.212 with HTTP; Fri, 4 Feb 2011 17:59:19 -0800 (PST)
From: Adam Barth <ietf@adambarth.com>
Date: Fri, 4 Feb 2011 17:59:19 -0800
Message-ID: <AANLkTi=Sop4F4OBWAmBGLsr=ZN8p1xC8w19WF--YU_tA@mail.gmail.com>
To: websec <websec@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Subject: [websec] draft-ietf-websec-mime-sniff-02
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 01:56:26 -0000

I've uploaded a new draft of the media type sniffing document:

http://www.ietf.org/id/draft-ietf-websec-mime-sniff-02.txt

This version includes support for H.264 and contains a hook for
sniffing for video specifically.  (Although now that I look at it, I
realize that I've goofed it up and forgotten to include Ogg---will fix
in next version.)

The H.264 signature is somewhat more complex than the other
signatures, but it appears to be necessary due to the structure of
H.264 video files.  Please let me know that that signature will cause
any trouble for you.

Thanks,
Adam

From ietf@adambarth.com  Fri Feb  4 17:57:26 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E5FF73A659C for <websec@core3.amsl.com>; Fri,  4 Feb 2011 17:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.192
X-Spam-Level: 
X-Spam-Status: No, score=-3.192 tagged_above=-999 required=5 tests=[AWL=-1.215, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dPG74eFhoh4X for <websec@core3.amsl.com>; Fri,  4 Feb 2011 17:57:26 -0800 (PST)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by core3.amsl.com (Postfix) with ESMTP id 17A003A6875 for <websec@ietf.org>; Fri,  4 Feb 2011 17:57:26 -0800 (PST)
Received: by vxi40 with SMTP id 40so999994vxi.31 for <websec@ietf.org>; Fri, 04 Feb 2011 18:00:52 -0800 (PST)
Received: by 10.220.198.134 with SMTP id eo6mr3180571vcb.277.1296871252291; Fri, 04 Feb 2011 18:00:52 -0800 (PST)
Received: from mail-vx0-f172.google.com ([209.85.220.172]) by mx.google.com with ESMTPS id i1sm1057626vby.1.2011.02.04.18.00.50 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Feb 2011 18:00:51 -0800 (PST)
Received: by vxi40 with SMTP id 40so999980vxi.31 for <websec@ietf.org>; Fri, 04 Feb 2011 18:00:50 -0800 (PST)
Received: by 10.220.182.9 with SMTP id ca9mr3516335vcb.3.1296871250284; Fri, 04 Feb 2011 18:00:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.165.212 with HTTP; Fri, 4 Feb 2011 18:00:20 -0800 (PST)
In-Reply-To: <AANLkTi=Sop4F4OBWAmBGLsr=ZN8p1xC8w19WF--YU_tA@mail.gmail.com>
References: <AANLkTi=Sop4F4OBWAmBGLsr=ZN8p1xC8w19WF--YU_tA@mail.gmail.com>
From: Adam Barth <ietf@adambarth.com>
Date: Fri, 4 Feb 2011 18:00:20 -0800
Message-ID: <AANLkTik21mpStD5afYX2khKjiMmW=SPT+kz_nYM+eofF@mail.gmail.com>
To: websec <websec@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [websec] draft-ietf-websec-mime-sniff-02
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 01:57:27 -0000

I should also say that I've added a section for fonts, but I didn't
know what to write there.  If you know something about sniffing for
fonts, please let me know.

Thanks,
Adam


On Fri, Feb 4, 2011 at 5:59 PM, Adam Barth <ietf@adambarth.com> wrote:
> I've uploaded a new draft of the media type sniffing document:
>
> http://www.ietf.org/id/draft-ietf-websec-mime-sniff-02.txt
>
> This version includes support for H.264 and contains a hook for
> sniffing for video specifically. =A0(Although now that I look at it, I
> realize that I've goofed it up and forgotten to include Ogg---will fix
> in next version.)
>
> The H.264 signature is somewhat more complex than the other
> signatures, but it appears to be necessary due to the structure of
> H.264 video files. =A0Please let me know that that signature will cause
> any trouble for you.
>
> Thanks,
> Adam
>

From Internet-Drafts@ietf.org  Fri Feb  4 18:00:04 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9B1123A6A3D; Fri,  4 Feb 2011 18:00:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yyeE64qpIC6z; Fri,  4 Feb 2011 18:00:01 -0800 (PST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9367E3A659C; Fri,  4 Feb 2011 18:00:01 -0800 (PST)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.12
Message-ID: <20110205020001.14052.17588.idtracker@localhost>
Date: Fri, 04 Feb 2011 18:00:01 -0800
Cc: websec@ietf.org
Subject: [websec] I-D Action:draft-ietf-websec-mime-sniff-02.txt
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 02:00:04 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Web Security Working Group of the IETF.


	Title           : Media Type Sniffing
	Author(s)       : A. Barth, I. Hickson
	Filename        : draft-ietf-websec-mime-sniff-02.txt
	Pages           : 23
	Date            : 2011-02-04

Many web servers supply incorrect Content-Type header fields with
their HTTP responses.  In order to be compatible with these servers,
user agents consider the content of HTTP responses as well as the
Content-Type header fields when determining the effective media type
of the response.  This document describes an algorithm for
determining the effective media type of HTTP responses that balances
security and compatibility considerations.

Please send feedback on this draft to websec@ietf.org.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-websec-mime-sniff-02.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-websec-mime-sniff-02.txt"; site="ftp.ietf.org";
	access-type="anon-ftp"; directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-02-04175216.I-D@ietf.org>


--NextPart--

From yuhongbao_386@hotmail.com  Sat Feb  5 00:21:10 2011
Return-Path: <yuhongbao_386@hotmail.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F1AF73A6888 for <websec@core3.amsl.com>; Sat,  5 Feb 2011 00:21:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.945
X-Spam-Level: 
X-Spam-Status: No, score=-0.945 tagged_above=-999 required=5 tests=[AWL=-0.135, BAYES_05=-1.11, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uQEYKsVZVQVR for <websec@core3.amsl.com>; Sat,  5 Feb 2011 00:21:09 -0800 (PST)
Received: from snt0-omc1-s17.snt0.hotmail.com (snt0-omc1-s17.snt0.hotmail.com [65.55.90.28]) by core3.amsl.com (Postfix) with ESMTP id 1EC453A68DF for <websec@ietf.org>; Sat,  5 Feb 2011 00:21:09 -0800 (PST)
Received: from SNT125-W45 ([65.55.90.7]) by snt0-omc1-s17.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);  Sat, 5 Feb 2011 00:24:35 -0800
Message-ID: <SNT125-W45845C3739DFF5A27A37B9C3E90@phx.gbl>
X-Originating-IP: [71.112.243.235]
From: Yuhong Bao <yuhongbao_386@hotmail.com>
To: <websec@ietf.org>
Date: Sat, 5 Feb 2011 00:24:35 -0800
Importance: Normal
Content-Type: text/plain; charset="windows-1256"
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
X-OriginalArrivalTime: 05 Feb 2011 08:24:35.0978 (UTC) FILETIME=[1F8D9EA0:01CBC50E]
X-Mailman-Approved-At: Sat, 05 Feb 2011 13:24:01 -0800
Subject: [websec] =?windows-1256?q?On_draft-ietf-websec-mime-sniff-01=2E?= =?windows-1256?b?Li7+?=
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 08:21:10 -0000

<!-- is a generic SGML/XML comment. It does not indicate the content is HTML.
 
Yuhong Bao 		 	   		  

From ietf@adambarth.com  Sat Feb  5 13:36:59 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A97793A69E9 for <websec@core3.amsl.com>; Sat,  5 Feb 2011 13:36:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.074
X-Spam-Level: 
X-Spam-Status: No, score=0.074 tagged_above=-999 required=5 tests=[FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LlLgFi2YuQWu for <websec@core3.amsl.com>; Sat,  5 Feb 2011 13:36:59 -0800 (PST)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id C17773A69B7 for <websec@ietf.org>; Sat,  5 Feb 2011 13:36:55 -0800 (PST)
Received: by gyd12 with SMTP id 12so1504160gyd.31 for <websec@ietf.org>; Sat, 05 Feb 2011 13:36:55 -0800 (PST)
Received: by 10.236.95.17 with SMTP id o17mr9514303yhf.35.1296941815226; Sat, 05 Feb 2011 13:36:55 -0800 (PST)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by mx.google.com with ESMTPS id 46sm1532497yhl.12.2011.02.05.13.36.53 (version=SSLv3 cipher=RC4-MD5); Sat, 05 Feb 2011 13:36:54 -0800 (PST)
Received: by iwc10 with SMTP id 10so3670243iwc.31 for <websec@ietf.org>; Sat, 05 Feb 2011 13:36:52 -0800 (PST)
Received: by 10.231.30.73 with SMTP id t9mr15231899ibc.64.1296941812806; Sat, 05 Feb 2011 13:36:52 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.35.13 with HTTP; Sat, 5 Feb 2011 13:36:22 -0800 (PST)
In-Reply-To: <SNT125-W45845C3739DFF5A27A37B9C3E90@phx.gbl>
References: <SNT125-W45845C3739DFF5A27A37B9C3E90@phx.gbl>
From: Adam Barth <ietf@adambarth.com>
Date: Sat, 5 Feb 2011 13:36:22 -0800
Message-ID: <AANLkTimVr0b87qDTdprw_Z+-SWrWSderc0_3JR617SiX@mail.gmail.com>
To: Yuhong Bao <yuhongbao_386@hotmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: websec@ietf.org
Subject: Re: [websec] =?utf-8?q?On_draft-ietf-websec-mime-sniff-01=2E=2E=2E?= =?utf-8?b?4oCP?=
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 21:36:59 -0000

On Sat, Feb 5, 2011 at 12:24 AM, Yuhong Bao <yuhongbao_386@hotmail.com> wrote:
> <!-- is a generic SGML/XML comment. It does not indicate the content is HTML.

Indeed.  However, that's the way the sniffing algorithm works.

Adam

From annevk@opera.com  Sat Feb  5 14:44:23 2011
Return-Path: <annevk@opera.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 970953A6A86 for <websec@core3.amsl.com>; Sat,  5 Feb 2011 14:44:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level: 
X-Spam-Status: No, score=-4 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C4b69+vq2kER for <websec@core3.amsl.com>; Sat,  5 Feb 2011 14:44:22 -0800 (PST)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id 515543A694A for <websec@ietf.org>; Sat,  5 Feb 2011 14:44:22 -0800 (PST)
Received: from anne-van-kesterens-macbook-pro.local (33.115.34.95.customer.cdi.no [95.34.115.33]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p15MiHPc023841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 5 Feb 2011 22:44:18 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: websec <websec@ietf.org>, "Adam Barth" <ietf@adambarth.com>
References: <AANLkTi=Sop4F4OBWAmBGLsr=ZN8p1xC8w19WF--YU_tA@mail.gmail.com> <AANLkTik21mpStD5afYX2khKjiMmW=SPT+kz_nYM+eofF@mail.gmail.com>
Date: Sat, 05 Feb 2011 23:44:17 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Anne van Kesteren" <annevk@opera.com>
Organization: Opera Software
Message-ID: <op.vqgb32uw64w2qv@anne-van-kesterens-macbook-pro.local>
In-Reply-To: <AANLkTik21mpStD5afYX2khKjiMmW=SPT+kz_nYM+eofF@mail.gmail.com>
User-Agent: Opera Mail/11.01 (MacIntel)
X-Scanned-By: MIMEDefang 2.64 on 213.236.208.81
Subject: Re: [websec] draft-ietf-websec-mime-sniff-02
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 22:44:23 -0000

On Sat, 05 Feb 2011 03:00:20 +0100, Adam Barth <ietf@adambarth.com> wrote:
> I should also say that I've added a section for fonts, but I didn't
> know what to write there.  If you know something about sniffing for
> fonts, please let me know.

I wonder if my email got caught in your spam filter, and if it did,  
whether this one will too... However, I posted the details of font  
sniffing here:

http://www.ietf.org/mail-archive/web/websec/current/msg00235.html


-- 
Anne van Kesteren
http://annevankesteren.nl/

From ietf@adambarth.com  Sat Feb  5 14:47:18 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3B10F3A6A86 for <websec@core3.amsl.com>; Sat,  5 Feb 2011 14:47:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.152
X-Spam-Level: 
X-Spam-Status: No, score=-0.152 tagged_above=-999 required=5 tests=[AWL=0.226,  FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rm39hsU+D0-4 for <websec@core3.amsl.com>; Sat,  5 Feb 2011 14:47:17 -0800 (PST)
Received: from mail-yi0-f44.google.com (mail-yi0-f44.google.com [209.85.218.44]) by core3.amsl.com (Postfix) with ESMTP id 070BB3A69D4 for <websec@ietf.org>; Sat,  5 Feb 2011 14:47:16 -0800 (PST)
Received: by yie19 with SMTP id 19so1523280yie.31 for <websec@ietf.org>; Sat, 05 Feb 2011 14:47:16 -0800 (PST)
Received: by 10.100.163.4 with SMTP id l4mr1498588ane.208.1296946036031; Sat, 05 Feb 2011 14:47:16 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx.google.com with ESMTPS id e24sm2978865ana.22.2011.02.05.14.47.14 (version=SSLv3 cipher=RC4-MD5); Sat, 05 Feb 2011 14:47:14 -0800 (PST)
Received: by iym1 with SMTP id 1so3106835iym.31 for <websec@ietf.org>; Sat, 05 Feb 2011 14:47:13 -0800 (PST)
Received: by 10.231.17.193 with SMTP id t1mr2967944iba.89.1296946033426; Sat, 05 Feb 2011 14:47:13 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.35.13 with HTTP; Sat, 5 Feb 2011 14:46:43 -0800 (PST)
In-Reply-To: <op.vqgb32uw64w2qv@anne-van-kesterens-macbook-pro.local>
References: <AANLkTi=Sop4F4OBWAmBGLsr=ZN8p1xC8w19WF--YU_tA@mail.gmail.com> <AANLkTik21mpStD5afYX2khKjiMmW=SPT+kz_nYM+eofF@mail.gmail.com> <op.vqgb32uw64w2qv@anne-van-kesterens-macbook-pro.local>
From: Adam Barth <ietf@adambarth.com>
Date: Sat, 5 Feb 2011 14:46:43 -0800
Message-ID: <AANLkTikO7_-RL-wgN2_UCn_dCJqBYYQf58zNtxfzR-az@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: websec <websec@ietf.org>
Subject: Re: [websec] draft-ietf-websec-mime-sniff-02
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Feb 2011 22:47:18 -0000

On Sat, Feb 5, 2011 at 2:44 PM, Anne van Kesteren <annevk@opera.com> wrote:
> On Sat, 05 Feb 2011 03:00:20 +0100, Adam Barth <ietf@adambarth.com> wrote=
:
>>
>> I should also say that I've added a section for fonts, but I didn't
>> know what to write there. =A0If you know something about sniffing for
>> fonts, please let me know.
>
> I wonder if my email got caught in your spam filter, and if it did, wheth=
er
> this one will too... However, I posted the details of font sniffing here:
>
> http://www.ietf.org/mail-archive/web/websec/current/msg00235.html

Thanks.  I must have missed it somehow.

Adam

From stpeter@stpeter.im  Thu Feb 10 15:12:49 2011
Return-Path: <stpeter@stpeter.im>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C2FFF3A6AF1 for <websec@core3.amsl.com>; Thu, 10 Feb 2011 15:12:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yUARwwk3T5Ck for <websec@core3.amsl.com>; Thu, 10 Feb 2011 15:12:48 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C73F83A6849 for <websec@ietf.org>; Thu, 10 Feb 2011 15:12:48 -0800 (PST)
Received: from dhcp-64-101-72-185.cisco.com (dhcp-64-101-72-185.cisco.com [64.101.72.185]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 10FD540CFC for <websec@ietf.org>; Thu, 10 Feb 2011 16:30:38 -0700 (MST)
Message-ID: <4D5470FC.1000002@stpeter.im>
Date: Thu, 10 Feb 2011 16:13:00 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: websec@ietf.org
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms040602030203010903080901"
Subject: [websec] meeting in Prague?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Feb 2011 23:12:49 -0000

This is a cryptographically signed message in MIME format.

--------------ms040602030203010903080901
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I assume this working group will want to meet in Prague at IETF 80. This
is just a reminder that the deadline for meeting requests is coming up
soon. :)

http://www.ietf.org/meeting/cutoff-dates-2011.html#IETF80

Peter

--=20
Peter Saint-Andre
https://stpeter.im/




--------------ms040602030203010903080901
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW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ms040602030203010903080901--

From tobias.gondrom@gondrom.org  Thu Feb 10 15:36:54 2011
Return-Path: <tobias.gondrom@gondrom.org>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 248F53A6AF7 for <websec@core3.amsl.com>; Thu, 10 Feb 2011 15:36:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -95.362
X-Spam-Level: 
X-Spam-Status: No, score=-95.362 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_DE=0.35, RDNS_DYNAMIC=0.1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ktuLIdjNg+CI for <websec@core3.amsl.com>; Thu, 10 Feb 2011 15:36:53 -0800 (PST)
Received: from lvps83-169-7-107.dedicated.hosteurope.de (lvps83-169-7-107.dedicated.hosteurope.de [83.169.7.107]) by core3.amsl.com (Postfix) with ESMTP id B311F3A6A6B for <websec@ietf.org>; Thu, 10 Feb 2011 15:36:52 -0800 (PST)
DomainKey-Signature: a=rsa-sha1;  q=dns; c=nofws; s=default; d=gondrom.org; b=tfBzMQsvtbshmSV+dBZZVsx96dAyvICGzGJ8ok0cMJQH7RLYecgRxhLoJkkHHiFlEjWXeWaWzTy+FTvBu4owEycEdaQWyrteFs6LFDRBuxztcsukB9OL8vlAlUvfx8P9; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:Content-Transfer-Encoding;
Received: (qmail 28563 invoked from network); 11 Feb 2011 00:36:42 +0100
Received: from unknown (HELO seraphim.heaven) (62.28.47.6) by lvps83-169-7-107.dedicated.hosteurope.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 11 Feb 2011 00:36:42 +0100
Message-ID: <4D547691.1060704@gondrom.org>
Date: Thu, 10 Feb 2011 23:36:49 +0000
From: Tobias Gondrom <tobias.gondrom@gondrom.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: websec@ietf.org
References: <4D5470FC.1000002@stpeter.im>
In-Reply-To: <4D5470FC.1000002@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [websec]  meeting in Prague - agenda topics?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Feb 2011 23:36:54 -0000

(Thank you Peter for the reminder, I actually already scheduled a
2h-slot for Prague for websec, but seems it got stuck in the workflow
after some connectivity problems. Just did resend it again and it is
registered now.)

Dear fellow websec colleagues,

I know it's still nearly two months until Prague, but as I need to
prepare the agenda for our meeting slot in Prague, I would like to ask
you for any topics you would like to discuss.

Some topics that might come to mind:
- requirements document (we are still missing the first draft)
- mime-sniff (what do we need to progress/any controversial discussions?)
- http-headers (X-Frame-Options, ...?)
- origin
- CSP http-header
- ...?

And as a small reminder for the draft authors: the cut-off dates for
00-version is 2011-02-28 and for revised IDs it's the 2011-03-14. ;-)

I am currently at the OWASP web security summit, and there's a very
interesting browser security track, so hope to get and bring some more
input ideas from there.

Best regards and many greetings,

Tobias
(chair of websec)




On 02/10/2011 11:13 PM, Peter Saint-Andre wrote:
> I assume this working group will want to meet in Prague at IETF 80. This
> is just a reminder that the deadline for meeting requests is coming up
> soon. :)
>
> http://www.ietf.org/meeting/cutoff-dates-2011.html#IETF80
>
> Peter
>
>
>
> _______________________________________________
> websec mailing list
> websec@ietf.org
> https://www.ietf.org/mailman/listinfo/websec


From stpeter@stpeter.im  Thu Feb 17 14:31:27 2011
Return-Path: <stpeter@stpeter.im>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A3ED53A6D31 for <websec@core3.amsl.com>; Thu, 17 Feb 2011 14:31:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jskEwNVSCmWH for <websec@core3.amsl.com>; Thu, 17 Feb 2011 14:31:26 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 12A4C3A6781 for <websec@ietf.org>; Thu, 17 Feb 2011 14:31:23 -0800 (PST)
Received: from dhcp-64-101-72-185.cisco.com (dhcp-64-101-72-185.cisco.com [64.101.72.185]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3FA77403CD for <websec@ietf.org>; Thu, 17 Feb 2011 15:50:09 -0700 (MST)
Message-ID: <4D5DA1D9.8050701@stpeter.im>
Date: Thu, 17 Feb 2011 15:31:53 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: websec@ietf.org
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080301080509020005090809"
Subject: [websec] Web Object Encryption and Signing (WOES)
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Feb 2011 22:31:27 -0000

This is a cryptographically signed message in MIME format.

--------------ms080301080509020005090809
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Dear WEBSECcers,

You might want to know that some of your fellow IETF participants have
established a dedicated email list for discussion about requirements and
potential implementation of JSON to provide security services for
Web-based applications. You can subscribe here:

https://www.ietf.org/mailman/listinfo/woes

In addition, an informal side meeting is planned for this topic at IETF
80 in Prague during the week of March 28.

Peter

--=20
Peter Saint-Andre
https://stpeter.im/




--------------ms080301080509020005090809
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlc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CSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBRBprNl4xsLu/cjuB+e5/8YA0khGhYVYfIz2LF0+0aWvYpqkciB2wbSX2n
+vCkj+92zWb9fg9NtRpWYrJ5MdxZ6igdtcFpcAhDs1ATR5ljXzwU5mQ+RX2zLDtP3JnOTKbo
h6FRE2tv0u6aT026qoejl9VoK1fh97iJFUcTtnYKBT/QQpElqUIe4NIb0Sgh+JDqt40LYMm0
1SWr/g/Abi+j1fu+cXnuwqwpeupydLIhXIj9MwqPXS57Sbyeer9wrzgOhJnI+S1gGTwZ+nkq
dy67j45wCX/ziE3YITkMSFxHOpXSl+r8MLss9hwQsjk99yGTObQp2lAGJeO/WI9OKVkuAAAA
AAAA
--------------ms080301080509020005090809--

From acooper@cdt.org  Fri Feb 18 10:48:49 2011
Return-Path: <acooper@cdt.org>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 26EC73A6E28 for <websec@core3.amsl.com>; Fri, 18 Feb 2011 10:48:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2w8bDJgz9bhl for <websec@core3.amsl.com>; Fri, 18 Feb 2011 10:48:47 -0800 (PST)
Received: from mail.maclaboratory.net (mail.maclaboratory.net [209.190.215.232]) by core3.amsl.com (Postfix) with ESMTP id A8FB03A6D60 for <websec@ietf.org>; Fri, 18 Feb 2011 10:48:47 -0800 (PST)
Received: from localhost ([127.0.0.1]) by mail.maclaboratory.net (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Fri, 18 Feb 2011 13:49:12 -0500
Message-Id: <73BCEF8B-FB1E-4FA8-B39C-A1D313108901@cdt.org>
From: Alissa Cooper <acooper@cdt.org>
To: Tobias Gondrom <tobias.gondrom@gondrom.org>
In-Reply-To: <4D547691.1060704@gondrom.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Fri, 18 Feb 2011 18:49:07 +0000
References: <4D5470FC.1000002@stpeter.im> <4D547691.1060704@gondrom.org>
X-Mailer: Apple Mail (2.936)
Cc: websec@ietf.org
Subject: Re: [websec] meeting in Prague - agenda topics?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Feb 2011 18:48:49 -0000

There might be a -00 draft related to some of the Do Not Track header  
work that has been going on (e.g., https://bugzilla.mozilla.org/show_bug.cgi?id=628197) 
  -- would be nice to have a little time on the agenda for it if  
there's room.

Alissa

On Feb 10, 2011, at 11:36 PM, Tobias Gondrom wrote:

> (Thank you Peter for the reminder, I actually already scheduled a
> 2h-slot for Prague for websec, but seems it got stuck in the workflow
> after some connectivity problems. Just did resend it again and it is
> registered now.)
>
> Dear fellow websec colleagues,
>
> I know it's still nearly two months until Prague, but as I need to
> prepare the agenda for our meeting slot in Prague, I would like to ask
> you for any topics you would like to discuss.
>
> Some topics that might come to mind:
> - requirements document (we are still missing the first draft)
> - mime-sniff (what do we need to progress/any controversial  
> discussions?)
> - http-headers (X-Frame-Options, ...?)
> - origin
> - CSP http-header
> - ...?
>
> And as a small reminder for the draft authors: the cut-off dates for
> 00-version is 2011-02-28 and for revised IDs it's the 2011-03-14. ;-)
>
> I am currently at the OWASP web security summit, and there's a very
> interesting browser security track, so hope to get and bring some more
> input ideas from there.
>
> Best regards and many greetings,
>
> Tobias
> (chair of websec)
>
>
>
>
> On 02/10/2011 11:13 PM, Peter Saint-Andre wrote:
>> I assume this working group will want to meet in Prague at IETF 80.  
>> This
>> is just a reminder that the deadline for meeting requests is coming  
>> up
>> soon. :)
>>
>> http://www.ietf.org/meeting/cutoff-dates-2011.html#IETF80
>>
>> Peter
>>
>>
>>
>> _______________________________________________
>> websec mailing list
>> websec@ietf.org
>> https://www.ietf.org/mailman/listinfo/websec
>
> _______________________________________________
> websec mailing list
> websec@ietf.org
> https://www.ietf.org/mailman/listinfo/websec
>



From tobias.gondrom@gondrom.org  Sun Feb 20 11:39:35 2011
Return-Path: <tobias.gondrom@gondrom.org>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9081D3A6D60 for <websec@core3.amsl.com>; Sun, 20 Feb 2011 11:39:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -95.362
X-Spam-Level: 
X-Spam-Status: No, score=-95.362 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_DE=0.35, RDNS_DYNAMIC=0.1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oDXZChi-Ym59 for <websec@core3.amsl.com>; Sun, 20 Feb 2011 11:39:34 -0800 (PST)
Received: from lvps83-169-7-107.dedicated.hosteurope.de (lvps83-169-7-107.dedicated.hosteurope.de [83.169.7.107]) by core3.amsl.com (Postfix) with ESMTP id BD4F93A6D2B for <websec@ietf.org>; Sun, 20 Feb 2011 11:39:33 -0800 (PST)
DomainKey-Signature: a=rsa-sha1;  q=dns; c=nofws; s=default; d=gondrom.org; b=H1QIOYxKPyW9hG+46Vf/71hDyysG9e0CN7MVdTZV8UsIZ9C5FNF6gE9sY55ck5I5ruKZJZXXQ/ZNLAZHCVSCzHs6AUUOqbakof0/hDAp54uADedtqKbBp8YTgQm5u0b+; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:Content-Transfer-Encoding;
Received: (qmail 30673 invoked from network); 20 Feb 2011 20:39:38 +0100
Received: from 94-194-102-93.zone8.bethere.co.uk (HELO seraphim.heaven) (94.194.102.93) by lvps83-169-7-107.dedicated.hosteurope.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Feb 2011 20:39:38 +0100
Message-ID: <4D616E01.8030101@gondrom.org>
Date: Sun, 20 Feb 2011 19:39:45 +0000
From: Tobias Gondrom <tobias.gondrom@gondrom.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: acooper@cdt.org
References: <4D5470FC.1000002@stpeter.im> <4D547691.1060704@gondrom.org> <73BCEF8B-FB1E-4FA8-B39C-A1D313108901@cdt.org>
In-Reply-To: <73BCEF8B-FB1E-4FA8-B39C-A1D313108901@cdt.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: websec@ietf.org
Subject: Re: [websec] meeting in Prague - agenda topics?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Feb 2011 19:39:35 -0000

Dear Alissa,

sounds interesting and a good idea to add to the websec agenda.
Is the draft already out or still in the works? (as you know there is a
cut-off date for 00-version on the 2011-02-28 (17:00 PT) and it would be
really good to have a first 00-draft as a foundation for discussions in
Prague).

I'll drop you an email to arrange for a quick call about the details
(time on the agenda etc.) and whether I can provide any other help with
your draft/submission.

Tobias
websec chair




On 02/18/2011 06:49 PM, Alissa Cooper wrote:
> There might be a -00 draft related to some of the Do Not Track header
> work that has been going on (e.g.,
> https://bugzilla.mozilla.org/show_bug.cgi?id=628197) -- would be nice
> to have a little time on the agenda for it if there's room.
>
> Alissa
>
> On Feb 10, 2011, at 11:36 PM, Tobias Gondrom wrote:
>
>> (Thank you Peter for the reminder, I actually already scheduled a
>> 2h-slot for Prague for websec, but seems it got stuck in the workflow
>> after some connectivity problems. Just did resend it again and it is
>> registered now.)
>>
>> Dear fellow websec colleagues,
>>
>> I know it's still nearly two months until Prague, but as I need to
>> prepare the agenda for our meeting slot in Prague, I would like to ask
>> you for any topics you would like to discuss.
>>
>> Some topics that might come to mind:
>> - requirements document (we are still missing the first draft)
>> - mime-sniff (what do we need to progress/any controversial
>> discussions?)
>> - http-headers (X-Frame-Options, ...?)
>> - origin
>> - CSP http-header
>> - ...?
>>
>> And as a small reminder for the draft authors: the cut-off dates for
>> 00-version is 2011-02-28 and for revised IDs it's the 2011-03-14. ;-)
>>
>> I am currently at the OWASP web security summit, and there's a very
>> interesting browser security track, so hope to get and bring some more
>> input ideas from there.
>>
>> Best regards and many greetings,
>>
>> Tobias
>> (chair of websec)
>>
>>
>>
>>
>> On 02/10/2011 11:13 PM, Peter Saint-Andre wrote:
>>> I assume this working group will want to meet in Prague at IETF 80.
>>> This
>>> is just a reminder that the deadline for meeting requests is coming up
>>> soon. :)
>>>
>>> http://www.ietf.org/meeting/cutoff-dates-2011.html#IETF80
>>>
>>> Peter
>>>
>>>
>>>
>>> _______________________________________________
>>> websec mailing list
>>> websec@ietf.org
>>> https://www.ietf.org/mailman/listinfo/websec
>>
>> _______________________________________________
>> websec mailing list
>> websec@ietf.org
>> https://www.ietf.org/mailman/listinfo/websec
>>
>
>


From ietf@adambarth.com  Mon Feb 21 14:10:20 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D21D73A7186 for <websec@core3.amsl.com>; Mon, 21 Feb 2011 14:10:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.828
X-Spam-Level: 
X-Spam-Status: No, score=-2.828 tagged_above=-999 required=5 tests=[AWL=0.149,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I25DadwOQcg5 for <websec@core3.amsl.com>; Mon, 21 Feb 2011 14:10:20 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id E74573A7153 for <websec@ietf.org>; Mon, 21 Feb 2011 14:10:19 -0800 (PST)
Received: by wyb42 with SMTP id 42so763443wyb.31 for <websec@ietf.org>; Mon, 21 Feb 2011 14:11:02 -0800 (PST)
Received: by 10.216.173.82 with SMTP id u60mr1627292wel.0.1298326260229; Mon, 21 Feb 2011 14:11:00 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx.google.com with ESMTPS id c54sm2311193wer.30.2011.02.21.14.10.58 (version=SSLv3 cipher=OTHER); Mon, 21 Feb 2011 14:10:59 -0800 (PST)
Received: by iyj8 with SMTP id 8so1146225iyj.31 for <websec@ietf.org>; Mon, 21 Feb 2011 14:10:57 -0800 (PST)
Received: by 10.231.174.12 with SMTP id r12mr1066030ibz.155.1298326257060; Mon, 21 Feb 2011 14:10:57 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.215.67 with HTTP; Mon, 21 Feb 2011 14:10:27 -0800 (PST)
From: Adam Barth <ietf@adambarth.com>
Date: Mon, 21 Feb 2011 14:10:27 -0800
Message-ID: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com>
To: websec <websec@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Subject: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Feb 2011 22:10:20 -0000

Pursuant to the charter, I've posted an informational draft that
"describes the same-origin security model overall:"

http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt

I don't expect this document to be very controversial.  I'm sure folks
will nitpick me over renaming URL to URI and MIME types to media
types, however.  :)

Feedback welcome.

Adam

From john@jkemp.net  Mon Feb 21 18:29:39 2011
Return-Path: <john@jkemp.net>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 935AA3A67E5 for <websec@core3.amsl.com>; Mon, 21 Feb 2011 18:29:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DK6qdekb5K7F for <websec@core3.amsl.com>; Mon, 21 Feb 2011 18:29:37 -0800 (PST)
Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by core3.amsl.com (Postfix) with SMTP id 3B1E93A67D7 for <websec@ietf.org>; Mon, 21 Feb 2011 18:29:37 -0800 (PST)
Received: (qmail 7915 invoked by uid 0); 22 Feb 2011 02:30:20 -0000
Received: from unknown (HELO box320.bluehost.com) (69.89.31.120) by cpoproxy2.bluehost.com with SMTP; 22 Feb 2011 02:30:20 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=jkemp.net; h=Received:Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-Identified-User; b=UlYEkGy/M9ZXw6wryMP8lImgFGveNsPMq2Zq9o1CgLIddLxN3RAP+cYqO2thPDGrHkgnAaTNmbC0ulkBXqhi7vNklO+P0lcKq46yGnK97FqI8mkZF4/7sUWMooVd2QY8;
Received: from cpe-67-252-42-129.nycap.res.rr.com ([67.252.42.129] helo=[192.168.1.102]) by box320.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from <john@jkemp.net>) id 1Pri15-0005GF-Lx; Mon, 21 Feb 2011 19:30:20 -0700
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: John Kemp <john@jkemp.net>
In-Reply-To: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com>
Date: Mon, 21 Feb 2011 21:30:17 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <4FCE57FD-F60A-4BF0-B96A-37980AD192B0@jkemp.net>
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com>
To: Adam Barth <ietf@adambarth.com>
X-Mailer: Apple Mail (2.1082)
X-Identified-User: {1122:box320.bluehost.com:jkempnet:jkemp.net} {sentby:smtp auth 67.252.42.129 authed with john+jkemp.net}
Cc: websec <websec@ietf.org>
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Feb 2011 02:29:39 -0000

Hi Adam,

On Feb 21, 2011, at 5:10 PM, Adam Barth wrote:

> Pursuant to the charter, I've posted an informational draft that
> "describes the same-origin security model overall:"
>=20
> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>=20
> I don't expect this document to be very controversial.  I'm sure folks
> will nitpick me over renaming URL to URI and MIME types to media
> types, however.  :)
>=20
> Feedback welcome.

Some feedback which does not nitpick about your usage of URL or MIME:

i) Introduction

   * What is the "web platform", for the purposes of this discussion?

i) Section 2. 'Trust':=20

   * Is trust always specified by URL? Who is the trust specified by, =
and to whom is it granted?=20
   * What do you consider to be a "user agent" - do you mean a Web =
browser, or the larger class of things which have often been called user =
agents? Wikipedia, for example =
(http://en.wikipedia.org/wiki/User_agent), mentions search engine =
crawlers and screen readers. Is 'curl' a user agent for the purposes of =
your statements about what a user agent does when accessing a script? Is =
the content at the URL always "executed" by the user agent?
   * You mention the term 'principal' - ('principals export data to =
URLs') - do you mean "security principal", or "user", and are they =
always synonymous?=20

ii) 2.1 Pitfalls

   * Is your only "pitfall" that someone might use the http URI scheme =
for both TLS and non-TLS protected resources? Might there not be other =
important trust distinctions visible in URLs? Perhaps some examples of =
distinguishing trust via URLs would be helpful here?

iii) 3. Origin

   * Some user agents do already treat each URL as a separate principal =
(at least in my understanding of a user agent)
   * Might be worth referencing the definition of origin as scheme, host =
and port

iv) 4. Authority

   * You mention serving content as image/png instead of text/html - why =
not recommend either to serve the content without a Content-type header =
at all (as suggested by the W3C TAG finding on authoritative metadata - =
http://www.w3.org/2001/tag/doc/mime-respect) and have recipients follow =
your content sniffing algorithm (for example), or serve the content as =
'application/octet-stream'?
   * In general, what is the relationship between your content sniffing =
draft and this section on authority-as-conveyed-by-MIME-type?
   * How is the amount of authority designated? What constitutes full =
(or partial) authority?=20

v) 5. Policy

   * Is it worth mentioning iframes and the iframe sandbox attribute =
here, in relation to scripts accessing objects belonging to the parent =
document?
   * You mention that blocking cross-origin requests would prevent users =
from following hyperlinks (and that this is core to web architecture). =
This highlighted (to me at least) that trust in URLs is *not* always =
origin-based. A user may trust content from multiple origins, and =
compose a page which contains such content. =20
   * To whom is the "value proposition high enough" in making a =
cross-origin request?=20
   * Can you explain, or provide an example, that illustrates your =
discussion about granting a privilege to one document and withholding it =
from another, even though this document is from the same origin?=20

vi) 6. Conclusion

   * I find it hard to believe that all trust relationships on the Web =
are designated via URLs, and that all security policy is associated with =
origins. Certainly it is one usable model, but there are others (you =
mention one yourself - "user agents could treat every URL as a separate =
principal") Although the title of this document is 'Principles of the =
Same-Origin Policy', you have partially described a security model of =
the web based in origin. It feels as if you should either restrict this =
document to talk only about origin-based security policy, or more fully =
describe the web security model to which you allude. Do screen readers, =
crawlers and curl/wget fit into that model?

Regards,

- John

>=20
> Adam
> _______________________________________________
> websec mailing list
> websec@ietf.org
> https://www.ietf.org/mailman/listinfo/websec


From ietf@adambarth.com  Mon Feb 21 20:36:09 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3E5213A6813 for <websec@core3.amsl.com>; Mon, 21 Feb 2011 20:36:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.836
X-Spam-Level: 
X-Spam-Status: No, score=-2.836 tagged_above=-999 required=5 tests=[AWL=0.141,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1pXKCdj4leG for <websec@core3.amsl.com>; Mon, 21 Feb 2011 20:36:07 -0800 (PST)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 2EDCF3A6811 for <websec@ietf.org>; Mon, 21 Feb 2011 20:36:06 -0800 (PST)
Received: by iwl42 with SMTP id 42so3779385iwl.31 for <websec@ietf.org>; Mon, 21 Feb 2011 20:36:50 -0800 (PST)
Received: by 10.42.5.5 with SMTP id 5mr2990255icu.175.1298349356114; Mon, 21 Feb 2011 20:35:56 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx.google.com with ESMTPS id 8sm3188044iba.4.2011.02.21.20.35.53 (version=SSLv3 cipher=OTHER); Mon, 21 Feb 2011 20:35:54 -0800 (PST)
Received: by iyj8 with SMTP id 8so1399971iyj.31 for <websec@ietf.org>; Mon, 21 Feb 2011 20:35:53 -0800 (PST)
Received: by 10.231.174.12 with SMTP id r12mr1288624ibz.155.1298349353111; Mon, 21 Feb 2011 20:35:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.215.67 with HTTP; Mon, 21 Feb 2011 20:35:23 -0800 (PST)
In-Reply-To: <4FCE57FD-F60A-4BF0-B96A-37980AD192B0@jkemp.net>
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com> <4FCE57FD-F60A-4BF0-B96A-37980AD192B0@jkemp.net>
From: Adam Barth <ietf@adambarth.com>
Date: Mon, 21 Feb 2011 20:35:23 -0800
Message-ID: <AANLkTinwGccOQa_tKPAZ=rMZSnHpmuYgyF=nCa3QE3-N@mail.gmail.com>
To: John Kemp <john@jkemp.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: websec <websec@ietf.org>
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Feb 2011 04:36:09 -0000

Hi John,

Thanks for the feedback.  Most of your comments revolve around scope.
This document is based on some text I wrote for an audience that was
pretty clear on the scope.  The web platform has a bunch of different
names.  Sometimes the W3C calls it the Open Web Platform, as in
<http://www.w3.org/QA/2010/10/html5_the_jewel_in_the_open_we.html>.
Historically, I think O'Reilly gets credit (at least according to
Wikipedia) for conceptualizing the "Web as Platform."  Certainly,
implementors think about shaping the direction of the web platform,
e.g., <http://www.chromium.org/developers/web-platform-status>.

We should certainly spend some time in the introduction setting
expectations about scope.  Part of the motivation for writing this
document is that many of these web technologies interact strongly in
the platform.  Without a coherent security model, it's easy for
complexity to spiral out of control.  It's taken us (where "us" here
is broadly defined) a while to converge on a coherent security model,
but this is pretty well-established stuff at this point, albeit
perhaps not clearly conceptualized and nominalized for folks who don't
work with this stuff on a daily basis.

Detailed responses inline.

On Mon, Feb 21, 2011 at 6:30 PM, John Kemp <john@jkemp.net> wrote:
> On Feb 21, 2011, at 5:10 PM, Adam Barth wrote:
>> Pursuant to the charter, I've posted an informational draft that
>> "describes the same-origin security model overall:"
>>
>> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>>
>> I don't expect this document to be very controversial. =A0I'm sure folks
>> will nitpick me over renaming URL to URI and MIME types to media
>> types, however. =A0:)
>>
>> Feedback welcome.
>
> Some feedback which does not nitpick about your usage of URL or MIME:
>
> i) Introduction
>
> =A0 * What is the "web platform", for the purposes of this discussion?

See above.

> i) Section 2. 'Trust':
>
> =A0 * Is trust always specified by URL?

As far as I can tell, yes.  Do you have any examples that don't fit this th=
eory?

> Who is the trust specified by,

Documents (or perhaps document authors if you don't want to ascribe
intention to documents).

> and to whom is it granted?

Whomever controls the resource designated by the URL.

> =A0 * What do you consider to be a "user agent" - do you mean a Web brows=
er, or the larger class of things which have often been called user agents?

If it's helpful for you to think about the user agent as a browser,
please feel free.  However, there are more user agents than just
browsers.  For example, the Adobe Air execution environment is a user
agent for the purposes of this document.  Essentially, the user agent
whatever provides the client execution environment in the web platform
(as distinct from the network and server execution environments).

> Wikipedia, for example (http://en.wikipedia.org/wiki/User_agent), mention=
s search engine crawlers and screen readers. Is 'curl' a user agent for the=
 purposes of your statements about what a user agent does when accessing a =
script?

No.  Curl doesn't provide a web platform client execution environment.
 You might be able to twist your mind into thinking of it as a such in
some sort of degenerate way, but it's certainly not a particularly
interesting example from the point of view of this document.

> Is the content at the URL always "executed" by the user agent?

Yes.

> =A0 * You mention the term 'principal' - ('principals export data to URLs=
') - do you mean "security principal", or "user", and are they always synon=
ymous?

Principal is an abstract notion, which I believe originates from the
"orange book."  I suspect it's more akin to what you mean by a
security principal, and it's distinct from the user.

> ii) 2.1 Pitfalls
>
> =A0 * Is your only "pitfall" that someone might use the http URI scheme f=
or both TLS and non-TLS protected resources?

That's just an example.  There are lots of ways of screwing this up.
In fact, I wrote a whole paper about examples of people falling into
this pitfall:

http://www.adambarth.com/papers/2008/jackson-barth-b.pdf

The HTTP / HTTPS example is just one that's easy to explain and fairly
intuitive.

> Might there not be other important trust distinctions visible in URLs? Pe=
rhaps some examples of distinguishing trust via URLs would be helpful here?

The more interesting cases are when folks intent their to be trust
distinctions, but those distinctions *aren't* visible in URLs.  That
leads quickly to disaster.

> iii) 3. Origin
>
> =A0 * Some user agents do already treat each URL as a separate principal =
(at least in my understanding of a user agent)

That might well be, but then they're not really participating in the
common security model of the web platform and are not relevant to this
discussion.

> =A0 * Might be worth referencing the definition of origin as scheme, host=
 and port

Sure.  Thankfully this working group is also working on precisely such
a document.  :)

> iv) 4. Authority
>
> =A0 * You mention serving content as image/png instead of text/html - why=
 not recommend either to serve the content without a Content-type header at=
 all (as suggested by the W3C TAG finding on authoritative metadata - http:=
//www.w3.org/2001/tag/doc/mime-respect) and have recipients follow your con=
tent sniffing algorithm (for example), or serve the content as 'application=
/octet-stream'?

That doesn't make sense.  This document is talking about what
authority the user agent bestows upon a resource.  It's making the
point that the authority depends on the MIME type of the resource.
Omitting the MIME type is below the level of abstraction here.

> =A0 * In general, what is the relationship between your content sniffing =
draft and this section on authority-as-conveyed-by-MIME-type?

It's the reason why content sniffing is tricky.  If you aren't careful
about how you sniff, you might give too much authority to a resource
and create a vulnerability.

> =A0 * How is the amount of authority designated?  What constitutes full (=
or partial) authority?

That's defined by the specifications that describe the semantics of
the various MIME types.

> v) 5. Policy
>
> =A0 * Is it worth mentioning iframes and the iframe sandbox attribute her=
e, in relation to scripts accessing objects belonging to the parent documen=
t?

That's too detailed.  This is an overview of the security model, not a
guide to all the various bells, whistles, and knobs.  Other documents,
such as <http://code.google.com/p/browsersec/>, are more appropriate
for that.

> =A0 * You mention that blocking cross-origin requests would prevent users=
 from following hyperlinks (and that this is core to web architecture). Thi=
s highlighted (to me at least) that trust in URLs is *not* always origin-ba=
sed. A user may trust content from multiple origins, and compose a page whi=
ch contains such content.

We're not talking about what the user does or does not trust.  In
fact, we're not talking about the user at all.  We're talking about
the security model of the platform, independent of any user.  That
trips people up at first because they're used to a user-centric
world-view, but I can assure you that this model is sensible in the
absence of the user.

> =A0 * To whom is the "value proposition high enough" in making a cross-or=
igin request?

The designer and/or implementor of the API that permits the
cross-origin access.  Keep in mind that this document is descriptive,
not prescriptive.

> =A0 * Can you explain, or provide an example, that illustrates your discu=
ssion about granting a privilege to one document and withholding it from an=
other, even though this document is from the same origin?

Sure.  Please see the seven examples in Section 2 of
<http://www.adambarth.com/papers/2008/jackson-barth-b.pdf>.

> vi) 6. Conclusion
>
> =A0 * I find it hard to believe that all trust relationships on the Web a=
re designated via URLs, and that all security policy is associated with ori=
gins.

Keep in mind that this is a model.  Not everything in the world fits
the model.  Consider Newton's theory of gravity.  You would be correct
in being skeptical that not all the orbits of all the planets can be
described by Newtonian mechanics (in fact, observations of Mercury's
orbit famously don't quite fit).  However, it's still a useful model
and worth understanding.

In our case, the more modern pieces of the web platform are more
likely to follow this model.  It's mostly just the old crufty parts of
the platform that don't fit as well because we hadn't sorted all this
stuff out when we designed them.  Unsurprisingly, that's also where
most of the design-level vulnerabilities come from.

> Certainly it is one usable model, but there are others (you mention one y=
ourself - "user agents could treat every URL as a separate principal").

Indeed, just as Newtonian mechanics is a really bad fit for Godel's
rotating universe.  However, in our universe, Newtonian mechanics is
often quite useful.

> Although the title of this document is 'Principles of the Same-Origin Pol=
icy', you have partially described a security model of the web based in ori=
gin. It feels as if you should either restrict this document to talk only a=
bout origin-based security policy, or more fully describe the web security =
model to which you allude. Do screen readers, crawlers and curl/wget fit in=
to that model?

Which brings us back to clarifying the scope.  I agree that's an
important piece missing from the document.

Kind regards,
Adam

From john@jkemp.net  Tue Feb 22 05:46:52 2011
Return-Path: <john@jkemp.net>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 339653A68D6 for <websec@core3.amsl.com>; Tue, 22 Feb 2011 05:46:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J9JicjR5HpzR for <websec@core3.amsl.com>; Tue, 22 Feb 2011 05:46:50 -0800 (PST)
Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by core3.amsl.com (Postfix) with SMTP id 68BD23A6812 for <websec@ietf.org>; Tue, 22 Feb 2011 05:46:50 -0800 (PST)
Received: (qmail 29557 invoked by uid 0); 22 Feb 2011 13:47:34 -0000
Received: from unknown (HELO box320.bluehost.com) (69.89.31.120) by cpoproxy3.bluehost.com with SMTP; 22 Feb 2011 13:47:34 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=jkemp.net; h=Received:Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-Identified-User; b=WFk+5jgTwrTouM3QsAj+q2i+hkSecfAShF3MhV1Xq+OywXo2LyoKlWTVFgvj09o8rQijecg7dFQyBxRLnkwstsKWtQGkqqiWm4W5CNa7sg0q14GJAjKyuB7NGS7nl7Q8;
Received: from cpe-67-252-42-129.nycap.res.rr.com ([67.252.42.129] helo=[192.168.1.102]) by box320.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from <john@jkemp.net>) id 1PrsaT-0005SI-Ow; Tue, 22 Feb 2011 06:47:34 -0700
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: John Kemp <john@jkemp.net>
In-Reply-To: <AANLkTinwGccOQa_tKPAZ=rMZSnHpmuYgyF=nCa3QE3-N@mail.gmail.com>
Date: Tue, 22 Feb 2011 08:47:32 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <21B58CEE-9235-4443-BB17-BA828715F3B1@jkemp.net>
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com> <4FCE57FD-F60A-4BF0-B96A-37980AD192B0@jkemp.net> <AANLkTinwGccOQa_tKPAZ=rMZSnHpmuYgyF=nCa3QE3-N@mail.gmail.com>
To: Adam Barth <ietf@adambarth.com>
X-Mailer: Apple Mail (2.1082)
X-Identified-User: {1122:box320.bluehost.com:jkempnet:jkemp.net} {sentby:smtp auth 67.252.42.129 authed with john+jkemp.net}
Cc: websec <websec@ietf.org>
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Feb 2011 13:46:52 -0000

Hey Adam,

On Feb 21, 2011, at 11:35 PM, Adam Barth wrote:

> Hi John,
>=20
> Thanks for the feedback.  Most of your comments revolve around scope.

Yes, and after reviewing your responses, I agree with that.

> This document is based on some text I wrote for an audience that was
> pretty clear on the scope.  The web platform has a bunch of different
> names.  Sometimes the W3C calls it the Open Web Platform, as in
> <http://www.w3.org/QA/2010/10/html5_the_jewel_in_the_open_we.html>.
> Historically, I think O'Reilly gets credit (at least according to
> Wikipedia) for conceptualizing the "Web as Platform."  Certainly,
> implementors think about shaping the direction of the web platform,
> e.g., <http://www.chromium.org/developers/web-platform-status>.
>=20
> We should certainly spend some time in the introduction setting
> expectations about scope.  Part of the motivation for writing this
> document is that many of these web technologies interact strongly in
> the platform.  Without a coherent security model, it's easy for
> complexity to spiral out of control.

Agreed.

>  It's taken us (where "us" here
> is broadly defined) a while to converge on a coherent security model,
> but this is pretty well-established stuff at this point, albeit
> perhaps not clearly conceptualized and nominalized for folks who don't
> work with this stuff on a daily basis.
>=20
> Detailed responses inline.
>=20
> On Mon, Feb 21, 2011 at 6:30 PM, John Kemp <john@jkemp.net> wrote:
>> On Feb 21, 2011, at 5:10 PM, Adam Barth wrote:
>>> Pursuant to the charter, I've posted an informational draft that
>>> "describes the same-origin security model overall:"
>>>=20
>>> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>>>=20
>>> I don't expect this document to be very controversial.  I'm sure =
folks
>>> will nitpick me over renaming URL to URI and MIME types to media
>>> types, however.  :)
>>>=20
>>> Feedback welcome.
>>=20
>> Some feedback which does not nitpick about your usage of URL or MIME:
>>=20
>> i) Introduction
>>=20
>>   * What is the "web platform", for the purposes of this discussion?
>=20
> See above.
>=20
>> i) Section 2. 'Trust':
>>=20
>>   * Is trust always specified by URL?
>=20
> As far as I can tell, yes.  Do you have any examples that don't fit =
this theory?

Well, for example, trust is also granted by the recipient of an HTTP =
message with a particular Origin header to the sender of that message.=20=


>=20
>> Who is the trust specified by,
>=20
> Documents (or perhaps document authors if you don't want to ascribe
> intention to documents).
>=20
>> and to whom is it granted?
>=20
> Whomever controls the resource designated by the URL.
>=20
>>   * What do you consider to be a "user agent" - do you mean a Web =
browser, or the larger class of things which have often been called user =
agents?
>=20
> If it's helpful for you to think about the user agent as a browser,
> please feel free.  However, there are more user agents than just
> browsers.  For example, the Adobe Air execution environment is a user
> agent for the purposes of this document.  Essentially, the user agent
> whatever provides the client execution environment in the web platform
> (as distinct from the network and server execution environments).
>=20
>> Wikipedia, for example (http://en.wikipedia.org/wiki/User_agent), =
mentions search engine crawlers and screen readers. Is 'curl' a user =
agent for the purposes of your statements about what a user agent does =
when accessing a script?
>=20
> No.  Curl doesn't provide a web platform client execution environment.

Is a Javascript interpreter then required? A (standardized?) DOM?=20

> You might be able to twist your mind into thinking of it as a such in
> some sort of degenerate way, but it's certainly not a particularly
> interesting example from the point of view of this document.
>=20
>> Is the content at the URL always "executed" by the user agent?
>=20
> Yes.

Even if the script is delivered to the user agent with a Content-type =
header with the value 'text/plain'?

>=20
>>   * You mention the term 'principal' - ('principals export data to =
URLs') - do you mean "security principal", or "user", and are they =
always synonymous?
>=20
> Principal is an abstract notion, which I believe originates from the
> "orange book."  I suspect it's more akin to what you mean by a
> security principal, and it's distinct from the user.
>=20
>> ii) 2.1 Pitfalls
>>=20
>>   * Is your only "pitfall" that someone might use the http URI scheme =
for both TLS and non-TLS protected resources?
>=20
> That's just an example.  There are lots of ways of screwing this up.
> In fact, I wrote a whole paper about examples of people falling into
> this pitfall:
>=20
> http://www.adambarth.com/papers/2008/jackson-barth-b.pdf
>=20
> The HTTP / HTTPS example is just one that's easy to explain and fairly
> intuitive.

Yes, it's also very specific, and not (in my opinion) illustrative even =
of the examples you discuss in the above-referenced paper.

You are also quite narrowly discussing how to prevent privilege =
escalation within a set of documents which are part of the same origin. =
That's a very specific (yes, important) kind of trust for the specific =
cases you mention. =20

>=20
>> Might there not be other important trust distinctions visible in =
URLs? Perhaps some examples of distinguishing trust via URLs would be =
helpful here?
>=20
> The more interesting cases are when folks intent their to be trust
> distinctions, but those distinctions *aren't* visible in URLs.  That
> leads quickly to disaster.

I think the examples you mention in your paper, regarding 'origin =
contamination' (EV certs, cookie path access etc.) support your case =
better FWIW.

>=20
>> iii) 3. Origin
>>=20
>>   * Some user agents do already treat each URL as a separate =
principal (at least in my understanding of a user agent)
>=20
> That might well be, but then they're not really participating in the
> common security model of the web platform and are not relevant to this
> discussion.
>=20
>>   * Might be worth referencing the definition of origin as scheme, =
host and port
>=20
> Sure.  Thankfully this working group is also working on precisely such
> a document.  :)
>=20
>> iv) 4. Authority
>>=20
>>   * You mention serving content as image/png instead of text/html - =
why not recommend either to serve the content without a Content-type =
header at all (as suggested by the W3C TAG finding on authoritative =
metadata - http://www.w3.org/2001/tag/doc/mime-respect) and have =
recipients follow your content sniffing algorithm (for example), or =
serve the content as 'application/octet-stream'?
>=20
> That doesn't make sense.  This document is talking about what
> authority the user agent bestows upon a resource.  It's making the
> point that the authority depends on the MIME type of the resource.
> Omitting the MIME type is below the level of abstraction here.

How can that be - if authority is granted based on MIME type, what does =
it mean if no MIME type is given?=20

>=20
>>   * In general, what is the relationship between your content =
sniffing draft and this section on authority-as-conveyed-by-MIME-type?
>=20
> It's the reason why content sniffing is tricky.  If you aren't careful
> about how you sniff, you might give too much authority to a resource
> and create a vulnerability.

I understand that to be the very reason you wrote your sniffing draft, =
no? And servers can surely help here by not giving an indication of =
authority, should they not feel comfortable doing so, or to give an =
indication that the recipient should not grant the content any authority =
at all by specifying application/octet-stream.=20

>=20
>>   * How is the amount of authority designated?  What constitutes full =
(or partial) authority?
>=20
> That's defined by the specifications that describe the semantics of
> the various MIME types.

Considering application/javascript or text/javascript, whose =
specifications seem to be in here: http://tools.ietf.org/html/rfc4329 =
there is no mention of 'authority' as a concept. Is the 'security =
considerations' section (http://tools.ietf.org/html/rfc4329#section-5) =
adequate for your purposes? Or am I looking in the wrong place?

>=20
>> v) 5. Policy
>>=20
>>   * Is it worth mentioning iframes and the iframe sandbox attribute =
here, in relation to scripts accessing objects belonging to the parent =
document?
>=20
> That's too detailed.  This is an overview of the security model, not a
> guide to all the various bells, whistles, and knobs.  Other documents,
> such as <http://code.google.com/p/browsersec/>, are more appropriate
> for that.
>=20
>>   * You mention that blocking cross-origin requests would prevent =
users from following hyperlinks (and that this is core to web =
architecture). This highlighted (to me at least) that trust in URLs is =
*not* always origin-based. A user may trust content from multiple =
origins, and compose a page which contains such content.
>=20
> We're not talking about what the user does or does not trust.  In
> fact, we're not talking about the user at all.  We're talking about
> the security model of the platform, independent of any user.  That
> trips people up at first because they're used to a user-centric
> world-view, but I can assure you that this model is sensible in the
> absence of the user.

Well, you seem to be talking about trust granted by one software =
component to another. Which makes barely any sense to me at all, based =
on the general untrustworthiness exhibited by most software components I =
have used in my lifetime ;) But anyway, I understand where you are =
coming from, even if I would still argue that the trust of the user is =
important, and that trust of the various non-UA components is also =
important.

>=20
>>   * To whom is the "value proposition high enough" in making a =
cross-origin request?
>=20
> The designer and/or implementor of the API that permits the
> cross-origin access.  Keep in mind that this document is descriptive,
> not prescriptive.

Where is the user in all this? Don't API designers design their APIs so =
that developers can write applications for users to use?

>=20
>>   * Can you explain, or provide an example, that illustrates your =
discussion about granting a privilege to one document and withholding it =
from another, even though this document is from the same origin?
>=20
> Sure.  Please see the seven examples in Section 2 of
> <http://www.adambarth.com/papers/2008/jackson-barth-b.pdf>.

Thanks.

>=20
>> vi) 6. Conclusion
>>=20
>>   * I find it hard to believe that all trust relationships on the Web =
are designated via URLs, and that all security policy is associated with =
origins.
>=20
> Keep in mind that this is a model.  Not everything in the world fits
> the model.  Consider Newton's theory of gravity.  You would be correct
> in being skeptical that not all the orbits of all the planets can be
> described by Newtonian mechanics (in fact, observations of Mercury's
> orbit famously don't quite fit).  However, it's still a useful model
> and worth understanding.

I don't argue with any of that, but the question is about scope again, =
isn't it? Specifying a model becomes much easier when you know to what =
you should apply the model. Personally, I don't think of the whole Web =
as being limited to a particular class of user agents (whether they are =
called the "web platform" or not). I think the Web includes web servers. =
I think the Web includes users, crawlers and screen readers. Addressing =
the security model of a class of user agents is an excellent idea. But =
it is not a security model for the whole Web.=20

Regards,

- John

>=20
> In our case, the more modern pieces of the web platform are more
> likely to follow this model.  It's mostly just the old crufty parts of
> the platform that don't fit as well because we hadn't sorted all this
> stuff out when we designed them.  Unsurprisingly, that's also where
> most of the design-level vulnerabilities come from.
>=20
>> Certainly it is one usable model, but there are others (you mention =
one yourself - "user agents could treat every URL as a separate =
principal").
>=20
> Indeed, just as Newtonian mechanics is a really bad fit for Godel's
> rotating universe.  However, in our universe, Newtonian mechanics is
> often quite useful.
>=20
>> Although the title of this document is 'Principles of the Same-Origin =
Policy', you have partially described a security model of the web based =
in origin. It feels as if you should either restrict this document to =
talk only about origin-based security policy, or more fully describe the =
web security model to which you allude. Do screen readers, crawlers and =
curl/wget fit into that model?
>=20
> Which brings us back to clarifying the scope.  I agree that's an
> important piece missing from the document.
>=20
> Kind regards,
> Adam


From tlr@w3.org  Thu Feb 24 08:12:47 2011
Return-Path: <tlr@w3.org>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 693423A67A4 for <websec@core3.amsl.com>; Thu, 24 Feb 2011 08:12:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kAJjWFYVo07e for <websec@core3.amsl.com>; Thu, 24 Feb 2011 08:12:46 -0800 (PST)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) by core3.amsl.com (Postfix) with ESMTP id 9B6113A65A6 for <websec@ietf.org>; Thu, 24 Feb 2011 08:12:46 -0800 (PST)
Received: from [178.254.73.133] (helo=[192.168.2.115]) by jay.w3.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from <tlr@w3.org>) id 1Psdot-0001l4-Ld; Thu, 24 Feb 2011 11:13:35 -0500
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1082)
From: Thomas Roessler <tlr@w3.org>
Date: Thu, 24 Feb 2011 17:13:34 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <8FCA4754-68B0-4A23-9D50-1622D66727D6@w3.org>
References: <4FBCEDCA-FEF0-4515-8B11-EC2CAA103388@w3.org>
To: websec@ietf.org
X-Mailer: Apple Mail (2.1082)
Subject: [websec] Fwd: Do Not Track and W3C
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Feb 2011 16:12:47 -0000

FYI.  public-privacy@w3.org is a public mailing list that anybody is =
welcome to participate in.



Begin forwarded message:

> From: Thomas Roessler <tlr@w3.org>
> Date: 24 February 2011 17:12:34 GMT+01:00
> To: public-privacy@w3.org
> Cc: Thomas Roessler <tlr@w3.org>
> Subject: Do Not Track and W3C
>=20
> Hi,
>=20
> a quick heads-up: we've just sent an advance notice for a privacy =
workshop on 28/29 April in Princeton, NJ, to determine what =
recommendation track work W3C should take up in the do not track space.  =
We're aiming publish a formal call for participation next week.
>=20
> At the same time, we've acknowledged a member submission for a "Web =
Tracking Protection" specification from Microsoft.
>=20
> More here:
> 	http://www.w3.org/QA/2011/02/do_not_track_at_w3c.html
> 	http://www.w3.org/Submission/2011/01/Comment/
> 	=
http://www.w3.org/Submission/2011/SUBM-web-tracking-protection-20110224/
>=20
> Note that we've suggested public-privacy as the appropriate place for =
community discussion.
>=20
> Regards,
> --
> Thomas Roessler, W3C  <tlr@w3.org>  (@roessler)
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20


From stpeter@stpeter.im  Thu Feb 24 13:22:00 2011
Return-Path: <stpeter@stpeter.im>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 07B733A6832 for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:22:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.641
X-Spam-Level: 
X-Spam-Status: No, score=-102.641 tagged_above=-999 required=5 tests=[AWL=-0.042, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ff24V-Et5TiM for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:21:56 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 697A83A6807 for <websec@ietf.org>; Thu, 24 Feb 2011 13:21:56 -0800 (PST)
Received: from dhcp-64-101-72-185.cisco.com (dhcp-64-101-72-185.cisco.com [64.101.72.185]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 93FF24011B for <websec@ietf.org>; Thu, 24 Feb 2011 14:41:38 -0700 (MST)
Message-ID: <4D66CC25.6070202@stpeter.im>
Date: Thu, 24 Feb 2011 14:22:45 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: websec@ietf.org
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com>
In-Reply-To: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms040209060904040006010408"
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Feb 2011 21:22:00 -0000

This is a cryptographically signed message in MIME format.

--------------ms040209060904040006010408
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2/21/11 3:10 PM, Adam Barth wrote:
> Pursuant to the charter, I've posted an informational draft that
> "describes the same-origin security model overall:"
>=20
> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>=20
> I don't expect this document to be very controversial.  I'm sure folks
> will nitpick me over renaming URL to URI and MIME types to media
> types, however.  :)

Adam, what do you see as the relationship or division of work between
draft-ietf-websec-origin and draft-abarth-principles-of-origin?

Peter

--=20
Peter Saint-Andre
https://stpeter.im/




--------------ms040209060904040006010408
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC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G9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB+qfARRt4FIDcdqS3f0jOH1/rFyZK2PZbUZmjCH9I8dQWAI32LCl94E0Eb
BQxAxG1Xxwh2n4uqyqTWWvwueQdIZM5G7ogNEpEnHXZuUcbNuDvDLYbV3MfgJoU0VHtCUCjk
wa4Z/xHL4VBFMKCaUI/YPx2f+LDEb1sRlPJDNCkLhvfBLX+9YaKQSra9VzpE1lzRB0gT+jHV
WS84p1+Dia/nlFwe4J03TufOXKRXYiirQmxtE93inRsAR1ZY/MKXiOzdm4/DHdgsWxjuhIUV
oj6paqgKDYm3jLjwH2vYWdNZohe+RJ3hAB0O0NhCKNmW0/CDwotMXQOOV2J8FZjbNaKAAAAA
AAAA
--------------ms040209060904040006010408--

From ietf@adambarth.com  Thu Feb 24 13:39:28 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9E82B3A683F for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:39:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.816
X-Spam-Level: 
X-Spam-Status: No, score=-2.816 tagged_above=-999 required=5 tests=[AWL=0.161,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uPdyeZThz420 for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:39:27 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 910F63A680E for <websec@ietf.org>; Thu, 24 Feb 2011 13:39:27 -0800 (PST)
Received: by wyb42 with SMTP id 42so1069392wyb.31 for <websec@ietf.org>; Thu, 24 Feb 2011 13:40:17 -0800 (PST)
Received: by 10.216.25.202 with SMTP id z52mr6365595wez.14.1298583617512; Thu, 24 Feb 2011 13:40:17 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx.google.com with ESMTPS id m50sm4006362wek.32.2011.02.24.13.40.15 (version=SSLv3 cipher=OTHER); Thu, 24 Feb 2011 13:40:16 -0800 (PST)
Received: by iyj8 with SMTP id 8so609894iyj.31 for <websec@ietf.org>; Thu, 24 Feb 2011 13:40:14 -0800 (PST)
Received: by 10.231.59.149 with SMTP id l21mr2161836ibh.196.1298583601157; Thu, 24 Feb 2011 13:40:01 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.40.7 with HTTP; Thu, 24 Feb 2011 13:39:29 -0800 (PST)
In-Reply-To: <4D66CC25.6070202@stpeter.im>
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com> <4D66CC25.6070202@stpeter.im>
From: Adam Barth <ietf@adambarth.com>
Date: Thu, 24 Feb 2011 13:39:29 -0800
Message-ID: <AANLkTi=nQwmMrmA5cY5GRZbTWPVo6uaWfPbupe_e+A+3@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: websec@ietf.org
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Feb 2011 21:39:28 -0000

On Thu, Feb 24, 2011 at 1:22 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 2/21/11 3:10 PM, Adam Barth wrote:
>> Pursuant to the charter, I've posted an informational draft that
>> "describes the same-origin security model overall:"
>>
>> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>>
>> I don't expect this document to be very controversial. =A0I'm sure folks
>> will nitpick me over renaming URL to URI and MIME types to media
>> types, however. =A0:)
>
> Adam, what do you see as the relationship or division of work between
> draft-ietf-websec-origin and draft-abarth-principles-of-origin?

Just what it says in the charter:

[[
  The
  working group may split draft-abarth-origin into separate informative
  and standards track specifications, the former describing same-origin
  security model, and the latter specifying the nuts-and-bolts of working
  with origins (computing them from URLs, comparing them to each other,
  etc).
]]

Principles-of-origin is an informative document that explains the
underlying concepts of the security model.  Draft-ietf-websec-origin
is a normative document that explains the low-level details of how to
construct, compare, and serialize origins.  I don't feel strongly
about whether they're separate documents or the same document.  I just
thought it would be better to gather feedback in an individual draft
first in either case.

Adam

From stpeter@stpeter.im  Thu Feb 24 13:40:50 2011
Return-Path: <stpeter@stpeter.im>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3147D3A680E for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:40:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.639
X-Spam-Level: 
X-Spam-Status: No, score=-102.639 tagged_above=-999 required=5 tests=[AWL=-0.040, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rc2KUNe-RyVo for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:40:49 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2C12D3A6807 for <websec@ietf.org>; Thu, 24 Feb 2011 13:40:49 -0800 (PST)
Received: from dhcp-64-101-72-185.cisco.com (dhcp-64-101-72-185.cisco.com [64.101.72.185]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 589074011B; Thu, 24 Feb 2011 15:00:31 -0700 (MST)
Message-ID: <4D66D091.8070104@stpeter.im>
Date: Thu, 24 Feb 2011 14:41:37 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: Adam Barth <ietf@adambarth.com>
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com> <4D66CC25.6070202@stpeter.im> <AANLkTi=nQwmMrmA5cY5GRZbTWPVo6uaWfPbupe_e+A+3@mail.gmail.com>
In-Reply-To: <AANLkTi=nQwmMrmA5cY5GRZbTWPVo6uaWfPbupe_e+A+3@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080607090406050302060007"
Cc: websec@ietf.org
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Feb 2011 21:40:50 -0000

This is a cryptographically signed message in MIME format.

--------------ms080607090406050302060007
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2/24/11 2:39 PM, Adam Barth wrote:
> On Thu, Feb 24, 2011 at 1:22 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>> On 2/21/11 3:10 PM, Adam Barth wrote:
>>> Pursuant to the charter, I've posted an informational draft that
>>> "describes the same-origin security model overall:"
>>>
>>> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>>>
>>> I don't expect this document to be very controversial.  I'm sure folk=
s
>>> will nitpick me over renaming URL to URI and MIME types to media
>>> types, however.  :)
>>
>> Adam, what do you see as the relationship or division of work between
>> draft-ietf-websec-origin and draft-abarth-principles-of-origin?
>=20
> Just what it says in the charter:
>=20
> [[
>   The
>   working group may split draft-abarth-origin into separate informative=

>   and standards track specifications, the former describing same-origin=

>   security model, and the latter specifying the nuts-and-bolts of worki=
ng
>   with origins (computing them from URLs, comparing them to each other,=

>   etc).
> ]]
>=20
> Principles-of-origin is an informative document that explains the
> underlying concepts of the security model.  Draft-ietf-websec-origin
> is a normative document that explains the low-level details of how to
> construct, compare, and serialize origins.  I don't feel strongly
> about whether they're separate documents or the same document.  I just
> thought it would be better to gather feedback in an individual draft
> first in either case.

Thanks for the explanation, that's quite helpful. I'm going to read them
with that distinction in mind...

Peter

--=20
Peter Saint-Andre
https://stpeter.im/




--------------ms080607090406050302060007
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUr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WwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCum8MMZglI6z0rSDGgkdCWW2NM9oKYze1Rx2U0xWpwByCuCNr0gh9c2pF5
gVJ+A2eLWEMl+sNUd42e7Eu1k6x53RskC3KT5/nnBHzlICoHZdniyWyONr/MXrM2ZlRqEbnd
yH1ijQS39DskRXMFrM3vQlUQDQvqcSFrhFItl5SEfGsc4jU9nd0KM5sFXWFwK1gzIR5dOq9d
YgtpJisKiC6+Ffc3mXfjE5eXKacQorZykBzLBNjhoSPPuw0A+nehs1pdG7dU/yHeSINCM0Vx
CS4IaXPxKBWhDV7pMKnWwXQy7dFaiCM+M0Thj8Vm/dobHjY8UQXWjKiop6nlrGB4SL2NAAAA
AAAA
--------------ms080607090406050302060007--

From James.H.Manger@team.telstra.com  Thu Feb 24 16:07:53 2011
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D7D53A688A; Thu, 24 Feb 2011 16:07:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.088
X-Spam-Level: 
X-Spam-Status: No, score=-0.088 tagged_above=-999 required=5 tests=[AWL=0.812,  BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, HTML_MESSAGE=0.001, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CY1GMoJ0BdAe; Thu, 24 Feb 2011 16:07:48 -0800 (PST)
Received: from ipxano.tcif.telstra.com.au (ipxano.tcif.telstra.com.au [203.35.82.200]) by core3.amsl.com (Postfix) with ESMTP id 367033A635F; Thu, 24 Feb 2011 16:07:45 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.62,221,1296997200"; d="scan'208,217";a="29521350"
Received: from unknown (HELO ipcdni.tcif.telstra.com.au) ([10.97.216.212]) by ipoani.tcif.telstra.com.au with ESMTP; 25 Feb 2011 11:08:35 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6267"; a="20255544"
Received: from wsmsg3706.srv.dir.telstra.com ([172.49.40.80]) by ipcdni.tcif.telstra.com.au with ESMTP; 25 Feb 2011 11:08:35 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by wsmsg3706.srv.dir.telstra.com ([172.49.40.80]) with mapi; Fri, 25 Feb 2011 11:08:34 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: OAuth Mailing List <oauth@ietf.org>, "websec@ietf.org" <websec@ietf.org>
Date: Fri, 25 Feb 2011 11:08:33 +1100
Thread-Topic: Indicating origin of OAuth credentials to combat login CSRF
Thread-Index: AcvUgCPYCfnEh2l8Tj+BafbhN2rcIQ==
Message-ID: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: multipart/alternative; boundary="_000_255B9BB34FB7D647A506DC292726F6E1127DCD2142WSMSG3153Vsrv_"
MIME-Version: 1.0
Subject: [websec] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Feb 2011 00:07:53 -0000

--_000_255B9BB34FB7D647A506DC292726F6E1127DCD2142WSMSG3153Vsrv_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Q. Should an OAuth client app list the authorization server in the Origin h=
eader of requests to resource servers?



In OAuth (delegation) flows a server dynamically issues credentials (such a=
s a bearer token) to a client app to use in subsequent HTTP requests to oth=
er servers. To combat login cross-site request forgery (CSRF) attacks [1] (=
where an attacker's server issues the attacker's credentials to a client ap=
p to use on behalf of a victim at a legitimate server) the client app needs=
 to indicate where the credentials came from. The Origin header [2] looks l=
ike the right place to indicate this.



[For the OAuth list: The Origin HTTP request header "indicates the origin(s=
) that caused the user agent to issue the request" [http://tools.ietf.org/h=
tml/draft-ietf-websec-origin-00#section-6.2].]



[For the WebSec list: An OAuth credential from an authorization server is a=
 bit like a cookie, but not restricted to the same origin.]





Example:



  Client to (malicious) authorization server: ->

    POST /token HTTP/1.1

    Host: login.example.com

    ...

  <-

    HTTP/1.1 200 OK

    ...

    { "access_token": "SlAV32hkKG", ...}



  Client to resource server: ->

    POST /uploadData HTTP/1.1

    Host: api.exampledata.com

    Authorization: BEARER SlAV32hkKG

    Origin: https://login.example.com

    ...





There can be other servers that contribute to a client app making a request=
. For instance, one server can redirect to another. A Origin request header=
 can list multiple origins. The server will not be able to distinguish whic=
h origin issued OAuth credentials from which issued a redirect etc. That mi=
ght not matter if a server has to trust all the values listed in the Origin=
 header.

Q. Is it the group's expectation that servers checking the Origin header wi=
ll require all the listed origins to be trusted?



[1] Robust Defenses for Cross Site Request Forgery, http://www.adambarth.co=
m/papers/2008/barth-jackson-mitchell-b.pdf

[2] The Web Origin Concept, http://tools.ietf.org/html/draft-ietf-websec-or=
igin

[3] Principles of the Same Origin Policy, http://tools.ietf.org/html/draft-=
abarth-principles-of-origin



--

James Manger




--_000_255B9BB34FB7D647A506DC292726F6E1127DCD2142WSMSG3153Vsrv_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-AU" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Q. Should an OAuth client app list the authorization=
 server in the Origin header of requests to resource servers?<o:p></o:p></p=
>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In OAuth (delegation) flows a server dynamically iss=
ues credentials (such as a bearer token) to a client app to use in subseque=
nt HTTP requests to other servers. To combat login cross-site request forge=
ry (CSRF) attacks [1] (where an attacker&#8217;s
 server issues the attacker&#8217;s credentials to a client app to use on b=
ehalf of a victim at a legitimate server) the client app needs to indicate =
where the credentials came from. The Origin header [2] looks like the right=
 place to indicate this.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[For the OAuth list: The Origin HTTP request header =
&#8220;indicates the origin(s) that caused the user agent to issue the requ=
est&#8221; [http://tools.ietf.org/html/draft-ietf-websec-origin-00#section-=
6.2].]<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[For the WebSec list: An OAuth credential from an au=
thorization server is a bit like a cookie, but not restricted to the same o=
rigin.]<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Example:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp; Client to (malicious) authorization server: -=
&gt;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;POST /token HTTP/1.1<o:p></o:p></=
p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;Host: login.example.com<o:p></o:p=
></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;&#8230;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &lt;-<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;HTTP/1.1 200 OK<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;&#8230;<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;{ &quot;access_token&quot;: &quot=
;SlAV32hkKG&quot;, &#8230;}<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp; Client to resource server: -&gt;<o:p></o:p></=
p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;POST /uploadData HTTP/1.1<o:p></o=
:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;Host: api.exampledata.com<o:p></o=
:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;Authorization: BEARER SlAV32hkKG<=
o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &nbsp;&nbsp;Origin: https://login.example.com=
<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; &#8230;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">There can be other servers that contribute to a clie=
nt app making a request. For instance, one server can redirect to another. =
A Origin request header can list multiple origins. The server will not be a=
ble to distinguish which origin issued
 OAuth credentials from which issued a redirect etc. That might not matter =
if a server has to trust all the values listed in the Origin header.<o:p></=
o:p></p>
<p class=3D"MsoNormal">Q. Is it the group&#8217;s expectation that servers =
checking the Origin header will require all the listed origins to be truste=
d?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[1] Robust Defenses for Cross Site Request Forgery, =
<a href=3D"http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pd=
f">
http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf</a><o:p><=
/o:p></p>
<p class=3D"MsoNormal">[2] The Web Origin Concept, <a href=3D"http://tools.=
ietf.org/html/draft-ietf-websec-origin">
http://tools.ietf.org/html/draft-ietf-websec-origin</a><o:p></o:p></p>
<p class=3D"MsoNormal">[3] Principles of the Same Origin Policy, <a href=3D=
"http://tools.ietf.org/html/draft-abarth-principles-of-origin">
http://tools.ietf.org/html/draft-abarth-principles-of-origin</a><o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">--<o:p></o:p></p>
<p class=3D"MsoNormal">James Manger<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_255B9BB34FB7D647A506DC292726F6E1127DCD2142WSMSG3153Vsrv_--

From fcorella@pomcor.com  Fri Feb 25 17:53:51 2011
Return-Path: <fcorella@pomcor.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1FC973A6A48 for <websec@core3.amsl.com>; Fri, 25 Feb 2011 17:53:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gv1fjUYuIQmU for <websec@core3.amsl.com>; Fri, 25 Feb 2011 17:53:49 -0800 (PST)
Received: from nm23-vm0.bullet.mail.ac4.yahoo.com (nm23-vm0.bullet.mail.ac4.yahoo.com [98.139.53.220]) by core3.amsl.com (Postfix) with SMTP id 66E003A6A0B for <websec@ietf.org>; Fri, 25 Feb 2011 17:53:49 -0800 (PST)
Received: from [98.139.52.194] by nm23.bullet.mail.ac4.yahoo.com with NNFMP; 26 Feb 2011 01:54:39 -0000
Received: from [98.139.52.171] by tm7.bullet.mail.ac4.yahoo.com with NNFMP; 26 Feb 2011 01:54:39 -0000
Received: from [127.0.0.1] by omp1054.mail.ac4.yahoo.com with NNFMP; 26 Feb 2011 01:54:39 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 916223.83907.bm@omp1054.mail.ac4.yahoo.com
Received: (qmail 19488 invoked by uid 60001); 26 Feb 2011 01:54:39 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298685279; bh=Y6DYoZRHXkUi8maM5KEp5EmrARL7CQJR8g2mVPGmS4E=; h=Message-ID:X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Xw52HcGYD5fvshaZyUS4rKGpYItcFTtY8ogIsyCSX1wfNeKRwmQRhZkTWf3w4zbgDcc1KLoh5tfVaKlZDI0XNAdNQmGofeufXpKmXZkA53NRaZuDL2y2geaMdke2W4z1PICbJDakEHooPXg7WzWOgT0STSGfEfowJ2ElNh7c15g=
Message-ID: <805657.18502.qm@web55805.mail.re3.yahoo.com>
X-YMail-OSG: a_bnh0oVM1mQ27523OXTyJQJXFC0R4dgh5XBMQ2hpDrsTsW JV9fKrNlW2DAar.WfxyFSG.86.xFiFfPm2rw0p0E1baSIMhl_QeNGq1RTKXk 3BNgk59EU7.v.Od96t0odNNbJXS6qHFBi7Oy6rZuSkBwlG9SJcr6j1IzK59i pH9_lBFckEx5nQq4aFgwD2m3SaCm9kH07jmi6vjHV1k7lOFeUd474F5g1.wZ .SNetsAknrrRO5uRNHrftT38K8U.kXjNhcgdxVA1MLcuCtYJtq.pjv.HK4xD sLLV5X9B5uoqjHFbb76FCujk_WDrKc7NVgiaX0_zjKtRmpZOTo9Qe_eVUj3w kzBRizS0-
Received: from [67.91.91.101] by web55805.mail.re3.yahoo.com via HTTP; Fri, 25 Feb 2011 17:54:39 PST
X-RocketYMMF: francisco_corella
X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656
Date: Fri, 25 Feb 2011 17:54:39 -0800 (PST)
From: Francisco Corella <fcorella@pomcor.com>
To: Brian Eaton <beaton@google.com>
In-Reply-To: <AANLkTi=TjkOgubbfUp50t5PKaxrbK4AHGqDcbK1pKdSU@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1828664380-1298685279=:18502"
Cc: "websec@ietf.org" <websec@ietf.org>, OAuth Mailing List <oauth@ietf.org>, "Karen P. Lewison" <kplewison@pomcor.com>
Subject: Re: [websec] [OAUTH-WG] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: fcorella@pomcor.com
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Feb 2011 01:53:51 -0000

--0-1828664380-1298685279=:18502
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

There is nothing wrong with telling people that they should prevent CSRF at=
tacks :-)

But there is no explicit state parameter in OAuth 1.0a.=C2=A0 Do you think =
that implementors of 1.0a, just by reading section 11.14, are aware of the =
danger of Login CSRF and can figure out how to prevent it, using a pre-sess=
ion cookie and implementing a state parameter that is not even mentioned in=
 the specification?

Francisco

--- On Sat, 2/26/11, Brian Eaton <beaton@google.com> wrote:

From: Brian Eaton <beaton@google.com>
Subject: Re: [OAUTH-WG] Indicating origin of OAuth credentials to combat lo=
gin CSRF
To: fcorella@pomcor.com
Cc: "OAuth Mailing List" <oauth@ietf.org>, "websec@ietf.org" <websec@ietf.o=
rg>, "James HManger" <James.H.Manger@team.telstra.com>, "Karen P. Lewison" =
<kplewison@pomcor.com>
Date: Saturday, February 26, 2011, 12:36 AM

I don't think the advice from the OAuth 1.0a spec is wrong:

http://oauth.net/core/1.0a/#anchor38

"Cross-Site Request Forgery (CSRF) is a web-based attack whereby HTTP
requests are transmitted from a user that the website trusts or has
authenticated. CSRF attacks on OAuth approvals can allow an attacker
to obtain authorization to OAuth Protected Resources without the
consent of the User. Service Providers SHOULD strongly consider best
practices in CSRF prevention at all OAuth endpoints.

CSRF attacks on OAuth callback URLs hosted by Consumers are also
possible. Consumers should prevent CSRF attacks on OAuth callback URLs
by verifying that the User at the Consumer site intended to complete
the OAuth negotiation with the Service Provider."

This is the purpose of the "state" parameter during the approval flows.

Cheers,
Brian

On Fri, Feb 25, 2011 at 3:42 PM, Francisco Corella <fcorella@pomcor.com> wr=
ote:
>
> Hi James,
>
> You raise an interesting point.=C2=A0 I hadn't thought about the
> threat of Login CSRF.
>
> > Q. Should an OAuth client app list the authorization server
> > in the Origin header of requests to resource servers?
> >
> > In OAuth (delegation) flows a server dynamically issues
> > credentials (such as a bearer token) to a client app to use
> > in subsequent HTTP requests to other servers. To combat
> > login cross-site request forgery (CSRF) attacks [1] (where
> > an attacker=E2=80=9A=C3=84=C3=B4s server issues the attacker=E2=80=9A=
=C3=84=C3=B4s credentials to a
> > client app ...
>
> But how will the client app get the "credentials" (bearer token)
> from the wrong authorization server?
>
> Even though the particular attack you describe may not work,
> OAuth is wide open to Login CSRF in a different way.=C2=A0 An
> attacker can legitimately obtain an authorization code, and
> then cause the victim's browser to submit it to the client
> application, thus logging the victim in to the client
> application as the attacker (in a social login scenario such
> as "log in with Facebook").=C2=A0 I bet all applications that use
> OAuth to delegate authentication (to Facebook, Twitter,
> Google, LinkedIn, Yahoo, etc.) are vulnerable to this now.
>
> One solution I would propose is to have the client set a
> pre-session cookie in the user's browser before the first
> redirection and include the value of the cookie in the local
> state parameter that it sends to the authorization server.
> The authorization server later returns the local state
> together with the authorization code, and the browser adds
> the cookie, so the client can prevent the attack by checking
> that the value of the cookie agrees with the value it
> included in the local state.
>
> Francisco
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--0-1828664380-1298685279=:18502
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;">There is nothing wrong with telling people th=
at they should prevent CSRF attacks :-)<br><br>But there is no explicit sta=
te parameter in OAuth 1.0a.&nbsp; Do you think that implementors of 1.0a, j=
ust by reading section 11.14, are aware of the danger of Login CSRF and can=
 figure out how to prevent it, using a pre-session cookie and implementing =
a state parameter that is not even mentioned in the specification?<br><br>F=
rancisco<br><br>--- On <b>Sat, 2/26/11, Brian Eaton <i>&lt;beaton@google.co=
m&gt;</i></b> wrote:<br><blockquote style=3D"border-left: 2px solid rgb(16,=
 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Brian Eaton &lt;=
beaton@google.com&gt;<br>Subject: Re: [OAUTH-WG] Indicating origin of OAuth=
 credentials to combat login CSRF<br>To: fcorella@pomcor.com<br>Cc: "OAuth =
Mailing List" &lt;oauth@ietf.org&gt;, "websec@ietf.org" &lt;websec@ietf.org=
&gt;,
 "James HManger" &lt;James.H.Manger@team.telstra.com&gt;, "Karen P. Lewison=
" &lt;kplewison@pomcor.com&gt;<br>Date: Saturday, February 26, 2011, 12:36 =
AM<br><br><div class=3D"plainMail">I don't think the advice from the OAuth =
1.0a spec is wrong:<br><br><a href=3D"http://oauth.net/core/1.0a/#anchor38"=
 target=3D"_blank">http://oauth.net/core/1.0a/#anchor38</a><br><br>"Cross-S=
ite Request Forgery (CSRF) is a web-based attack whereby HTTP<br>requests a=
re transmitted from a user that the website trusts or has<br>authenticated.=
 CSRF attacks on OAuth approvals can allow an attacker<br>to obtain authori=
zation to OAuth Protected Resources without the<br>consent of the User. Ser=
vice Providers SHOULD strongly consider best<br>practices in CSRF preventio=
n at all OAuth endpoints.<br><br>CSRF attacks on OAuth callback URLs hosted=
 by Consumers are also<br>possible. Consumers should prevent CSRF attacks o=
n OAuth callback URLs<br>by verifying that the User at the Consumer site
 intended to complete<br>the OAuth negotiation with the Service Provider."<=
br><br>This is the purpose of the "state" parameter during the approval flo=
ws.<br><br>Cheers,<br>Brian<br><br>On Fri, Feb 25, 2011 at 3:42 PM, Francis=
co Corella &lt;<a ymailto=3D"mailto:fcorella@pomcor.com" href=3D"/mc/compos=
e?to=3Dfcorella@pomcor.com">fcorella@pomcor.com</a>&gt; wrote:<br>&gt;<br>&=
gt; Hi James,<br>&gt;<br>&gt; You raise an interesting point.&nbsp; I hadn'=
t thought about the<br>&gt; threat of Login CSRF.<br>&gt;<br>&gt; &gt; Q. S=
hould an OAuth client app list the authorization server<br>&gt; &gt; in the=
 Origin header of requests to resource servers?<br>&gt; &gt;<br>&gt; &gt; I=
n OAuth (delegation) flows a server dynamically issues<br>&gt; &gt; credent=
ials (such as a bearer token) to a client app to use<br>&gt; &gt; in subseq=
uent HTTP requests to other servers. To combat<br>&gt; &gt; login cross-sit=
e request forgery (CSRF) attacks [1] (where<br>&gt; &gt; an
 attacker=E2=80=9A=C3=84=C3=B4s server issues the attacker=E2=80=9A=C3=84=
=C3=B4s credentials to a<br>&gt; &gt; client app ...<br>&gt;<br>&gt; But ho=
w will the client app get the "credentials" (bearer token)<br>&gt; from the=
 wrong authorization server?<br>&gt;<br>&gt; Even though the particular att=
ack you describe may not work,<br>&gt; OAuth is wide open to Login CSRF in =
a different way.&nbsp; An<br>&gt; attacker can legitimately obtain an autho=
rization code, and<br>&gt; then cause the victim's browser to submit it to =
the client<br>&gt; application, thus logging the victim in to the client<br=
>&gt; application as the attacker (in a social login scenario such<br>&gt; =
as "log in with Facebook").&nbsp; I bet all applications that use<br>&gt; O=
Auth to delegate authentication (to Facebook, Twitter,<br>&gt; Google, Link=
edIn, Yahoo, etc.) are vulnerable to this now.<br>&gt;<br>&gt; One solution=
 I would propose is to have the client set a<br>&gt; pre-session cookie in =
the user's browser
 before the first<br>&gt; redirection and include the value of the cookie i=
n the local<br>&gt; state parameter that it sends to the authorization serv=
er.<br>&gt; The authorization server later returns the local state<br>&gt; =
together with the authorization code, and the browser adds<br>&gt; the cook=
ie, so the client can prevent the attack by checking<br>&gt; that the value=
 of the cookie agrees with the value it<br>&gt; included in the local state=
.<br>&gt;<br>&gt; Francisco<br>&gt;<br>&gt;<br>&gt; _______________________=
________________________<br>&gt; OAuth mailing list<br>&gt; <a ymailto=3D"m=
ailto:OAuth@ietf.org" href=3D"/mc/compose?to=3DOAuth@ietf.org">OAuth@ietf.o=
rg</a><br>&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/oauth" targ=
et=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>&gt;<br></=
div></blockquote></td></tr></table>
--0-1828664380-1298685279=:18502--

From ietf@adambarth.com  Fri Feb 25 23:09:22 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 694F53A691B; Fri, 25 Feb 2011 23:09:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.839
X-Spam-Level: 
X-Spam-Status: No, score=-2.839 tagged_above=-999 required=5 tests=[AWL=0.138,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6JxNyhCSLUAO; Fri, 25 Feb 2011 23:09:16 -0800 (PST)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id AABEB3A68A0; Fri, 25 Feb 2011 23:09:16 -0800 (PST)
Received: by iwl42 with SMTP id 42so1902795iwl.31 for <multiple recipients>; Fri, 25 Feb 2011 23:10:11 -0800 (PST)
Received: by 10.231.161.15 with SMTP id p15mr3530063ibx.104.1298704210675; Fri, 25 Feb 2011 23:10:10 -0800 (PST)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by mx.google.com with ESMTPS id 8sm1627920iba.22.2011.02.25.23.10.09 (version=SSLv3 cipher=OTHER); Fri, 25 Feb 2011 23:10:09 -0800 (PST)
Received: by iwl42 with SMTP id 42so1902774iwl.31 for <multiple recipients>; Fri, 25 Feb 2011 23:10:09 -0800 (PST)
Received: by 10.231.160.80 with SMTP id m16mr3552715ibx.106.1298704209087; Fri, 25 Feb 2011 23:10:09 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.40.7 with HTTP; Fri, 25 Feb 2011 23:09:39 -0800 (PST)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com>
From: Adam Barth <ietf@adambarth.com>
Date: Fri, 25 Feb 2011 23:09:39 -0800
Message-ID: <AANLkTina+=5uV4V7DRfX6RsZUDU1j_Ag+Ruf2C9dPOW_@mail.gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: "websec@ietf.org" <websec@ietf.org>, OAuth Mailing List <oauth@ietf.org>
Subject: Re: [websec] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Feb 2011 07:09:23 -0000

On Thu, Feb 24, 2011 at 4:08 PM, Manger, James H
<James.H.Manger@team.telstra.com> wrote:
> Q. Should an OAuth client app list the authorization server in the Origin
> header of requests to resource servers?

They are allowed to, but are not required to, by the Origin header
specification.  Whether they should or not is a question for the OAuth
working group to decide.

Adam


> In OAuth (delegation) flows a server dynamically issues credentials (such=
 as
> a bearer token) to a client app to use in subsequent HTTP requests to oth=
er
> servers. To combat login cross-site request forgery (CSRF) attacks [1]
> (where an attacker=92s server issues the attacker=92s credentials to a cl=
ient
> app to use on behalf of a victim at a legitimate server) the client app
> needs to indicate where the credentials came from. The Origin header [2]
> looks like the right place to indicate this.
>
>
>
> [For the OAuth list: The Origin HTTP request header =93indicates the orig=
in(s)
> that caused the user agent to issue the request=94
> [http://tools.ietf.org/html/draft-ietf-websec-origin-00#section-6.2].]
>
>
>
> [For the WebSec list: An OAuth credential from an authorization server is=
 a
> bit like a cookie, but not restricted to the same origin.]
>
>
>
>
>
> Example:
>
>
>
> =A0 Client to (malicious) authorization server: ->
>
> =A0 =A0=A0POST /token HTTP/1.1
>
> =A0 =A0=A0Host: login.example.com
>
> =A0 =A0=A0=85
>
> =A0 <-
>
> =A0 =A0=A0HTTP/1.1 200 OK
>
> =A0 =A0=A0=85
>
> =A0 =A0=A0{ "access_token": "SlAV32hkKG", =85}
>
>
>
> =A0 Client to resource server: ->
>
> =A0 =A0=A0POST /uploadData HTTP/1.1
>
> =A0 =A0=A0Host: api.exampledata.com
>
> =A0 =A0=A0Authorization: BEARER SlAV32hkKG
>
> =A0 =A0=A0Origin: https://login.example.com
>
> =A0=A0=A0 =85
>
>
>
>
>
> There can be other servers that contribute to a client app making a reque=
st.
> For instance, one server can redirect to another. A Origin request header
> can list multiple origins. The server will not be able to distinguish whi=
ch
> origin issued OAuth credentials from which issued a redirect etc. That mi=
ght
> not matter if a server has to trust all the values listed in the Origin
> header.
>
> Q. Is it the group=92s expectation that servers checking the Origin heade=
r
> will require all the listed origins to be trusted?
>
>
>
> [1] Robust Defenses for Cross Site Request Forgery,
> http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf
>
> [2] The Web Origin Concept,
> http://tools.ietf.org/html/draft-ietf-websec-origin
>
> [3] Principles of the Same Origin Policy,
> http://tools.ietf.org/html/draft-abarth-principles-of-origin
>
>
>
> --
>
> James Manger
>
>
>
> _______________________________________________
> websec mailing list
> websec@ietf.org
> https://www.ietf.org/mailman/listinfo/websec
>
>

From fcorella@pomcor.com  Fri Feb 25 15:41:11 2011
Return-Path: <fcorella@pomcor.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 235D43A6A7C for <websec@core3.amsl.com>; Fri, 25 Feb 2011 15:41:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lv0aAeqmy5LZ for <websec@core3.amsl.com>; Fri, 25 Feb 2011 15:41:10 -0800 (PST)
Received: from nm24.bullet.mail.ac4.yahoo.com (nm24.bullet.mail.ac4.yahoo.com [98.139.52.221]) by core3.amsl.com (Postfix) with SMTP id 0A60A3A6A78 for <websec@ietf.org>; Fri, 25 Feb 2011 15:41:09 -0800 (PST)
Received: from [98.139.52.194] by nm24.bullet.mail.ac4.yahoo.com with NNFMP; 25 Feb 2011 23:42:00 -0000
Received: from [98.139.52.140] by tm7.bullet.mail.ac4.yahoo.com with NNFMP; 25 Feb 2011 23:42:00 -0000
Received: from [127.0.0.1] by omp1023.mail.ac4.yahoo.com with NNFMP; 25 Feb 2011 23:42:00 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 793241.38881.bm@omp1023.mail.ac4.yahoo.com
Received: (qmail 25996 invoked by uid 60001); 25 Feb 2011 23:42:00 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298677320; bh=HSGzYKvQPrpXOIEWR1Uw6+e4x3sCVRqsJUXMdE+Q0l4=; h=Message-ID:X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ygJYzq8Wc818Fy2UHLEQK76ZbDOtY8go8ALTfNVBVVJSTp1LS82a60e8vvxKhTbx4QCGY+1JjOGKBxHorO7ls/E0WeF6LKhbRGQfNHFVvNv/IbI76jiryFFA4u7Ru+/FB78/BBWgjQ4utVo5aQCMILgDxdPuGxaaBAVJH3Bv2uw=
Message-ID: <593793.24331.qm@web55801.mail.re3.yahoo.com>
X-YMail-OSG: UvntHMIVM1nHs6wx6O5UHJAT9M2R3MUj8Jljl0PyS7W0SvF U6WxZeQnCho5yduN73.gc08bxMzCr06x5D8AloKd1NfMp1oMbYkvDFWsFI8i 5sw5.N9YlTl4BmAYpZHyWAXAdsCGf27kBIMdMC5eyVglDIdMmfk8J0Ul2LS_ mj5oSGpffbkITpk5bQ.r62rLhLnvV3ifytfzfBQseKLViYBMgive6FNymn7. kxZ6mPGan8TwZyXPw_QWBUsaOt5BzsylisF6tJtnmJJpss3PZxqHX6OcevGv _dZSujNuvJeL52bDxbvcAZ_4nvYLVPQE3DleSo_pcC73K_S8XNM4f0tyCXRb OWYkK4WnuEIqD9lvYgGLuBmKmhIfKOSJP9v0WNYkR5WC2jqq8mOtNVs9m4zC st6U-
Received: from [67.91.91.101] by web55801.mail.re3.yahoo.com via HTTP; Fri, 25 Feb 2011 15:42:00 PST
X-RocketYMMF: francisco_corella
X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656
Date: Fri, 25 Feb 2011 15:42:00 -0800 (PST)
From: Francisco Corella <fcorella@pomcor.com>
To: OAuth Mailing List <oauth@ietf.org>, "websec@ietf.org" <websec@ietf.org>,  James HManger <James.H.Manger@team.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1990049981-1298677320=:24331"
X-Mailman-Approved-At: Sat, 26 Feb 2011 02:46:33 -0800
Cc: "Karen P. Lewison" <kplewison@pomcor.com>
Subject: Re: [websec] [OAUTH-WG] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: fcorella@pomcor.com
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Feb 2011 23:41:11 -0000

--0-1990049981-1298677320=:24331
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi James,

You raise an interesting point.=C2=A0 I hadn't thought about the
threat of Login CSRF.

> Q. Should an OAuth client app list the authorization server
> in the Origin header of requests to resource servers?
>=20
> In OAuth (delegation) flows a server dynamically issues
> credentials (such as a bearer token) to a client app to use
> in subsequent HTTP requests to other servers. To combat
> login cross-site request forgery (CSRF) attacks [1] (where
> an attacker=E2=80=9A=C3=84=C3=B4s server issues the attacker=E2=80=9A=C3=
=84=C3=B4s credentials to a
> client app ...

But how will the client app get the "credentials" (bearer token)
from the wrong authorization server?

Even though the particular attack you describe may not work,
OAuth is wide open to Login CSRF in a different way.=C2=A0 An
attacker can legitimately obtain an authorization code, and
then cause the victim's browser to submit it to the client
application, thus logging the victim in to the client
application as the attacker (in a social login scenario such
as "log in with Facebook").=C2=A0 I bet all applications that use
OAuth to delegate authentication (to Facebook, Twitter,
Google, LinkedIn, Yahoo, etc.) are vulnerable to this now.

One solution I would propose is to have the client set a
pre-session cookie in the user's browser before the first
redirection and include the value of the cookie in the local
state parameter that it sends to the authorization server.
The authorization server later returns the local state
together with the authorization code, and the browser adds
the cookie, so the client can prevent the attack by checking
that the value of the cookie agrees with the value it
included in the local state.

Francisco


--0-1990049981-1298677320=:24331
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;">Hi James,<br><br>You raise an interesting poi=
nt.&nbsp; I hadn't thought about the<br>threat of Login CSRF.<br><br>&gt; Q=
. Should an OAuth client app list the authorization server<br>&gt; in the O=
rigin header of requests to resource servers?<br>&gt; <br>&gt; In OAuth (de=
legation) flows a server dynamically issues<br>&gt; credentials (such as a =
bearer token) to a client app to use<br>&gt; in subsequent HTTP requests to=
 other servers. To combat<br>&gt; login cross-site request forgery (CSRF) a=
ttacks [1] (where<br>&gt; an attacker=E2=80=9A=C3=84=C3=B4s server issues t=
he attacker=E2=80=9A=C3=84=C3=B4s credentials to a<br>&gt; client app ...<b=
r><br>But how will the client app get the "credentials" (bearer token)<br>f=
rom the wrong authorization server?<br><br>Even though the particular attac=
k you describe may not work,<br>OAuth is wide open to Login CSRF in a diffe=
rent way.&nbsp; An<br>attacker
 can legitimately obtain an authorization code, and<br>then cause the victi=
m's browser to submit it to the client<br>application, thus logging the vic=
tim in to the client<br>application as the attacker (in a social login scen=
ario such<br>as "log in with Facebook").&nbsp; I bet all applications that =
use<br>OAuth to delegate authentication (to Facebook, Twitter,<br>Google, L=
inkedIn, Yahoo, etc.) are vulnerable to this now.<br><br>One solution I wou=
ld propose is to have the client set a<br>pre-session cookie in the user's =
browser before the first<br>redirection and include the value of the cookie=
 in the local<br>state parameter that it sends to the authorization server.=
<br>The authorization server later returns the local state<br>together with=
 the authorization code, and the browser adds<br>the cookie, so the client =
can prevent the attack by checking<br>that the value of the cookie agrees w=
ith the value it<br>included in the local
 state.<br><br>Francisco<br><br></td></tr></table>
--0-1990049981-1298677320=:24331--

From beaton@google.com  Fri Feb 25 16:35:26 2011
Return-Path: <beaton@google.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F0EEC3A6A97 for <websec@core3.amsl.com>; Fri, 25 Feb 2011 16:35:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.977
X-Spam-Level: 
X-Spam-Status: No, score=-105.977 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HxP6N4AobnbZ for <websec@core3.amsl.com>; Fri, 25 Feb 2011 16:35:20 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 1A7EE3A6A92 for <websec@ietf.org>; Fri, 25 Feb 2011 16:35:20 -0800 (PST)
Received: from kpbe16.cbf.corp.google.com (kpbe16.cbf.corp.google.com [172.25.105.80]) by smtp-out.google.com with ESMTP id p1Q0aDaw027980 for <websec@ietf.org>; Fri, 25 Feb 2011 16:36:13 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1298680573; bh=9Mx3R7YzqV+mP/Mf46ko+Oq171w=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=QbW+PNEUGLW3MJ7JO6/62kHo9bw0YRI6GB+E20sfOxTWHNPjr1u231Vo6Qinnjr5P GvoHogcOx8oDgHsVHRdzw==
Received: from pxi2 (pxi2.prod.google.com [10.243.27.2]) by kpbe16.cbf.corp.google.com with ESMTP id p1Q0aAYU012156 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <websec@ietf.org>; Fri, 25 Feb 2011 16:36:11 -0800
Received: by pxi2 with SMTP id 2so457844pxi.24 for <websec@ietf.org>; Fri, 25 Feb 2011 16:36:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qtf/+9Pb3KC1/hW8j56qymTmxi5yKBjaDnnL1EUcexc=; b=P+szSLsCvMrZen2NueaUnmNXmQHETZDX3919GAPK4rvAf8b1J3OL4OWB6bI6s+sO7w XMa6MKVFABJmUZ0phPJA==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YCwbm3G9obgAK+fQP43wonYY1UTeZusb/5rSJt19DaDQzW+0o6uOUpqE7Cfca1UbZx uQUryNcUXBWqKTC4ISxQ==
MIME-Version: 1.0
Received: by 10.142.212.10 with SMTP id k10mr2163661wfg.70.1298680570369; Fri, 25 Feb 2011 16:36:10 -0800 (PST)
Received: by 10.142.213.7 with HTTP; Fri, 25 Feb 2011 16:36:10 -0800 (PST)
In-Reply-To: <593793.24331.qm@web55801.mail.re3.yahoo.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com> <593793.24331.qm@web55801.mail.re3.yahoo.com>
Date: Fri, 25 Feb 2011 16:36:10 -0800
Message-ID: <AANLkTi=TjkOgubbfUp50t5PKaxrbK4AHGqDcbK1pKdSU@mail.gmail.com>
From: Brian Eaton <beaton@google.com>
To: fcorella@pomcor.com
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Mailman-Approved-At: Sat, 26 Feb 2011 02:46:33 -0800
Cc: "websec@ietf.org" <websec@ietf.org>, OAuth Mailing List <oauth@ietf.org>, "Karen P. Lewison" <kplewison@pomcor.com>
Subject: Re: [websec] [OAUTH-WG] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Feb 2011 00:35:26 -0000

I don't think the advice from the OAuth 1.0a spec is wrong:

http://oauth.net/core/1.0a/#anchor38

"Cross-Site Request Forgery (CSRF) is a web-based attack whereby HTTP
requests are transmitted from a user that the website trusts or has
authenticated. CSRF attacks on OAuth approvals can allow an attacker
to obtain authorization to OAuth Protected Resources without the
consent of the User. Service Providers SHOULD strongly consider best
practices in CSRF prevention at all OAuth endpoints.

CSRF attacks on OAuth callback URLs hosted by Consumers are also
possible. Consumers should prevent CSRF attacks on OAuth callback URLs
by verifying that the User at the Consumer site intended to complete
the OAuth negotiation with the Service Provider."

This is the purpose of the "state" parameter during the approval flows.

Cheers,
Brian

On Fri, Feb 25, 2011 at 3:42 PM, Francisco Corella <fcorella@pomcor.com> wr=
ote:
>
> Hi James,
>
> You raise an interesting point.=A0 I hadn't thought about the
> threat of Login CSRF.
>
> > Q. Should an OAuth client app list the authorization server
> > in the Origin header of requests to resource servers?
> >
> > In OAuth (delegation) flows a server dynamically issues
> > credentials (such as a bearer token) to a client app to use
> > in subsequent HTTP requests to other servers. To combat
> > login cross-site request forgery (CSRF) attacks [1] (where
> > an attacker=82=C4=F4s server issues the attacker=82=C4=F4s credentials =
to a
> > client app ...
>
> But how will the client app get the "credentials" (bearer token)
> from the wrong authorization server?
>
> Even though the particular attack you describe may not work,
> OAuth is wide open to Login CSRF in a different way.=A0 An
> attacker can legitimately obtain an authorization code, and
> then cause the victim's browser to submit it to the client
> application, thus logging the victim in to the client
> application as the attacker (in a social login scenario such
> as "log in with Facebook").=A0 I bet all applications that use
> OAuth to delegate authentication (to Facebook, Twitter,
> Google, LinkedIn, Yahoo, etc.) are vulnerable to this now.
>
> One solution I would propose is to have the client set a
> pre-session cookie in the user's browser before the first
> redirection and include the value of the cookie in the local
> state parameter that it sends to the authorization server.
> The authorization server later returns the local state
> together with the authorization code, and the browser adds
> the cookie, so the client can prevent the attack by checking
> that the value of the cookie agrees with the value it
> included in the local state.
>
> Francisco
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

From torsten@lodderstedt.net  Sat Feb 26 04:26:21 2011
Return-Path: <torsten@lodderstedt.net>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2CA783A67D7; Sat, 26 Feb 2011 04:26:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.205
X-Spam-Level: 
X-Spam-Status: No, score=-2.205 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iyaoEd1LIfVu; Sat, 26 Feb 2011 04:26:16 -0800 (PST)
Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.38]) by core3.amsl.com (Postfix) with ESMTP id 560DF3A67B6; Sat, 26 Feb 2011 04:26:15 -0800 (PST)
Received: from [79.253.40.1] (helo=[192.168.71.49]) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1PtJEl-0006uH-QM; Sat, 26 Feb 2011 13:27:03 +0100
Message-ID: <4D68F197.7040707@lodderstedt.net>
Date: Sat, 26 Feb 2011 13:27:03 +0100
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: "Manger, James H" <James.H.Manger@team.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com>
Content-Type: multipart/alternative; boundary="------------030004040703060504060508"
X-Df-Sender: torsten@lodderstedt-online.de
X-Mailman-Approved-At: Sat, 26 Feb 2011 04:33:05 -0800
Cc: "websec@ietf.org" <websec@ietf.org>, OAuth Mailing List <oauth@ietf.org>
Subject: Re: [websec] [OAUTH-WG] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Feb 2011 12:26:21 -0000

This is a multi-part message in MIME format.
--------------030004040703060504060508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi James,

I would expect the token to carry information about its issuer. Would 
this be sufficient in order to detect CSRF?

regards,
Torsten.

Am 25.02.2011 01:08, schrieb Manger, James H:
>
> Q. Should an OAuth client app list the authorization server in the 
> Origin header of requests to resource servers?
>
> In OAuth (delegation) flows a server dynamically issues credentials 
> (such as a bearer token) to a client app to use in subsequent HTTP 
> requests to other servers. To combat login cross-site request forgery 
> (CSRF) attacks [1] (where an attacker's server issues the attacker's 
> credentials to a client app to use on behalf of a victim at a 
> legitimate server) the client app needs to indicate where the 
> credentials came from. The Origin header [2] looks like the right 
> place to indicate this.
>
> [For the OAuth list: The Origin HTTP request header "indicates the 
> origin(s) that caused the user agent to issue the request" 
> [http://tools.ietf.org/html/draft-ietf-websec-origin-00#section-6.2].]
>
> [For the WebSec list: An OAuth credential from an authorization server 
> is a bit like a cookie, but not restricted to the same origin.]
>
> Example:
>
>   Client to (malicious) authorization server: ->
>
>     POST /token HTTP/1.1
>
>     Host: login.example.com
>
>     ...
>
> <-
>
>     HTTP/1.1 200 OK
>
>     ...
>
>     { "access_token": "SlAV32hkKG", ...}
>
>   Client to resource server: ->
>
>     POST /uploadData HTTP/1.1
>
>     Host: api.exampledata.com
>
>     Authorization: BEARER SlAV32hkKG
>
>     Origin: https://login.example.com
>
>     ...
>
> There can be other servers that contribute to a client app making a 
> request. For instance, one server can redirect to another. A Origin 
> request header can list multiple origins. The server will not be able 
> to distinguish which origin issued OAuth credentials from which issued 
> a redirect etc. That might not matter if a server has to trust all the 
> values listed in the Origin header.
>
> Q. Is it the group's expectation that servers checking the Origin 
> header will require all the listed origins to be trusted?
>
> [1] Robust Defenses for Cross Site Request Forgery, 
> http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf
>
> [2] The Web Origin Concept, 
> http://tools.ietf.org/html/draft-ietf-websec-origin
>
> [3] Principles of the Same Origin Policy, 
> http://tools.ietf.org/html/draft-abarth-principles-of-origin
>
> --
>
> James Manger
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

--------------030004040703060504060508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi James,<br>
    <br>
    I would expect the token to carry information about its issuer.
    Would this be sufficient in order to detect CSRF?<br>
    <br>
    regards,<br>
    Torsten. <br>
    <br>
    Am 25.02.2011 01:08, schrieb Manger, James H:
    <blockquote
cite="mid:255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Q. Should an OAuth client app list the
          authorization server in the Origin header of requests to
          resource servers?<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">In OAuth (delegation) flows a server
          dynamically issues credentials (such as a bearer token) to a
          client app to use in subsequent HTTP requests to other
          servers. To combat login cross-site request forgery (CSRF)
          attacks [1] (where an attacker&#8217;s server issues the attacker&#8217;s
          credentials to a client app to use on behalf of a victim at a
          legitimate server) the client app needs to indicate where the
          credentials came from. The Origin header [2] looks like the
          right place to indicate this.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">[For the OAuth list: The Origin HTTP
          request header &#8220;indicates the origin(s) that caused the user
          agent to issue the request&#8221;
          [<a class="moz-txt-link-freetext" href="http://tools.ietf.org/html/draft-ietf-websec-origin-00#section-6.2">http://tools.ietf.org/html/draft-ietf-websec-origin-00#section-6.2</a>].]<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">[For the WebSec list: An OAuth credential
          from an authorization server is a bit like a cookie, but not
          restricted to the same origin.]<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Example:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">&nbsp; Client to (malicious) authorization
          server: -&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;POST /token HTTP/1.1<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;Host: login.example.com<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;&#8230;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &lt;-<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;HTTP/1.1 200 OK<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;&#8230;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;{ "access_token": "SlAV32hkKG", &#8230;}<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">&nbsp; Client to resource server: -&gt;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;POST /uploadData HTTP/1.1<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;Host: api.exampledata.com<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;Authorization: BEARER SlAV32hkKG<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; &nbsp;&nbsp;Origin: <a class="moz-txt-link-freetext" href="https://login.example.com">https://login.example.com</a><o:p></o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp; &#8230;<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">There can be other servers that contribute
          to a client app making a request. For instance, one server can
          redirect to another. A Origin request header can list multiple
          origins. The server will not be able to distinguish which
          origin issued OAuth credentials from which issued a redirect
          etc. That might not matter if a server has to trust all the
          values listed in the Origin header.<o:p></o:p></p>
        <p class="MsoNormal">Q. Is it the group&#8217;s expectation that
          servers checking the Origin header will require all the listed
          origins to be trusted?<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">[1] Robust Defenses for Cross Site Request
          Forgery, <a moz-do-not-send="true"
            href="http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf">
http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf</a><o:p></o:p></p>
        <p class="MsoNormal">[2] The Web Origin Concept, <a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-ietf-websec-origin">
            http://tools.ietf.org/html/draft-ietf-websec-origin</a><o:p></o:p></p>
        <p class="MsoNormal">[3] Principles of the Same Origin Policy, <a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-abarth-principles-of-origin">
            http://tools.ietf.org/html/draft-abarth-principles-of-origin</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">--<o:p></o:p></p>
        <p class="MsoNormal">James Manger<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
OAuth mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OAuth@ietf.org">OAuth@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>
</pre>
    </blockquote>
  </body>
</html>

--------------030004040703060504060508--

From James.H.Manger@team.telstra.com  Sun Feb 27 18:18:30 2011
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 736473A6961 for <websec@core3.amsl.com>; Sun, 27 Feb 2011 18:18:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.251
X-Spam-Level: 
X-Spam-Status: No, score=-0.251 tagged_above=-999 required=5 tests=[AWL=0.650,  BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EpjSvQwC+SVW for <websec@core3.amsl.com>; Sun, 27 Feb 2011 18:18:29 -0800 (PST)
Received: from ipxbvo.tcif.telstra.com.au (ipxbvo.tcif.telstra.com.au [203.35.135.204]) by core3.amsl.com (Postfix) with ESMTP id 6AC023A6A57 for <websec@ietf.org>; Sun, 27 Feb 2011 18:18:29 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.62,237,1296997200"; d="scan'208";a="26405353"
Received: from unknown (HELO ipcdvi.tcif.telstra.com.au) ([10.97.217.212]) by ipobvi.tcif.telstra.com.au with ESMTP; 28 Feb 2011 13:19:27 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6270"; a="20146369"
Received: from wsmsg3706.srv.dir.telstra.com ([172.49.40.80]) by ipcdvi.tcif.telstra.com.au with ESMTP; 28 Feb 2011 13:19:27 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by wsmsg3706.srv.dir.telstra.com ([172.49.40.80]) with mapi; Mon, 28 Feb 2011 13:19:26 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: Adam Barth <ietf@adambarth.com>, "websec@ietf.org" <websec@ietf.org>
Date: Mon, 28 Feb 2011 13:19:25 +1100
Thread-Topic: [websec] Indicating origin of OAuth credentials to combat login CSRF
Thread-Index: AcvVhDZuebDVjch7TmW/2L7IGMnuwgBXSkeA
Message-ID: <255B9BB34FB7D647A506DC292726F6E1127ECCD305@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com> <AANLkTina+=5uV4V7DRfX6RsZUDU1j_Ag+Ruf2C9dPOW_@mail.gmail.com>
In-Reply-To: <AANLkTina+=5uV4V7DRfX6RsZUDU1j_Ag+Ruf2C9dPOW_@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [websec] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Feb 2011 02:18:30 -0000

>On Thu, Feb 24, 2011 at 4:08 PM, Manger, James H
><James.H.Manger@team.telstra.com> wrote:
>> Q. Should an OAuth client app list the authorization server in the Origi=
n
>> header of requests to resource servers?

Adam Barth replied:
> They are allowed to, but are not required to, by the Origin header
> specification.  Whether they should or not is a question for the OAuth
> working group to decide.

That is true, Adam, but I was hoping for a bit more advice from the group k=
nowing most about "Origin" and cross-site requests about the need to indica=
te the server that dynamically provided an opaque value that the client is =
putting in the Authorization header of subsequent cross-origin requests.


Once specific question for websec is:
What semantics are associated with the *order* of origins in an "Origin" HT=
TP request header value?

The Origin spec implies (but doesn't explain) that there is some meaning to=
 the order: a duplicate origin is omitted if it would be next to the same v=
alue (but included if there are intervening origins); and a site returning =
a redirect is appended to existing origins.

CORS seems to ignore the order of origins for non-preflight requests [http:=
//www.w3.org/TR/cors/#resource-requests section 5.1 step 2].
CORS seems to imply a preflight request can only have a single origin in it=
s "Origin" header [section 5.2 step 2]. That might not work well if OAuth s=
ays the authorization server shall be indicated in the "Origin" header as w=
ell.


Perhaps it would be better for the Origin header to be specified as a *set*=
 of origins, not a list. That is, state that order doesn't matter (and no d=
uplicates are allowed). Would that hinder any uses of Origin?


I suspect open redirectors are the problem. After a redirect, the origin of=
 the original request no longer has any influence over the subsequent reque=
st so, theoretically, they should be dropped from the Origin header. In pra=
ctise, that is only secure if trusted sites do not have open redirectors --=
 that might be too much to hope for.
It seems to me that the Origin spec is keeping the pre-redirect origins to =
cope with open redirectors, and implicitly hoping the order of origins can =
be used to ignore all but the last origin when necessary. Such an unstated =
hope interacts badly if OAuth adds an origin that isn't from a redirect.

--
James Manger

From ietf@adambarth.com  Sun Feb 27 21:46:45 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 839723A6AB8 for <websec@core3.amsl.com>; Sun, 27 Feb 2011 21:46:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.848
X-Spam-Level: 
X-Spam-Status: No, score=-2.848 tagged_above=-999 required=5 tests=[AWL=0.129,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mFQzeL2TAJty for <websec@core3.amsl.com>; Sun, 27 Feb 2011 21:46:44 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by core3.amsl.com (Postfix) with ESMTP id 2587D3A686D for <websec@ietf.org>; Sun, 27 Feb 2011 21:46:44 -0800 (PST)
Received: by iyj8 with SMTP id 8so2931403iyj.31 for <websec@ietf.org>; Sun, 27 Feb 2011 21:47:43 -0800 (PST)
Received: by 10.231.59.213 with SMTP id m21mr5172738ibh.24.1298872062841; Sun, 27 Feb 2011 21:47:42 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx.google.com with ESMTPS id z4sm4184675ibg.7.2011.02.27.21.47.41 (version=SSLv3 cipher=OTHER); Sun, 27 Feb 2011 21:47:41 -0800 (PST)
Received: by iyj8 with SMTP id 8so2931384iyj.31 for <websec@ietf.org>; Sun, 27 Feb 2011 21:47:41 -0800 (PST)
Received: by 10.42.177.137 with SMTP id bi9mr4541082icb.107.1298872061154; Sun, 27 Feb 2011 21:47:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.40.7 with HTTP; Sun, 27 Feb 2011 21:47:11 -0800 (PST)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1127ECCD305@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com> <AANLkTina+=5uV4V7DRfX6RsZUDU1j_Ag+Ruf2C9dPOW_@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E1127ECCD305@WSMSG3153V.srv.dir.telstra.com>
From: Adam Barth <ietf@adambarth.com>
Date: Sun, 27 Feb 2011 21:47:11 -0800
Message-ID: <AANLkTikX5sMthdbC65huPMcH-r4QWHmOGBOzHe9EKk7u@mail.gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "websec@ietf.org" <websec@ietf.org>
Subject: Re: [websec] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Feb 2011 05:46:45 -0000

On Sun, Feb 27, 2011 at 6:19 PM, Manger, James H
<James.H.Manger@team.telstra.com> wrote:
>>On Thu, Feb 24, 2011 at 4:08 PM, Manger, James H
>><James.H.Manger@team.telstra.com> wrote:
>>> Q. Should an OAuth client app list the authorization server in the Orig=
in
>>> header of requests to resource servers?
>
> Adam Barth replied:
>> They are allowed to, but are not required to, by the Origin header
>> specification. =A0Whether they should or not is a question for the OAuth
>> working group to decide.
>
> That is true, Adam, but I was hoping for a bit more advice from the group=
 knowing most about "Origin" and cross-site requests about the need to indi=
cate the server that dynamically provided an opaque value that the client i=
s putting in the Authorization header of subsequent cross-origin requests.

I'm not familiar enough with the details of OAuth to give you a
meaningful answer.  Last time I looked into Login CSRF issues with
OAuth, the protocol had a large problem and every implementation I
experimented with was trivially vulnerable.  I'd certainly recommend
doing something to prevent those attacks, but I'm unsure to what
extent the Origin header is the best solution available to you.

> Once specific question for websec is:
> What semantics are associated with the *order* of origins in an "Origin" =
HTTP request header value?

There are no semantics associated with the order of origins in the
Origin header.  To wit:

http://tools.ietf.org/html/draft-ietf-websec-origin-00#section-6.2

[[
6.2.  Semantics

   When included in an HTTP request, the Origin header indicates the
   origin(s) that caused the user agent to issue the request.

   For example, consider a user agent that executes scripts on behalf of
   origins.  If one of those scripts causes the user agent to issue an
   HTTP request, the user agent might wish to use the Origin header to
   inform the server that the request was issued by the script.

   In some cases, a number of origins contribute to causing the user
   agents to issue an HTTP request.  In those cases, the user agent can
   list all the origins in the Origin header.  For example, if the HTTP
   request was initially issued by one origin but then later redirected
   by another origin, the user agent might wish to inform the server
   that two origins were involved in causing the user agent to issue the
   request.
]]

Notice that the semantics does not depend on the order.

> The Origin spec implies (but doesn't explain) that there is some meaning =
to the order: a duplicate origin is omitted if it would be next to the same=
 value (but included if there are intervening origins); and a site returnin=
g a redirect is appended to existing origins.

Those are user agent requirement for generating the header and not
related to the semantics, which are defined in Section 6.2.

> CORS seems to ignore the order of origins for non-preflight requests [htt=
p://www.w3.org/TR/cors/#resource-requests section 5.1 step 2].
> CORS seems to imply a preflight request can only have a single origin in =
its "Origin" header [section 5.2 step 2]. That might not work well if OAuth=
 says the authorization server shall be indicated in the "Origin" header as=
 well.
>
> Perhaps it would be better for the Origin header to be specified as a *se=
t* of origins, not a list. That is, state that order doesn't matter (and no=
 duplicates are allowed). Would that hinder any uses of Origin?

However we model the semantics of the header, when serialized on the
wire the origins will appear in some textual order.  The document
simple defines precisely how user agents ought to generate that
serialization.

> I suspect open redirectors are the problem. After a redirect, the origin =
of the original request no longer has any influence over the subsequent req=
uest so, theoretically, they should be dropped from the Origin header. In p=
ractise, that is only secure if trusted sites do not have open redirectors =
-- that might be too much to hope for.
>
> It seems to me that the Origin spec is keeping the pre-redirect origins t=
o cope with open redirectors, and implicitly hoping the order of origins ca=
n be used to ignore all but the last origin when necessary. Such an unstate=
d hope interacts badly if OAuth adds an origin that isn't from a redirect.

I didn't follow these paragraphs.  The specification is quite clear
about how the Origin header interacts with semantics.  If you have
specific questions, I can try to answer them, but I'm not sure there's
as specific a teleology as you ascribe above.

Adam

From James.H.Manger@team.telstra.com  Sun Feb 27 22:53:22 2011
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF7263A68F2 for <websec@core3.amsl.com>; Sun, 27 Feb 2011 22:53:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.359
X-Spam-Level: 
X-Spam-Status: No, score=-0.359 tagged_above=-999 required=5 tests=[AWL=0.542,  BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HCjFAqYekT75 for <websec@core3.amsl.com>; Sun, 27 Feb 2011 22:53:21 -0800 (PST)
Received: from ipxano.tcif.telstra.com.au (ipxano.tcif.telstra.com.au [203.35.82.200]) by core3.amsl.com (Postfix) with ESMTP id 6836F3A6804 for <websec@ietf.org>; Sun, 27 Feb 2011 22:53:19 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.62,238,1296997200"; d="scan'208";a="29785744"
Received: from unknown (HELO ipcani.tcif.telstra.com.au) ([10.97.216.200]) by ipoani.tcif.telstra.com.au with ESMTP; 28 Feb 2011 17:54:18 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6270"; a="20676292"
Received: from wsmsg3703.srv.dir.telstra.com ([172.49.40.171]) by ipcani.tcif.telstra.com.au with ESMTP; 28 Feb 2011 17:54:18 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3703.srv.dir.telstra.com ([172.49.40.171]) with mapi; Mon, 28 Feb 2011 17:54:17 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: Adam Barth <ietf@adambarth.com>, "websec@ietf.org" <websec@ietf.org>
Date: Mon, 28 Feb 2011 17:54:15 +1100
Thread-Topic: [websec] Indicating origin of OAuth credentials to combat login CSRF
Thread-Index: AcvXCwX3m4LwPlzkQGOtaq877n7QAQAAFm+g
Message-ID: <255B9BB34FB7D647A506DC292726F6E1127F341E67@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com> <AANLkTina+=5uV4V7DRfX6RsZUDU1j_Ag+Ruf2C9dPOW_@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E1127ECCD305@WSMSG3153V.srv.dir.telstra.com> <AANLkTikX5sMthdbC65huPMcH-r4QWHmOGBOzHe9EKk7u@mail.gmail.com>
In-Reply-To: <AANLkTikX5sMthdbC65huPMcH-r4QWHmOGBOzHe9EKk7u@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [websec] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Feb 2011 06:53:23 -0000

Thanks Adam.

>> What semantics are associated with the *order* of origins in an "Origin"=
 HTTP request header value?

> There are no semantics associated with the order of origins in the Origin=
 header.

Great.

>> The Origin spec implies (but doesn't explain) that there is some meaning=
 to the order: a duplicate origin is omitted if it would be next to the sam=
e value (but included if there are intervening origins); and a site returni=
ng a redirect is appended to existing origins.

> Those are user agent requirement for generating the header and not
related to the semantics, which are defined in Section 6.2.

Ok, sort of.
So the text
  "no two consecutive serialized-origin productions in the grammar can be i=
dentical"
includes the word "consecutive" not for any semantic meaning, but because y=
ou think it might be easier for user-agents to implement the spec if they o=
nly have to compare an origin they are adding against the last existing ori=
gin, not all existing origins?



I can image a server X that is happy to accept a request redirected from a =
trusted server Y even if the request was originally caused by an unknown se=
rver Z. X totally trusts Y -- to not issue CSRF attacks, and to not be a co=
nduit for CSRF attacks. However, when X receives
  Origin: Z Y
can it safely accept the request?

Not according to the semantics (6.2.) as unknown Z was somehow involved.
But it can be safe once 6.3 is also considered since any (potentially malic=
ious) redirect from the unknown Z to X could not produce this ordering (it =
could produce "Origin: Y Z").


Giving user-agents precise instructions (MUSTs) is nice, but it does add se=
mantics.

--
James Manger

From ietf@adambarth.com  Sun Feb 27 23:02:56 2011
Return-Path: <ietf@adambarth.com>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BC2C43A69ED for <websec@core3.amsl.com>; Sun, 27 Feb 2011 23:02:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.852
X-Spam-Level: 
X-Spam-Status: No, score=-2.852 tagged_above=-999 required=5 tests=[AWL=0.125,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pIwFZEERpPST for <websec@core3.amsl.com>; Sun, 27 Feb 2011 23:02:55 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by core3.amsl.com (Postfix) with ESMTP id DC2953A6804 for <websec@ietf.org>; Sun, 27 Feb 2011 23:02:54 -0800 (PST)
Received: by iyj8 with SMTP id 8so2974895iyj.31 for <websec@ietf.org>; Sun, 27 Feb 2011 23:03:54 -0800 (PST)
Received: by 10.42.229.74 with SMTP id jh10mr2861583icb.341.1298876634310; Sun, 27 Feb 2011 23:03:54 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx.google.com with ESMTPS id d21sm4260952ibg.21.2011.02.27.23.03.53 (version=SSLv3 cipher=OTHER); Sun, 27 Feb 2011 23:03:53 -0800 (PST)
Received: by iyj8 with SMTP id 8so2974880iyj.31 for <websec@ietf.org>; Sun, 27 Feb 2011 23:03:53 -0800 (PST)
Received: by 10.231.16.200 with SMTP id p8mr5117391iba.181.1298876633057; Sun, 27 Feb 2011 23:03:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.40.7 with HTTP; Sun, 27 Feb 2011 23:03:23 -0800 (PST)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1127F341E67@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E1127DCD2142@WSMSG3153V.srv.dir.telstra.com> <AANLkTina+=5uV4V7DRfX6RsZUDU1j_Ag+Ruf2C9dPOW_@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E1127ECCD305@WSMSG3153V.srv.dir.telstra.com> <AANLkTikX5sMthdbC65huPMcH-r4QWHmOGBOzHe9EKk7u@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E1127F341E67@WSMSG3153V.srv.dir.telstra.com>
From: Adam Barth <ietf@adambarth.com>
Date: Sun, 27 Feb 2011 23:03:23 -0800
Message-ID: <AANLkTimVJuofG=yeA3ZOM_NvCSQHW=t1eqpO4XWQY-jC@mail.gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "websec@ietf.org" <websec@ietf.org>
Subject: Re: [websec] Indicating origin of OAuth credentials to combat login CSRF
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Feb 2011 07:02:57 -0000

On Sun, Feb 27, 2011 at 10:54 PM, Manger, James H
<James.H.Manger@team.telstra.com> wrote:
> Thanks Adam.
>
>>> What semantics are associated with the *order* of origins in an "Origin=
" HTTP request header value?
>> There are no semantics associated with the order of origins in the Origi=
n header.
>
> Great.
>
>>> The Origin spec implies (but doesn't explain) that there is some meanin=
g to the order: a duplicate origin is omitted if it would be next to the sa=
me value (but included if there are intervening origins); and a site return=
ing a redirect is appended to existing origins.
>
>> Those are user agent requirement for generating the header and not
> related to the semantics, which are defined in Section 6.2.
>
> Ok, sort of.
> So the text
> =A0"no two consecutive serialized-origin productions in the grammar can b=
e identical"
> includes the word "consecutive" not for any semantic meaning, but because=
 you think it might be easier for user-agents to implement the spec if they=
 only have to compare an origin they are adding against the last existing o=
rigin, not all existing origins?

That's just syntax.  Specifically, that sentence is restricting the
syntax that user agents can generate to a subset of the syntax
generated by the grammar.

> I can image a server X that is happy to accept a request redirected from =
a trusted server Y even if the request was originally caused by an unknown =
server Z. X totally trusts Y -- to not issue CSRF attacks, and to not be a =
conduit for CSRF attacks. However, when X receives
> =A0Origin: Z Y
> can it safely accept the request?

I'm not sure you've provided enough information in this hypothetical,
but I suspect the answer is no.

> Not according to the semantics (6.2.) as unknown Z was somehow involved.

Indeed.  In addition, without something like a Cookie, the HTTP
request might have originated from the attacker's computer and not
from a compliant user agent.

> But it can be safe once 6.3 is also considered since any (potentially mal=
icious) redirect from the unknown Z to X could not produce this ordering (i=
t could produce "Origin: Y Z").

I'm not sure that's accurate.

> Giving user-agents precise instructions (MUSTs) is nice, but it does add =
semantics.

The semantics are whatever we define them to be.  In this case, we've
defined the semantics to be order independent.

Adam
