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)
 (v3.4.03) BUG+FIX: pop_profile.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GauravBhabu
Advanced Member

4288 Posts

Posted - 23 October 2002 :  20:38:12  Show Profile
pop_profile.asp

Lines 918-924

case "goModify"

        if strNoCookies = "1" and strAuthType = "db" then
	    if strDBNTUserName = "" then 
		strDBNTUserName = chkString(Request.Form("Name"),"SQLString")
	    end if
	end if


Form Field referred in the statement highlighted in red is incorrect it should be changed to

		strDBNTUserName = chkString(Request.Form("User"),"SQLString")


Lines 1007-1009
"    <input type=""hidden"" name=""User"" value=""" & chkString(Request.Form("User"),"SQLString") & """>" & vbNewLine & _
"    <input type=""hidden"" name=""Pass"" value=""" & chkString(Request.Form("Pass"),"SQLString") & """>" & vbNewLine & _
"    <input type=""hidden"" name=""Refer"" value=""" & Request.Form("Refer") & """>" & vbNewLine


The statement in red will cause the password be viewed as Unencrypted, when doing view source.
This should be changed to


"    <input type=""hidden"" name=""User"" value=""" & strDBNTUserName & """>" & vbNewLine & _
"    <input type=""hidden"" name=""Pass"" value=""" & strEncodedPassword & """>" & vbNewLine & _
"    <input type=""hidden"" name=""Refer"" value=""" & Request.Form("Refer") & """>" & vbNewLine


RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 June 2003 :  00:38:01  Show Profile
you also have to change line #1302 from this:
		strEncodedPassword = sha256("" & Request.Form("Pass"))
to this:
		strEncodedPassword = ChkString(Request.Form("Pass"),"SQLString")


or you'll get an error that you don't have permission to modify the member (password won't match).
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 June 2003 :  00:39:12  Show Profile
fixed in v3.4.04
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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07