<?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: Work in Progress!</title> <atom:link href="http://www.raphkoster.com/2008/03/27/work-in-progress/feed/" rel="self" type="application/rss+xml" /><link>http://www.raphkoster.com/2008/03/27/work-in-progress/</link> <description>Raph Koster&#039;s personal website: MMOs, gaming, writing, art, music, books</description> <lastBuildDate>Sun, 12 Feb 2012 06:02:55 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Azaroth &#187; Blog Archive &#187; Oh, that&#8217;s better thx.</title><link>http://www.raphkoster.com/2008/03/27/work-in-progress/comment-page-1/#comment-136868</link> <dc:creator>Azaroth &#187; Blog Archive &#187; Oh, that&#8217;s better thx.</dc:creator> <pubDate>Wed, 23 Apr 2008 03:25:13 +0000</pubDate> <guid
isPermaLink="false">http://www.raphkoster.com/2008/03/27/work-in-progress/#comment-136868</guid> <description>[...] Jeff Freeman is nice, thanks. Although I&#8217;m linking to Raph&#8217;s blog for some reason. [...]</description> <content:encoded><![CDATA[<div
style="padding:15px; border-left:1px solid #dedede; border-bottom:3px solid #CCEBF7; background-color:#fcfeff"><p>[...] Jeff Freeman is nice, thanks. Although I&#8217;m linking to Raph&#8217;s blog for some reason. [...]</p></div> ]]></content:encoded> </item> <item><title>By: Raph&apos;s Website &#187; More on the blog hacking</title><link>http://www.raphkoster.com/2008/03/27/work-in-progress/comment-page-1/#comment-136640</link> <dc:creator>Raph&apos;s Website &#187; More on the blog hacking</dc:creator> <pubDate>Tue, 15 Apr 2008 07:37:39 +0000</pubDate> <guid
isPermaLink="false">http://www.raphkoster.com/2008/03/27/work-in-progress/#comment-136640</guid> <description>[...] read the advice from Jeff Freeman in the last post on [...]</description> <content:encoded><![CDATA[<div
style="padding:15px; border-left:1px solid #dedede; border-bottom:3px solid #CCEBF7; background-color:#fcfeff"><p>[...] read the advice from Jeff Freeman in the last post on [...]</p></div> ]]></content:encoded> </item> <item><title>By: Raph</title><link>http://www.raphkoster.com/2008/03/27/work-in-progress/comment-page-1/#comment-135984</link> <dc:creator>Raph</dc:creator> <pubDate>Fri, 28 Mar 2008 15:50:12 +0000</pubDate> <guid
isPermaLink="false">http://www.raphkoster.com/2008/03/27/work-in-progress/#comment-135984</guid> <description>Thanks for the advice Jeff! The second time it happened, btw, the blog was already running 2.2.3; so it may be that the code is still in the DB. We&#039;ll go looking!</description> <content:encoded><![CDATA[<p>Thanks for the advice Jeff! The second time it happened, btw, the blog was already running 2.2.3; so it may be that the code is still in the DB. We&#8217;ll go looking!</p> ]]></content:encoded> </item> <item><title>By: Jeff Freeman</title><link>http://www.raphkoster.com/2008/03/27/work-in-progress/comment-page-1/#comment-135971</link> <dc:creator>Jeff Freeman</dc:creator> <pubDate>Fri, 28 Mar 2008 09:09:54 +0000</pubDate> <guid
isPermaLink="false">http://www.raphkoster.com/2008/03/27/work-in-progress/#comment-135971</guid> <description>There was a vulnerability to SQL-injection through version 2.1.1:
http://luiscosio.com/0day-exploit-for-wordpress-211
Upgrading will fix it, but if you were already compromised then you should change your admin password, first thing. I&#039;ll wait here.
Ok, done?
You might &lt;em&gt;still&lt;/em&gt; be at risk due to code in your database. Upgrading beyond 2.1.1 will stop it happening again, but it won&#039;t remove any code already in there.
The link you posted to Roberto Galoppini&#039;s page explains what to look for and how to delete it... mind, your malicious code isn&#039;t necessarily the same malicious code that he got, so you really have to look for &quot;stuff like that&quot; rather than that, exactly.
Last, check you footers.php file, too. Or heck, check all the theme&#039;s files, why not?
That and a WP install should do you. I definitely recommend the &quot;delete all existing files except &lt;em&gt;content&lt;/em&gt;, then ftp the new versions files over.&quot; You could set your ftp client to &quot;always over-write&quot; (probably it defaults to &quot;only if newer&quot;), but in the event a file was removed from the project between your old version and the new one, you don&#039;t want it hanging-around doing nothing.
If deleting wp_header() from your header.php file was part of your solution, you&#039;ll want to put that back in there. Lots of plugins won&#039;t work or won&#039;t work right unless it is there.
...
This assumes none of your plugins were the actual source of the vulnerability. Being paranoid, I&#039;ll likely go through them all line by line. Probably just as effective would be to Google for the plugin name and &#039;vulnerability&#039; or &#039;SQL injection&#039; or maybe even &quot;+plugin-name +header.php&quot;.
But since 2.1.1 and under were vulnerable and your cached page on Google reports version 2.1 - seems unlikely your vulnerability was not WP itself.
Simple little things you can do to harden your WP install:
1. Delete your &#039;admin&#039; user, if you haven&#039;t already (make a new user with a secret user-name and admin rights first).
2. Edit your header.php where there&#039;s a comment:
&lt;!-- leave this for stats please --&gt;
... remove the WP version number it is asking you to leave, and add your own comment there:
&lt;!-- Sorry, but no --&gt;
You need to &lt;em&gt;not be hacked&lt;/em&gt; more than anyone needs to know which vulnerabilities you are offering to hackers (aka your version number).
Besides, providing data for stats or anything should be an opt-in affair, not opt-out requiring php editing. So there&#039;s that reason to remove it even if removing it for security reasons feels sleezy.
I mean, that only works &lt;em&gt;because&lt;/em&gt; it is an obfuscated opt-out affair, meaning lots of people would leave it even without the &quot;please&quot;, meaning your benefit comes at their expense.
This conclude my being on-topic.
It&#039;s sort of how home security stickers on your windows provides security by making your house seem relatively less vulnerable than your neighbors&#039;.
They always say, &quot;Sure, no system provides absolute protection, but if Joe Sixpack had an alarm system sticker on his window, maybe the victim of this crime would have been the next house down the road.&quot; They say that without any shame, admit boldly that their alarm system works because your neighbor doesn&#039;t have one.
I always think, &quot;How do they know Joe Sixpack&#039;s home &lt;em&gt;wasn&#039;t&lt;/em&gt; the next one down the road?&quot;
They can&#039;t possibly believe the robbers will move on indefinitely, have already confessed their service relies on your neighbors&#039; exposure, yet every single time they&#039;ll chastise Joe as though he did something stupid, when their security depends &lt;em&gt;utterly&lt;/em&gt; on guys like Joe.
If he&#039;d had a security system, maybe the next house would have been robbed, but then they&#039;d just be saying the same thing about that home&#039;s owner, eh?
Also I am suspicious of them never talking about all the people with security systems whom have &lt;em&gt;not&lt;/em&gt; been robbed. That&#039;s what you really want it to do, right? Ok, we get it, people without it get robbed... but that only &lt;em&gt;implies&lt;/em&gt; the people with it do not. They never say that.
What&#039;s up with that? Since when is sufficient such a claim as &quot;Not using my product has proven to be ineffective at improving your girth and length.&quot;?
END OF COMMUNICATION</description> <content:encoded><![CDATA[<p>There was a vulnerability to SQL-injection through version 2.1.1:</p><p><a
href="http://luiscosio.com/0day-exploit-for-wordpress-211" rel="nofollow">http://luiscosio.com/0day-exploit-for-wordpress-211</a></p><p>Upgrading will fix it, but if you were already compromised then you should change your admin password, first thing. I&#8217;ll wait here.</p><p>Ok, done?</p><p>You might <em>still</em> be at risk due to code in your database. Upgrading beyond 2.1.1 will stop it happening again, but it won&#8217;t remove any code already in there.</p><p>The link you posted to Roberto Galoppini&#8217;s page explains what to look for and how to delete it&#8230; mind, your malicious code isn&#8217;t necessarily the same malicious code that he got, so you really have to look for &#8220;stuff like that&#8221; rather than that, exactly.</p><p>Last, check you footers.php file, too. Or heck, check all the theme&#8217;s files, why not?</p><p>That and a WP install should do you. I definitely recommend the &#8220;delete all existing files except <em>content</em>, then ftp the new versions files over.&#8221; You could set your ftp client to &#8220;always over-write&#8221; (probably it defaults to &#8220;only if newer&#8221;), but in the event a file was removed from the project between your old version and the new one, you don&#8217;t want it hanging-around doing nothing.</p><p>If deleting wp_header() from your header.php file was part of your solution, you&#8217;ll want to put that back in there. Lots of plugins won&#8217;t work or won&#8217;t work right unless it is there.</p><p>&#8230;</p><p>This assumes none of your plugins were the actual source of the vulnerability. Being paranoid, I&#8217;ll likely go through them all line by line. Probably just as effective would be to Google for the plugin name and &#8216;vulnerability&#8217; or &#8216;SQL injection&#8217; or maybe even &#8220;+plugin-name +header.php&#8221;.</p><p>But since 2.1.1 and under were vulnerable and your cached page on Google reports version 2.1 &#8211; seems unlikely your vulnerability was not WP itself.</p><p>Simple little things you can do to harden your WP install:</p><p>1. Delete your &#8216;admin&#8217; user, if you haven&#8217;t already (make a new user with a secret user-name and admin rights first).</p><p>2. Edit your header.php where there&#8217;s a comment:</p><p>&lt;!&#8211; leave this for stats please &#8211;&gt;</p><p>&#8230; remove the WP version number it is asking you to leave, and add your own comment there:</p><p>&lt;!&#8211; Sorry, but no &#8211;&gt;</p><p>You need to <em>not be hacked</em> more than anyone needs to know which vulnerabilities you are offering to hackers (aka your version number).</p><p>Besides, providing data for stats or anything should be an opt-in affair, not opt-out requiring php editing. So there&#8217;s that reason to remove it even if removing it for security reasons feels sleezy.</p><p>I mean, that only works <em>because</em> it is an obfuscated opt-out affair, meaning lots of people would leave it even without the &#8220;please&#8221;, meaning your benefit comes at their expense.</p><p>This conclude my being on-topic.</p><p>It&#8217;s sort of how home security stickers on your windows provides security by making your house seem relatively less vulnerable than your neighbors&#8217;.</p><p>They always say, &#8220;Sure, no system provides absolute protection, but if Joe Sixpack had an alarm system sticker on his window, maybe the victim of this crime would have been the next house down the road.&#8221; They say that without any shame, admit boldly that their alarm system works because your neighbor doesn&#8217;t have one.</p><p>I always think, &#8220;How do they know Joe Sixpack&#8217;s home <em>wasn&#8217;t</em> the next one down the road?&#8221;</p><p>They can&#8217;t possibly believe the robbers will move on indefinitely, have already confessed their service relies on your neighbors&#8217; exposure, yet every single time they&#8217;ll chastise Joe as though he did something stupid, when their security depends <em>utterly</em> on guys like Joe.</p><p>If he&#8217;d had a security system, maybe the next house would have been robbed, but then they&#8217;d just be saying the same thing about that home&#8217;s owner, eh?</p><p>Also I am suspicious of them never talking about all the people with security systems whom have <em>not</em> been robbed. That&#8217;s what you really want it to do, right? Ok, we get it, people without it get robbed&#8230; but that only <em>implies</em> the people with it do not. They never say that.</p><p>What&#8217;s up with that? Since when is sufficient such a claim as &#8220;Not using my product has proven to be ineffective at improving your girth and length.&#8221;?</p><p>END OF COMMUNICATION</p> ]]></content:encoded> </item> <item><title>By: Raph</title><link>http://www.raphkoster.com/2008/03/27/work-in-progress/comment-page-1/#comment-135931</link> <dc:creator>Raph</dc:creator> <pubDate>Thu, 27 Mar 2008 21:40:28 +0000</pubDate> <guid
isPermaLink="false">http://www.raphkoster.com/2008/03/27/work-in-progress/#comment-135931</guid> <description>There is apparently a vulnerability in Wordpress which allows injection of spam into the header.php file. Some of the (many) links on it:
http://wordpress.org/support/topic/138376
http://robertogaloppini.net/2007/12/12/wordpress-spam-injection-goro-hacked-my-blog/
http://gordon.dewis.ca/2008/01/06/expunging-the-wordpressnetin-spam-injection-hijack/
So far it has happened to us twice in the last week, and may have been part of why the blog was broken last weekend.</description> <content:encoded><![CDATA[<p>There is apparently a vulnerability in WordPress which allows injection of spam into the header.php file. Some of the (many) links on it:</p><p><a
href="http://wordpress.org/support/topic/138376" rel="nofollow">http://wordpress.org/support/topic/138376</a></p><p><a
href="http://robertogaloppini.net/2007/12/12/wordpress-spam-injection-goro-hacked-my-blog/" rel="nofollow">http://robertogaloppini.net/2007/12/12/wordpress-spam-injection-goro-hacked-my-blog/</a></p><p><a
href="http://gordon.dewis.ca/2008/01/06/expunging-the-wordpressnetin-spam-injection-hijack/" rel="nofollow">http://gordon.dewis.ca/2008/01/06/expunging-the-wordpressnetin-spam-injection-hijack/</a></p><p>So far it has happened to us twice in the last week, and may have been part of why the blog was broken last weekend.</p> ]]></content:encoded> </item> <item><title>By: moo</title><link>http://www.raphkoster.com/2008/03/27/work-in-progress/comment-page-1/#comment-135930</link> <dc:creator>moo</dc:creator> <pubDate>Thu, 27 Mar 2008 21:27:14 +0000</pubDate> <guid
isPermaLink="false">http://www.raphkoster.com/2008/03/27/work-in-progress/#comment-135930</guid> <description>hacked?  wha?</description> <content:encoded><![CDATA[<p>hacked?  wha?</p> ]]></content:encoded> </item> </channel> </rss>
