Post
by Crise » Fri Jan 23, 2009 12:27 pm
As I stated there is absolutely no way to send emails from where the wiki or the forums are, so any "standard" methods of password recovery won't work... if user with full privs in the wiki can change an individual account passwords manually then that could be the best solution (I have not checked whether or not this is possible).
Also another possibility is that, if you have actually saved the password using the firefox's remember password -feature then it is actually possible for you to view the password(s) in firefox options....
Also for future reference, it is highly unlikely that any recent web application uses plain passwords in db anymore so, manual recovery using the database will in the best case (from security point of view) be almost impossible.
Many web solutions that deal with passwords can f.ex. store a salt and a password hash pair, where the password hash could be for example: md5(md5($salt) . md5($pw)); (note that naturally each account would have their own $salt generated upon registering). Then with that the script can compare a hash generated from user input with the hash stored in db when verifying user logins. (For the curious type, this example is how IPB does it).
Edit: from the looks of it mediawiki seems to be doing something similar to above (probably not exactly the same, but similar enough to make cracking a passowd avery very tedious task). In other words hopefully the suggestions in the beginning of this post are enough-