I have a client's site running Website Baker 2.8.1 which I have found out by accident appears to have an extensive malware infection.
It seems to be a variant of an osCommerce hack which, as far as I can make out from the poor quality information online, uses a vulnerability in osCommerce to infect sites. The Website Baker site in question is running on 1&1's shared services and have correct '644' permissions with files owned by the web server - even an FTP session cannot overwrite or modify files written by the Website Baker web server process. This means that an external FTP hack is almost impossible. There are two possibilities I can see:
- Someone found an admin password but rather than commandeer the site, just decided to infect some of its pages (unlikely!)
- There is a live, unpatched, exploited vulnerability in Website Baker or one of its modules
The server side infections consist of additions to the PHP files in the 'pages' folder which Website Baker writes. If I create a new page, the infection is absent and date stamps on infected files are very similar (there are two distinct dates so it looks like infections occurred in batches on those two dates).
This is clearly an extremely serious situation. I don't know much about the malware, I don't know where I should be looking to find out more, I'm not sure how to clean up the site and, most seriously, I don't know what the attack vector is but given the osCommerce attack similarity it looks like it might possibly be a vulnerability within the PHP code itself. In any event, even if I cleaned up all the files on the site, it would be a matter of time before it got infected again if the underlying vulnerability - whatever it might be! - is not patched.
Anyone have any ideas? Anyone else seen this? Anyone dealt with it on other sites not necessarily using Website Baker?
Thanks!