The first thing that has to be done is figure out how it was hacked. Was it a brute force FTP break-in (i.e. is your FTP password not strong enough to prevent dictionary attacks)? Or could it be a custom/insecure PHP script you’ve added to your MODx site? Until we know the vector, it’s hard to say. Are you running the latest MODx 1.0.0?
I’ve always had register_globals = Off but I don’t know why or how my site got hacked. Please, how can we prevent this from happening again?
Quote from: mcclausky at Oct 05, 2009, 10:18 AMThe first thing that has to be done is figure out how it was hacked. Was it a brute force FTP break-in (i.e. is your FTP password not strong enough to prevent dictionary attacks)? Or could it be a custom/insecure PHP script you’ve added to your MODx site? Until we know the vector, it’s hard to say. Are you running the latest MODx 1.0.0?
I’ve always had register_globals = Off but I don’t know why or how my site got hacked. Please, how can we prevent this from happening again?
@mclausky and @fiat154:
Can you search your Apache access logs for any suspicious accesses, especially ones with http:// in the request URI? If you cannot or you need help, please DM me and we can find a way to help search for these issues. These are obviously very concerning and I want to make sure we understand the attack vector( s ) that were used in these attacks.
Also, if you are running any other software on the same domain or hosting account, please note that information.
What version of SMF are you running? Do you keep it up to date? We were hacked by this same attack earlier this year here at modxcms.com via SMF’s avatar system and have done a lot of things to secure SMF more intensely because of it. This may be your vector of attack as well...
The other application I’m running on the same domain is SMF.
What version of SMF are you running? Do you keep it up to date? We were hacked by this same attack earlier this year here at modxcms.com via SMF’s avatar system and have done a lot of things to secure SMF more intensely because of it. This may be your vector of attack as well...

SMF 1.1.6 is DEFINITELY vulnerable to all sorts of bad stuff. I bet you have a member named krisbarteo:
http://www.smfsupport.com/support/general_support/attn_smf_krisbarteostilusmagic_uploaded_avatar_to_forum-t26853.0.html
