Live data from Hacker News

Plain Text Offenders - Did you just email me back my own password?

plaintextoffenders.com

11–20 of 147 posts

Re: Plain Text Offenders - Did you just email me back my own password?

#12
post #4

Earlier quoted context omitted.

Sorry, I didn't clarify: they showed in plaintext the password that I supplied and emailed my password back to me.

Emailing a password after registration does not, in itself, indicate that passwords are being stored in plain text.

In addition to this, the open source distribution of Wordpress hashes passwords.

Re: Plain Text Offenders - Did you just email me back my own password?

#13

Earlier quoted context omitted.

A secure website should be mathematically incapable of ever displaying your plaintext password in any form whatsoever, at any time, even during the registration process.

How so? You can easily send out an email with the plaintext password, hash it and store it securely from then on..

True, but this would imply that the plaintext password would be passed around the application's internal infrastructure. Instead of just going into the frontend server, being hashed and then discarded, it would have to be passed to the email server, probably via some sort of message queue. This means the plaintext passwords would have to reside in some kind of datastore temporarily, possibly for quite some time if there is a backlog of registration emails.

This means you have to encrypt that store, which means you have to decide if you want to force EVERY email sent through the queue to adhere to the same security standards or just registration emails. Then you have to manage the keys for that encryption, and you have to audit it, blah blah blah blah, it quickly adds up to many many man hours of work.

All this just makes the whole thing more insecure, it increases the attack surface, and increases the work needed to secure the system and keep it secure. As it is not really necessary, IMO it shouldn't be done.

This also includes displaying the password back to the user in the browser, the plaintext password should be gone from memory before the templating engine is even invoked. The best way to solve problems is to simply avoid them.

Maybe I'm being unnecessarily paranoid, I like to think of it as a "security mindset" :)

Re: Plain Text Offenders - Did you just email me back my own password?

#16

Earlier quoted context omitted.

A secure website should be mathematically incapable of ever displaying your plaintext password in any form whatsoever, at any time, even during the registration process.

How so? You can easily send out an email with the plaintext password, hash it and store it securely from then on..

What if you log all sent e-mails?

Re: Plain Text Offenders - Did you just email me back my own password?

#17
Nothing new there! When we setup a new in-house account, we either telephone the user or go to see them with their password. If it's a senior Manager with a corporate phone they get their password texted to them - Ok, not ultimately as secure as possible but a darn sight more secure than a plaintext email.

In my previous job I was asked to FTP our full client list (with financial information) to a third party acting on behalf of the company that had just acquired us. The IT Director of our new owners kicked up a hell of a stink and accused me of being 'unhelpful' because I insisted on the third party signing an NDA and installing AxCrypt so that I could encrypt the data for transmission. In the end I just said that if they insisted I send everying without encryption, I wanted it in writing with a disclaimer that I was acting on their instructions and they would assume responsibility for any possible liabilities arising with respect to UK Data Protection Laws.

By the time the IT Director had deliberated the point, the third party (who fully appreciated my position) had sent me a stock NDA, installed AXCrypt and we'd completed the transfer.

Re: Plain Text Offenders - Did you just email me back my own password?

#18
post #4

Earlier quoted context omitted.

Sorry, I didn't clarify: they showed in plaintext the password that I supplied and emailed my password back to me.

Emailing a password after registration does not, in itself, indicate that passwords are being stored in plain text.

My secure password being sent across the open net in an e-mail is reason enough to shame the company doing that.

Re: Plain Text Offenders - Did you just email me back my own password?

#19
I've been wanting to make this for ages. Very pleased to see it made!

Would be awesome to have a notable offenders section. A chrome plugin that hooks into this would also be cool: "This site has rubbish password security. Don't use your usual passwords"

Re: Plain Text Offenders - Did you just email me back my own password?

#20

Nitpick, they're not necessarily storing it in plaintext, they may just not be salting it. There is a difference.

Whether it is stored plaintext, or in an encrypted format:

1) They are sending it in plaintext

2) Encrypted passwords are a factor less secure than hashed (and salted) passwords

I am not sure how salting the password comes into it in the context you describe - can you explain?

Post reply on HN