Feeds

Fake site punts Trojanised WordPress

Backdoored blogging code blag

Seven Steps to Software Security

Fraudsters have set up a fake site featuring a backdoored version of the WordPress blogging application as part of a sophisticated malware-based attack.

The fake Wordpresz.org site offered up what purports to be version 2.6.4 of the open source blogging tool. In reality all but one of the files are identical to the latest pukka (2.6.3) version of WordPress.

The crucial difference comes in the form of a Trojanised version of pluggable.php, according to Sophos virus researcher Paul Baccas. Sophos detects the malicious code as WPHack-A Trojan.

"The new PHP contains call backs to the Fake WordPress site and looks to be stealing credentials," Baccas reports.

The issue came to light via a posting by blogger Craig Murphy who reports that he received a "High Risk Vulnerability Warning" from the spoofed WordPress domain when he logged into his admin account.

Peter Westwood, one of WordPress's lead developers, responded promptly to our requests for comment on the attack, which he reckons relies on exploiting older (vulnerable) code.

It looks like sites which have not upgraded to 2.6.3 are being exploited in an interesting way whereby a hacker, probably using an automated script, is hacking into sites with the vulnerability and changing the settings of one of the dashboard modules to point to a different feed thereby encouraging people to go to a different site which is offering a dodgy upgrade.

"We recommend that people upgrade as soon as possible when we release a security release so as to ensure they are not vulnerable to issues which will likely have exploits in the wild.

Also in the upcoming 2.7 release of WordPress we are including a built-in upgrade mechanism within WordPress which will allow people to upgrade automatically with ease. I would however stress the need with any piece of software to check that an upgrade is real by visiting the website of the software provider manually rather than relying on a link that you have been provided. Otherwise, as with bank phishing scams there is the potential for someone to trick you into doing something you didn't want to do.

The fake site attack represents a rare but not unprecedented attack on users of the open source blogging package.

Backdoored code on a fake site is one thing, but a vulnerability on one of the project webservers allowed hackers to upload a backdoored version of WordPress 2.1.1 in March 2007. WordPress responded to the attack by purging its servers and urging users to upgrade to version 2.1.2 of the software as explained in an advisory here.

Two months prior to this, in January 2007, many blogs were attacked using a WordPress exploit current at the time. Users often run sites using older versions of the blogging software, if a survey from last year is anything to go on.

Chris Wysopal, CTO of application security tools firm Veracode, recently told us that applying 'traditional' backdoor techniques in web 2.0 applications such as Wordpress and Content Management Software required less skills than attacking traditional software distributions. "It's the Software as a Service version of a backdoor," he said.

"Planting backdoor code is a lot easier to do with web apps. It's much harder to break into a source code repository than it is modify PHP or scripted components in a Web 2.0 application, especially when developers don't know what's in the code half the time."

The latest version of WordPress (version 2.6.3), published on 23 October, is available through Wordpress.org. ®

Mobile application security vulnerability report

More from The Register

next story
Yorkshire cops fail to grasp principle behind BT Fon Wi-Fi network
'Prevent people that are passing by to hook up to your network', pleads plod
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Attackers raid SWISS BANKS with DNS and malware bombs
'Retefe' trojan uses clever spin on old attacks to grant total control of bank accounts
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.