Hey guys,
A client recently contacted us saying that there are now links at the bottom of everypage on their EE site.
It looks like some code is appending a link after the closing html tag like this:
</body>
</html><a href="http://minibikegames.com">bike games</a> - All template files are clean, the link is not inside of any template
- I’ve searched the database and can’t find the link anywhere there
- i’ve done a search using grep for minibikegames, bike, games, etc with no results
- I’ve checked the .htaccess file, but nothing has been added.
Upon further inspection, I found some old template files that looked like they had been infected with a virus perhaps. They were labeled like this - index.php.infected. Inside was some encrypted php:
<?php $o = '7Vptc9s2Ev4c/QqE44nIVKb5Jl….I’m wondering if some php code could have been executed and possibly added something to a php config file, or another server file that is still there appending a link to all of my pages.
If I visit an .html file, the link does not appear, neither does the link appear in the source of the EE control panel. It only appears inside of EE generated pages, which leads me to believe that something has modified a core EE file.
Does anyone have any ideas or input that would help me further investigate this issue?
Thanks!
Jon