Slashdot Mirror


Ask Slashdot: Dealing With Passwords Transmitted As Cleartext?

An anonymous reader writes: My brother recently requested a transcript from his university and was given the option to receive the transcript electronically. When he had problems accessing the document, he called me in to help. What I found was that the transcript company had sent an e-mail with a URL (not a link) to where the document was located. What surprised me was that a second e-mail was also sent containing the password (in cleartext) to access the document.

Not too long ago I had a similar experience when applying for a job online (ironically for an entry-level IT position). I was required to setup an account with a password and an associated e-mail address. While filling out the application, I paused the process to get some information I didn't have on hand and received an e-mail from the company that said I could continue the process by logging on with my account name and password, both shown in cleartext in the message.

In my brother's case, it was an auto-generated password but still problematic. In my case, it showed that the company was storing my account information in cleartext to be able to e-mail it back to me. Needless to say, I e-mailed the head of their IT department explaining why this was unacceptable.

My questions are: How frequently have people run into companies sending sensitive information (like passwords) in cleartext via e-mail? and What would you do if this type of situation happened to you?

5 of 251 comments (clear)

  1. Responses by neminem · · Score: 5, Informative

    "How frequently have people run into companies sending sensitive information (like passwords) in cleartext via e-mail?"

    Not *that* often, but more often than you would think. (See plaintextoffenders.com - they've got hundreds of examples.)

    "What would you do if this type of situation happened to you?"
    What I do when this happens:
    1. Take a screencap of the email, black out the username and password, and send it to plaintextoffenders.com
    2. Contact the site admin, let them know that you just did that, and why it's such a bad idea. Link them to http://plaintextoffenders.com/...
    3. Immediately change your password on the site to something stupid that would definitely not even *remotely* help an attacker guess what sort of passwords you might use on other sites, since if their password security is that awful, chances are their security is awful in other ways too.

    1. Re:Responses by sexconker · · Score: 5, Informative

      My site, on account creation, generates a password and sends it to you in email in cleartext before putting it in the DB. In that email is a link to reset the password; you can't log into the rest of the site until you've done so. The updated password (and the original) are stored encrypted in the DB.

      If anyone has a better suggestion, I'm all ears.

      Don't send the fucking password in plaintext.
      Don't store the fucking password. If your database/application can read it, then it's decrypted at some fucking point. Don't fucking do it.

      User creates account.
      User provides password, username, email, etc.
      You generate salt.
      You generate a UUID (emailverificationUUID).
      You create DB entry with username, email, HASH(password + salt), salt, emailverificationUUID, emailverified (0).
      You email the user "Your account has been created, please click this link to verify your email address.".
      Link contains the UUID. When clicked, the site performs normal login processes (prompt login if not logged in already) and then verifies that the UUID matches the UUID stored for the logged-in user, and sets emailverified to 1 for that user if so.

  2. Re:Concern not warranted by JaredOfEuropa · · Score: 4, Informative

    If passwords are sent in the clear, they are kept in the clear (unless they are one-time randomly generated passwords). And if you check with black hats, you will note that they steal password files all the time. In most cases they'll end up with password hashes, which means they can spend some time and computing power to throw a dictionary at the file and see if any semi-obvious passwords come out. But if passwords are stored in the clear, they end up with everything, no matter how strong your password. And if you use that same password on multiple sites, you'll be in even more trouble.

    --
    If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
  3. Pearson is guilty of this by bangular · · Score: 4, Informative

    I forgot my password on a Pearson website, so I did the whole "forgot password" thing. Low and behold I receive an email with the original password I chose.

  4. Re:FAO of inspector general - copy to Congress by xombo · · Score: 4, Informative

    If you point out government waste or find out that the security practices required by the government contract were not met you can actually receive a % payment for the value of the difference won back in court. Try and work that route instead of just whistle-blowing. If you find the government was over-billed for services that weren't rendered (i.e. security) then you have a real case and there are official channels through which you can work.