Account Options

  1. Sign in
Google Groups Home
« Groups Home
HTTPOnly cookies specification
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bil Corry  
View profile  
 More options Dec 12 2008, 12:14 pm
Newsgroups: mozilla.dev.security
From: Bil Corry <b...@corry.biz>
Date: Fri, 12 Dec 2008 11:14:25 -0600
Local: Fri, Dec 12 2008 12:14 pm
Subject: HTTPOnly cookies specification
There's a group of us working on creating a spec for HTTPOnly cookies.  We have a draft of the HTTPOnly scope available to review:

        http://docs.google.com/View?docid=dxxqgkd_0cvcqhsdw

If you have an active interest in participating, our list is here:

        http://groups.google.com/group/ietf-httponly-wg

- Bil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gervase Markham  
View profile  
 More options Dec 12 2008, 12:23 pm
Newsgroups: mozilla.dev.security
From: Gervase Markham <g...@mozilla.org>
Date: Fri, 12 Dec 2008 17:23:23 +0000
Local: Fri, Dec 12 2008 12:23 pm
Subject: Re: HTTPOnly cookies specification

Bil Corry wrote:
> There's a group of us working on creating a spec for HTTPOnly cookies.

This isn't being done by WHAT-WG, then?

> If you have an active interest in participating, our list is here:

>    http://groups.google.com/group/ietf-httponly-wg

Is this an official IETF group? It seems odd that its list is not on the
IETF mailing list server.

Gerv


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Corry  
View profile  
 More options Dec 12 2008, 12:38 pm
Newsgroups: mozilla.dev.security
From: Bil Corry <b...@corry.biz>
Date: Fri, 12 Dec 2008 11:38:33 -0600
Local: Fri, Dec 12 2008 12:38 pm
Subject: Re: HTTPOnly cookies specification
Gervase Markham wrote on 12/12/2008 11:23 AM:

> Bil Corry wrote:
>> There's a group of us working on creating a spec for HTTPOnly cookies.

> This isn't being done by WHAT-WG, then?

>> If you have an active interest in participating, our list is here:

>>        http://groups.google.com/group/ietf-httponly-wg

> Is this an official IETF group? It seems odd that its list is not on the
> IETF mailing list server.

We're not officially affiliated with any group, although the plan is to move it to IETF or work with Yngve to add it to his cookie draft.  If you're willing to get us added officially to a group, we'd love the help.

- Bil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefanos Harhalakis  
View profile  
 More options Dec 12 2008, 2:49 pm
Newsgroups: mozilla.dev.security
From: Stefanos Harhalakis <v...@v13.gr>
Date: Fri, 12 Dec 2008 21:49:05 +0200
Local: Fri, Dec 12 2008 2:49 pm
Subject: Re: HTTPOnly cookies specification
Hello there,

On Friday 12 December 2008, Bil Corry wrote:

> Gervase Markham wrote on 12/12/2008 11:23 AM:
> > Is this an official IETF group? It seems odd that its list is not on the
> > IETF mailing list server.

> We're not officially affiliated with any group, although the plan is to
> move it to IETF or work with Yngve to add it to his cookie draft.  If
> you're willing to get us added officially to a group, we'd love the help.

FWIW, some related ietf-http-wg talk about this is listed here:

http://www.nabble.com/HttpOnly-to16117176.html#a16117176
http://www.nabble.com/HTTPOnly-Cookies-Specification-to20611621.html#...

My personal opinion is that any IETF related conversation regarding this issue
should happen at ietf-http-wg list (unless a new WG is created). Otherway it
should be moved to the general purpose apps-discuss mailing list (but I don't
recommend it). People at the ietf-http-wg list are more than helpful.

Since this is the mozilla list I suggest looking at the comment of "Dan
Winship" at the second link  :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Corry  
View profile  
 More options Dec 12 2008, 3:42 pm
