Hi there - I've been designing websites for a few years... but I'm self taught so I'm sure there's a lot of stuff I've missed out on. I design my sites from scratch and usually install a basic content manager I developed in PHP. I password protect the content manager in an Admin folder using the cPanel function to password protect folders. Over Christmas, about six of my sites were hacked by some people called Tn-Sn!per and Scorpia Boy with some message about Palestine. Some of the sites just had the index page hijacked, but others had phishing scams and new folders installed. What would I be doing wrong to invite this? Are they getting through the cms login somehow? (the cms is just a bunch of links to update content in the database but none of that has been touched) The websites are mainly with the same host, although one or two of them are different. The hosting passwords are fairly secure, but I suppose the admin passwords are easier to get through. Is this the problem do you think? Or could my code be vulnerable somehow? I don't use CGI scripts of Javascript - just PHP and mysql queries. Thanks in advance for any assistance. I've attached a screenshot of one of the hacked pages.
How could have my sites been hacked?
Collapse
X
-
Tags: None
-
Your host could have been hacked due to vulnerabilities on their side. This might be the case if all of your site is with one host. If you have multiple hosts, then the bet is on a huge flaw in your app.
We can't really tell you how they hacked your site without a code review of your entire application. This forum is not a medium for that.
Popular hacking techniques are:
1. SQL Injection
2. Cross Site Scripting
3. Plain text passwords in network traffic (packet sniffing). Are you using SSL?
4. Session/Cookie hacking.
Plain answer: Educate yourself.
"act like a hacker" towards your own sites.
DM -
Your webpage server MIGHT be down as due to FIREBUGS you could also disable FIREBUGS in your page to just search http://www.google.com for firebugs.
-Nicholas
If there are any enquiry this SHOULD be sent to my via-email at: <email removed>Last edited by Frinavale; Nov 10 '11, 02:49 PM. Reason: Email removed. Please refrain from posting your email address on this forum.Comment
-
Comment