<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechJaws.com &#187; Kristi</title>
	<atom:link href="http://www.techjaws.com/author/kristi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techjaws.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 02:01:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>New PHP Exploit on the Loose</title>
		<link>http://www.techjaws.com/new-php-exploit-on-the-loose/</link>
		<comments>http://www.techjaws.com/new-php-exploit-on-the-loose/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:28:27 +0000</pubDate>
		<dc:creator>Kristi</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Security Info & Tips]]></category>
		<category><![CDATA[How to Avoid Exploits]]></category>
		<category><![CDATA[How to Prevent PHP Injections]]></category>
		<category><![CDATA[How to Remove Martuz.cn]]></category>
		<category><![CDATA[How to Secure WordPress]]></category>

		<guid isPermaLink="false">http://www.techjaws.com/?p=5043</guid>
		<description><![CDATA[In a follow up to the PHP Injection Script Exploit Gumblar.cn, there is a new version on the loose: Martuz.cn. It is the evolution of the Gumblar.cn script &#8211; much nastier than the first. Instead of just injecting code onto PHP and JavaScript files, it goes further by adding new PHP files to your images [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>In a follow up to the <a href="http://www.techjaws.com/php-script-injection-exploit-in-wordpress-271/">PHP Injection Script Exploit</a> <strong>Gumblar.cn</strong>, there is a new version on the loose: <strong>Martuz.cn</strong>. It is the evolution of the Gumblar.cn script &#8211; much nastier than the first. Instead of just injecting code onto PHP and JavaScript files, it goes further by adding new PHP files to your images directories and adding the script to HTML files as well.</p>
<p>There is more information about these two exploits. It is not just limited to php-based blogs and forums &#8211; larger sites, such as Tennis.com, Variety.com, and Coldwellbanker.com have been hit with this exploit, along with over 2,300 other websites. The average internet surfer will discover that their machine is infected with this virus when they realize their Google search results in Internet Explorer and Firefox have been hijacked &#8211; clicking on the result you want will take you to some other site. The virus will also go one step further and look for any FTP credentials on your machine in order to inject the script onto more websites. Some sites have reported that the script can also modify the permissions of specific directories to give them access to write in the files within.</p>
<p><strong>What does this mean to website owners</strong>?</p>
<ul>
<li>Up to an hour (or more, depending on size) of cleaning up and rebuilding each site infected.</li>
<li>Visitors receiving warning messages through their browser or security software that your site is dangerous.</li>
<li>Possibility of being de-listed by Google to prevent spreading the virus.</li>
</ul>
<p><strong>So how do you protect yourself, the average internet surfer</strong>?</p>
<ul>
<li>Update your <a href="http://www.adobe.com/products/reader/">Adobe Reader</a> to the latest version, and under the Edit menu &gt; Preferences, uncheck the Enable JavaScript option.</li>
<li>Update your <a href="http://www.adobe.com/products/flashplayer/">Flash Player</a> to the latest version.</li>
<li>Update your security software and scan for spyware / viruses.</li>
</ul>
<p><strong>How do you clean your infected WordPress site</strong>?</p>
<ul>
<li>First, protect your machine as listed above. Uploading files onto your website from an infected machine will just lead to more injections of the script later.</li>
<li>For the previous exploit, simply cleaning the PHP files and JavaScript’s within your WordPress installation, themes, and plugins was seemingly enough. But the new exploit will go further and add the injected script to JavaScript and HTML files anywhere on your site, down to the simple readme.html files that come with themes, plugins, etc.</li>
<li>The newer scripts also add an images.php and/or gifimg.php file with the malicious code to many or all of your images directories, from the main one down to image directories in themes, plugin folders, and so on.</li>
<li>If you have to go in and remove the malicious code manually, you will find it in the top of PHP files, near the bottom of JavaScript files, and in the head area of HTML files between script tags. Also in the injected images.php and/or gifimg.php files in image directories. The code can vary from site to site, even page to page.</li>
</ul>
<p><strong>How do you protect your website from further attacks</strong>?</p>
<ul>
<li>For WordPress, apply recommended security measures listed in the following articles: <a href="http://www.techjaws.com/wordpress-security-tips/">WordPress Security Tips</a>, <a href="http://semlabs.co.uk/journal/how-to-stop-your-wordpress-blog-getting-hacked">How to Stop Your WordPress Blog Getting Hacked</a>, <a href="http://freepcsecurity.co.uk/2009/05/19/wordpress-security/">WordPress Security</a>.</li>
<li>Do not save/remember your FTP credentials or administrative logins to your websites. Also, be sure to use a <a href="http://www.techjaws.com/are-you-using-a-secure-ftp-client/">secure FTP client</a>.</li>
<li>Keep a clean backup of the latest changes you have made to your site.  The better your backup, the faster your rebuild process if this happens to you.</li>
</ul>
<p>Thanks to Kristi the owner and author of the <a title="Kikolani - The Art of Blogging | Technically Beautiful, Artfully Beneficial" href="http://kikolani.com/" target="_blank">Kikolani</a> blog for this great follow up article.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.techjaws.com/new-php-exploit-on-the-loose/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>PHP Script Injection Exploit in WordPress 2.7.1</title>
		<link>http://www.techjaws.com/php-script-injection-exploit-in-wordpress-271/</link>
		<comments>http://www.techjaws.com/php-script-injection-exploit-in-wordpress-271/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:01:03 +0000</pubDate>
		<dc:creator>Kristi</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Gumlar]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[How to remove Gumlar Exploit]]></category>
		<category><![CDATA[Internet Security]]></category>
		<category><![CDATA[PHP Script Injection]]></category>

		<guid isPermaLink="false">http://www.techjaws.com/?p=4943</guid>
		<description><![CDATA[I experienced my first site hack this weekend thanks to a warning message from Kaspersky Internet Security. When I logged into the admin panel of WordPress, it detected the gumblar.cn/rss/?* in my Firefox browser. After a little Google research, I found out that this was a PHP script injection that had found its way into [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>I experienced my first site hack this weekend thanks to a warning message from Kaspersky Internet Security. When I logged into the admin panel of WordPress, it detected the <strong>gumblar.cn/rss/?*</strong> in my Firefox browser. After a little Google research, I found out that this was a PHP script injection that had found its way into many of the PHP files of my site, including the index.php and index-extra.php of the wp-admin folder, functions.php in the wp-includes folder, index.php in the wp-content folder, custom-functions.php in the Thesis theme&#8217;s custom folder, and even the main wp-config.php file in the root. The code was in the beginning of these php files, and started out as follows:</p>
<p><img class="alignnone size-full wp-image-4947" style="border: 0pt none; margin: 2px 0px;" title="gumlar-exploit" src="http://www.techjaws.com/wp-content/uploads/2009/05/gumlar-exploit.gif" alt="gumlar-exploit" width="486" height="53" /></p>
<p>Even after removing the code from the above pages, I still encountered the same warning message from Kaspersky, which meant the injection was in even more php files. I decided that checking each php file was going to take a lot of time, so I downloaded a fresh installation of <a href="”http://wordpress.org/download/" target="”blank”">WordPress 2.7.1</a> and the <a href="http://kikolani.com/getting-started-with-the-thesis-theme-resources.html" target="blank">Thesis Theme</a>. I only saved my original wp-config.php and custom-functions.php files after removing the injected PHP script because of the custom settings and code within them.</p>
<p>After the fresh installation, I still had the malware code on my site.  The final folder that I didn&#8217;t check was my plug-ins. Sure enough, after I deleted all of my plug-ins, my site was finally free of the malicious code.</p>
<p><strong>In summary, these were the steps I took to remove the code from my site, which took about two hours</strong>:</p>
<ul>
<li>Saving the original wp-config.php and custom-functions.php from Thesis after the removal of the script in the top line of the PHP</li>
<li>Downloading and installing a fresh copy of WordPress 2.7.1 and my current theme, Thesis 1.5</li>
<li>Deleting all plug-ins and re-installing them from inside the WordPress admin panel</li>
<li>Changing my WordPress and FTP login passwords to (hopefully) protect my site from further attacks</li>
</ul>
<p>I can say with certainty that if I had not upgraded earlier in the week to the new WordPress 2.7.1 and <a href="http://kikolani.com/getting-started-with-the-thesis-theme-resources.html" target="blank">Thesis Theme</a> that this cleanup process would have been much more difficult, simply because I would have been forced to do the full upgrade in the middle of dealing with the hack would have been even more stressful. Plus with previous WordPress versions, I would not have been able to simply search and install the new plug-ins through the admin panel – it would have been the download, unzip, upload, and activate. And with any other theme, I would have certainly lost my custom coding in all of the theme template files without a recent backup. Fortunately with Thesis, all of the custom PHP coding is handled in the one custom-functions.php file.</p>
<p>I believe that the code was only on my site for more than four hours, as I had worked on my site earlier around 7pm, and did not receive the first warning message from Kaspersky until 11:30pm. Nonetheless, this goes to show that you should always make sure your <a href="http://www.techjaws.com/what-are-the-best-antivirus-programs/" target="blank">antivirus</a> and <a href="http://www.techjaws.com/are-you-spyware-free/" target="blank">spyware programs</a> are up to date, and that any coding customizations to your site should be saved often.  Any website, trusted ones and even your own, is susceptible to unwanted surprise attacks.</p>
<p><strong>Blog contributed by Kristi at <a title="Kikolani Blog" href="http://kikolani.com/" target="_blank">http://kikolani.com/</a></strong>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.techjaws.com/php-script-injection-exploit-in-wordpress-271/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
	</channel>
</rss>

