<?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>Themocracy WordPress Themes &#187; security</title>
	<atom:link href="http://themocracy.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://themocracy.com</link>
	<description>WordPress Theme Design</description>
	<lastBuildDate>Mon, 26 Jul 2010 06:18:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress Themes Security</title>
		<link>http://themocracy.com/2009/08/wordpress-themes-security/</link>
		<comments>http://themocracy.com/2009/08/wordpress-themes-security/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:45:37 +0000</pubDate>
		<dc:creator>Lisa</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://themocracy.com/?p=167</guid>
		<description><![CDATA[Time, perhaps, to renew the regular warning about obfuscated theme code &#8211; if you&#8217;ve just come to self-hosted WordPress, it&#8217;s worth being aware of what tricks can go on in this area.
Be cautious when and if you&#8217;re going download a WordPress theme from a third-party repository, gallery, call &#8216;em whatever. Not all sites do this, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthemocracy.com%2F2009%2F08%2Fwordpress-themes-security%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthemocracy.com%2F2009%2F08%2Fwordpress-themes-security%2F" height="61" width="51" /></a></div><p><img src="http://themocracy.com/wp-content/uploads/2009/08/wordpress-pirates.gif" alt="wordpress-pirates" title="wordpress-pirates" width="140" height="126" class="alignright size-full wp-image-168" /><strong>Time, perhaps, to renew the regular warning about obfuscated theme code</strong> &#8211; if you&#8217;ve just come to self-hosted WordPress, it&#8217;s worth being aware of what tricks can go on in this area.</p>
<p>Be cautious when and if you&#8217;re going download a WordPress theme from a third-party repository, gallery, call &#8216;em whatever. Not all sites do this, but it is certainly a relatively simple matter to make a few code additions to a theme and repackage it for download, so that your site is then running their code &#8211; and you haven&#8217;t a clue what it might or might not be doing.<br />
<span id="more-167"></span><br />
To be honest, the code is (usually) not too malicious &#8211; it ranges from forcing a link to be retained in the footer, through serving up random ads, that sort of thing &#8211; but it could, in theory, break your server/database, act as spam mailer, phishing script, or turn your domain into a zombie for DDOS attacks etc. </p>
<p>This can all be reverse-engineered simply enough, to see what&#8217;s going on, but if you&#8217;re not familiar with PHP and you start seeing <strong>eval</strong> or <strong>base64_decode</strong> functions, followed by a string of alphanumeric gibberish in your downloaded theme package that&#8217;s probably the time to junk that theme, no questions asked&#8230;  Most likely, it&#8217;ll be in functions.php, but could be in footer.php, header.php, anywhere&#8230; </p>
<p>We never use obfuscated code in any of our themes, and we don&#8217;t have links for attorneys and SEO companies in any of the footers. <em>Identify the original source of a theme and download it directly from the author&#8217;s website. You&#8217;ll (almost certainly) be fine in that case&#8230;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://themocracy.com/2009/08/wordpress-themes-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
