|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Finding user password |
|
Posted: Thu Jan 03, 2008 3:22 pm |
|
|
aquadeluxe |
Regular user |
|
|
Joined: Jan 03, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
I have a site with 2000+ users and I am wondering if I can somehow find out one of the users passwords. I have phpBB3 Olympus running on it. I have access the database and server files.
Thanks. |
|
|
|
|
Posted: Thu Jan 03, 2008 6:26 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
PhpBB stores all passwords in database in hashed form, so you can have plaintext password only when you are able to crack the hash, that's if password was not strong enough.
Another choice is altering original phpbb script and add some plaintext password logging piece of code, like explained here:
http://www.waraxe.us/ftopict-1864.html |
|
|
|
|
Posted: Thu Jan 03, 2008 8:52 pm |
|
|
aquadeluxe |
Regular user |
|
|
Joined: Jan 03, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
Do you know why when i try to decrypt the hash, it says that it is invalid?
$H$7R6dvopJ4cOJeVAEfYJCxqu6tcyaRP1
that's what the hash supposedly is.
Thanks |
|
|
|
|
Posted: Thu Jan 03, 2008 9:47 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Look here:
http://www.waraxe.us/ftopict-2021.html
Starting from phpbb 3.0.RC7 they are using new hashing algorithm.
It's very hard to crack. Basically it's 2048 times slower cracking as simple md5 and even ~2x slower than BSD-style md5 hash. No rainbow cracking can be used - because of the salting. Bruteforce will be very limited and even wordlist cracking is painfully slow.
Bottom line - it's only matter of time, when most of the phpbb installations in web will be phpbb 3.x.x and this means, that stealing hashes from database is not as useful as it was before |
|
|
|
|
Posted: Thu Jan 03, 2008 9:52 pm |
|
|
aquadeluxe |
Regular user |
|
|
Joined: Jan 03, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Thu Jan 03, 2008 10:18 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
aquadeluxe wrote: | Well that sucks. |
That's the intention of phpbb developers - to make phpbb exploiting as much unpleasant as possible
Still - you can inplement cleartext password sender, as mentioned before. Assuming, that you have file write access to phpbb scripts. |
|
|
|
|
Posted: Thu Jan 03, 2008 10:30 pm |
|
|
aquadeluxe |
Regular user |
|
|
Joined: Jan 03, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
Yeah, but this user is banned |
|
|
|
|
Posted: Fri Jan 04, 2008 12:49 am |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Then, yeah, you must try to crack the hash. If original password was weak, then successfull cracking can be possible. Problem is, that such cracker does not exists, yet ... , as much as i know.
Easiest way to overcome problem is to look @ phpbb 3 login handling source code and then copy-paste and modify it, so that wordlist cracking or bruteforce is possible. Php implementation of course will lack performance, compared to optimized c/assembler cracker, but it's easy to implement.
So - maybe, just maybe, there will be some phpbb3 hash cracker in php language from me ... soon ...
If so, then i will publish it here, in his forum |
|
|
|
|
Posted: Fri Jan 04, 2008 12:51 am |
|
|
aquadeluxe |
Regular user |
|
|
Joined: Jan 03, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
About adding the thing where it will email the password and username. How do I make that work for PhpBB3? |
|
|
|
|
www.waraxe.us Forum Index -> PhpBB
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|