Jump to content
Mumble forums

Bug with phpBB authenticator


Recommended Posts


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
operation: authenticate


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

How can this be fixed?



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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...