<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"	>
<channel>
	<title>Comments on: Anti-spam measures</title>
	<atom:link href="http://johannesbrodwall.com/2006/07/22/anti-spam-measures/feed/" rel="self" type="application/rss+xml" />
	<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/</link>
	<description>Johannes Brodwall&#039;s Musings on Software Architecture and Programming</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:40:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: kay</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-157</link>
		<dc:creator>kay</dc:creator>
		<pubDate>Fri, 06 Oct 2006 11:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-157</guid>
		<description>I&#039;m beginning to be really worried about what u wrote - this kind of attack that is now called XSRF.

Millions of webmasters are using CPanel. Due to stupid &quot;feature&quot; of cpanel, most of them are always logged in to their cpanels.

I have a script that does this &quot;referer spam&quot; - it sends hundreds of GET requests to a site, AWstats shows them as visits, i make a fake referer value, webmaster clicks on it and goes to a site that has an iframe with src:

http://www.VICTIMSDOMAIN.com:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&amp;url=MYURL&amp;type=permanent


hope not many ppl actually read this :-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m beginning to be really worried about what u wrote &#8211; this kind of attack that is now called XSRF.</p>
<p>Millions of webmasters are using CPanel. Due to stupid &#8220;feature&#8221; of cpanel, most of them are always logged in to their cpanels.</p>
<p>I have a script that does this &#8220;referer spam&#8221; &#8211; it sends hundreds of GET requests to a site, AWstats shows them as visits, i make a fake referer value, webmaster clicks on it and goes to a site that has an iframe with src:</p>
<p><a href="http://www.VICTIMSDOMAIN.com:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&#038;url=MYURL&#038;type=permanent" rel="nofollow">http://www.VICTIMSDOMAIN.com:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&#038;url=MYURL&#038;type=permanent</a></p>
<p>hope not many ppl actually read this :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kay</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-84542</link>
		<dc:creator>kay</dc:creator>
		<pubDate>Fri, 06 Oct 2006 09:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-84542</guid>
		<description>I&#039;m beginning to be really worried about what u wrote - this kind of attack that is now called XSRF.&lt;br&gt;&lt;br&gt;Millions of webmasters are using CPanel. Due to stupid &quot;feature&quot; of cpanel, most of them are always logged in to their cpanels.&lt;br&gt;&lt;br&gt;I have a script that does this &quot;referer spam&quot; - it sends hundreds of GET requests to a site, AWstats shows them as visits, i make a fake referer value, webmaster clicks on it and goes to a site that has an iframe with src:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.VICTIMSDOMAIN.com:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&amp;url=MYURL&amp;type=permanent&quot;&gt;http://www.VICTIMSDOMAIN.com:2082/frontend/x/mi...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;hope not many ppl actually read this :-)</description>
		<content:encoded><![CDATA[<p>I&#39;m beginning to be really worried about what u wrote &#8211; this kind of attack that is now called XSRF.</p>
<p>Millions of webmasters are using CPanel. Due to stupid &#8220;feature&#8221; of cpanel, most of them are always logged in to their cpanels.</p>
<p>I have a script that does this &#8220;referer spam&#8221; &#8211; it sends hundreds of GET requests to a site, AWstats shows them as visits, i make a fake referer value, webmaster clicks on it and goes to a site that has an iframe with src:</p>
<p><a href="http://www.VICTIMSDOMAIN.com:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&amp;url=MYURL&amp;type=permanent">http://www.VICTIMSDOMAIN.com:2082/frontend/x/mi&#8230;</a></p>
<p>hope not many ppl actually read this :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Brodwall</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-148</link>
		<dc:creator>Johannes Brodwall</dc:creator>
		<pubDate>Wed, 20 Sep 2006 18:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-148</guid>
		<description>Hi, Kay

You&#039;re right, I probably could not get this amount of control on a .wordpress.com-hosted blog. But on a custom hosted blog, changing the Location header is very simple.

The escaping of comments is caused by a stupid wordpress &quot;feature&quot;. I tried removing the escaping, but every time I edited the message, it got worse!

I agree with what you&#039;re saying with the new captcha. Most measures will be a temporary respite.</description>
		<content:encoded><![CDATA[<p>Hi, Kay</p>
<p>You&#8217;re right, I probably could not get this amount of control on a .wordpress.com-hosted blog. But on a custom hosted blog, changing the Location header is very simple.</p>
<p>The escaping of comments is caused by a stupid wordpress &#8220;feature&#8221;. I tried removing the escaping, but every time I edited the message, it got worse!</p>
<p>I agree with what you&#8217;re saying with the new captcha. Most measures will be a temporary respite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Brodwall</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-84541</link>
		<dc:creator>Johannes Brodwall</dc:creator>
		<pubDate>Wed, 20 Sep 2006 16:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-84541</guid>
		<description>Hi, Kay&lt;br&gt;&lt;br&gt;You&#039;re right, I probably could not get this amount of control on a .wordpress.com-hosted blog. But on a custom hosted blog, changing the Location header is very simple.&lt;br&gt;&lt;br&gt;The escaping of comments is caused by a stupid wordpress &quot;feature&quot;. I tried removing the escaping, but every time I edited the message, it got worse!&lt;br&gt;&lt;br&gt;I agree with what you&#039;re saying with the new captcha. Most measures will be a temporary respite.</description>
		<content:encoded><![CDATA[<p>Hi, Kay</p>
<p>You&#39;re right, I probably could not get this amount of control on a .wordpress.com-hosted blog. But on a custom hosted blog, changing the Location header is very simple.</p>
<p>The escaping of comments is caused by a stupid wordpress &#8220;feature&#8221;. I tried removing the escaping, but every time I edited the message, it got worse!</p>
<p>I agree with what you&#39;re saying with the new captcha. Most measures will be a temporary respite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kay</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-147</link>
		<dc:creator>kay</dc:creator>
		<pubDate>Tue, 19 Sep 2006 20:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-147</guid>
		<description>ok - u got me!

it&#039;s true - it would work... i wrote this script before i even heard about XSS, now it&#039;s my hobby hehe...

but on the other hand - can u really do something like this in practice? i mean - my script serches for .wordpress.com blogs - and u don&#039;t really have that much control over their server responses!

it&#039;s a proof of concept - but I don&#039;t think you could really make it work..

btw. sometthing screwed with escaping &quot; and &#039; in your comments

btw2. this &quot;new kind of captchas&quot; with math operations... they are very lame - i can write a script to comment spam blogs using it in 5 minutes.. it works - coz it&#039;s new and not too many spammers have scripts for it, but it&#039;s just a matter of time</description>
		<content:encoded><![CDATA[<p>ok &#8211; u got me!</p>
<p>it&#8217;s true &#8211; it would work&#8230; i wrote this script before i even heard about XSS, now it&#8217;s my hobby hehe&#8230;</p>
<p>but on the other hand &#8211; can u really do something like this in practice? i mean &#8211; my script serches for .wordpress.com blogs &#8211; and u don&#8217;t really have that much control over their server responses!</p>
<p>it&#8217;s a proof of concept &#8211; but I don&#8217;t think you could really make it work..</p>
<p>btw. sometthing screwed with escaping &#8221; and &#8216; in your comments</p>
<p>btw2. this &#8220;new kind of captchas&#8221; with math operations&#8230; they are very lame &#8211; i can write a script to comment spam blogs using it in 5 minutes.. it works &#8211; coz it&#8217;s new and not too many spammers have scripts for it, but it&#8217;s just a matter of time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kay</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-84540</link>
		<dc:creator>kay</dc:creator>
		<pubDate>Tue, 19 Sep 2006 18:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-84540</guid>
		<description>ok - u got me!&lt;br&gt;&lt;br&gt;it&#039;s true - it would work... i wrote this script before i even heard about XSS, now it&#039;s my hobby hehe...&lt;br&gt;&lt;br&gt;but on the other hand - can u really do something like this in practice? i mean - my script serches for .wordpress.com blogs - and u don&#039;t really have that much control over their server responses!&lt;br&gt;&lt;br&gt;it&#039;s a proof of concept - but I don&#039;t think you could really make it work..&lt;br&gt;&lt;br&gt;btw. sometthing screwed with escaping &quot; and &#039; in your comments&lt;br&gt;&lt;br&gt;btw2. this &quot;new kind of captchas&quot; with math operations... they are very lame - i can write a script to comment spam blogs using it in 5 minutes.. it works - coz it&#039;s new and not too many spammers have scripts for it, but it&#039;s just a matter of time</description>
		<content:encoded><![CDATA[<p>ok &#8211; u got me!</p>
<p>it&#39;s true &#8211; it would work&#8230; i wrote this script before i even heard about XSS, now it&#39;s my hobby hehe&#8230;</p>
<p>but on the other hand &#8211; can u really do something like this in practice? i mean &#8211; my script serches for .wordpress.com blogs &#8211; and u don&#39;t really have that much control over their server responses!</p>
<p>it&#39;s a proof of concept &#8211; but I don&#39;t think you could really make it work..</p>
<p>btw. sometthing screwed with escaping &#8221; and &#39; in your comments</p>
<p>btw2. this &#8220;new kind of captchas&#8221; with math operations&#8230; they are very lame &#8211; i can write a script to comment spam blogs using it in 5 minutes.. it works &#8211; coz it&#39;s new and not too many spammers have scripts for it, but it&#39;s just a matter of time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-137</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Mon, 18 Sep 2006 21:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-137</guid>
		<description>Simple math question (http://www.herod.net/dypm/) works fine for me too! I really like the simplictity of it!</description>
		<content:encoded><![CDATA[<p>Simple math question (<a href="http://www.herod.net/dypm/" rel="nofollow">http://www.herod.net/dypm/</a>) works fine for me too! I really like the simplictity of it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-84539</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Mon, 18 Sep 2006 19:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-84539</guid>
		<description>Simple math question (&lt;a href=&quot;http://www.herod.net/dypm/&quot;&gt;http://www.herod.net/dypm/&lt;/a&gt;) works fine for me too! I really like the simplictity of it!</description>
		<content:encoded><![CDATA[<p>Simple math question (<a href="http://www.herod.net/dypm/">http://www.herod.net/dypm/</a>) works fine for me too! I really like the simplictity of it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Brodwall</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-130</link>
		<dc:creator>Johannes Brodwall</dc:creator>
		<pubDate>Mon, 11 Sep 2006 15:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-130</guid>
		<description>Hi, Kay

I think you were the last person I would expect a comment from. I think we\&#039;re talking about different lines. I couldn\&#039;t find the code online any more, but in google\&#039;s cache, I found the following:

&lt;pre&gt;
$con=fsockopen($urls[$ind].\&quot;.wordpress.com\&quot;,80);
fwrite($con,$header.$query);
while(!feof($con))$return.=fread($con,2048);
fclose($con);

if(ereg(\&quot; 302 Found\&quot;,$return) and ereg(\&quot;Location: http://\&quot;.$urls[$ind].\&quot;.wordpress.com/\&quot;,$return)){
$spammed=explode(\&quot;\\r\\nContent-type: \&quot;,$return);
$spammed=explode(\&quot;Location: \&quot;,$spammed[0]);
$spammed=$spammed[1];
print(\&quot;&lt;li&gt;&lt;a href=\\\&quot;\&quot;.$spammed.\&quot;\\\&quot;&gt;\&quot;.substr($spammed,0,50).\&quot;...&lt;/a&gt;&lt;/li&gt;\\n\&quot;);
}
}
&lt;/pre&gt;

Now, PHP makes my eyes hurt, but as far as I can see, if I send 302 back, you\\\\\\\\\\\\\\\&#039;ll grab everything on the Location: header and push it into a link. This is a perfect place for a XSS attack.</description>
		<content:encoded><![CDATA[<p>Hi, Kay</p>
<p>I think you were the last person I would expect a comment from. I think we\&#8217;re talking about different lines. I couldn\&#8217;t find the code online any more, but in google\&#8217;s cache, I found the following:</p>
<pre>
$con=fsockopen($urls[$ind].\".wordpress.com\",80);
fwrite($con,$header.$query);
while(!feof($con))$return.=fread($con,2048);
fclose($con);

if(ereg(\" 302 Found\",$return) and ereg(\"Location: http://\".$urls[$ind].\".wordpress.com/\",$return)){
$spammed=explode(\"\\r\\nContent-type: \",$return);
$spammed=explode(\"Location: \",$spammed[0]);
$spammed=$spammed[1];
print(\"&lt;li>&lt;a href=\\\"\".$spammed.\"\\\">\".substr($spammed,0,50).\"...&lt;/a>&lt;/li>\\n\");
}
}
</pre>
<p>Now, PHP makes my eyes hurt, but as far as I can see, if I send 302 back, you\\\\\\\\\\\\\\\&#8217;ll grab everything on the Location: header and push it into a link. This is a perfect place for a XSS attack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Brodwall</title>
		<link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/comment-page-1/#comment-84538</link>
		<dc:creator>Johannes Brodwall</dc:creator>
		<pubDate>Mon, 11 Sep 2006 13:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.brodwall.com/johannes/blog/?p=108#comment-84538</guid>
		<description>Hi, Kay&lt;br&gt;&lt;br&gt;I think you were the last person I would expect a comment from. I think we&#039;re talking about different lines. I couldn&#039;t find the code online any more, but in google&#039;s cache, I found the following:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;br&gt;$con=fsockopen($urls[$ind].&quot;.wordpress.com&quot;,80);&lt;br&gt;fwrite($con,$header.$query);&lt;br&gt;while(!feof($con))$return.=fread($con,2048);&lt;br&gt;fclose($con);&lt;br&gt;&lt;br&gt;if(ereg(&quot; 302 Found&quot;,$return) and ereg(&quot;Location: &lt;a href=&quot;http://%5C%22.%24urls%5B%24ind%5D.%5C%22.wordpress.com/%5C%22%2C%24return%29%29%7B&quot;&gt;http://&quot;.$urls[$ind].&quot;.wordpress.com/&quot;,$retu...&lt;/a&gt;&lt;br&gt;$spammed=explode(&quot;\r\nContent-type: &quot;,$return);&lt;br&gt;$spammed=explode(&quot;Location: &quot;,$spammed[0]);&lt;br&gt;$spammed=$spammed[1];&lt;br&gt;print(&quot;&lt;li&gt;&lt;a href=\&quot;&quot;.$spammed.&quot;\&quot;&gt;&quot;.substr($spammed,0,50).&quot;...&lt;/a&gt;&lt;/li&gt;\n&quot;);&lt;br&gt;}&lt;br&gt;}&lt;br&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Now, PHP makes my eyes hurt, but as far as I can see, if I send 302 back, you\\\\\\\&#039;ll grab everything on the Location: header and push it into a link. This is a perfect place for a XSS attack.</description>
		<content:encoded><![CDATA[<p>Hi, Kay</p>
<p>I think you were the last person I would expect a comment from. I think we&#39;re talking about different lines. I couldn&#39;t find the code online any more, but in google&#39;s cache, I found the following:</p>
<p>&lt;pre&gt;<br />$con=fsockopen($urls[$ind].&#8221;.wordpress.com&#8221;,80);<br />fwrite($con,$header.$query);<br />while(!feof($con))$return.=fread($con,2048);<br />fclose($con);</p>
<p>if(ereg(&#8221; 302 Found&#8221;,$return) and ereg(&#8220;Location: <a href="http://%5C%22.%24urls%5B%24ind%5D.%5C%22.wordpress.com/%5C%22%2C%24return%29%29%7B">http://&#8221;.$urls[$ind].&#8221;.wordpress.com/&#8221;,$retu&#8230;</a><br />$spammed=explode(&#8220;\r\nContent-type: &#8220;,$return);<br />$spammed=explode(&#8220;Location: &#8220;,$spammed[0]);<br />$spammed=$spammed[1];<br />print(&#8220;&lt;li&gt;<a href=\"".$spammed."\">&#8220;.substr($spammed,0,50).&#8221;&#8230;</a>&lt;/li&gt;\n&#8221;);<br />}<br />}<br />&lt;/pre&gt;</p>
<p>Now, PHP makes my eyes hurt, but as far as I can see, if I send 302 back, you\\\\\\\&#39;ll grab everything on the Location: header and push it into a link. This is a perfect place for a XSS attack.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

