<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Bug in plain text passwords</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Bug in plain text passwords]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 06:47:11 +0000</pubDate>
  <lastBuildDate>Fri, 11 Aug 2006 09:31:22 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=20978</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Bug in plain text passwords : Many thanks for pointing this...]]></title>
   <link>https://forums.webwiz.net/bug-in-plain-text-passwords_topic20978_post112435.html#112435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 20978<br /><strong>Posted:</strong> 11&nbsp;August&nbsp;2006 at 9:31am<br /><br />Many thanks for pointing this out.<br><br>Although I would highly recommend that you do use password encryption.<br>]]>
   </description>
   <pubDate>Fri, 11 Aug 2006 09:31:22 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/bug-in-plain-text-passwords_topic20978_post112435.html#112435</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in plain text passwords : Hi,   I Thought you would like...]]></title>
   <link>https://forums.webwiz.net/bug-in-plain-text-passwords_topic20978_post112406.html#112406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24541">rockliffe</a><br /><strong>Subject:</strong> 20978<br /><strong>Posted:</strong> 10&nbsp;August&nbsp;2006 at 1:05pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I Thought you would like to know that if you use plain text passwords (blnEncryptedPasswords = False) then the code to update passwords in register.asp will not work correctly as it sets the new password to &lt;password&gt;&lt;salt&gt; rather than just &lt;password&gt; (See below)</DIV><DIV>&nbsp;</DIV><DIV>Cheers,</DIV><DIV>&nbsp;</DIV><DIV>Ben</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>'If the password doesn't match that stored in the db then this is a password update<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If rsCommon("Password") &lt;&gt; strEncryptedPassword AND blnConfirmPassOK Then</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Generate new salt<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strSalt = getSalt(Len(strPassword))</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;'Concatenate salt value to the password<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;strEncryptedPassword = strPassword &amp; strSalt</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;'Re-Genreate encypted password with new salt value<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;If blnEncryptedPasswords Then strEncryptedPassword = HashEncode(strEncryptedPassword)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Set the changed password boolean to true<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blnPasswordChange = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>should be:</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>'If the password doesn't match that stored in the db then this is a password update<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If rsCommon("Password") &lt;&gt; strEncryptedPassword AND blnConfirmPassOK Then<BR>&nbsp;&nbsp;&nbsp;If blnEncryptedPasswords Then <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'Generate new salt<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strSalt = getSalt(Len(strPassword))<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;'Concatenate salt value to the password<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;strEncryptedPassword = strPassword &amp; strSalt</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;'Re-Genreate encypted password with new salt value<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;strEncryptedPassword = HashEncode(strEncryptedPassword)<BR>&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;strEncryptedPassword = strPassword<BR>&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Set the changed password boolean to true<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blnPasswordChange = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</DIV><DIV></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Thu, 10 Aug 2006 13:05:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/bug-in-plain-text-passwords_topic20978_post112406.html#112406</guid>
  </item> 
 </channel>
</rss>