Hi guys
Our modx 1.03 site has been hacked, clearly we should have upgraded to the latest version and now we are paying the price.....
The hack is only showing when you view the site as googlebot, our page also shows up in google with a spammy ’windows OEM software’ title and meta conent, completely unrelated to our site.
The problem is our hosting company can’t tell us what files have been affected or when this happened.
What course of action should we take? Ideally we would route out the malicious code and then upgrade?
Does anybody have any knowledge of this specific vulnerability?
Hoping someone in the modx community can help!
The proper way to ensure there is no malicious code would be to restore the whole site from a recent backup, including the database. Do you have a backup of the site? Can the hosting company provide you with a recent one?
Assuming that does not work out for you could copy the sites files locally, download a clean modx 1.03 install and run a files and directory comparison between the hacked site files and the clean install. Look for changed core files (as the previous poster suggested) and anything else that seems out of place, php files in the images directory for example.
You should also download a textual snapshot of the database and try and see if there is no suspicious code in there.
-
☆ A M B ☆
- 24,524 Posts
I don’t think so; that looks like valid directives to provide the sitemap links for Google and friends.
-
☆ A M B ☆
- 24,524 Posts
Ah. Well, I suppose I can’t be right all the time

Glad you got it figured out, and your explanation of what happened can be helpful to anyone else who finds themselves in the same situation.