XF 1.3 passwords

DRaver

Active member
Is it possible to read the user passwords out of the database in xf 1.3 with a tool or a hack?
 
Well the passwords are there, but they're one-way hashed. If your DB has been compromised, you need to assume the passwords have too.
 
Ups, I always thought the passwords would be encrypted in XF and not only hashed.

What can the thief do with the hash? Make a brute force to find the real pw or use a tool for that?
 
Afaik the method of encrypting hasn't been comprimized yet. So you should be relatively safe. But remember, if they can't be hacked today, maybe they can tomorrow...
 
Encryption means it can be reversed (with the correct key). Hashing means it can't. You never want to encrypt a password.

But yes, they can attempt to brute force a password. Since 1.2 (new users since then or anyone who logged in with a password since them), we use bcrypt which makes this harder/slower, but it's still possible. To be safe, you need to assume that passwords have been compromised.
 
Another question @Mike .

I add a user in XF and and create a password. In the database I see the pw hash.
If I copy this hash in the database to another user, then both have the same password.

Is this a bug? I want to give no instructions for hacking. Is this too critical, then delete the thread simply and reply privately to me.
 
What you're suggesting would really provide no benefit.

If someone (untrusted) has database access, all is lost. If they can write to it, the entire integrity of it is compromised.
 
Top Bottom