Site compromised and now have spam on Joomla Panacea
Posted 13 years 5 months ago
Our Joomla site was recently compromised and now serves spam in addition to our content. Below is a screenshot of what it looks like.
I'm trying to determine where the code is that I need to chop out. I know there's many template files and I'm not sure where to look. I've since changed my telnet/ftp passwords. Any advice?
Thanks!
Dave
This image is hidden for guests. Please log in or register to see it.
Re: Site compromised and now have spam on Joomla Panacea
Posted 13 years 5 months ago
JEM wrote:
Not a template (or Joomla) issue. You need to revert to your latest backup.
Reverting back is no longer possible. What are you suggesting it is? It appears on the site, so the bad code is somewhere. I'm just trying to locate and delete it.
Not a template (or Joomla) issue. You need to revert to your latest backup.
Reverting back is no longer possible. What are you suggesting it is? It appears on the site, so the bad code is somewhere. I'm just trying to get rid of it.
Every host that I am familiar with has a back-up policy of at least 3 days. So, you should be able to contact your host if you have nothing to restore to and ask them to reset the site.
Besides that, get in the habit of backing up your site and not relying on your host by using something like Akeeba.
www.akeebabackup.com/
You could try to upload a clean set of files from your computer to the host, overwriting the damaged files, but there is no guarantee
Re: Site compromised and now have spam on Joomla Panacea
Posted 13 years 5 months ago
First, I am using the most recent version of Joomla -- 1.5.23. Second, I use Linode and have backups. It's just that the backups I have are too new.
I was mainly asking to determine which Panacea template file to look at for the bad code. In any case, I think I found and removed it myself. The following code was in index.php in the panacea template folder. It was below the footer and directly above the closing html tag. Assuming this isn't in your code, it must be this.
Re: Site compromised and now have spam on Joomla Panacea
Posted 13 years 5 months ago
Well, as you said, delete the rouge codes, that is one solution...
As I said before, you could upload a new version of the template and overwrite any comprised files... but there is no guarantee that this will be the final solution.