Re: [http-state] Security considerations overview

Dan Witte <dwitte@mozilla.com> Thu, 04 March 2010 00:35 UTC

Return-Path: <dwitte@mozilla.com>
X-Original-To: http-state@core3.amsl.com
Delivered-To: http-state@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0921028C20E for <http-state@core3.amsl.com>; Wed, 3 Mar 2010 16:35:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 zmdV09rsqRgl for <http-state@core3.amsl.com>; Wed, 3 Mar 2010 16:35:18 -0800 (PST)
Received: from mail.mozilla.com (corp01.sj.mozilla.com [63.245.208.141]) by core3.amsl.com (Postfix) with ESMTP id 3D4AF28C1FD for <http-state@ietf.org>; Wed, 3 Mar 2010 16:35:18 -0800 (PST)
Received: from mail.mozilla.com (mail.mozilla.com [10.2.72.15]) by mail.mozilla.com (Postfix) with ESMTP id 14AEB17FC6E0; Wed, 3 Mar 2010 16:35:10 -0800 (PST)
Date: Wed, 3 Mar 2010 16:35:10 -0800 (PST)
From: Dan Witte <dwitte@mozilla.com>
To: Mark Pauley <mpauley@apple.com>
Message-ID: <392879488.42505.1267662910016.JavaMail.root@cm-mail03.mozilla.org>
In-Reply-To: <1201505442.42503.1267662896079.JavaMail.root@cm-mail03.mozilla.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [63.245.220.240]
X-Mailer: Zimbra 6.0.4_GA_2038.RHEL5_64 (ZimbraWebClient - FF3.0 (Linux)/6.0.4_GA_2038.RHEL5_64)
Cc: http-state <http-state@ietf.org>
Subject: Re: [http-state] Security considerations overview
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/http-state>, <mailto:http-state-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/http-state>
List-Post: <mailto:http-state@ietf.org>
List-Help: <mailto:http-state-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-state>, <mailto:http-state-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2010 00:35:19 -0000

----- "Mark Pauley" <mpauley@apple.com> wrote:

> It would appear that this is covered by 4.1.2.2
> 
> We (and many other browsers) do allow setting a cookie with domain
> .bar.example.com from .foo.example.com

Hmm, interesting. Firefox certainly doesn't do that; we (always) have required that the host domain be equal to, or a subdomain of, the 'domain' attribute; and that the 'domain' attribute must not be a TLD.

http://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/src/nsCookieService.cpp#2142

Do you know which other browsers behave like this?

Regards,
Dan.