Jump to content
Mumble forums

Bug with phpBB authenticator


tomdarkness
 Share

Recommended Posts

Hey,


If someone enters a none-ASCII character in their password it causes the authenticator to crash:

 

 WARNING dispatch exception: Util.cpp:169: Ice::UnknownException:
unknown exception:
Traceback (most recent call last):
 File "phpBB3auth.py", line 293, in authenticate
   if phpbb_check_hash(pw, upw):
 File "phpBB3auth.py", line 627, in phpbb_check_hash
   return _hash_crypt_private(password, hash, itoa64) == hash
 File "phpBB3auth.py", line 608, in _hash_crypt_private
   hash = md5(salt + password).digest()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

identity: F84AFC7B-D416-42D8-8FBF-DBFBF268145F
facet:
operation: authenticate

 

Effectively causing a DoS attack as no-one can login to the server.


How can this be fixed?


Thanks,


Tom

Link to comment
Share on other sites

  • Administrators

Sorry. I cannot reproduce this issue on win7 or ubuntu 9.10. Can you please give additional information on your environment? Which operating system, python version, mysql version, python-ice version are you running this on?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...