Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 I'm pretty sure my site's been hacked.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

C2K
New Member

USA
73 Posts

Posted - 07 May 2010 :  20:48:21  Show Profile  Visit C2K's Homepage
Good evening folks, I'm wondering if you can offer some advice.

I run the website Coasters2K (http://www.coasters2k.com) using this awesome forum (v3.4.06), and well lately we've had an issue that we just cannot seem to figure out where it is coming from. What we are seeing is someone hacking random user accounts and posting, well, whatever they'd like to the forums. They usually post about 15-25 random things (ads, links, etc.), and then disappear without a trace. I've tried looking through the forum files for things that look out of place and we even did a complete reload of the forum and still the threads appear, randomly. So, we clear them off and go back to the drawing board ... but well ... it never seems to end. It appeared out of no where and to be honest, I know I've kept up with the security updates religiously so I'm a bit lost on this one.

Any suggestions as to where to look to maybe rectify this? Thanks much for your help in advance.

TJ

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 May 2010 :  20:58:52  Show Profile  Send ruirib a Yahoo! Message
May not be a hack. Check this: http://forum.snitz.com/forum/topic.asp?whichpage=2&TOPIC_ID=67497&SearchTerms=config.asp,appvarsloaderror#386231

At the end of the 2nd page, there is a fix posted for situations where app variables are lost. We have found that when that happens, sometimes posts are made under legitimate user accounts. Did you notice if your forum lost app variables on those circumstances? Sometimes all it takes is a few seconds...

The fix is risk free, so you can just add it and then see if the issue shows up again.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

C2K
New Member

USA
73 Posts

Posted - 07 May 2010 :  21:05:17  Show Profile  Visit C2K's Homepage
Thanks ruirib. I added the fix in and now we'll play the waiting game.

Another thing I was told about (moments ago) was adding something like this to the inc_header.asp page:

if instr(request.querystring,";")>0 or instr(lcase(request.querystring),"declare") >0 or instr(lcase(request.querystring),"cast")>0 then Response.End

Also, call me dumb I can take it -- but what does it mean if the forum lost app variables?

Edited by - C2K on 07 May 2010 21:20:52
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 May 2010 :  21:57:30  Show Profile  Send ruirib a Yahoo! Message
I can't rule out you being hacked, but if it was a hack, I think you'd see parts or the whole forum destroyed, or your site offering malware payloads to its visitors. I would bet that the issue you faced was the variables thing.

A forum that loses variables would look weird graphically. All it needs is a few secs of variables lost for bots to get in. It happened here, which led us to get the fix you now see.

You are using SQL Server?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

C2K
New Member

USA
73 Posts

Posted - 08 May 2010 :  10:39:48  Show Profile  Visit C2K's Homepage
Yes indeed, it is SQL running on a 2008 platform. I think we may have fixed it with your fix plus the other item -- minus of course the knuckleheads simply registering now and posting junk as 'new members'. Man, it just never ends, does it?


Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 May 2010 :  12:02:12  Show Profile  Send ruirib a Yahoo! Message
The other item is unneeded, if your forum version has all the security fixes in place. As I told you, I don't really believe a hacker would be happy just to post spam. As things look like now, I think it wasn't a hacker at all.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

C2K
New Member

USA
73 Posts

Posted - 08 May 2010 :  14:44:21  Show Profile  Visit C2K's Homepage
I agree that hacking just to post is a waste of time. What is odd though, is that the person was taking over accounts of other members. That is, suddenly there was a flood of posts by a member(s) who've been with the site since its inception. When I'd lock that account to stop it, another account would be used and the posts would continue.

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 May 2010 :  14:56:17  Show Profile  Send ruirib a Yahoo! Message
That's because of the loss of the app variables. The effect of that loss was such as to cause the posts to be made as if done by legitimate members. It was a bug, that we corrected with the fix you have now applied.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

C2K
New Member

USA
73 Posts

Posted - 08 May 2010 :  15:29:43  Show Profile  Visit C2K's Homepage
Well, all I can say is thank you SO much for taking the time to walk me through it. I really appreciate you guys.


TJ
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 May 2010 :  17:36:06  Show Profile  Send ruirib a Yahoo! Message
You're welcome, that's what we are here for .





P.S.: Just wanted to say that no user accounts were being taken over. The bot (almost certain this was a bot) was posting, while leaving blank the username and password and the lack of app variables resulted in the code returning a member's id as the poster's id. In no time does this allow access to the user account (like getting into the profile or anything). If the Snitz code didn't allow for non logged in posting, this would have no chance of occurring, even with app variables being lost.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

C2K
New Member

USA
73 Posts

Posted - 08 May 2010 :  20:14:03  Show Profile  Visit C2K's Homepage
So, I'm guessing that was the fix then .... to not allow for non-logged in posting?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 May 2010 :  20:23:12  Show Profile  Send ruirib a Yahoo! Message
No, the fix was to make sure the app variables are loaded or not load the forum pages if they aren't.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

C2K
New Member

USA
73 Posts

Posted - 08 May 2010 :  20:37:42  Show Profile  Visit C2K's Homepage
Ahhhh, ok, gotcha. Little by little I'll figure this stuff out!
Go to Top of Page

marjie
Starting Member

United Kingdom
2 Posts

Posted - 29 May 2010 :  19:56:40  Show Profile
quote:
Originally posted by ruirib

The other item is unneeded, if your forum version has all the security fixes in place. As I told you, I don't really believe a hacker would be happy just to post spam. As things look like now, I think it wasn't a hacker at all.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07