Originally Posted by
CapnPugwash
Hi,
It looks like our Moodle has been hacked. When a user tries to find a course using 'Search Courses' , clicking on any of the links on the returned page will send them to somewhere random on the internet - mainly russian sites, such as:
diskwarrioradvertisements.ru/Documentation?8
** By Links, I mean ALL links on the page. Even to the users profile, logout etc.
Moodle & php are not really my thing, so I'm in the dark here.
I can see that the 'Search Courses' 'GO' button fires up courses/search.PHP & I've tried replacing this with another php file which I know is clean but it still does the same thing. Search.PHP has a couple of includes (config.php and lib.php) so I'll check them.
I've also searched the database for the Russian site mentioned above but I can't find it, so I guess it must be hardcoded into a php script somewhere?
Everything else works fine. You wouldn't know there was anything wrong unless you searched for a course. I'd like to solve this with a minimum of fuss & take measures to prevent it happening again.
We are running Moodle 1.9 on an Ubuntu server
Cheers!