<?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"
	>
<channel>
	<title>Comments on: JSCK demo update</title>
	<atom:link href="http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/</link>
	<description>A tool for designers dealing with programmers dealing with designers...</description>
	<pubDate>Wed, 09 Jul 2008 02:59:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-766</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Sun, 28 Oct 2007 10:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-766</guid>
		<description>I've patched it now, your POC should no longer work.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve patched it now, your POC should no longer work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-765</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Sun, 28 Oct 2007 10:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-765</guid>
		<description>Bill excellent POC! Very clever, I completely missed that sort of attack :)</description>
		<content:encoded><![CDATA[<p>Bill excellent POC! Very clever, I completely missed that sort of attack <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Zeller</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-764</link>
		<dc:creator>Bill Zeller</dc:creator>
		<pubDate>Sun, 28 Oct 2007 05:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-764</guid>
		<description>Hi,

This doesn't seem to protect against CSRF attacks, since any website (including an attacker's site), can include the Javascript file that will add a correct token to the links on the page. For example, the following page illustrates a successful CSRF attack against your demo: 
http://www.from.bz/test/jsck.php

The page includes the jsck Javascript file and then adds the following Javascript:

var oldOnload = window.onload;
window.onload = function()
{
        oldOnload();
        window.location = document.links[0].href;

}


Best Regards,
Bill Zeller</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This doesn&#8217;t seem to protect against CSRF attacks, since any website (including an attacker&#8217;s site), can include the Javascript file that will add a correct token to the links on the page. For example, the following page illustrates a successful CSRF attack against your demo:<br />
<a href="http://www.from.bz/test/jsck.php" rel="nofollow">http://www.from.bz/test/jsck.php</a></p>
<p>The page includes the jsck Javascript file and then adds the following Javascript:</p>
<p>var oldOnload = window.onload;<br />
window.onload = function()<br />
{<br />
        oldOnload();<br />
        window.location = document.links[0].href;</p>
<p>}</p>
<p>Best Regards,<br />
Bill Zeller</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-753</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Tue, 23 Oct 2007 07:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-753</guid>
		<description>Thanks Sky I will fix the error</description>
		<content:encoded><![CDATA[<p>Thanks Sky I will fix the error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sky</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-752</link>
		<dc:creator>sky</dc:creator>
		<pubDate>Tue, 23 Oct 2007 03:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-752</guid>
		<description>yeah,THE ie IS NOT TESTED,JS HAS ERROR!</description>
		<content:encoded><![CDATA[<p>yeah,THE ie IS NOT TESTED,JS HAS ERROR!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Ramilli</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-751</link>
		<dc:creator>Marco Ramilli</dc:creator>
		<pubDate>Mon, 22 Oct 2007 16:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-751</guid>
		<description>Sure! It work correctly on my server too.
@Alex &#38;&#38; @Gareth
the jQuery pulgin could be a big deal, really good idea.</description>
		<content:encoded><![CDATA[<p>Sure! It work correctly on my server too.<br />
@Alex &amp;&amp; @Gareth<br />
the jQuery pulgin could be a big deal, really good idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-750</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Mon, 22 Oct 2007 12:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-750</guid>
		<description>*fixed*

It now seems to work correctly on my server.</description>
		<content:encoded><![CDATA[<p>*fixed*</p>
<p>It now seems to work correctly on my server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-749</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Mon, 22 Oct 2007 11:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-749</guid>
		<description>Good idea Alex, I shall consider doing that when I've fixed the bugs and released the final version.</description>
		<content:encoded><![CDATA[<p>Good idea Alex, I shall consider doing that when I&#8217;ve fixed the bugs and released the final version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex@Net</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-748</link>
		<dc:creator>Alex@Net</dc:creator>
		<pubDate>Mon, 22 Oct 2007 11:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-748</guid>
		<description>Hello,

Do you have in a plan to write a something like a jQuery plugin for this functionality? If would be great to just $('myForm').protect();

Thanks,
Alex</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Do you have in a plan to write a something like a jQuery plugin for this functionality? If would be great to just $(&#8217;myForm&#8217;).protect();</p>
<p>Thanks,<br />
Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-747</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Mon, 22 Oct 2007 11:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/2007/10/22/jsck-demo-update/#comment-747</guid>
		<description>Looks like I release code a little too early, damn the tokens aren't working correctly on my server.</description>
		<content:encoded><![CDATA[<p>Looks like I release code a little too early, damn the tokens aren&#8217;t working correctly on my server.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
