wesleyw Posted June 22, 2009 Posted June 22, 2009 Went into Moodle view source and I found (see attached) this between the normal code. What the heck happened here? Wessource.txt
wesleyw Posted June 22, 2009 Author Posted June 22, 2009 Anyway to remove this without reinstalling the site? Wes
CSNM-Carl Posted June 22, 2009 Posted June 22, 2009 I'd recommend you restore the site from your latest backups (before it was hacked) both the site data & database. Then upgrade Moodle to the latest stable version and ensure you have permissions set correctly on files/folders, including having the moodledata/ directory outside of the website root.
wesleyw Posted June 22, 2009 Author Posted June 22, 2009 I think I found the offending file and it's now alright just running a few tests on it though. Wes
wesleyw Posted June 22, 2009 Author Posted June 22, 2009 1.7.1+ I think, haven't upgraded for some time as we have some custom code inserted throughout the moodle code base. Wes
contink Posted June 22, 2009 Posted June 22, 2009 1.7.1+ I think, haven't upgraded for some time as we have some custom code inserted throughout the moodle code base. Wes You'll want to upgrade as a matter of course because any of the popular Opensource applications are routinely targetted by script kiddies and spammers. I'd recommend getting to grips with diff() tools like examdiff (pro is definitely worth the money) and if you can, Subversion or CVS to manage your code updates so you can roll back in case of problems.
Guest monkeyx Posted June 22, 2009 Posted June 22, 2009 May also be worth checking the guest account access, as I think some vunerabilities used this account.
Martin Posted June 22, 2009 Posted June 22, 2009 Check out Hundreds of UK school and government websites hacked to sell Viagra and pornography! mb
secretlife Posted June 22, 2009 Posted June 22, 2009 Did you have your moodle with email-based self authentication? If so that's how they'll have got in. The later versions of Moodle -1.9 onwards -have this turned off by default - and if you absolutely DO need it then you can set certain allowed email addresses and banned ones (spammers tend to use hotmail/gmail etc) and/or captcha. But I agree with the above posters: you absolutely must upgrade - 1.7 is really old now - 1.8 is really old even! And just because you've got rid of some stuff off your front page doesn't mean there isn't stuff elsewhere on your Moodle.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now