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: MOD Implementation
 Security leak not fixed in Private Messages?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Panhandler
Average Member

USA
783 Posts

Posted - 04 June 2006 :  19:24:52  Show Profile  Visit Panhandler's Homepage
Does there exist a clear description of the specific changes and where to implement them to correct the security leak described here:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=60597


I've downloade the Private Messages mod and the most recent change listed in the install instruction is date 2004
Or has the security leak already been fixed but not notated?


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 05 June 2006 :  14:55:51  Show Profile  Visit MarcelG's Homepage
I don't think the mod was fixed yet.
Best way is to look for all instances of request.querystring and request.form, and look how they're used in SQL queries.
Make sure they're allways sanatized, via the ChkString(..., "SQLString") method.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 05 June 2006 :  22:03:12  Show Profile  Visit Panhandler's Homepage
quote:
Originally posted by MarcelG

I don't think the mod was fixed yet.
Best way is to look for all instances of request.querystring and request.form, and look how they're used in SQL queries.
Make sure they're allways sanatized, via the ChkString(..., "SQLString") method.


Sorry. . .that's way too advanced for me.
I can't fill in the blanks and don't know what that means.
Short lesson would be appreciated at this point.


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 06 June 2006 :  03:43:14  Show Profile  Visit MarcelG's Homepage
In short ; when you want to sanatize a string which is used in a SQL statement, you need to parse it through the ChkString function.
So, when we've got the string Request.Form("username"), and you would like to sanatize it, change it to this:
chkString(Request.Forum("username"),"SQLString")

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 06 June 2006 :  14:51:10  Show Profile  Visit Panhandler's Homepage
I'm pretty sure that 90 percent of Snitzers know how to implement that advice.
But I'm in the bottom 10 percent of the class.

And I'm pretty sure that "username" refers to another variable, but I don't know what.
I've searched all the files for Request.Form in an attempt to figure it out. . .but no luck.
(I'm pretty sure that Request.Forum wasn't what you meant).

And I've Googled for: ChkString(..., "SQLString") in an attempt to educate myself.
There were some interesting results, but nothing helpful.

So, for me. . .still no progress.



"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 06 June 2006 :  14:54:35  Show Profile  Visit AnonJr's Homepage
Just so you know, ChkString is located in inc_func_common.asp - its a Snitz internal function.

Edited by - AnonJr on 06 June 2006 14:54:56
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 07 June 2006 :  09:00:09  Show Profile  Visit Panhandler's Homepage
quote:
Originally posted by AnonJr

Just so you know, ChkString is located in inc_func_common.asp - its a Snitz internal function.

Okay. . .last guess for me.
Apparently some coding is required in the inc_func_common.asp file,
probably under: function chkString(pString,fField_Type)
That's too far beyond my abilities to fabricate code on my own.

So, I'll have to leave "Private Messages" as a defective mod with a security leak and hope someone creates a patch for it sometime.


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 07 June 2006 :  09:41:46  Show Profile  Visit MarcelG's Homepage
Panhandler, I would patch it, if I could find the time for it.
Unfortunately that's something that's lacking for me at the moment.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 09 June 2006 :  11:37:28  Show Profile  Visit Panhandler's Homepage
Okay. . . on a scale of 1 to 10, I rated Private Messages as a 3 in my review on Snitzbitz.
It would have been a 10 except for this security bug.



"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07