<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Why HttpOnly won&#8217;t protect you</title>
	<atom:link href="http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/</link>
	<description>Information Security Think Tank</description>
	<lastBuildDate>Mon, 12 Dec 2011 19:56:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Java and HttpOnly &#124; Keep It Locked</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-129665</link>
		<dc:creator>Java and HttpOnly &#124; Keep It Locked</dc:creator>
		<pubDate>Thu, 20 Jan 2011 02:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-129665</guid>
		<description>[...] pdp suggests that HttpOnly is meaningless because most attackers don&#8217;t really care about session hijacking through XSS &#8211; there are more damaging attacks that can be leveraged through XSS. [...]</description>
		<content:encoded><![CDATA[<p>[...] pdp suggests that HttpOnly is meaningless because most attackers don&#8217;t really care about session hijacking through XSS &#8211; there are more damaging attacks that can be leveraged through XSS. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BezpieczeÅ„stwo cookies z httpOnly</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-129343</link>
		<dc:creator>BezpieczeÅ„stwo cookies z httpOnly</dc:creator>
		<pubDate>Thu, 30 Dec 2010 01:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-129343</guid>
		<description>[...] nowoczesne przeglÄ…darki: Mozilla, Opera i pozostaÅ‚e.Dodatkowe materiaÅ‚y warte zapoznaniaWhy HttpOnly wonâ€™t protect youHttpOnly &#8211; OWASPProtecting Your Cookies: HttpOnlyPodobne wpisyJak zaÅ‚adowaÄ‡ biblioteki [...]</description>
		<content:encoded><![CDATA[<p>[...] nowoczesne przeglÄ…darki: Mozilla, Opera i pozostaÅ‚e.Dodatkowe materiaÅ‚y warte zapoznaniaWhy HttpOnly wonâ€™t protect youHttpOnly &#8211; OWASPProtecting Your Cookies: HttpOnlyPodobne wpisyJak zaÅ‚adowaÄ‡ biblioteki [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java and HttpOnly - KeepItLocked.net</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-65775</link>
		<dc:creator>Java and HttpOnly - KeepItLocked.net</dc:creator>
		<pubDate>Tue, 06 Nov 2007 06:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-65775</guid>
		<description>[...] talks about using the HTTP TRACE verb to get access to HttpOnly cookies in the reflected request. pdp suggests that HttpOnly is meaningless because most attackers don&#039;t really care about session [...]</description>
		<content:encoded><![CDATA[<p>[...] talks about using the HTTP TRACE verb to get access to HttpOnly cookies in the reflected request. pdp suggests that HttpOnly is meaningless because most attackers don&#8217;t really care about session [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-36887</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Tue, 24 Jul 2007 16:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-36887</guid>
		<description>I am glad to hear that.</description>
		<content:encoded><![CDATA[<p>I am glad to hear that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bipin 3~ Upadhyay</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-36827</link>
		<dc:creator>Bipin 3~ Upadhyay</dc:creator>
		<pubDate>Tue, 24 Jul 2007 09:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-36827</guid>
		<description>&lt;blockquote&gt;Everything new is well forgotten old thing.&lt;/blockquote&gt;

Agreed completely. :)

BTW, although HttpOnly doesn&#039;t do *much*, yet we cannot deny that it does *something*. Adding another layer to the &quot;Onion Model&quot; is (most of the times) a welcome, IMHO.

@PDP:
I like the way you write. Most of the times, providing an overview of (or pointers to) basics for noobs. :)</description>
		<content:encoded><![CDATA[<blockquote><p>Everything new is well forgotten old thing.</p></blockquote>
<p>Agreed completely. :)</p>
<p>BTW, although HttpOnly doesn&#8217;t do *much*, yet we cannot deny that it does *something*. Adding another layer to the &#8220;Onion Model&#8221; is (most of the times) a welcome, IMHO.</p>
<p>@PDP:<br />
I like the way you write. Most of the times, providing an overview of (or pointers to) basics for noobs. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-15659</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Mon, 23 Apr 2007 08:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-15659</guid>
		<description>RSnake, yup... it is old news. Keep in mind though, that everything new is well forgotten old thing. For example, XSS used to be consider quite lame attack, although it is still quite easy to exploit, until the point some people forgot about it. However, today, XSS is considered as one of the most dangerous Web Application threads. Maybe my example is very clear but, again, keep in mind the following:

&lt;blockquote&gt;Everything new is well forgotten old thing.&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>RSnake, yup&#8230; it is old news. Keep in mind though, that everything new is well forgotten old thing. For example, XSS used to be consider quite lame attack, although it is still quite easy to exploit, until the point some people forgot about it. However, today, XSS is considered as one of the most dangerous Web Application threads. Maybe my example is very clear but, again, keep in mind the following:</p>
<blockquote><p>Everything new is well forgotten old thing.</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: RSnake</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-15192</link>
		<dc:creator>RSnake</dc:creator>
		<pubDate>Sat, 21 Apr 2007 06:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-15192</guid>
		<description>This is really old news.  This was covered in an email by Thor Larholm 4 years ago:  http://www.securityfocus.com/archive/1/307778</description>
		<content:encoded><![CDATA[<p>This is really old news.  This was covered in an email by Thor Larholm 4 years ago:  <a href="http://www.securityfocus.com/archive/1/307778" rel="nofollow">http://www.securityfocus.com/archive/1/307778</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-15030</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Fri, 20 Apr 2007 08:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-15030</guid>
		<description>Acidus, no no, You are my hero.</description>
		<content:encoded><![CDATA[<p>Acidus, no no, You are my hero.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acidus</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14961</link>
		<dc:creator>Acidus</dc:creator>
		<pubDate>Thu, 19 Apr 2007 16:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14961</guid>
		<description>pdp, You are my hero. Well, my hero after Samy of course.</description>
		<content:encoded><![CDATA[<p>pdp, You are my hero. Well, my hero after Samy of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santa claus</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14886</link>
		<dc:creator>santa claus</dc:creator>
		<pubDate>Thu, 19 Apr 2007 00:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14886</guid>
		<description>pdp,

Ok, thanks for clearing that up. 
I understand what you are saying better now..
Great post as always! =]</description>
		<content:encoded><![CDATA[<p>pdp,</p>
<p>Ok, thanks for clearing that up.<br />
I understand what you are saying better now..<br />
Great post as always! =]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14712</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Tue, 17 Apr 2007 09:07:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14712</guid>
		<description>santa claus,

you are saying:

&lt;blockquote&gt;You say that HTTPOnly is completely useless because an attacker doesnâ€™t care about cookie information or hijacking sessions, he only cares about CSRFing you into doing something evil.&lt;/blockquote&gt;

no.. this is not what I am saying. All I am saying is that you shouldn&#039;t relay on HttpOnly cookies to protect against XSS attacks because session hijacking is one of the many things an attacker can do. In fact, most of the times you are not going to perform session hijacking simply because it takes time to get the victim at the right state.

If &lt;q&gt;super-duper top secret information is stored there&lt;/q&gt; (the cookies) well then you cannot do much unless you use some sort of browser exploit. However, if &lt;q&gt;super-duper top secret information is stored there&lt;/q&gt; then the client side won&#039;t be able to access it either. What&#039;s the point of having info there if you cannot use it. Your server side can access the cookie but again, why do you want to store sensitive information in a cookie? What is the purpose? If someone stores sensitive information in cookies, they are basically asking for trouble.</description>
		<content:encoded><![CDATA[<p>santa claus,</p>
<p>you are saying:</p>
<blockquote><p>You say that HTTPOnly is completely useless because an attacker doesnâ€™t care about cookie information or hijacking sessions, he only cares about CSRFing you into doing something evil.</p></blockquote>
<p>no.. this is not what I am saying. All I am saying is that you shouldn&#8217;t relay on HttpOnly cookies to protect against XSS attacks because session hijacking is one of the many things an attacker can do. In fact, most of the times you are not going to perform session hijacking simply because it takes time to get the victim at the right state.</p>
<p>If <q>super-duper top secret information is stored there</q> (the cookies) well then you cannot do much unless you use some sort of browser exploit. However, if <q>super-duper top secret information is stored there</q> then the client side won&#8217;t be able to access it either. What&#8217;s the point of having info there if you cannot use it. Your server side can access the cookie but again, why do you want to store sensitive information in a cookie? What is the purpose? If someone stores sensitive information in cookies, they are basically asking for trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santa claus</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14697</link>
		<dc:creator>santa claus</dc:creator>
		<pubDate>Tue, 17 Apr 2007 07:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14697</guid>
		<description>I want to see if i have this straight.
You say that HTTPOnly is completely useless because an attacker doesn&#039;t care about cookie information or hijacking sessions, he only cares about CSRFing you into doing something evil.

Well, what if the only important thing to the attacker is getting the cookie information? (say, super-duper top secret information is stored there). Then what does the attacker do? 

I thought you were going to explain an easy way to bypass httponly and get the data stored in cookies. 
I still think if all you care about is protecting the cookie info from being stolen then httponly is a decent defense. Please correct me.

(The only way i know of bypassing httponly is through the TRACE method that jeremiah wrote a whitepaper about. Are there other ways?)</description>
		<content:encoded><![CDATA[<p>I want to see if i have this straight.<br />
You say that HTTPOnly is completely useless because an attacker doesn&#8217;t care about cookie information or hijacking sessions, he only cares about CSRFing you into doing something evil.</p>
<p>Well, what if the only important thing to the attacker is getting the cookie information? (say, super-duper top secret information is stored there). Then what does the attacker do? </p>
<p>I thought you were going to explain an easy way to bypass httponly and get the data stored in cookies.<br />
I still think if all you care about is protecting the cookie info from being stolen then httponly is a decent defense. Please correct me.</p>
<p>(The only way i know of bypassing httponly is through the TRACE method that jeremiah wrote a whitepaper about. Are there other ways?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14277</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Fri, 13 Apr 2007 12:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14277</guid>
		<description>rezn,

I see what you mean. However, the simplest probably check you can do is to verify whether the IP of the user changes. Although in some cases, that could be a problem, since a lot of user could use the same proxy server, it still can improve the situation.

You are saying:

&lt;blockquote&gt;Many people seem to believe this, and thus also believe that if they structure their applications so as to prevent a single user from having multiple concurrent sessions that they are safe from XSS.&lt;/blockquote&gt;

I don&#039;t think that this is the case, although I see how this could tern out to be a problem when the developer does not have good understanding on what is XSS and what damage it can cause.</description>
		<content:encoded><![CDATA[<p>rezn,</p>
<p>I see what you mean. However, the simplest probably check you can do is to verify whether the IP of the user changes. Although in some cases, that could be a problem, since a lot of user could use the same proxy server, it still can improve the situation.</p>
<p>You are saying:</p>
<blockquote><p>Many people seem to believe this, and thus also believe that if they structure their applications so as to prevent a single user from having multiple concurrent sessions that they are safe from XSS.</p></blockquote>
<p>I don&#8217;t think that this is the case, although I see how this could tern out to be a problem when the developer does not have good understanding on what is XSS and what damage it can cause.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rezn</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14275</link>
		<dc:creator>rezn</dc:creator>
		<pubDate>Fri, 13 Apr 2007 11:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14275</guid>
		<description>This is a nice description, however I want to point out a small (perhaps semantic) error which I often find people actually believe:

&quot;Remember, session hijacking is possible because concurrent sessions are possible.&quot;

Many people seem to believe this, and thus also believe that if they structure their applications so as to prevent a single user from having multiple concurrent sessions that they are safe from XSS.  Using someone&#039;s cookies does -not- create a new session - the attacker is sharing a single session with the target.  From the application&#039;s point of view, this looks like 1 session, not 2 concurrent sessions.

While this is obvious to attackers, it is not always obvious to developers, so I think its important not to propagate the misunderstanding.</description>
		<content:encoded><![CDATA[<p>This is a nice description, however I want to point out a small (perhaps semantic) error which I often find people actually believe:</p>
<p>&#8220;Remember, session hijacking is possible because concurrent sessions are possible.&#8221;</p>
<p>Many people seem to believe this, and thus also believe that if they structure their applications so as to prevent a single user from having multiple concurrent sessions that they are safe from XSS.  Using someone&#8217;s cookies does -not- create a new session &#8211; the attacker is sharing a single session with the target.  From the application&#8217;s point of view, this looks like 1 session, not 2 concurrent sessions.</p>
<p>While this is obvious to attackers, it is not always obvious to developers, so I think its important not to propagate the misunderstanding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christ1an</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14147</link>
		<dc:creator>christ1an</dc:creator>
		<pubDate>Thu, 12 Apr 2007 13:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14147</guid>
		<description>Thanks for this nice writeup, I also think that (unfortunately) a lot of people have a totally wrong understanding of HttpOnly cookies. For those I hope this page comes up first on Google when searching for HttpOnly ;)

Apart from that, nothing to add or criticize.</description>
		<content:encoded><![CDATA[<p>Thanks for this nice writeup, I also think that (unfortunately) a lot of people have a totally wrong understanding of HttpOnly cookies. For those I hope this page comes up first on Google when searching for HttpOnly ;)</p>
<p>Apart from that, nothing to add or criticize.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: .mario</title>
		<link>http://www.gnucitizen.org/blog/why-httponly-wont-protect-you/comment-page-1/#comment-14133</link>
		<dc:creator>.mario</dc:creator>
		<pubDate>Thu, 12 Apr 2007 09:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/why-httponly-wont-protect-you#comment-14133</guid>
		<description>I totally agree - if a site is XSSable already HTTPOnly cookies fix nothing. When not including a library like jQuery or Prototype it&#039;s way easier to create and event-submit a new form that foging a XHR.</description>
		<content:encoded><![CDATA[<p>I totally agree &#8211; if a site is XSSable already HTTPOnly cookies fix nothing. When not including a library like jQuery or Prototype it&#8217;s way easier to create and event-submit a new form that foging a XHR.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

