News for hackers. Stuff that matters.
Re:T-Mobile USA storing passwords in clear? by mellowfish on Tuesday May 27, 2014 @01:14PM (#7805559)
Being able to send passwords back over email and/or view them as an admin does not mean they are stored in the DB in the clear. It is a fairly common practice to strongly encrypt passwords in the DB and decrypt them when it is necessary for admin personnel to be able to use them.
Re:T-Mobile USA storing passwords in clear? by jerf on Tuesday May 27, 2014 @01:16PM (#7805567)
For practical purposes, that counts as "in the clear". Password should not be encrypted, they should be irreversibly hashed. (Preferably with bcrypt or scrypt or something meant for this use case; in this case I mean "hash" just in the technical sense of "irreversible", not that any ol' hash function is fine.)
Re:T-Mobile USA storing passwords in clear? by mellowfish on Tuesday May 27, 2014 @01:24PM (#7805610)
For login purposes, it is indeed good to use hashes, this prevents timing attacks and the like. But I fail to see the harm in keeping encrypted passwords for admin purposes. It is very helpful in certain situations.
Re:T-Mobile USA storing passwords in clear? by dmdeller on Tuesday May 27, 2014 @01:27PM (#7805629)
Where do you keep the decryption key?

If it's stored in the same place as the encrypted password, then you have gained no security over storing it in plain text.

If it's stored in a separate system, then you have substantially increased the complexity of the system, and in general, a more complex system is harder to implement securely.

Re:T-Mobile USA storing passwords in clear? by riquito on Tuesday May 27, 2014 @01:27PM (#7805632)
If the server is hacked, the attacker can decrypt everything. Your users are going to have a lot of problems, and you'll have lost (rightfully) their faith in your service.
Re:T-Mobile USA storing passwords in clear? by jerf on Tuesday May 27, 2014 @01:43PM (#7805735)
Even stipulating perfectly correct use of encryption libraries to encrypt passwords (which is, in practice, an enormous stipulation on its own), there is a significant correlation between having enough access to obtain encrypted passwords, and having enough access to obtain the decryption keys and routines. Yes, there are breaks where the hacker can only get one or the other, but that's such a tenuous "security measure" that it's hardly worthy of the term.
Re:T-Mobile USA storing passwords in clear? by codesuela on Tuesday May 27, 2014 @01:33PM (#7805668)
Even if only the database is compromised it is still worth trying to find the key to decrypt all passwords whereas cracking a salted 10000 rounds of scypt or bcrypt hash is just not feasible unless you're the NSA on the hunt for Edward Snowden
Re:T-Mobile USA storing passwords in clear? by krapp on Tuesday May 27, 2014 @01:28PM (#7805638)
I think it should never be possible for admin personnel to access a users' plain password, much less necessary.

Given that you're an admin anyway, you don't need the extra privileges, and there are already established methods for dealing with resetting and recovering accounts without having to decrypt a password.

Re:T-Mobile USA storing passwords in clear? by akerl_ on Tuesday May 27, 2014 @01:55PM (#7805817)
If it's ever "necessary" for an employee to decrypt and use my password, something very wrong is happening. That is not acceptable practice.
Re:T-Mobile USA storing passwords in clear? by seandougall on Tuesday May 27, 2014 @05:57PM (#7807135)
Yeah, most companies worth their salt (so to speak) make a point of saying their employees will never ask for your password. That not only frees them up to do the right thing with password hashing, but gives users a clear red flag when scammers call.
Re:T-Mobile USA storing passwords in clear? by anExcitedBeast on Tuesday May 27, 2014 @04:01PM (#7806525)
No, no, a thousand times no. Passwords should never be stored in a reversible format. Your users get shafted if you get hacked (more like 'when', these days). Here's a guide to handling passwords properly: https://crackstation.net/hashing-security.htm