This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

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

 Share

×
×
  • Create New...