Newsgroups: mozilla.dev.security
From: Bil Corry <b...@corry.biz>
Date: Fri, 12 Dec 2008 14:42:57 -0600
Local: Fri, Dec 12 2008 3:42 pm
Subject: Re: HTTPOnly cookies specification
Stefanos Harhalakis wrote on 12/12/2008 1:49 PM:

> My personal opinion is that any IETF related conversation regarding this issue
> should happen at ietf-http-wg list (unless a new WG is created).

As you point out, I did post to ietf-http-wg and the feedback I received was that someone should document cookies-as-they-exist first, then spec HTTPOnly.  Maybe that is the ideal way to handle it, but my primary concern is protecting users via HTTPOnly.  Mozilla, WebKit and Microsoft have all recently updated their HTTPOnly features:

        https://bugzilla.mozilla.org/show_bug.cgi?id=380418
        https://bugs.webkit.org/show_bug.cgi?id=10957
        http://www.microsoft.com/technet/security/bulletin/ms08-069.mspx

I haven't had a chance to test them yet against our draft, but vendors are implementing HTTPOnly without the benefit of a well thought-out spec.  For example, Microsoft missed Cookie2 for HTTPOnly cookies:

        http://ha.ckers.org/blog/20081111/httponly-fix-in-msxml/#comment-88826

That's the mess my group is tackling.

- Bil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonas Sicking  
View profile  
 More options Dec 16 2008, 5:32 pm
Newsgroups: mozilla.dev.security
From: Jonas Sicking <jo...@sicking.cc>
Date: Tue, 16 Dec 2008 14:32:18 -0800
Local: Tues, Dec 16 2008 5:32 pm
Subject: Re: HTTPOnly cookies specification

Bil Corry wrote:
> There's a group of us working on creating a spec for HTTPOnly cookies.  We have a draft of the HTTPOnly scope available to review:

>    http://docs.google.com/View?docid=dxxqgkd_0cvcqhsdw

> If you have an active interest in participating, our list is here:

>    http://groups.google.com/group/ietf-httponly-wg

My first reaction to all this is: Can you really create a useful spec
for HTTPOnly cookies without first creating a spec for cookies? I.e. as
far as I know there is no useable spec out there for how to parse
HTTPOnly cookies at all, so it'd seem hard to detect what a HTTPOnly
cookie is.

That said, having a spec for cookies as well as HTTPOnly cookies would
be great. However I think that you should try to as soon as possible
bring the work to any of the existing organizations, such as IETF or WHATWG.

/ Jonas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Corry  
View profile  
 More options Dec 16 2008, 6:12 pm
Newsgroups: mozilla.dev.security
From: Bil Corry <b...@corry.biz>
Date: Tue, 16 Dec 2008 17:12:38 -0600
Local: Tues, Dec 16 2008 6:12 pm
Subject: Re: HTTPOnly cookies specification
Jonas Sicking wrote on 12/16/2008 4:32 PM:

> Bil Corry wrote:
>> There's a group of us working on creating a spec for HTTPOnly
>> cookies.  We have a draft of the HTTPOnly scope available to review:

>>     http://docs.google.com/View?docid=dxxqgkd_0cvcqhsdw

>> If you have an active interest in participating, our list is here:

>>     http://groups.google.com/group/ietf-httponly-wg

> My first reaction to all this is: Can you really create a useful spec
> for HTTPOnly cookies without first creating a spec for cookies? I.e. as
> far as I know there is no useable spec out there for how to parse
> HTTPOnly cookies at all, so it'd seem hard to detect what a HTTPOnly
> cookie is.

That's what Dan Winship said (more or less):

        http://lists.w3.org/Archives/Public/ietf-http-wg/2008OctDec/0235.html

I do agree that cookies could use a massive overhaul, taking the original Netscape cookie spec, RFCs 2109, 2964, and 2965, along with Yngve Pettersen's 2965 replacement draft and merge them all together with the real-world implementations (HTTPOnly, etc) and from that, create one spec to rule them all.

