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)
 Security bug with pop_messengers.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mios
Junior Member

United Kingdom
101 Posts

Posted - 30 July 2002 :  06:42:42  Show Profile  Send mios an ICQ Message
There is a cross-site scripting loop hole in pop_messengers.asp that could easily allow some one to access anyones cookies.

I won't say exactly how you do it, but this will give you an idea http://forum.snitz.com/forum/pop_messengers.asp?mode=ICQ&ICQ=9739438&M_NAME=<span+style='color:red;font-size:50pt'>Boo!</span>

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 July 2002 :  16:00:04  Show Profile
to fix this, on line #40 of pop_messengers.asp insert the following line:

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


Then on line #55 change the following:

<% =Request.QueryString("M_NAME") %>


to this:

<% =chkString(Request.QueryString("M_NAME"),"display") %>


v3.4 does not have this vulnerability because M_NAME is not passed via the querystring.
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 30 July 2002 :  17:00:29  Show Profile  Visit dayve's Homepage
when you say ACCESS someone's cookies, does this mean read them?


http://www.nineinchnailz.com
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 July 2002 :  17:02:20  Show Profile
It's the same problem as when someone could use an image tag to point to a javascript file on a remote site that could read cookies from this site.
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 30 July 2002 :  18:13:55  Show Profile  Visit Jeepaholic's Homepage
Thanks guys!

Al Bsharah
Jeepaholics Anonymous
Go to Top of Page

Gato
New Member

Brazil
92 Posts

Posted - 30 July 2002 :  19:26:39  Show Profile  Visit Gato's Homepage
May I know how is it passed?

Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 30 July 2002 :  19:55:36  Show Profile  Visit Massimo's Homepage
I have inserted the fix but it does not change null?



http://www.superdeejay.net/forumgold/pop_messengers.asp?mode=ICQ&ICQ=9739438&M_NAME=<span+style='color:red;font-size:50pt'>Boo!</span>

Massimo Farieri
===============
http://www.superdeejay.net/
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 July 2002 :  20:19:25  Show Profile
This is a very easy fix. Make sure that you change only what I indicated above, and that you change it exactly as I have indicated above.
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 30 July 2002 :  21:23:45  Show Profile  Visit Aaron S.'s Homepage
Here is the file with the patch applied - just change .txt to .asp:

http://www.potf2.com/forums/mod/pop_messengers.txt

--Aaron



DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 31 July 2002 :  10:42:37  Show Profile  Visit Massimo's Homepage
I have fix well?

http://www.superdeejay.net/forumgold/pop_messengers.asp?mode=ICQ&ICQ=9739438&M_NAME=<span+style='color:red;font-size:50pt'>Boo!</span>



tanks..
ciao!

Massimo Farieri
===============
http://www.superdeejay.net/
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 31 July 2002 :  12:15:30  Show Profile
Yes, that is how it should look after the fix is applied.
Go to Top of Page

philipio
Starting Member

4 Posts

Posted - 05 August 2002 :  03:30:05  Show Profile
Is the latest version affected by this problem?

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 05 August 2002 :  05:24:31  Show Profile
Yes.

«-----------------------------------»
Join the Snitz Forums WebRing !
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 17 August 2002 :  13:48:30  Show Profile
Fixed in v4b03patch005 (released now, download link here).

Stop the WAR!
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07