<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Thinking inside a bigger box - Latest Comments in Anti-spam measures</title><link>http://thinkinginsideabiggerbox.disqus.com/</link><description></description><atom:link href="https://thinkinginsideabiggerbox.disqus.com/anti_spam_measures/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 06 Oct 2006 07:13:50 -0000</lastBuildDate><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796604</link><description>&lt;p&gt;I'm beginning to be really worried about what u wrote - this kind of attack that is now called XSRF.&lt;/p&gt;&lt;p&gt;Millions of webmasters are using CPanel. Due to stupid "feature" of cpanel, most of them are always logged in to their cpanels.&lt;/p&gt;&lt;p&gt;I have a script that does this "referer spam" - 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;/p&gt;&lt;p&gt;&lt;a href="http://www.VICTIMSDOMAIN.com" rel="nofollow noopener" target="_blank" title="http://www.VICTIMSDOMAIN.com"&gt;http://www.VICTIMSDOMAIN.com&lt;/a&gt;:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&amp;amp;url=MYURL&amp;amp;type=permanent&lt;/p&gt;&lt;p&gt;hope not many ppl actually read this :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kay</dc:creator><pubDate>Fri, 06 Oct 2006 07:13:50 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796603</link><description>&lt;p&gt;Hi, Kay&lt;/p&gt;&lt;p&gt;You'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;/p&gt;&lt;p&gt;The escaping of comments is caused by a stupid wordpress "feature". I tried removing the escaping, but every time I edited the message, it got worse!&lt;/p&gt;&lt;p&gt;I agree with what you're saying with the new captcha. Most measures will be a temporary respite.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johannes Brodwall</dc:creator><pubDate>Wed, 20 Sep 2006 14:45:36 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796602</link><description>&lt;p&gt;ok - u got me!&lt;/p&gt;&lt;p&gt;it's true - it would work... i wrote this script before i even heard about XSS, now it's my hobby hehe...&lt;/p&gt;&lt;p&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't really have that much control over their server responses!&lt;/p&gt;&lt;p&gt;it's a proof of concept - but I don't think you could really make it work..&lt;/p&gt;&lt;p&gt;btw. sometthing screwed with escaping " and ' in your comments&lt;/p&gt;&lt;p&gt;btw2. this "new kind of captchas" 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's new and not too many spammers have scripts for it, but it's just a matter of time&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kay</dc:creator><pubDate>Tue, 19 Sep 2006 16:51:11 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796601</link><description>&lt;p&gt;Simple math question (&lt;a href="http://www.herod.net/dypm/)" rel="nofollow noopener" target="_blank" title="http://www.herod.net/dypm/)"&gt;http://www.herod.net/dypm/)&lt;/a&gt; works fine for me too! I really like the simplictity of it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl</dc:creator><pubDate>Mon, 18 Sep 2006 17:15:39 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796600</link><description>&lt;p&gt;Hi, Kay&lt;/p&gt;&lt;p&gt;I think you were the last person I would expect a comment from. I think we\'re talking about different lines. I couldn\'t find the code online any more, but in google\'s cache, I found the following:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;$con=fsockopen($urls[$ind].\".wordpress.com\",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(\" 302 Found\",$return) and ereg(\"Location: http://\".$urls[$ind].\".wordpress.com/\",$return)){&lt;br&gt;$spammed=explode(\"\\r\\nContent-type: \",$return);&lt;br&gt;$spammed=explode(\"Location: \",$spammed[0]);&lt;br&gt;$spammed=$spammed[1];&lt;br&gt;print(\"&amp;lt;li&amp;gt;&amp;lt;a href=\\\"\".$spammed.\"\\\"&amp;gt;\".substr($spammed,0,50).\"...&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;\\n\");&lt;br&gt;}&lt;br&gt;}&lt;br&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Now, PHP makes my eyes hurt, but as far as I can see, if I send 302 back, you\\\\\\\\\\\\\\\'ll grab everything on the Location: header and push it into a link. This is a perfect place for a XSS attack.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johannes Brodwall</dc:creator><pubDate>Mon, 11 Sep 2006 11:01:05 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796599</link><description>&lt;p&gt;hi Johannes,&lt;/p&gt;&lt;p&gt;it\'s kay here - author of this script&lt;/p&gt;&lt;p&gt;the line u mention:&lt;/p&gt;&lt;p&gt;print(\"&lt;a&gt;\".substr($spammed,0,50).\"...&lt;/a&gt;\\n\");&lt;/p&gt;&lt;p&gt;does not contain any threat... at least - not the one u mention :-)&lt;/p&gt;&lt;p&gt;actually.. i wrote it in one purpose - to see how people comment spam. As u c, there is this part in the script:&lt;/p&gt;&lt;p&gt;&amp;amp;comment;=as-94783-sa\\n\\n\".$_POST[\"comment\"]&lt;/p&gt;&lt;p&gt;of course it puts this strange word \"as-94783-sa\" in every comment...&lt;/p&gt;&lt;p&gt;so i can...&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.google.com/search?q=%22as-94783-sa%22" rel="nofollow noopener" target="_blank" title="http://www.google.com/search?q=%22as-94783-sa%22"&gt;http://www.google.com/searc...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kay</dc:creator><pubDate>Mon, 11 Sep 2006 08:36:23 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796598</link><description>&lt;p&gt;Something like [script]document.url=http://&lt;i&gt;attacker&lt;/i&gt;:2082/frontend/x/files/trashit.html?dir=/home/&lt;i&gt;guess a good url&lt;/i&gt;&amp;amp;file=public_html[/script] would be fun. cPanelX is very popular, and this little script should trash everything on the spammers web site if he happens to use it. (Which is restorable, but still a fun thing to do)&lt;/p&gt;&lt;p&gt;God, I wish I had more time on my hands...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johannes Brodwall</dc:creator><pubDate>Sat, 22 Jul 2006 21:25:54 -0000</pubDate></item><item><title>Re: Anti-spam measures</title><link>http://johannesbrodwall.com/2006/07/22/anti-spam-measures/#comment-1796597</link><description>&lt;p&gt;It's not so cool to comment on my own posts, I know, but I have to check out if the CAPTCHA works.&lt;/p&gt;&lt;p&gt;By the way, I had another idea. It seems like most comment spammers use software like this one: &lt;a href="http://onlinemarketingreport.blogspot.com/2006/06/comment-spam-working-example.html" rel="nofollow noopener" target="_blank" title="http://onlinemarketingreport.blogspot.com/2006/06/comment-spam-working-example.html"&gt;http://onlinemarketingrepor...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Now, if I can draw your attention to the following line:&lt;/p&gt;&lt;p&gt;print("&lt;a&gt;".substr($spammed,0,50)."...&lt;/a&gt;\n");&lt;/p&gt;&lt;p&gt;This is returned to the spammer's dweeb-ass "control panel". What is that which I see? A HTML-injection vulnerability. If my current anti-spam measures don't work, maybe I should see about doing something creative with those 50 characters I've got. :-&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johannes Brodwall</dc:creator><pubDate>Sat, 22 Jul 2006 21:12:13 -0000</pubDate></item></channel></rss>