But as I replied to Stefanos; Mozilla, WebKit and Microsoft have all recently updated their HTTPOnly features -- we want to piggyback on that momentum to get HTTPOnly implemented in a standard way without having to wait another year or two for a comprehensive cookie overhaul.

> That said, having a spec for cookies as well as HTTPOnly cookies would
> be great. However I think that you should try to as soon as possible
> bring the work to any of the existing organizations, such as IETF or
> WHATWG.

I'll be doing this in January, thanks.

- Bil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonas Sicking  
View profile  
 More options Dec 16 2008, 7:05 pm
Newsgroups: mozilla.dev.security
From: Jonas Sicking <jo...@sicking.cc>
Date: Tue, 16 Dec 2008 16:05:19 -0800
Local: Tues, Dec 16 2008 7:05 pm
Subject: Re: HTTPOnly cookies specification

Out of curiosity, what do you want to specify beyond what XMLHttpRequest
and HTML5 specifies?

/ Jonas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Corry  
View profile  
 More options Dec 16 2008, 7:55 pm
Newsgroups: mozilla.dev.security
From: Bil Corry <b...@corry.biz>
Date: Tue, 16 Dec 2008 18:55:02 -0600
Local: Tues, Dec 16 2008 7:55 pm
Subject: Re: HTTPOnly cookies specification
Jonas Sicking wrote on 12/16/2008 6:05 PM:

> Out of curiosity, what do you want to specify beyond what XMLHttpRequest
> and HTML5 specifies?

HTML5 only contains a disclaimer:

-----
This specification does not define what makes an HTTP-only cookie, and at the time of publication the editor is not aware of any reference for HTTP-only cookies. They are a feature supported by some Web browsers wherein an "httponly" parameter added to the cookie string causes the cookie to be hidden from script.
------

The latest XHR draft does cover sending and receiving the cookie headers (not allowing them to be intercepted or overwritten).  Neither really delve into specifics, so we're hoping to add clarification to UA implementers.

But beyond that, there's two more issues that we're working on:

(1) Figuring out how to add integrity protection on top of confidentiality protection.  That is, how to prevent an attacker from overwriting HTTPOnly cookies with his/her own cookie.

(2) Figuring out how to add privacy protection on top of confidentiality protection.  That is, how to prevent an attacker from learning if a HTTPOnly cookie has been set.

We came to the conclusion that #2 wasn't possible, at least not without creating a "namespace"-type system where HTTPOnly cookies can co-exist along side a JavaScript-created cookie of the same name.  And #1 is being debated currently, we may have to drop it too as it will also require some fancy footwork I think.

You can see our current work here, although it doesn't reflect some of the newer discussions we've had:

        https://docs.google.com/View?docid=dxxqgkd_0cvcqhsdw

One option I'm considering is doing as you suggest, writing an entire cookie spec as it exists now, then add the features to cookies necessary to provide integrity and privacy.  I spoke with Ian Hickson, he said IETF is the proper place for this work, not WHATWG.

- Bil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Corry  
View profile  
 More options Jan 6 2009, 10:59 pm
Newsgroups: mozilla.dev.security
From: Bil Corry <b...@corry.biz>
Date: Tue, 06 Jan 2009 21:59:35 -0600
Local: Tues, Jan 6 2009 10:59 pm
Subject: Re: HTTPOnly cookies specification
Bil Corry wrote on 12/16/2008 6:55 PM:

> One option I'm considering is doing as you suggest, writing an entire
> cookie spec as it exists now, then add the features to cookies
> necessary to provide integrity and privacy.  I spoke with Ian
> Hickson, he said IETF is the proper place for this work, not WHATWG.

There is now an official list for discussing changes to the cookie spec here:

        https://www.ietf.org/mailman/listinfo/http-state

- Bil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »