Forum Moderators: coopster
This weekend a hacker was trying to use this script on my site for some
purpose which I do not know. Can you tell me if there is anything that
a hacker could do to get information about my server or get into areas
they don't belong by using this script to upload their files to. The
files they uploaded and subsequently deleted were: del.php, del.phtml,
x.php, x2.php, x.phtml, check.php, check2.php, check3.php, check4.php, mick.php, editor.php, hmm.php, blah.php, bah.php, vunerability.php, and vunerable.php.
I realize that anyone would have no way of knowing what code these files
contained, but maybe the names will give an idea of the hackers
intent. Can php files uploaded through a script be executed to do
damage? Are there any safeguards I can take to prevent them from doing
harm. So far I don't see that anything has been tampered with except
possibly my webalizer files which seem to have been altered.
Thanks for any help someone can offer me on this issue.
Russ
Did the script delete and log them on it's own or did it actually upload them and move them into a directory?
Essentially if the script allowed those files to be uploaded and moved them into a directory where they were publically accessible then the person who uploaded them could call them in a browser and have them execute whatever code is in them.
On the majority of Apache/PHP installations any uploaded file is going to have access to all of public_html at the least and very likely all of your home directory.