Sophos

4 February 2008 13:01 GMT

Content Management Systems - An Easy Target?

There is an awful lot to think about when thinking about securing your web server [1]. Taking a step back and thinking about how the bad guys operate is sometimes helpful, and should be an important part of the process.

Content Management Systems (CMS) have become established tools in the creation and management of web sites. Numerous applications are available, the bulk of which are free to use (GPL license). Their ease of use and popularity with hosting providers means that a huge number of sites out there are managed by CMS. This presents an opportunity for hackers - lack of diversity can be a bad thing.

Let’s take a look at an example targeting Joomla! [3] - an extremely popular open source CMS, that is widely used. Around the middle of 2007, a vulnerability was discovered (and publicly disclosed) detailing how to compromise vulnerable Joomla! managed sites. Various attacks where seen shortly afterwards where hackers had managed to upload malicious content within victim sites. Several months later, we are still seeing vulnerable sites being used in attacks. For example, using the vulnerability to upload an exploit script (Mal/Psyme-B) which installs a keylogging application and a malicious trojan (Troj/KillAV-DD) as illustrated below.

[Attack using CMS vulnerability]

I noticed a couple of UK sites attacked in this way over the past few days. The path (.../expose/...) gives a clue to the vulnerable component. In this case it is Expose, a Flash gallery plugin. Just like other CMS, Joomla! supports many plugins. Users need to be aware that a vulnerability in any one of these exposes (apologies for the pun) them to attack.

Aside from patching the CMS and the relevant plugins, there are other steps users can take to reduce their risk.

At the end of the day, CMS are terrific. They enable us to create and manage sites very efficiently with minimal fuss. However, failure to consider some of the security implications can leave you exposed. Investing some time in securing systems can save an awful lot of headache later.

Fraser Howard, SophosLabs UK