| NanoCaiordo wrote: |
So what happen was: trought someone else script within some else webs space someone was able to get into the db deleting the whole database. Correct?
Or a script from someonelse web space was able to jump to each other web space deleting each user database?
I think the second case, but this could be a server security issue, also chown your cache you:apache and then chmod 755 to make your webspace safer since they dont even know that its a server related issue.
A script shuold not be able to run trought users home.
First your public_html must have restricted access, my current setup use a 710 I bet your server had at least a 711 and all other "world writable" are 755 instead of 777, just playng with apache setup and correct chmod, chown and umask security could be incremented in the whole server.
Anyways is the hole in a Dragonfly script or someone else script?
move to server chat? |
As far as I know it was done by someone uploading a file to a directory that was chmod 777.
Once uploaded the hacker was able to run the script and get into the bottom of the site and into cpanel files and mess with DNS info which in turn caused sql problems as well as doing things to the hard drive.
Yes this person was able to jump to multiple sites that had directories of 777 and do the same thing.
I don't think it was a whole in DF itself but a folder in the structure that is 777. They never said it was df. they said it was the permissions.
This criminal did damage though because as one of the rules in the NOC is, any sites that where hacked get deleted to stop any further problems. So it is all gone.
This is the last info that I received.
---------------------------------------------
Some stuff you cannot prevent and our NOC is coming up with some 'new rules' for their dedicated server clients. As for what you can do......... truly the absolute best thing is to make sure NO folder you have (except maybe the www folder in the root of your account and we are working on changing this), has 777 permissions.... no file or folder should have this because it is an open doorway for a semi clever hacker.
777 permissions means it's global and anyone can upload and execute files or folders. Now.. the BIGGEST problem with this is some scripts, especially ones in cpanel and fantastico that automatically install the scripts... have settings that are 777. So, as you can see this isn't an easy or 'quick work around'.. which is why some are going to continue with problems on server ... because we are going to experiment there 1st.
There will be a mass mailing about this once we have fuller details... it's not going to be soon because it's still a study of trial and error at this point. I can say ONLY php sites are the problems and create the issues.... I am not saying cgi or perl sites/scripts are 100% secure... but they are a LOT safer to use and keep alive securely.
Just remember this ......... no site in the world is ever fully secure... no server, no isp, no business... no bank.. nothing. If a good hack wants in..........they'll get in. Even symantec (Norton various PC securities and programs), was hacked..... that's truly saying something!
-----------------------------------------------------
I just really wanted everyone to know the risks of having those folder permissions set. Appearently it is something new.
They have placed me on a new server with all up to date stuff but It will still be a while before I am back up on both my sites.