Last month a new vulnerability appeared in WordPress which is now spreading across the net pretty fast. Last month's attack was focused on NetSol's servers and last week Godaddy servers got hit very hard - but other hosts are reporting similar issues. So far we've only seen a few isolated cases on our servers but I wanted to let you all know what we've found out so far.
As far as we can see this is mostly limited to Linux servers. The exploit modifies files on your site and injects iframes, javascripts and php include codes that redirect to malware download locations. Kind of similar to Gumblar in appearance but very different in how it works. So far no-one is 100% sure on how this is happening. It can happen to up-to-date versions of WordPress with all plugins up-to-date too. However, you should always keep your core files and plugins up-to-date and the most awesome thing about WordPress is that you can update everything via WP Admin in a few clicks.
Many programs are easily exploitable but the worrying thing about this latest vulnerability is its ability to spread throughout a server. On Linux your main defence against on-server worms is running PHP under FastCGI (available on Plesk 9 servers), running PHP under Safe_Mode (if possible) and using 666 chmod permissions on files requiring 777 (not always possible).
We scanned logs after clients reported WordPress hacks and found evidence of entry via WordPress's xmlrpc.php file. This file is in the root folder of your WordPress installation and you should chmod it 000. Also in WordPress under Settings > Writing disable the XML-RPC function. Apart from that just be vigilant, keep WordPress and plugins up-to-date and if anyone knows any good WordPress security plugins that regularly scan files and email you if malware is found please share with the community on our forum.