RussW wrote:
Please review the following FAQ's ASAP, you will find a wealth of information related to your issues.
I did read a lot of those FAQs (well a mixture of reading and scanning); as I mentioned I'm the host admin not the site admin so I'm not really sure what mods are installed etc but most of the obvious stuff checks out ok. It looks to my Joomla-untrained eye as though someone has used a legitimate upload method, but used it to upload illegitimate content.
Quote:
It is not recommended to leav your sites publicly available and exploited, as it will only serve to promote the offenders ego and kudos and potentially expose the rest of the server to attack.
The sites were taken offline as soon as I found the problem. Since then I have removed (I believe) all the exploits, and chmod'd the site directories en-masse to remove upload functionality completely.
I have no reason to believe that the server itself has been breached; there are two Joomla sites both with similar exploits, but none of the other sites are affected and I can't find any other symptoms that suggest someone has gained access.
I have also changed the postfix configuration so that all mail gets dropped into the hold queue instead of being sent, and there's no indication at the moment that any mass emailing is currently taking place.
At the moment I have a lot of data to look at, and a lot of FAQs to work though, so getting to the bottom of this is going to take some time!
Quote:
You may also find that along with this exploit, a CRONTAB task has been configured, pointing to a hidden directory that will re-generate the exloit even if it has been deleted. Elevated pemrisisons, PHP register-globals being ON, Joomla! RG_EMULATION being ON, Vulnerable Joomla! Extensions and/or weak server configurations can lead to this kind of attack success.
Checked crontab, that's OK. Permissions were only set writeable to the web server in the normal places (media/images/etc) and those were both taken advantage of, but nowhere else. (As mentioned, at the moment those write permissions are removed.)
Quote:
"netstat -ae" may also assist in the case the exploit has left an IRC BOT
Some things there worth investigation, thanks. (No IRC bots, though.)
Thanks for the help.