<?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 &#187; Website Security</title>
	<atom:link href="http://www.whitefirdesign.com/blog/category/website-security/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>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>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>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>Securing osCommerce 2.2 and 2.3</title>
		<link>http://www.whitefirdesign.com/blog/2011/03/28/securing-oscommerce-2-2-and-2-3/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/03/28/securing-oscommerce-2-2-and-2-3/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 20:20:35 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=958</guid>
		<description><![CDATA[osCommerce continues to be one of the most exploited pieces of web software. Back in October we wrote about the need to secure osCommerce to prevent these exploitations. Since then we have seen a lot of bad information on securing &#8230; <a href="http://www.whitefirdesign.com/blog/2011/03/28/securing-oscommerce-2-2-and-2-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>osCommerce continues to be one of the most exploited pieces of web software. Back in October we wrote about the <a title="The Security Step Every osCommerce Website Needs To Take Now" href="http://www.whitefirdesign.com/blog/2010/10/07/the-security-step-every-oscommerce-website-needs-to-take-now/">need to secure osCommerce</a> to prevent these exploitations. Since then we have seen a lot of bad information on securing osCommerce against these exploitations as well as questions on securing osCommerce 2.3, which was <a title="osCommerce 2.3 Includes Fixes for Security Vulnerabilities and Security Enhancements" href="http://www.whitefirdesign.com/blog/2010/11/19/oscommerce-2-3-includes-fixes-for-security-vulnerabilities-and-security-enhancements/">released</a> in November, so we have put together additional information on securing osCommerce 2.2 and 2.3.</p>
<h2>osCommerce 2.2</h2>
<p>There are several vulnerabilities in osCommerce 2.2 that are being exploited. The simplest and most effective method to protect against the exploitation of these vulnerabilities is to rename and password protect the admin directory. Doing this is also recommended by osCommerce.</p>
<p>Renaming the admin directory requires changing the name of the directory and changing the DIR_WS_ADMIN and DIR_FS_ADMIN lines in the /includes/configure.php file located in admin directory with the new admin directory name in place of admin.</p>
<p>The easiest way to turn enable password protection is using the <a href="http://addons.oscommerce.com/info/7170">HTACCESS from osC admin menu add-on</a> (this is add-on has also been integrated into osCommerce 2.3) following these steps:</p>
<ol>
<li>Install the add-on, make sure to install the files located in the admin folder in the add-on to the renamed admin directory.</li>
<li>Login into the admin area.</li>
<li>In the left hand menu, click on Administrators link in the Configuration section.</li>
<li>Click edit.</li>
<li>Enter your current password in the New Password field and select Protect With htaccess/htpasswd.</li>
</ol>
<p>You can find information on extra security measures you can take in the osCommerce forum thread <a href="http://forums.oscommerce.com/topic/313323-how-to-secure-your-oscommerce-22-site/">How to secure your osCommerce 2.2 site</a>.</p>
<p>For existing osCommerce 2.2 based websites that do not already have these protections in placed it is likely that the website has already been hacked. Many of these hacks only involve placing a backdoor script, which allows the hacker to run commands from and access files on the website. With the backdoor script in place they can come back later and use the website for malicious purposes. Other hacks involve using the website for spam, malware, or other malicious purposes.</p>
<p>The best way to insure that any code added by hacker has been removed is to revert to a clean backup of the website. Because osCommerce have been being hacked for so long it is unlikely that a backup that was made of the website from the last year or two would be clean at this point. If you have a copy of the website that was never placed on the website you could use that, you would need to add any new files you created since then, such as images.</p>
<p>Another method to clean the website is to remove the malicious code and files that the hackers have added. Malicious code is often added to the index.php and /includes/header.php. Backdoor scripts can be placed throughout the website; our<a href="http://www.whitefirdesign.com/resources/basic-backdoor-script-finder.html"> Basic Backdoor Script Finder</a> will find some of the most popular ones. You can also look for any .php files in the images folder and for files that begin goog1e located in the root directory of the osCommerce installation as the will be backdoor scripts.</p>
<h2>osCommerce 2.3</h2>
<p>osCommerce 2.3 included fixes for the vulnerabilities in osCommerce 2.2  and at this point there are no known vulnerabilities in 2.3.1 (there was an <a title="osCommerce 2.3 and 2.3.1 Do Not Contain Vulnerability in categories.php" href="http://www.whitefirdesign.com/blog/2010/12/06/oscommerce-2-3-and-2-3-1-do-not-contain-vulnerability-in-categories-php/">incorrect advisory that claimed there was one</a>), so it would be safe to run the software without additional protection, but it is still recommend rename and password the admin directory.</p>
<p>It is possible to rename the admin directory during the installation of osCommerce 2.3. If the admin directory was not renamed during the installation it can be done by changing the name of the directory and updating the DIR_WS_ADMIN and DIR_FS_ADMIN lines in the /includes/configure.php file located in admin directory with the new admin directory name in place of admin.</p>
<p>Password protection is integrated into osCommerce 2.3, it can be turned on following these steps:</p>
<ol>
<li>Login into the admin area.</li>
<li>In the left hand menu, click on the Administrators link in the Configuration section.</li>
<li>Click edit.</li>
<li>Enter your current password in the New Password field and select Protect With htaccess/htpasswd.</li>
</ol>
<p>You can find information on extra security measures you can take in the osCommerce forum thread <a href="http://forums.oscommerce.com/topic/313323-how-to-secure-your-oscommerce-22-site/">How to secure your osCommerce 2.2 site</a> (most of the information applies to 2.3 as well as 2.2).</p>
<p>osCommerce 2.3 also includes a number of security enhancements. The <a href="http://www.openwall.com/phpass/">Portable PHP hashing framework</a> has been added to more securely hash passwords, this software is also used in WordPress. A customer session token has been added “to forms to protect against Cross-Site Request Forgeries (CSRF)”. A new section of the admin, Security Directory Permissions, displays the current write permission of the various osCommerce directories and what the recommend permissions are. A built-in version checker allows for checking if a new version of osCommerce has been released.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/03/28/securing-oscommerce-2-2-and-2-3/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>Understanding the Role of File Permissions in Website Security</title>
		<link>http://www.whitefirdesign.com/blog/2011/03/22/understanding-the-role-of-file-permissions-in-website-security/</link>
		<comments>http://www.whitefirdesign.com/blog/2011/03/22/understanding-the-role-of-file-permissions-in-website-security/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 21:14:00 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Bad Security]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/blog/?p=953</guid>
		<description><![CDATA[Often in discussions of website security or hackings the issue of file permissions comes up. Unfortunately, important information needed to understand what effect permissions have is often not explained and in many cases bad information is spread. Most of the &#8230; <a href="http://www.whitefirdesign.com/blog/2011/03/22/understanding-the-role-of-file-permissions-in-website-security/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Often in discussions of website security or hackings the issue of file permissions comes up. Unfortunately, important information needed to understand what effect permissions have is often not explained and in many cases bad information is spread. Most of the bad information relates to limiting other&#8217;s access to the files in your account on a shared server.</p>
<p>First let&#8217;s explain the basics of what file permissions are made of. In Unix based operating systems, which is what most web servers are running on, file permissions are composed three type of permissions: read, write, and execute. The read permissions allow reading the file, the write permissions allows modifying the file, and the execute permissions allow a file to run (because of how PHP works .php files do not need to be executed to run).</p>
<p>Directories also have the same types of permissions, but they are somewhat different. The read permissions allows see a listing of the files in the directory, the write permission allows creating, deleting, or renaming files in the directory, and the execute permissions allows accessing the files in the directory.</p>
<p>Those types of permissions are set for three different classes: the owner, group, and others. The owner is normally the user that created the file, the group is whatever groups the owner is part of, and other involves any other users on the system.</p>
<p>The first important thing to understand in terms of security is how the files can be accessed in the first place, because for permissions to come into play the hacker first has to be able to access the files. This requires having login access to the server, a FTP login for example, or having found some exploit in software running on the server. Just by browsing the website they could not access the files. If the hackers gains login access to your account or exploits software on your website they will have the same access that you have, so restricting others access will have stop someone from accessing your files in those cases.</p>
<p>We sometimes see it suggested that to protect a website that is being repeatedly hacked in a way that modifies files, that the write permissions for the files should be removed. The idea is that because the write permissions are disabled the hacker would no longer be able to modify the files. The problem is that most instances the hacker would have the ability to change the permission so that the files are writeable again. For almost as long as we have been seeing it be advised to make the files unwriteable we have been seeing hacks in which the permissions set to be writeable during the hack, so this is not effective strategy. What needs to be done is determine how the hacker is gaining access to the files and stop that.</p>
<p>The most important thing to understand about file permissions is that on a shared server, no matter what the file permissions are set to other users should not have access to your files. One of the developers of WordPress <a href="http://wordpress.org/news/2010/04/file-permissions/">put it</a> this way:</p>
<blockquote><p><strong>A properly configured web server will not allow users to access the files of another user, regardless of file permissions.</strong> The web server is the responsibility of the hosting provider. The methods for doing this (suexec, et al) have been around for 5+ years.</p></blockquote>
<p>If your hosting provider does not have proper access controls in place the need to add those or your need to find a new host.</p>
<p>While setting permissions as low as possible is not going to do any harm, in most cases where the file permissions are blamed it would not have mattered what the permissions were set as. This is due the fact the files were being accessed in way that file permissions would not have restricted access. For example, a <a title="How the basicpills.com Spam Links are Getting Into Websites" href="http://www.whitefirdesign.com/blog/2011/03/17/how-the-basicpills-com-spam-links-are-getting-into-websites/">recent hack</a> involved exploiting the web server instead of individual websites. Once the hacker gained access to the server they had access to all of the files on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2011/03/22/understanding-the-role-of-file-permissions-in-website-security/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>Google Adds &#8220;This site may be compromised.&#8221; Warnings To Search Results</title>
		<link>http://www.whitefirdesign.com/blog/2010/12/09/google-adds-this-site-may-be-compromised-warnings-to-search-results/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/12/09/google-adds-this-site-may-be-compromised-warnings-to-search-results/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 20:52:06 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/news/?p=849</guid>
		<description><![CDATA[In the last several weeks Google has begun to show &#8220;This site may be compromised.&#8221; warnings, for websites they &#8220;believe may have been hacked or otherwise compromised&#8221;, in their search results. According to Google&#8217;s article about of the warning they &#8230; <a href="http://www.whitefirdesign.com/blog/2010/12/09/google-adds-this-site-may-be-compromised-warnings-to-search-results/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the last several weeks Google has begun to show &#8220;This site may be compromised.&#8221; warnings, for websites they &#8220;believe may have been hacked or otherwise compromised&#8221;, in their search results. According to Google&#8217;s <a href="http://www.google.com/support/websearch/bin/answer.py?answer=190597">article</a> about of the warning they have been added &#8220;To protect the safety of our users&#8221; and they recommend users &#8220;should be careful about providing personal information to the site&#8221; being flagged.</p>
<p>In the past when Google has detected websites they believe to be hacked and violate their <a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=35769">Webmaster Guidelines</a>, they have removed the websites from  their index and placed a &#8220;Notice of Suspected Hacking&#8221; message in their Webmaster Tools to let the webmaster know. It&#8217;s unclear at this point if Google has replaced doing that with the new warning or if the warning is only for websites that have been hacked in such a way that does not warrant being removed for their search index. Unlike the malware warning (&#8220;This site may harm your computer.&#8221;) Google places in their search results, which sends users to an interstitial page when they click search result for an affected website, users are still able to directly access the website.</p>
<p>For websites which display the warning, after the hack has been removed <a href="http://www.whitefirdesign.com/resources/request-reconsideration-from-google-for-a-hacked-website.html">reconsideration needs to be requested from Google</a> to have the warning message removed. According to a <a href="http://www.google.com/support/forum/p/Webmasters/thread?tid=5ec25f0629f40668">post</a> by Google employee John Mueller &#8220;These requests are processed fairly quickly (usually within a day,  though it&#8217;s not possible to give an exact timeframe). &#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/12/09/google-adds-this-site-may-be-compromised-warnings-to-search-results/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>osCommerce 2.3 and 2.3.1 Do Not Contain Vulnerability in categories.php</title>
		<link>http://www.whitefirdesign.com/blog/2010/12/06/oscommerce-2-3-and-2-3-1-do-not-contain-vulnerability-in-categories-php/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/12/06/oscommerce-2-3-and-2-3-1-do-not-contain-vulnerability-in-categories-php/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 20:58:18 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/news/?p=844</guid>
		<description><![CDATA[It was recently reported that the /admin/categories.php file in osCommerce contained a vulnerability that would allow someone to remotely add files to an osCommerce installation without. This could be used to add backdoor script, which would allow the hacker access &#8230; <a href="http://www.whitefirdesign.com/blog/2010/12/06/oscommerce-2-3-and-2-3-1-do-not-contain-vulnerability-in-categories-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It was recently reported that the /admin/categories.php file in osCommerce contained a vulnerability that would allow someone to remotely add files to an osCommerce installation without. This could be used to add backdoor script, which would allow the hacker access to all the website files and the ability to run code on server. This could be used for a number of malicious purposes including added spam or malware to website. osCommerce has been a frequent target for hackers lately, mainly being  used to spread malware, due to a number of security vulnerabilities in older versions. In SecurityFocus&#8217;s advisory it was <a href="http://www.securityfocus.com/bid/44995/info">stated</a> that version 2.3.1, which is the most recent version of osCommerce, is the vulnerable version. Using the exploit code they provided we tested the exploit and we found that version 2.3.1 is not vulnerable. Version 2.3, which included <a href="http://www.whitefirdesign.com/news/2010/11/19/oscommerce-2-3-includes-fixes-for-security-vulnerabilities-and-security-enhancements/">fixes for a number of security vulnerabilities and a number security enhancements</a>, is also not vulnerable. Version 2.2rc2a and probably versions older than that are vulnerable if the <a href="http://www.whitefirdesign.com/news/2010/10/07/the-security-step-every-oscommerce-website-needs-to-take-now/">workaround to secure the admin area </a> has not been applied to them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/12/06/oscommerce-2-3-and-2-3-1-do-not-contain-vulnerability-in-categories-php/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>WordPress 3.0.2 Fixes SQL Injection Vulnerability</title>
		<link>http://www.whitefirdesign.com/blog/2010/12/01/wordpress-3-0-2-fixes-sql-injection-vulnerability/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/12/01/wordpress-3-0-2-fixes-sql-injection-vulnerability/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 19:51:50 +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/news/?p=839</guid>
		<description><![CDATA[WordPress 3.0.2, which was released yesterday, fixes a SQL injection vulnerability that would allow Author-level and above users to view any information stored in the WordPress database. This could be used to view email address, hashed passwords, and other sensitive &#8230; <a href="http://www.whitefirdesign.com/blog/2010/12/01/wordpress-3-0-2-fixes-sql-injection-vulnerability/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress 3.0.2, which was <a href="http://wordpress.org/news/2010/11/wordpress-3-0-2/">released yesterday</a>, fixes a SQL injection vulnerability that would allow Author-level and above <a href="http://codex.wordpress.org/Roles_and_Capabilities">users</a> to view any information stored in the WordPress database. This could be used to view email address, hashed passwords, and other sensitive information stored in the database. WordPress rates this vulnerability as a moderate security issue. The vulnerability existed due to the fact that the &#8220;do_trackbacks() function in wp-includes/comment.php  does not properly escape the input that comes from the user&#8221;. According to Vladimir Kolesnikov, who discovered it, the vulnerability seems to have existed since WordPress 2.x. Further details of the vulnerability can be found in <a href="http://blog.sjinks.pro/wordpress/858-information-disclosure-via-sql-injection-attack/">Vladimir&#8217;s blog post</a>.</p>
<p>The new version also <a href="http://codex.wordpress.org/Version_3.0.2">includes</a> fixes for several minor cross-site scripting (XSS) vulnerabilities and a number of bug fixes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/12/01/wordpress-3-0-2-fixes-sql-injection-vulnerability/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>osCommerce 2.3 Includes Fixes for Security Vulnerabilities and Security Enhancements</title>
		<link>http://www.whitefirdesign.com/blog/2010/11/19/oscommerce-2-3-includes-fixes-for-security-vulnerabilities-and-security-enhancements/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/11/19/oscommerce-2-3-includes-fixes-for-security-vulnerabilities-and-security-enhancements/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 22:27:11 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[Website Malware]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/news/?p=821</guid>
		<description><![CDATA[More that two and half years after the last version of osCommerce was released and more than a year after a serious security vulnerability was discovered a new version of osCommerce has been released. The new version 2.3 was released &#8230; <a href="http://www.whitefirdesign.com/blog/2010/11/19/oscommerce-2-3-includes-fixes-for-security-vulnerabilities-and-security-enhancements/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>More that two and half years after the last version of osCommerce was released and more than a year after a serious security vulnerability was discovered a new version of osCommerce has been released. The new <a href="http://www.oscommerce.com/about/news,134">version 2.3</a> was released last Friday and <a href="http://www.oscommerce.com/about/news,135">version 2.3.1</a>, a minor maintenance release, was released two days later.</p>
<p>osCommerce has been a frequent target for hackers lately, mainly being used to spread malware, due to a number of security vulnerabilities. Version 2.3 of osCommerce removed a vulnerable file, file_manager.php, another vulnerable file has been changed to remove the vulnerability, and a vulnerability that allowed bypassing the login system has been fixed.</p>
<p>Unfortunately, it does not appear that osCommerce has decided that admin directory should be secure by default.  They are still recommending that the admin directory be renamed and  password protection be enabled on the directory. If the admin directory was secure, as it should be, neither of these should be necessary. The only other major web software that recommends renaming the admin directory as standard practice is Zen Cart and none recommend password protecting the directory as standard practice. Zen Cart display a prominent warning if the admin directory has not been renamed, osCommerce provides no warning if the admin has not been renamed or password protection of the admin directory has not been enabled. osCommerce does support renaming the admin directory during the installation process (on the Online Store Settings page) and makes it possible to enable password protection of the directory by just changing a configuration setting (located at configuration&gt;administrators).</p>
<p>The new version also includes a number of security enhancements. The <a href="http://www.openwall.com/phpass/">Portable PHP hashing framework</a> has been added to more securely hash passwords, this software is also used in WordPress. A customer session token has been added  &#8220;to forms to protect against Cross-Site Request Forgeries (CSRF)&#8221;. A new section of the admin, Security Directory Permissions, displays the current write permission of the various osCommerce directories and what are the recommend permissions are. A built-in version checker allows for checking if a new version of osCommerce has been released.</p>
<p>If you are running an older version of osCommerce and are not upgrading immediately you should secure your website by <a href="http://www.whitefirdesign.com/news/2010/10/07/the-security-step-every-oscommerce-website-needs-to-take-now/">renaming and password protecting the admin directory</a> if you have not already done so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/11/19/oscommerce-2-3-includes-fixes-for-security-vulnerabilities-and-security-enhancements/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>Hetzner Online Hosts Critical Component of SEO Poisoning Campaign</title>
		<link>http://www.whitefirdesign.com/blog/2010/11/16/hetzner-online-hosts-critical-component-of-seo-poisoning-campaign/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/11/16/hetzner-online-hosts-critical-component-of-seo-poisoning-campaign/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 20:00:01 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Website Malware]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/news/?p=815</guid>
		<description><![CDATA[Hetzner Online, a large German hosting provider, provides hosting for three  websites that are critical for a major SEO poisoning campaign. SEO poisoning involves getting web pages listed in search engines that when accessed attempt to infect the computer with &#8230; <a href="http://www.whitefirdesign.com/blog/2010/11/16/hetzner-online-hosts-critical-component-of-seo-poisoning-campaign/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hetzner Online, a large German hosting provider, provides hosting for three  websites that are critical for a major SEO poisoning campaign. SEO  poisoning involves getting web pages listed in search engines that when  accessed attempt to infect the computer with malware.</p>
<p>This <a href="http://www.whitefirdesign.com/resources/security-threat-analysis-seo-poisoning-malware.html">particular  campaign</a> involves two sets of hacked websites and the websites  hosted by Hetzner Online. The first set of websites has been hacked to  display the content from a file requested from getalllinks.info,  dvc44ftgr.com, or uniteddomainsweb.com when a page from the hacked  website is requested by a search engine. The files from  getalllinks.info, dvc44ftgr.com, and uniteddomainsweb.com, hosted by  Hetzner Online at the IP address 78.46.71.6, include links to pages on  the second set of hacked websites. The content of those files can be  seen at <a href="http://www.getalllinks.info/links/0.txt">http://www.getalllinks.info/links/0.txt</a>,  <a href="http://www.dvc44ftgr.com/links/0.txt">http://www.dvc44ftgr.com/links/0.txt,</a> or  and <a href="http://www.uniteddomainsweb.com/links/0.txt">http://www.uniteddomainsweb.com/links/0.txt</a>. Search  engines crawl those pages on the second set of hacked websites and they  get included in search engines results.  When people access the pages  through search engines they are redirected to fake anti-virus scanner  that attempts to infect their computers with malware. Without the three  domains hosted by Hetzner Online the pages on the second set of websites are  never crawled and never get included in the search results where the  could be accessed by users.</p>
<p>We contacted Hetzner Online about the issue a month ago. We receive a message acknowledging our message, but they have taken no action beyond that. Hetzner Online is not the first prominent host to have provided service for this SEO poisoning campaign. The Planet previously <a href="http://www.whitefirdesign.com/news/2010/08/16/the-planet-hosts-critical-component-of-seo-poisoning-campaign/">provided service for these domains</a> and continued to host these domains for three months after we contacted them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/11/16/hetzner-online-hosts-critical-component-of-seo-poisoning-campaign/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>Websense Threat Report Repeats False Claims of WordPress Hackings</title>
		<link>http://www.whitefirdesign.com/blog/2010/11/15/websense-threat-report-repeats-false-claims-of-wordpress-hackings/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/11/15/websense-threat-report-repeats-false-claims-of-wordpress-hackings/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 17:35:46 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[Website Malware]]></category>
		<category><![CDATA[Website Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/news/?p=810</guid>
		<description><![CDATA[In Websense&#8217;s 2010 Threat Report they listed WordPress Attacks as on of the significant events of the year. They also claimed that WordPress &#8220;was hacked numerous times in 2010&#8243;. While its true that some outdated WordPress installations were hacked during &#8230; <a href="http://www.whitefirdesign.com/blog/2010/11/15/websense-threat-report-repeats-false-claims-of-wordpress-hackings/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In Websense&#8217;s 2010 Threat Report they listed WordPress Attacks as on of the <a href="http://www.websense.com/content/threat-report-2010-wordpress.aspx">significant events of the year</a>. They also claimed that WordPress &#8220;was hacked numerous times in 2010&#8243;. While its true that some outdated WordPress installations were hacked during the year (as they and other web software have been for years), the hacks that they refer to in their report, which were much larger than any actual hacks of WordPress, were not hacks of WordPress at all. The hacks they refer to were actually hacks that targeted hosting providers that would allow malicious code to be added to websites hosted with the provider whether they were running WordPress, other software, or no software at all.</p>
<p>In most of the hacks the malicious code was placed in all files that had a .php extension. WordPress, by the nature of being the most popular web software, was the most of often affected, but all web software that have files with a .php extension were also affected. In other cases the hacks targeted database fields specific to WordPress, but they could have affected any other software that utilized a database if the hacker had chose to target them instead of WordPress.</p>
<p>Websense is not alone is making these false claims, other supposed security experts also made similar claims and some hosting provider have attempted to lame blame on WordPress. Network Solutions was the only one to later <a href="http://blog.networksolutions.com/2010/wordpress-is-not-the-issue/">apologize for blaming WordPress</a>.</p>
<p>Websense also claimed that &#8220;numerous vulnerabilities were known to exist during the height of the attacks&#8221;. Seeing as WordPress was not hacked as claimed, the claimed numerous vulnerabilities also don&#8217;t exist. In fact during the year the only security vulnerability that required the release of a new version of WordPress was one that allowed <a href="http://wordpress.org/news/2010/02/wordpress-2-9-2/">&#8220;logged in users can peek at trashed posts belonging to other authors&#8221;</a>. This vulnerability would not have allowed the WordPress installation to have been hacked.</p>
<p>Making false claims about WordPress&#8217;s security damages WordPress reputation without improving security. In fact it may have the effect of decreasing security, as it may lead to people to use software that does not focus on security as well as WordPress does. WordPress responds quickly to security issues, automatically informs users of upgrade within their software, and makes it relatively easy to upgrade the software as well. By comparison two web software apps that have actually had major hackings in 2010 have not responded properly, osCommerce has chosen not release a patch for their security vulnerabilities and OpenX has <a href="http://www.whitefirdesign.com/news/2010/10/25/deletion-of-ofc_upload_image-php-causes-failure-of-openx-upgrade/">recommend a fix for a vulnerablility</a> that actually causes future upgrades to fail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/11/15/websense-threat-report-repeats-false-claims-of-wordpress-hackings/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>Deletion of ofc_upload_image.php Causes Failure of OpenX Upgrade</title>
		<link>http://www.whitefirdesign.com/blog/2010/10/25/deletion-of-ofc_upload_image-php-causes-failure-of-openx-upgrade/</link>
		<comments>http://www.whitefirdesign.com/blog/2010/10/25/deletion-of-ofc_upload_image-php-causes-failure-of-openx-upgrade/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 16:15:23 +0000</pubDate>
		<dc:creator>White Fir Design</dc:creator>
				<category><![CDATA[OpenX]]></category>
		<category><![CDATA[Website Malware]]></category>
		<category><![CDATA[Website Security]]></category>

		<guid isPermaLink="false">http://www.whitefirdesign.com/news/?p=798</guid>
		<description><![CDATA[Last month it was disclosed that there was a vulnerability in the Video Ads plugin for OpenX. The vulnerability is contained in the ofc_upload_image.php file located in/www/admin/plugins/videoReport/lib/ofc2/ directory and is currently being exploited to cause ad servers to include malware &#8230; <a href="http://www.whitefirdesign.com/blog/2010/10/25/deletion-of-ofc_upload_image-php-causes-failure-of-openx-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last month it was disclosed that there was a vulnerability in the Video Ads plugin for OpenX. The vulnerability is contained in the ofc_upload_image.php file located in/www/admin/plugins/videoReport/lib/ofc2/ directory and is currently being exploited to cause ad servers to include malware on the banner pages they serve. The Video Ads plugin was first included with OpenX in version 2.8.4 and the version included with 2.8.5 and 2.8.6 also contained the vulnerability. The version including in OpenX 2.8.7 does not include the vulnerability, the ofc_upload_image.php file is empty.</p>
<p>In the Product Updates page listing for OpenX 2.8.7, in the OpenX admin interface,  it states:</p>
<blockquote><p>If you recently upgraded to version 2.8.6, you can simply install an  upgraded video ad plug-in available [here] or remove the following file:  <em>admin/plugins/videoReport/lib/ofc2/ofc_upload_image.php</em> from  your installation.</p></blockquote>
<p>Others have also made the suggestion that should delete the file. You should <strong>not</strong> delete the file as this will cause future upgrades of OpenX to fail. Instead, if you are running version 2.8.6 and are not upgrading to version 2.8.7 you should delete the content of the file but not the file itself. If you are currently running version 2.8.5 or below you should upgrade to 2.8.7 as those versions contain other security vulnerabilities.</p>
<p>If you have not done an upgrade since deleting the file adding an empty file named ofc_upload_image.php in the /www/admin/plugins/videoReport/lib/ofc2/ directory will prevent a future upgrade from failing.</p>
<p>If you are currently doing an upgrade and are receiving a red box that says &#8220;One or more plugin files couln&#8217;t be located, check the install.log file for more information&#8221; after you enter the path on the page that says &#8220;Provide the path to your previous OpenX installation.&#8221; you need to add an empty file named ofc_upload_image.php in the  /www/admin/plugins/videoReport/lib/ofc2/ directory and then reenter the path. If you are not sure what the path is you can find it in the configuration file. The path is listed in the webDir parameter, make sure to remove the /www/images from the end of the path listed in the parameter.</p>
<p>If you previously attempted the upgrade and now receive a message that says &#8220;Your OpenX database and file structure are both using the most recent  version and therefore no upgrade is required at this time. Please click  Continue to proceed to the OpenX administration panel.&#8221; when you tried to try to perform the upgrade again you have two options. For the first, you will need to change the value of the oa_version record, in the _application_variable table of the database used by OpenX , to version number of OpenX you are currently running and then you need to start the upgrade process again (including deleting the new installation and then uploading a new copy of it). For the second, you will need replace the old OpenX installation with the new one and then you will then need to manually reinstall the plugins. The plugin installation files can be found in the /etc/plugins directory of the OpenX download.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitefirdesign.com/blog/2010/10/25/deletion-of-ofc_upload_image-php-causes-failure-of-openx-upgrade/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>

