<?xml version="1.0" encoding="utf-8"?>
<rss 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><language>en</language><lastBuildDate>Fri, 06 Oct 2006 07:13:50 -0000</lastBuildDate><item><title>Re: Anti-spam measures</title><link>http://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796604</link><description>I'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 "feature" 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 "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;br&gt;&lt;br&gt;&lt;a href="http://www.VICTIMSDOMAIN.com:2082/frontend/x/mime/addredirect.html?path=VICTIMSHOMEPAGE&amp;amp;url=MYURL&amp;amp;type=permanent" rel="nofollow"&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><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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796603</link><description>Hi, Kay&lt;br&gt;&lt;br&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;br&gt;&lt;br&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;br&gt;&lt;br&gt;I agree with what you're saying with the new captcha. Most measures will be a temporary respite.</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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796602</link><description>ok - u got me!&lt;br&gt;&lt;br&gt;it's true - it would work... i wrote this script before i even heard about XSS, now it'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't really have that much control over their server responses!&lt;br&gt;&lt;br&gt;it's a proof of concept - but I don't think you could really make it work..&lt;br&gt;&lt;br&gt;btw. sometthing screwed with escaping " and ' in your comments&lt;br&gt;&lt;br&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</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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796601</link><description>Simple math question (&lt;a href="http://www.herod.net/dypm/" rel="nofollow"&gt;http://www.herod.net/dypm/&lt;/a&gt;) works fine for me too! I really like the simplictity of it!</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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796600</link><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\'re talking about different lines. I couldn\'t find the code online any more, but in google\'s cache, I found the following:&lt;br&gt;&lt;br&gt;&amp;lt;pre&amp;gt;&lt;br&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: &lt;a href="http://%5C%22.%24urls%5B%24ind%5D.%5C%22.wordpress.com/%5C%22%2C%24return%29%29%7B" rel="nofollow"&gt;http://\".$urls[$ind].\".wordpress.com/\",$retu...&lt;/a&gt;&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;&lt;a href=\\\"\".$spammed.\"\\\" rel="nofollow"&gt;\".substr($spammed,0,50).\"...&lt;/a&gt;&amp;lt;/li&amp;gt;\\n\");&lt;br&gt;}&lt;br&gt;}&lt;br&gt;&amp;lt;/pre&amp;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\\\\\\\\\\\\\\\'ll grab everything on the Location: header and push it into a link. This is a perfect place for a XSS attack.</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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796599</link><description>hi Johannes,&lt;br&gt;&lt;br&gt;it\'s kay here - author of this script&lt;br&gt;&lt;br&gt;the line u mention:&lt;br&gt;&lt;br&gt;print(\"&lt;a rel="nofollow"&gt;\".substr($spammed,0,50).\"...&lt;/a&gt;\\n\");&lt;br&gt;&lt;br&gt;does not contain any threat... at least - not the one u mention :-)&lt;br&gt;&lt;br&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;br&gt;&lt;br&gt;&amp;comment;=as-94783-sa\\n\\n\".$_POST[\"comment\"]&lt;br&gt;&lt;br&gt;of course it puts this strange word \"as-94783-sa\" in every comment...&lt;br&gt;&lt;br&gt;so i can...&lt;br&gt;&lt;br&gt;&lt;a href="http://www.google.com/search?q=%2522as-94783-sa%2522" rel="nofollow"&gt;http://www.google.com/search?q=%22as-94783-sa%22&lt;/a&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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796598</link><description>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;br&gt;&lt;br&gt;God, I wish I had more time on my hands...</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://www.brodwall.com/johannes/blog/2006/07/22/anti-spam-measures/#comment-1796597</link><description>It's not so cool to comment on my own posts, I know, but I have to check out if the CAPTCHA works.&lt;br&gt;&lt;br&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"&gt;http://onlinemarketingreport.blogspot.com/2006/...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Now, if I can draw your attention to the following line:&lt;br&gt;&lt;br&gt;print("&lt;a rel="nofollow"&gt;".substr($spammed,0,50)."...&lt;/a&gt;\n");&lt;br&gt;&lt;br&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;</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>