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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 BUG (31sr4): Backdoor locked topic/forum/category
 Forum Locked  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

bjlt
Senior Member

1144 Posts

Posted - 16 June 2001 :  07:09:51  Show Profile
anybody would like to clarify to which file should i add the code other than post.asp?
and in post_info.asp, do i need to change the go_result sub as it's different than the one posted above?
thanks.


Go to Top of Page

mneedham
New Member

United Kingdom
84 Posts

Posted - 24 June 2001 :  17:15:17  Show Profile
could someone post a download file which has the corrected post.asp file without the backdoor where people can post when the topic is locked

Thanks very much

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 25 June 2001 :  02:30:00  Show Profile
v3.1sr4 version of post.asp with the code above added: Click Here
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 03 July 2001 :  11:15:58  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
quote:

v3.1sr4 version of post.asp with the code above added: Click Here


Link doesn't work !

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 03 July 2001 :  15:01:57  Show Profile
I updated the link. Try it now.
Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 04 July 2001 :  10:37:49  Show Profile  Visit tilttek's Homepage
quote:

I updated the link. Try it now.



It doesn't work

Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 July 2001 :  11:03:47  Show Profile
Ok, I updated it again. Try it now.
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 13 July 2001 :  15:05:36  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Is the post.asp file the only file that need updating or do the other files mentioned above also need to be modified.

Also the posted post.asp file above doesn't have the modified code commented out. Is it possible to get a copy of post.asp with comments because I cannot simply replace my existing file.

If other files need modifications a well, please let me know.

Thank you in advance,

Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 14 July 2001 :  03:55:21  Show Profile  Visit tomasalsbro's Homepage
quote:

I added this code in topic.asp to prevent someone read posts under a private forum(smiliar backdoor problem with the post.asp):


'#### Forum_SQL - Find out if the Topic exists
strSql = "SELECT " & strTablePrefix & "TOPICS.T_STATUS "
strSql = strSql & " FROM " & strTablePrefix & "TOPICS "
strSql = strSql & " WHERE " & strTablePrefix & "TOPICS.TOPIC_ID = " & Request.QueryString("TOPIC_ID")
strSql = strSql & " AND " & strTablePrefix & "TOPICS.FORUM_ID = " & Request.QueryString("FORUM_ID")
strSql = strSql & " AND " & strTablePrefix & "TOPICS.CAT_ID = " & Request.QueryString("CAT_ID")

set rsStatus = my_Conn.Execute(strSql)

if rsStatus.EOF or rsStatus.BOF then
Go_Result "You have attempted to access a topic by tampering with the URL"
end if
'###########end check url tampering


Bascily, it denies access to read a post if the forum_id, topic_id, and cat_id of that post are not correct.

insert code to topic.asp right after this:
<!--#INCLUDE FILE="inc_top.asp" -->

Don't forget to add the Go_Result sub at the end of topic.asp

BabyGate




Hi BabyGate,
what do you mean with "Don't forget to add the Go_Result sub at the end of topic.asp"?Cheers / Tomas


!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 14 July 2001 :  04:24:08  Show Profile
samyot,

the code added to that file is:

everything between the following 2 lines of code:

<!--#INCLUDE FILE="inc_top.asp" -->


select case strSelectSize


and then everything after this line at the end of the file:

<!--#INCLUDE FILE="inc_footer.asp" -->


Go to Top of Page

Kevo
Starting Member

USA
26 Posts

Posted - 15 July 2001 :  14:16:08  Show Profile
Oh good, my bug is finnally getting fixed.

Good luck with it.

Later
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 22 July 2001 :  17:28:53  Show Profile  Visit HuwR's Homepage
yes it finally got fixed, and implemented in the latest 3.3 code

Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 Forum Locked  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