03-06-06 01:48 AM
[ http://issues.apache.org/jira/brows...ON-108?page=all ]
Jim Gallacher reassigned MODPYTHON-108:
---------------------------------------
Assign To: Jim Gallacher
> Let Cookie support new HttpOnly property to prevent cross-site cookie stea
ling
> --------------------------------------------------------------------------
----
>
> Key: MODPYTHON-108
> URL: http://issues.apache.org/jira/browse/MODPYTHON-108
> Project: mod_python
> Type: Improvement
> Components: core
> Versions: 3.2.7, 3.1.4, 3.3
> Reporter: Deron Meranda
> Assignee: Jim Gallacher
> Priority: Minor
>
> The Cookie.Cookie class does not allow the new "httponly" cookie property
to be set. It needs to be added to the valid slots on the cookie metaclass.
Also note that like the "secure" cookie attribute, it is simple a boolean
flag without any value.
> The HttpOnly flag was invented by Microsoft but seeing widespread support
as a way to prevent cross-site scripting from stealing cookies using client-
side Javascript. This is especially important for security-sensitive cookie
s, such as session keys.
> The mod_python session object should also explicitly set the HttpOnly prop
erty on the cookies it creates.
> See also these related references:
> 1. http://msdn.microsoft.com/workshop/...nly_cookies.asp
> 2. http://search.cpan.org/~mschout/Apa...okie
.pm
> 3. https://bugzilla.mozilla.org/show_bug.cgi?id=178993
> 4. [url]http://www.linux.com/howtos/Secure-Programs-HOWTO/cross-site-malicious-content.shtml[
/url]
[ Post a follow-up to this message ]
|