<?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>randomduck &#187; hacks</title>
	<atom:link href="http://www.randomduck.com/tag/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randomduck.com</link>
	<description>thoughtful. entertaining. random.</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:45:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>using wordpress? be careful with free themes</title>
		<link>http://www.randomduck.com/2008/04/05/using-wordpress-be-careful-with-free-themes/</link>
		<comments>http://www.randomduck.com/2008/04/05/using-wordpress-be-careful-with-free-themes/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 05:32:54 +0000</pubDate>
		<dc:creator>randomduck</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.randomduck.com/?p=1122</guid>
		<description><![CDATA[Folks who follow this blog know that the look has changed over the past week. Part of the reason why this happened is because I wanted to change things up. I upgraded to WordPress 2.5 &#8211; no probs there. And I looked for a different theme to mark the change. So I looked for a [...]<p><em>This is a post from <a href="http://www.randomduck.com">randomduck.com</a>.
Copyright &copy; 2010 R.D. Riet. Covered under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/">Creative Commons</a>.</em><br/><br/><a href="http://www.randomduck.com/2008/04/05/using-wordpress-be-careful-with-free-themes/">using wordpress? be careful with free themes</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Folks who follow this blog know that the look has changed over the past week.</p>
<p>Part of the reason why this happened is because I wanted to change things up.  I upgraded to <a href="http://www.wordpress.org/">WordPress 2.5</a> &#8211; no probs there.  And I looked for a different theme to mark the change.</p>
<p>So I looked for a freebie to act as a stop-gap and found a theme that was GNU-licensed and open-source, which would allow me the flexibility to change things up.  I found one at a free WP theme meta-site, which seemed fine, and I installed the theme.</p>
<p>Then I got around to looking at the PHP code to see where I could tweak things, and I noticed some strange, base-64 encoded strings in some of the files.</p>
<p>Commence mental alarm bells.</p>
<p>So I look at some of the WP developer blogs (those referenced in the default RSS feed on the WP admin page of almost every WordPress-driven site) and found <a href="http://5thirtyone.com/archives/870">this post</a> from an open-source theme developer.  It seems that some of his themes had been swallowed up by a free theme meta-site and doctored with this base-64 code.  This developer did some snooping and asking around, and found that the inserted code was definitely not WP standard, and was <a href="http://codescout.org/2007/11/17/audit-those-3rd-party-themes-and-plugins-before-enabling-them/" rel="nofollow">very likely malicious</a>:</p>
<blockquote><p>I think the potential for abuse of this script is huge. I see it as a covert channel to setup Word Press enabled sites as thin zombies. The code being sent back to the server and eval’d could be a mailing script for spam or phishing.</p></blockquote>
<p>So I decided to reverse-engineer the whole damn thing, stripping out all malicious code, and seeing how it turned out.  It&#8217;s not bad &#8211; looks and acts the same, without all the scary eval calls and potential for hacks to my site.</p>
<p>So to anybody developing for WordPress (or <a href="http://www.joomla.org/">Joomla</a>, which is equally vulnerable to these exploits), the safe bet is to use the WordPress theme directory from <a href="http://www.wordpress.org/">WordPress.org</a>.</p>
<p><em>Caveat emptor</em> means more and more in the days of the internet.</p>
<p><em>This is a post from <a href="http://www.randomduck.com">randomduck.com</a>.
Copyright &copy; 2010 R.D. Riet. Covered under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/">Creative Commons</a>.</em><br/><br/><a href="http://www.randomduck.com/2008/04/05/using-wordpress-be-careful-with-free-themes/">using wordpress? be careful with free themes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randomduck.com/2008/04/05/using-wordpress-be-careful-with-free-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
