Forum Moderators: phranque

Message Too Old, No Replies

Hacker keeps destroying my guestbook

I'm beaten on this one.

         

stevens

7:43 pm on Dec 26, 2004 (gmt 0)

10+ Year Member



I run the regular php advanced guestbook that comes with cpanel. It uses one sql database. It has gone down three times and I just restored it again a couple of days ago. Today I found it destroyed again, with the following message in a huge font: "PUT5 is at it again... of the cto goonies.
PUT5
PUT5
PUT5
PUT5
PUT5
PUT5
PUT5

sorry pals, your still vunerable.

i didnt change the password this time, i suggest getting a new guestbook.

no hard feelings? leave me a message on this board."

I did a quick Google search for Put5 and found he is a regular guesbook hacker. Does anyone have any advice, or is this guestbook just that vulnerable? Thanks in advance.
-John

jdMorgan

8:05 pm on Dec 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



John,

I don't know the first thing about guestbooks (I don't use 'em), but the first thing I'd do is a search for "<name_of_your_guestbook> vulnerability" and "<your php version> vulnerability", looking for information on how to secure your site. Also, close off anonymous FTP unless you need it, disable Telnet, etc. If your site is commercially-hosted, then contact your host and ask for advice and look at their FAQs if they have any.

This approach, while more time-consuming initially, is better than having to clean up after this guy every time he fancies hacking your site.

He wrote, "No hard feelings"? Yeah, right...

Jim

coopster

8:09 pm on Dec 26, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I would also have a look through your scripts, maybe even ftp them back over from a local backup. You don't know what kinds of back-door modifications the culprit may have left behind. Look for any new scripts/programs as well.

Corey Bryant

9:23 pm on Dec 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have his IP address? You can also see about blocking his IP address as well.

-Corey

Hanu

9:53 pm on Dec 26, 2004 (gmt 0)

10+ Year Member



Decent hackers don't use their home IP. They always use shell accounts, proxies etc. Also, if I were a hacker interested in implementing backdoors, I wouldn't leave a signature/tag anywhere.

OTH, bringing down a friggin guest book is a pretty stupid thing to do anyways. It might be someone with average skillz who has a grudge against you. In that case, the IP might lead to something.

If your host uses virtual hosting, the attacker might be a customer of your host too.

stevens

10:26 pm on Dec 26, 2004 (gmt 0)

10+ Year Member



I just want to say thanks for all the good advice from everyone. I don't have the guy's IP, but I don't think he has some sort of grudge against me because the Google search I did verifies that he has hacked at least one other guestbook.

The shame of it is that this particular site of mine is non-profit, simply the (near) complete works of the 17th century poet Richard Crashaw. There are some professors out there that use the site to access out of print works by the poet and share with their students literature that they otherwise wouldn't be exposed to. The guestbook just provides a way for people to leave comments and ask Crashaw questions.

Anyway, I'll pursue some of the avenues mentioned here. I'm new to this forum, but I'm impressed with the community. Thanks again.

John

encyclo

12:37 am on Dec 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



php advanced guestbook

You should read this security advisory carefully:

[osvdb.org...] (dated Dec 2, 2004)

Is this the guestbook script you are using?

If so, then you should take it offline immediately. According to the above link, there is a serious security hole in the script with no known fix or workaround.

At best, copy the entries you already have and create a static page with that information whilst you look for an alternative script. Also, inform your hosting company: they should not be offering the script any more in their control panel and they should warn their other clients.

stevens

6:40 am on Dec 27, 2004 (gmt 0)

10+ Year Member



encyclo,

thanks for finding that article. Yes, that's exactly the guestbook I've been using. I'll definitely inform my hosting company. Nice work on your part locating that information.

John

BesigedB

9:30 pm on Dec 28, 2004 (gmt 0)

10+ Year Member



They've vandalised wikipedia today. Changes there can easily be reverted, though.