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?

153 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 Zontar_Thing_From_Ve · · Score: 4, Interesting

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

      I see this and people sending both public and private PGP keys to outsiders more than I should from other companies. I assume it's because in general American businesses have devalued IT for so long that they're getting exactly what little they pay for now with barely trained and barely competent people who don't know anything about security.

    2. Re:Responses by PraiseBob · · Score: 1, Insightful

      For the first example, this will happen anytime a site has to generate a password for you, that is to say, millions of times a day. The site has to get the password to you, and can do so by generally email, sms, telephone call, or an in person visit. The same 3 letter agency is monitoring all of those electronic methods, so it really doesn't matter which you use, but email is the cheapest by far. The local network/pc is always going to be the weakest link, so use https for webmail. Splitting sensitive information into two emails makes it much harder for the bad guys. Enough so that it is standard practice for the banking industry and is part of PCI compliance transmitting credit card numbers.

      For the second example- so what? It's a one-time temporary password that you picked yourself. The risk of a compromise is minimal, the reward for a hacker is minimal. Is it poor security practice... maybe? But you have to weigh the cost-benefit ratio.

    3. Re:Responses by chihowa · · Score: 3, Insightful

      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.

      Seriously? Let the user enter their own password at account creation and send them an email with a link (containing a random hash that's indexed to that user in the DB) to verify the email address (if that's even a necessary step... it isn't always).

      Why would you need to generate a password for them, especially if you're going to email it plaintext and make them change it anyway? What possible benefit does that serve?

      --
      If you want a vision of the future, imagine a youtube comments section scrolling - forever.
    4. Re:Responses by alexhs · · Score: 1

      Why would you need to generate a password for them, especially if you're going to email it plaintext and make them change it anyway? What possible benefit does that serve?

      For example, it prevents you to create a throwaway account with the e-mail address of someone else.

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    5. Re:Responses by rainmaestro · · Score: 2

      Not all accounts are created directly by the user. Half the systems I work with on a daily basis have no signup feature. Accounts are created by site admins. The most common way I see this handled is for the site to generate an OTP and send it via email to the user.

    6. Re:Responses by Anonymous Coward · · Score: 1

      At my company the security precautions have become a parody. 32 char mixed case, letters numbers, expiring every 4 hours. You have to get a new one every 4 fucking hours.

      Encase the computers in cement. Then, no one can break into them.

      It would be much easier if we just tracked down the fucking hackers and shot them on the spot. Do that for a few years and hacking would become a very undesirable profession.

    7. 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.

    8. Re:Responses by Hotawa+Hawk-eye · · Score: 1

      For the second example- so what? It's a one-time temporary password that you picked yourself. The risk of a compromise is minimal, the reward for a hacker is minimal. Is it poor security practice... maybe? But you have to weigh the cost-benefit ratio.

      For someone who knows not to use the same password for multiple sites, it's a one-time temporary password.
      For someone who DOESN'T know better, it's probably the same password they use for many or all other sites.

      In this particular example, HOPEFULLY everyone applying for an entry-level IT position falls into the first of those categories. But if that site is used to collect applications for IT positions and other positions, the applicants for those other positions may fall into the second category and the sites shouldn't make it worse than it already is.

    9. Re:Responses by omnichad · · Score: 1

      send them an email with a link (containing a random hash that's indexed to that user in the DB) to verify the email address

      Did you read before replying?

    10. Re:Responses by ArcadeMan · · Score: 2

      What's that got to do with cars?!

    11. Re:Responses by ArcadeMan · · Score: 2

      At my company the security precautions have become a parody. 32 char mixed case, letters numbers, expiring every 4 hours. You have to get a new one every 4 fucking hours.

      What's your estimate on the time lost by all employees for dealing with such precautions? Try to document that, with proof, and get a meeting with your boss(es). After they see the money wasted on being over-precautious, IT will probably calm down a bit. Even a new password every month would annoy the hell out of me.

    12. Re:Responses by tepples · · Score: 1

      So how do you encrypt this UUID? And what do you send for a password reset?

    13. Re:Responses by omnichad · · Score: 3, Funny

      If you don't salt your hashes, you're less likely to rust the undercarriage.

    14. Re:Responses by Junta · · Score: 1

      The UUID is discarded on first login. Additionally, the UUID is useless without the password/credentials.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    15. Re:Responses by RingDev · · Score: 3

      [quote]So how do you encrypt this UUID?[/quote]

      You don't. It's just a GUID or some other low collision rate hash.

      [quote]And what do you send for a password reset?[/quote]

      You send them a new UUID in a link. When the link is hit, the UUID resolves back to their account and they are directed to enter a new password, just like a first time user.

      The combination of time (the UUID can be time boxed), activity (a successful login nullifies the UUID), and possession (control of the account's registered email address), and if you want to get really wild, knowledge of a security question, creates a scenario where there are no good purely technical solutions for the attacker.

      An attacker could, in theory, create a colliding GUID for an account they know the name of (but not password), manually enter the UUID link, and set the new password (assuming there is no security question).

      But if an attacker manages to consistently generate colliding GUIDs*, they have accomplished something so monumental that they should be heralded as the second coming of Steve Jobs or something.

      (*Assuming the coders didn't decide to come up with their own GUID generation algorithm that is easily reverse engineered and seeded)

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    16. Re: Responses by Anonymous Coward · · Score: 1

      If they're changing the password every 4 hours, why not every minute, with a securid fob or similar. All that time wasted on 4 hour password changes should pay for a decent setup...

    17. Re:Responses by RavenLrD20k · · Score: 1

      But if our Admins had to generate a new account every time a new customer needed one, when would they have time to play CounterStrike: Ghosts?

    18. Re:Responses by Bengie · · Score: 1

      In the case of a password reset, if you change the password and email the new changed password, the password reset may have been requested by someone other than the account holder. Now the account holder's password is changed to something other than what the user expected. Going through account activation or a password reset will force the user to set the password. The system should NEVER change a user's password except to exactly what the user wants the password to be.

      The difference is if you generate a one time use token and send it to the user for limited access to change their password, then you're using a one time use token. Yay, as expected.

      The other way is to change the password to a random value and send this to the user. Similar to the one time use token, but your F'n abusing the password system to also act as a one time use token.

      It doesn't seem like much of a difference, but it's a slippery slope and easier for mistakes to be had when you mix your authentication logic with your one time use logic. I've seem strange abuses or requests for abuse in my time. Make you cringe.

    19. Re:Responses by rainmaestro · · Score: 1

      Real admins have macros. Every headshot triggers a script that creates a new account from a list (automatically built from incoming ticket contents of course).

    20. Re:Responses by Asgard · · Score: 1

      No encryption -- generate a random string and store it in the DB as associated with the login id. All you care is that the user with email X receives the email and can provide the random string.

    21. Re:Responses by tepples · · Score: 1

      Or to put it shorter: "Passwords and password reset codes go in separate fields."

      I've implemented a similar system that keeps the hashed password and the one-time-use code in separate fields of the user table. I just wondered if there was any good way to protect the "login ticket" (the mail containing the one-time-use code) from interception in the 24 hours between when it is sent and the expiration time that we store.

    22. Re:Responses by alexhs · · Score: 3, Interesting

      Ok, here are some possible benefits over chihowa's proposal, for specific use cases.

      - If the use case implies a system/"real" account rather than a virtual one (which I admit is a bad idea most of the time), the implementation practically comes for free: simply create an initially disabled account with a generated password. Particularly useful if the bunch of account creation doesn't actually use an e-mail account at all (say, university students accounts, with account names and initial passwords printed)

      - You don't have to develop a different UI to differentiate account validation and regular password change.

      - Some (web)mail applications are breaking URLs. Often times systems using generated URLs contain a link, plus a textual representation of the URL in case the link doesn't work (which usually means a text client), and sometimes some kind of pretty printer likes to add spaces after punctuation signs. With a short static URL and a password, you're minimizing copy/paste issues.

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    23. Re:Responses by RavenLrD20k · · Score: 2

      So how do you encrypt this UUID?

      You don't need to. Paranoid about it? Wipe the UUID field from the database upon successful verification of the email so it can't be queried against in the future. However it would be better to just do a sanity check in the code that if there's a boolean 1 in the "emailConfirmed" field after querying for the UUID, just notify the user that the account has already been confirmed and doesn't need to be again.

      And what do you send for a password reset?

      An email to the address on file that has a link to the password reset possibly pre-filling the userID field, but I tend to make the user type that in themselves. If they don't remember the userID... then they'll need to know other pertinent information that the account was created with, otherwise new account time. After the password is reset, then send a confirmation that only states this fact and not giving any identifying information in it beyond that. The same thing you should be doing for any type of change made at the user's account level. If the user is changing their email address, send a confirmation to both the old and the new address that it has been changed, then also reset emailConfirmed to 0, regen the UUID, and force the user to verify the new address, following the same procedure as if it were the first time.

    24. Re:Responses by sexconker · · Score: 1

      You don't encrypt the UUID. It's just a verification to make sure they know the UUID, which is universally unique, generated by you, and sent only to your database and to their email address. All this does is establish that they have access to the email address they supplied. If you do as I suggest and tie this UUID directly to the user entry, an attacker can't do anything with this UUID without ALSO knowing the user's login and password. Clicking the unique link or knowing the UUID is useless unless you can also login as the user to access their row in the user table.

      For password resets, you generate a random password and salt, set it to immediately expire, and then tell the user that password. You leave the old hash and salt in place - the new stuff goes in separate columns until the switch is done by the user. This prevents users from being unable to authenticate if an attacker merely requests a reset, or if you trigger an expiration due to whatever policies you have in place.

      Your login page should authenticate the user (using the original password OR the new temporary one). If the user used their old password and authenticated successfully, you can ignore the reset. If they used the temporary password, block all authorization until a new password is supplied by the user (only let them get to the password reset page).

      On the password reset page, ask for a new password. Double check hash(newpass+oldsalt) against the stored temporary hash (do the same for the old regular hash too, if you want). If it's a match, the user is dumb and entered the temp (or old) password. If it's not, you generate a new salt and store hash(newpass+newsalt), store newsalt, reset the password expiration date, blow out the temp password, etc.

      The trick here is telling the user the temporary password. This is often done with a unique link (using another UUID) that automatically skips the authentication portion and goes straight to the password reset portion for that user. This is extremely fucking dangerous because anyone with access to the email address can hijack the user's account. Despite this, this is how most site on the internet do it. Sending the temporary password in plaintext or not makes no difference because sending the link in plaintext is functionally equivalent. Your security at this point is hoping the legitimate user made the request, is the only one with access to the email address, and the narrow time window in which the temporary password / reset link is valid.

      Security questions, pin numbers, RSA clocks, text messages, heuristics (matching IPs, browsers, etc.) all provide more security, but are useful against a MITM attack or cover the scenario where a user forgot the security answer, doesn't know their pin, lost the RSA clock (dongle or phone), changed phone numbers, moved, etc.

    25. Re:Responses by JenovaSynthesis · · Score: 1

      4. Report them to the Feds for a Federal Education Records Protection Act violation.

      --
      Anonymous Cowards generally receive no replies because you're a coward and I'm a bitch :)
    26. Re:Responses by peragrin · · Score: 1

      I know of the doom version of PS for cou process deletion. But I didn't realize some made a counter strike admin portal. What happens when you tea bag some one?

      --
      i thought once I was found, but it was only a dream.
    27. Re: Responses by Anonymous Coward · · Score: 1

      No it does not. Mailinator.

    28. Re:Responses by chihowa · · Score: 1

      I just wondered if there was any good way to protect the "login ticket" (the mail containing the one-time-use code) from interception in the 24 hours between when it is sent and the expiration time that we store.

      For account creation, you can do this by requiring that the user authenticate with their username and password to use the "login ticket". If they know all of the authentication details and have control of the email account, there's really no way to distinguish them from a legitimate user (from your limited perspective). That said, acquiring all of the account details (including the password) and gaining access to the user's email account in a short time window represents an attack that's only likely for an account on a very important system and you (I) wouldn't deploy such a system with email as the only means of verification.

      Things are more difficult for password reset requests because the user doesn't know their login details, but that's a different scenario from the account generation one. You have to make security compromises in the name of convenience if you want a user to be able to reset their password from a link in an email alone.

      --
      If you want a vision of the future, imagine a youtube comments section scrolling - forever.
    29. Re:Responses by ArcadeMan · · Score: 1

      D'oh!

    30. Re:Responses by DjReagan · · Score: 1

      http://www.merriam-webster.com...

      Definition of PRECAUTIOUS

      : using precaution : precautionary

      — precautiously adverb

      — precautiousness noun

      --
      "When I grow up, I want to be a weirdo"
    31. Re:Responses by goarilla · · Score: 1

      I don't really think it's all about competence. If you enforce the use of "complicated tools" (GPG)
      you'll be perceived as working against the company. And your job could be on the chopping block next quarter.
      Also while I think password hashing and salting should be mandatory I've received numerous calls from higher-ups wanting to know their "forgotten passwords".
      So even that can that can be seen as you working against the bosses :(.

    32. Re:Responses by ovanklot · · Score: 1

      See plaintextoffenders.com - they've got hundreds of examples

      Thousands, actually. Really glad you guys are finding our website so helpful and I'm very happy this is the top comment :)

      Thank you all for your support!

      @omervk, PTO

      --
      "Programming is life, the rest is mere details"
    33. Re:Responses by neminem · · Score: 1

      It is indeed super-helpful to be able to link people to it, thanks for running it! :) (That said, I swear I submitted something a couple weeks ago and haven't seen it yet - how long does it take, generally? :p)

    34. Re:Responses by ovanklot · · Score: 1

      It can take a while to appear, simply because I queue posts for publication top make sure we have a steady stream of activity. It usually takes up to a month tops.

      --
      "Programming is life, the rest is mere details"
    35. Re:Responses by neminem · · Score: 1

      Ah, that makes sense. Amusingly, you posted one this morning that at first I thought was mine, but nope, same type of site, but not the same site. (Makes me want to check all the *other* similar sites I have accounts with now. >.>)

    36. Re:Responses by ovanklot · · Score: 1

      Please do and submit those that you find to be offenders :)

      --
      "Programming is life, the rest is mere details"
  2. Simple by juanfgs · · Score: 5, Insightful

    What would you do if this type of situation happened to you?

    I'd continue using different passwords for different accounts and not being a whiny bitch about it.

    1. Re:Simple by Anonymous Coward · · Score: 5, Insightful

      Don't mod down the angry bro just because he uses bad words.

      The only safe assumption is to assume that no one handles passwords correctly. So you use a different password for every service. Use a password manager and let it generate random passwords for you.

      The question one then to answer for themselves is if I assume they are not properly handling passwords, how much personal information is one willing to provide. You're on your own for that as everyone values information differently.

    2. Re:Simple by Coren22 · · Score: 1

      I assume that you speak of the word bitch in his post. I would like to point out to you that a female dog is a bitch, and yes, bitches whine.

      --
      APK likes to ask for responses to the same things over and over. Maybe he just likes the responses?
    3. Re:Simple by juanfgs · · Score: 1

      I don't really trust online password managers for the same reason I have a set of passwords which are slight variations from each other (following the same pattern) for accounts I don't care that much about or might be insecure. I memorize a few of random generated passwords for my main important accounts and keys ( I also have encrypted them stored in a usb key in the rare case I forget them).

      If a service becomes important enough to have a secure password I generate a new random password for that (but it's really rare).

      Many other work related passwords are stored in encrypted files in my hard drive.

  3. This happens all the time by sinij · · Score: 1

    I am a security auditor, and this happens all the time. For non-IT company, If they changed default credentials they are already ahead of the curve.

  4. It's most likely a sign of code age... by Penguinisto · · Score: 1

    It used to be scarily common, but I believe that it's slowly phasing out in favor of hitting a website where you can (re)set the password yourself after a couple of security questions.

    I believe it's just a sign of old code (or an old coder) on the site. There may be cases where the guy writing the sitecode is inexperienced or incompetent, but I like to think that such cases are rare.

    I think I only see a cleartext password sent via email like once every 10 requests now.

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
    1. Re:It's most likely a sign of code age... by ThatsDrDangerToYou · · Score: 1

      It used to be scarily common, but I believe that it's slowly phasing out in favor of hitting a website where you can (re)set the password yourself after a couple of security questions.

      I believe it's just a sign of old code (or an old coder) on the site. There may be cases where the guy writing the sitecode is inexperienced or incompetent, but I like to think that such cases are rare.

      I think I only see a cleartext password sent via email like once every 10 requests now.

      Hey, watch it pal. I was born and raised on '12345' and it's always worked out great for me. Now get off my punch card machine, er, I mean, lawn.

    2. Re:It's most likely a sign of code age... by ArcadeMan · · Score: 1

      Hey, watch it pal.

      (insert South Park pal/buddy/guy/friend reference here)

      I was born and raised on '12345' and it's always worked out great for me.

      (insert Spaceballs reference here)

    3. Re:It's most likely a sign of code age... by Qzukk · · Score: 1

      That's the excuse for when it's automated, but I get plenty of encrypted files that come in an email with "password sent in separate email" in the body where the password is steve55 or some such thing.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
  5. KeyPass (and similar) by da_foz · · Score: 2

    This was one of the reasons I started using a password manager. No need to remember passwords to sites I rarely use and much easier to avoid using the same or similar passwords in general.

  6. Security by corychristison · · Score: 3, Insightful

    Your first example is acceptable in my opinion, as that password was probably random and (essentially) single use. After logging in, you should immediately change the password to something you can remember.

    The second example, however, is a big no-no in my books. I develop web based applications for a living. The only time we send a password over e-mail (or SMS) is when a user has locked themselves out of their account, and are using the account recovery tool to regain access. This is how we handle it:
    1. Click on "Forgot Password"
    2. Enter your e-mail address (and username if different from e-mail address), click "Begin Recovery"
    3. Send an e-mail with a verification URL for them to continue the process, this is to confirm they actually are the owner of the email address, and also to weed out people trying to use the recovery process maliciously.
    4. Upon following the URL you will be prompted to answer two security questions you set up on registration from a set of predefined questions. You must answer both correctly to proceed. Internally, when this URL is hit, the account in question is flagged in the DB that it is now in Recovery Mode.
    5. Upon answering the questions correctly, you will be e-mailed a single-use password you can log in with.
    6. Upon logging in, you are required to change your password to something you can remember (or store in a password DB, like you should be doing).

    I know it's long and cumbersome, but it works.

    1. Re:Security by Zumbs · · Score: 1

      4. Upon following the URL you will be prompted to answer two security questions you set up on registration from a set of predefined questions. You must answer both correctly to proceed. Internally, when this URL is hit, the account in question is flagged in the DB that it is now in Recovery Mode.

      That one would leave me out. Given how "security questions" have been handled in the past, i.e. to be anything but, my response to that sort of thing is to type in random text and usually a lot of it. I also don't see how it increases the security. If the email address of the user has been compromised, it is likely that the intruder would have an easy time finding the correct answers to the questions. In your example, there is actually also no need to send a password to the user. If the questions are answered correctly, you could send the user directly to step 6. Indeed, most recovery tools that I have used include steps 1, 2, 3, 6.

      --
      The truth may be out there, but lies are inside your head
    2. Re:Security by corychristison · · Score: 1

      I see your point. We make it abundantly clear what the security questions are for upon registration, and encourage the users to answer correctly. The questions we ask are not something that would normally be found in a users inbox, and most average users do not index and archive their e-mail. I do, personally, but I archive anything older than 2 years locally on my workstation(s).

      We'll consider the idea of skipping of sending a new password to the user. Thanks for your input.

    3. Re:Security by Hardhead_7 · · Score: 1

      I'm OK with actually secure security questions. What High School did I go to? Well, I live in Smalltown, NC so it turns out to be Smalltown High. That's a dumb one. Who was my first grade teacher? That's a lot harder info to track down.

    4. Re:Security by CrimsonAvenger · · Score: 1

      Given how "security questions" have been handled in the past, i.e. to be anything but, my response to that sort of thing is to type in random text and usually a lot of it. I also don't see how it increases the security. If the email address of the user has been compromised, it is likely that the intruder would have an easy time finding the correct answers to the questions.

      Use a password manager.

      For secret questions, make up an answer, note the answer in your password manager.

      Good luck with monitoring email to figure out the answers....

      --

      "I do not agree with what you say, but I will defend to the death your right to say it"
    5. Re:Security by Bert64 · · Score: 1

      Not necessarily in these days of social media... A lot of people have Facebook accounts and will have added relatives or people they went to school with...
      For your example, you already know the school, so you find out a list of their teachers (often published online) and try them all, and if the attacker knows your age they can narrow it down further... Either way there's a relatively small number of possible answers.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    6. Re:Security by lq_x_pl · · Score: 1

      A clever permutation on the security question thing is to pair up irrelevant answers with standard security questions. (the examples that follow are not the pairs I use...)

      Model of first Vehicle -> Futurama

      Where did you get engaged -> IsaacAsimov

      Name of first grade teacher -> polyamory

      Favorite book -> Ethernet Cable

      and so on.

      --
      An internal system operation returned the error "The operation completed successfully.".
    7. Re:Security by Cro+Magnon · · Score: 1

      OTOH, I don't even remember who my first grade teacher was.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    8. Re:Security by BitZtream · · Score: 2

      You haven't been developing web apps very long, have you?

      Steps 5 and 6 are horrible from a UX perspective and actually lower security a tiny bit.

      By emailing out a single use password you make it possible for someone to eaves drop on the email train and login to your site using the single use password that you sent over email ... in clear text, over a system that may end up easily being stored on disk and snoop-able on many computers.

      There is absolutely no reason to email them the password, you've already verified the email address is viewed by the user, doing it again just exposes that information to other people who may not know the users 2 security questions, but do already have access to the users' email.

      You've effectively made your security questions useless if someone hacks the email account in the first place, which is often the case before using that to spider out and discover other services the user has. (You check the users sent/inbox/archive for emails from certain email addresses that are used by various services and can quickly tell the user does use specific services.)

      Emailing a password is ALWAYS BAD PRACTICE.

      ALWAYS.

      Did you hear me? ALWAYS.

      When you think you've figured out a way to make it 'safe'. Jab an unsharpened pencil in your eye as punishment and remember: ITS ALWAYS A BAD IDEA TO EMAIL PASSWORDS.

      I'll go ahead and not bother pointing out how bad of an idea 'pre-defined' security questions are at this point, seems like you probably need to do some brushing up one security practices from someone who knows a bit about what they are doing. FFS, there are frameworks for every major web dev environment for user auth recovery. You shouldn't even be rolling your own.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    9. Re:Security by Zumbs · · Score: 1

      I considered something like that. Then it occurred to me that it was basically like having an extra password to remember.

      --
      The truth may be out there, but lies are inside your head
    10. Re:Security by Zumbs · · Score: 1

      Good point. I will take your suggestion under advisement.

      --
      The truth may be out there, but lies are inside your head
    11. Re:Security by bvimo · · Score: 1

      I know the predecessor of my first school teacher, we're now quite good friends, but I don't know her replacement. I think she was tall and had dark hair. Which from the perspective of a 4 year old is quite a few women :P

      --
      In either case, here at Microsoft, we feel standards are important. And we have fun, too. Doug Mahugh, Microsoft
    12. Re:Security by corychristison · · Score: 1

      Wow. Anger problem much?

    13. Re:Security by BitZtream · · Score: 1

      Yes.

      People who think they have a clue and are clever ... then decide to share their awesomeness and cleverness with others in a way that makes us all worse off ... yes, that makes me angry.

      But hey, you go ahead and deflect. No sense in acknowledging the problem and doing something about it, you go ahead and pretend you've done nothing wrong and I'm the bad guy for pointing out how you're just as stupid as the article you're replying to ... but you don't even realize it or why, and you're bragging about your poorly thought out methods.

      You think you know what your doing and don't, and on top of that you've decided to attempt to corrupt other people with your broken methods. You are the definition of a security problem.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    14. Re:Security by corychristison · · Score: 1

      I have yet to hear any a solution to this problem from you. So far just a repetitious whining about how what I wrote is just so horribly broken. I see even worse solutions implemented in sites that may cause even more havoc in a persons life, such as financial institutions, and government departments.

      What would you do? How would it be any better? Please provide full details. If all you are going to do is bitch and whine but not bring any solutions to the table, you're even WORSE than me. At least I'm making an effort.

  7. Have to do this all the time. by Lumpy · · Score: 2

    In ham radio command and control over remote digital ground stations all have clear text passwords because it's against the law to encrypt on ham radio bands. So every password is a single use.

    Today, if I connect to the digipeater that is near me I will use the password S4tA12fDg
    and it will work once and only for a certain window for that single login to happen.

    Any company worth anything would do the same. Here is your link, here is your one time use password, you had better get the file in the next 20 minutes or that password will not work.

    Perfectly secure for simple crap that really has zero value like a school transcript.

    --
    Do not look at laser with remaining good eye.
    1. Re:Have to do this all the time. by msauve · · Score: 1

      "In ham radio command and control over remote digital ground stations all have clear text passwords because it's against the law to encrypt on ham radio bands. "

      No, it isn't, at least in the US. It's illegal to use transmit "messages encoded for the purpose of obscuring their meaning," but the meaning of a password exchange is not obscured when it's encrypted. The meaning is user authentication, not the actual text of a password.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    2. Re:Have to do this all the time. by Anonymous Coward · · Score: 2, Interesting

      I just thought I should clarify this a tad bit for non-hams. (but the rotating password you provide is a good way to go)
      It is not permissible to encrypt the message in a way which obscures the meaning, but can in a non-obscure way to verify the user is authorized. This is still not common, but possible. One such method with digital modes is to have the user use a private key to sign the message, and the control operator maintaining the station can have the corresponding public key. In a fashion similar to Echolink, an Amateur VoIP system, an operator can be verified by the service before being granted access.
      Others have argued that on modes such as HSMM you can use WPA2 encryption as long as you share the key with any licensee who requests it, but this is still dubious, FCC hasn't said much on it, and the point of no encryption is that you can see who is talking with who.

      There is one exception to the encryption rule, and that is for telecommand of Space stations on the Amateur Radio service. However, that space station cannot encrypt data back Down to Earth.

      73!,

      ke5tuz
      (anonymous coward only because I'm on a corporate proxy which, while not prohibitive of slashdot, will log passwords). Normally I'd post under DaJJHman

    3. Re:Have to do this all the time. by Tolkienite · · Score: 2

      ke5tuz (anonymous coward only because I'm on a corporate proxy which, while not prohibitive of slashdot, will log passwords). Normally I'd post under DaJJHman

      Well, you silly rabbit, that's why we use SSL! So corps won't be able to listen to our passwords!
      Of course, this being a geeky site, it fully supports https.. oh wait...

  8. I used to see that all the time by HangingChad · · Score: 5, Interesting

    Before NMCI came along, I was tasked with taking over a mapping application for the Navy and discovered the app was sending admin credentials in clear text in the URL string. Instead being of grateful I found the obvious sloppy coding they accused me of trying to pad my billing with make work and blaming the previous programmer. When I explained their application was crap and a giant security hole they would say, "Well, it works for us."

    So I totally understand how apps like that make it online.

    --
    That's our life, the big wheel of shit. - The Fat Man, Blue Tango Salvage
  9. Concern not warranted by dfetter · · Score: 2

    If you check with black hats, you will noticed that there are two tactics that they use approximately never:

    - network packet sniffing, and
    - break-ins to email

    What they're saying by this is that passwords sent in the clear are not an interesting target.

    Just trying to bring this conversation back down to earth.

    --
    What part of "A well regulated militia" do you not understand?
    1. 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...
    2. Re:Concern not warranted by Anonymous Coward · · Score: 1

      Actually hijacking an e-mail account is a method used multiple times by black hats to take control over someone's cloud account.

      Just one example:

      https://blog.cloudflare.com/the-four-critical-security-flaws-that-resulte/

    3. Re:Concern not warranted by bill_mcgonigle · · Score: 1

      Right - the "head of the IT department" was like, "OMG another self-righteous clueless nerd who doesn't understand risk analysis."

      There is something that needs fixing here, though - the OP needs to get counselling for his control issues.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    4. Re:Concern not warranted by JaredOfEuropa · · Score: 1

      I suppose you're right: an email with password could be sent during the registration process. As for using encryption for password files that isn't one way, I consider that to be bad practice. The decryption key will have to be kept on the live system, where it can be stolen just like the password file, or the serice could even be exploited to give up the key or decrypt a password. Better if that wholly unneccessary operation is mathematically (nearly) impossible.

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    5. Re:Concern not warranted by LDAPMAN · · Score: 1

      Really secure systems use HSMs (https://en.wikipedia.org/wiki/Hardware_security_module )

      This means you can't steal the key from a live system.

  10. Re:Ummmm... by corychristison · · Score: 2

    In 2015, passwords should be stored in a one-way hash. Preferably in the PBKDF2 format.

  11. FAO auditors the information + company regulator? by Bruce66423 · · Score: 2

    If the company is in any sort of regulated sector, this should be reported to their regulator

    If the company is big enough to have an auditor - and that's pretty small - they should be informed

    If it's a European company, then the Information commissioner https://en.wikipedia.org/wiki/... or the equivalent should be notified. This is clearly unsatisfactory behaviour

  12. FAO of inspector general - copy to Congress by Bruce66423 · · Score: 5, Interesting

    The inspector general of the navy should be informed, with a copy to the chairman of the armed services committee. Then run away. Fast...

    1. Re:FAO of inspector general - copy to Congress by Moof123 · · Score: 2

      Whistle blowers are prosecuted vigorously and do not get the benefit of the doubt.

      When dealing with a government entity you should probably do nothing, as the risks outweigh the rewards at this time. If you still feel like speaking up, raise the issue with your boss in one email, carefully and politely, and file a hard copy of the email somewhere safe. Do not go up the food chain, do not go to the press. If there is a crap storm the hard copy may save you, but even that is not assured.

      The default position should be to protect yourself and your family, and not stick your neck out. We have too many examples that show that even the best intentions may result in the messenger being vigorously prosecuted.

    2. 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.

  13. Re:Ummmm... by Anonymous Coward · · Score: 1

    True, but what the OP doesn't understand is that PBKDF2 could very well be used to store the password in the database and they are just sending the email, securely over SSL, with a non-hashed version of the password before storing it hashed. It's pretty common during registration processes. Whether it's a good idea or not depends entirely on the application/business.

  14. never reuse passwords by YesIAmAScript · · Score: 1

    It's your only defense. Once a password is sent in the clear it's ruined for other uses. So you must assume this will happen and never reuse one.

    --
    http://lkml.org/lkml/2005/8/20/95
    1. Re:never reuse passwords by Cro+Magnon · · Score: 1

      Generally the passwords I reuse are the ones that don't matter much. If someone cracks my /. pw, they might have the access to several unimportant accounts, but not my main email or banking accounts, all of which are unique.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  15. Passwords by gurps_npc · · Score: 2
    When it comes to passwords, I have found that corporations (and people) do one of two things:

    1) Treat them like worthless things - only having them to satisfy those weirdos that want something called 'privacy', whatever that is. What the hell, use the same default 123 for all passwords.

    2) Here is your top secret password. It must be 23 digits long, have symbols, letters, cyrillic characters and at least one unicode symbol whose name you don't know. Nothing can EVER be repeated, and it must change every 60 minutes. Also do NOT write it down - even though these conditions mean you absolutely have to write it down in order to remember it.

    Honestly, you are talking about your transcript for a University. I can not honestly think of a situation where someone that you don't want to see it would care enough to see it - unless you yourself are planning on committing fraud.

    If I was in charge (and I am not), the university should not use a password. They should let ANYONE see your transcript - but also notify you that someone has requested to see it.

    --
    excitingthingstodo.blogspot.com
    1. Re:Passwords by omnichad · · Score: 1

      I assume the password was for decrypting a password-protected PDF. Just a guess.

    2. Re:Passwords by gurps_npc · · Score: 1
      Sure there are some special cases. But let's be clear about this - a password is not what is protecting Obama's transcripts.

      Instead, it's the real legal prosecution that would follow anyone attempting to claim they are him, and/or get it. Because I absolutely guarantee that people could crack whatever password protection they use to protect it.

      --
      excitingthingstodo.blogspot.com
    3. Re:Passwords by Psychotria · · Score: 1

      Nothing can EVER be repeated

      I'm not 100% sure what you mean by this. But if you mean that you cannot use a password that you've used in the past then I have a problem with this... having something jump out and say "you can't reuse this password" actually gives something away: that you've used the password! Maybe you've also used that password on other sites so by saying "you've used this, you can't use it again" is actually, imo, bad for security.

      If you mean that you cannot use a character in the password that you've already used then this is also bad for security... it allows an attacker to know that characters cannot be repeated and this, therefore, weakens randomness.

  16. policy by Orgasmatron · · Score: 3, Interesting

    You don't control the security policy of most things that you need to interact with.

    You should be assuming that every single site that is not under your direct and personal control is doing the same thing. Even if they swear that they are not.

    Every password that you give to a remote system should be a unique random password given only to that system and saved in your personal password safe.

    The one exception is having a common password for things that you don't care about. The trick to taking advantage of the exception is making sure that you really, really don't care about any of the systems in that category, and never will.

    --
    See that "Preview" button?
  17. Happened to me once with a magazine subscription by umafuckit · · Score: 1

    I subscribed to the electronic version of a magazine. Each month I got an e-mail to alert me to the new issue and the e-mail included my plain text password. I contacted them and explained to them why this was a problem. They agreed and got in touch with the company providing the e-magazine service. It took two months, but they stopped the practice. So I think you should just politely inform people.

  18. Maybe not... by Blrfl · · Score: 1

    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.

    You don't know that for sure. It's entirely possible that the password was generated, sent to you in the clear, stored hashed and the clear version discarded. They can only do that once. If they can do it more than once, it's not being hashed before storage.

    The problem with passwords is that at some point, it has to flow in a form it can be read by a human. We're not to the point where everyone on the planet can do everything with key pairs that prevent it.

  19. Hard Problems by Don+Faulkner · · Score: 2

    "Don't you know my name yet? That's the only answer. Tell me, who are you, alone, yourself and nameless?" — Tom Bombadil in Tolkien's Lord of the Rings

    "There are only two hard things in Computer Science: cache invalidation and naming things." — Phil Karlton

    This is one of the true hard problems in modern end-user computing, and it comes up all the time. What do you do when you get a phone call like, "hi, this is Don with $MORTGAGE_COMPANY. For security validation, please tell me your address."

    How do you provide a way for two people (entities) to get introduced to each other in a reliable way, without a trusted third party to make the introduction? And, beyond that, if you have to create an "account" with me to maintain that relationship, how do we make that happen safely (another questions is why those accounts are so uni-directional; why doesn't the bank need to create an account with you as well?)

    Most of the solutions to this problem favor us giving our personal information away for free to big companies, in exchange for some benefit which may never come. There's been talk for ages of having some sort of identity layer for the Internet, but that raises its own privacy and anonymity concerns.

    1. Re:Hard Problems by coofercat · · Score: 1

      My main bank account was set up online. I didn't just pull down "Mr." from the list of titles - I picked one of the others. Now, any time they call me, I ask them "Can you tell me my title, please?". Often it's met with some confusion, but at least it offers a modicum of assurance they really are $BANK. Every once in a while they call from one of their published phone numbers, which adds another layer of assurance, I guess.

      They once called me to verify a transaction. For whatever reason, they felt the need to ask me countless security questions - after a few, I just said "Okay, please send me a secure message on the website with your phone number, and we'll continue this conversation there". Again, much confusion, but it all happened.

      I'm not saying this is "secure", but forcing someone to send you a message on a website is a whole lot more difficult than having them just war-dial you and try their luck. I reckon I weeded out 99% of the 'bad guys' that time. GCHQ/MI5/MI6/NSA/CIA etc probably would have defeated me, but maybe not in the time it took them to do it.

    2. Re: Hard Problems by Don+Faulkner · · Score: 1

      You found good ad hoc methods for mutual authentication. That's good. I'd like to see more formal methods around this concept. We need tools that mortals can understand, and that work in a variety of contexts. This wasn't a problem in the old days, because we just walked into the shop. When you remove the physical element, scamming gets easier on both sides. The problem is impersonation, and we've been avoiding solving it on the Internet.

  20. 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.

    1. Re:Pearson is guilty of this by TheCarp · · Score: 4, Interesting

      One of the last companies I worked for was undergoing a single signon project. In their presentation they made it quite clear that they were actually encrypting passwords with a two way function. After the main presentation I pulled the presenter aside and asked why when hash functions are the industry standard.

      His response was kind of hillarious (and kind of sad).... too many IT managers were afraid of the repercussions of not being able to actually recover an executives password if he actually lost it and had used it for something important that couldn't just be reset.

      --
      "I opened my eyes, and everything went dark again"
  21. At My Company by Anonymous Coward · · Score: 1

    Posting this anonymously because... well... our system is a cobbled together mess that started in the mid-90s. Passwords are stored in the clear in the database, so aren't case sensitive (logging in is a stored proc), and the password field is a VARCHAR(8). Yes. Eight. Passwords aren't a minimum of 8 in our system, they're a maximum. Due to complaints, we allow passwords longer than 8 on the front end, though... we just truncate them down to eight on the backend. So "scret123" is the same as "SCret12345".

    1. Re:At My Company by LDAPMAN · · Score: 1

      Get your passwords out of the DB and into and decent LDAP directory. It's really not that complicated and it will scale a lot better. As you can tell from my user ID...it's what I do.

  22. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  23. Obfuscation by Social Engineering by Lab+Rat+Jason · · Score: 1

    I use "[password redacted]" for my password for this very reason!

    --
    Which has more power: the hammer, or the anvil?
    1. Re:Obfuscation by Social Engineering by neminem · · Score: 2

      The best password: ********

    2. Re:Obfuscation by Social Engineering by jittles · · Score: 2

      That just shows up as asterisks here...

      Yep. I can type in my password all I want and you can't see anything but asterisks. So I can hunter2 all I hunter2 want and you can't hunter2 it

  24. Re:Happened to me once with a magazine subscriptio by i.r.id10t · · Score: 3, Insightful

    They didn't salt and then hash their copy of the passwords - they are still stored plain text. They just stopped including it in your email.

    --
    Don't blame me, I voted for Kodos
  25. How else are you going to do it? by Nkwe · · Score: 1

    If you assume that the only communication channel the company has with you is email (which is generally a pretty good assumption as multiple channels or channels that include humans are expensive), there isn't really any other choice but to send the credentials (password) in plain text.

    This is not a new problem. For the entire history of secure information transmission (cryptography), one of the hardest issues to solve is the issue of initial secret (key) exchange. This problem has been around a lot longer than computers have.

    To actually be secure over email you would need the end user to provide a public key when they request the password and then have the company encrypt that password with the public key. The user would then decrypt the password with their private key. This can all be done with S/MIME, but would be a pretty tall order to expect that a random user would be able to figure out how to obtain and use a personal email certificate.

    You could split the password into multiple parts and send each part in a separate email or separate the account and password into different emails. These are decent options but don't really provide true security against a targeted attack (someone sniffing the network or directly accessing the email server). These do provide a reminder to the end user that security is important. I would suspect that targeted attacks are not that common.

    You could try and obscure the password by making it really long garbage string or embedding it in a URL, but it still ends up being a password in plain text. These don't add any security and may instill a false sense of security.

    If a second channel is not cost or support prohibitive, then a one time use text message (SMS) or automated phone message is a pretty good option.

    1. Re:How else are you going to do it? by dave420 · · Score: 1

      So you have the user define the password, and just send them a one-time activation link. If the user needs to reset the password, send them an email with a one-time reset link. That's a lot better than sending out a password over plain text. Sure, sensitive information is in the emails, but it expires quickly. The password will be the password for a relatively long time.

  26. Re:Ummmm... by Bert64 · · Score: 1

    If the password can be retrieved in an automated fashion then even if its encrypted, everything necessary (i.e. the key) is present, so if the host is compromised the passwords effectively are plaintext as the attacker can simply run the same process to decrypt the password.

    And even if you use SSL to check your mail, that doesn't change how the email has been transmitted from one mail server to another, which is often done without using SSL, and most mail servers will fall back to plain text even if they do support SSL because so many out there don't support SSL at all.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  27. It is "a random hash" by tepples · · Score: 1

    and send them an email with a link (containing a random hash that's indexed to that user in the DB) to verify the email address

    But how would you encrypt "a random hash" on its way to the e-mail recipient?

    Why would you need to generate a password for them, especially if you're going to email it plaintext and make them change it anyway?

    Because this one-time random password serves precisely the same purpose as "a random hash" that you mention.

    1. Re:It is "a random hash" by Junta · · Score: 1

      The idea is that the user set his password via (presumably) secure https. The purpose of the random hash is so that you provide the legitimate email user a transient secret that must be used *in conjunction* with the password they had chosen (or some session cookie sent via https to avoid making them log in twice when clicking on the email).

      So here the password is to authenticate that the original person that accesses the site, the hash authenticates a valid email account. Both together are required to verify the account is valid. This way someone intercepting SMTP doesn't get access to hijack account and someone without a valid email can't get an account activated.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    2. Re:It is "a random hash" by tepples · · Score: 1

      This way someone intercepting SMTP doesn't get access to hijack account

      Then how would a reset work? Or do all subscribers to your service additionally need to subscribe to mobile phone service on a supported carrier?

    3. Re:It is "a random hash" by Junta · · Score: 1

      It would be bad form to reset the password when anyone clicked 'reset this accounts password' anyway. So until the link is followed, no action should be taken with regard to the account password anyway. This way a malicious person can't just denial of service a valid account by clicking 'reset my password'.

      This means if an attacker is able to intercept your SMTP, they could still hijack your account through requesting a password reset at will, so it's not perfect, and yes some 2 factor authentication would be nice *if* it were an important site. Account creation needn't have this particular hole, just password reset.

      If you didn't want to SMS, you could use TOTP (e.g. google authenticator is one implementation, but not the only one). Though either way that's something to potentially lose so it would be a suggestion option for those increasing security.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  28. Not 100% of Internet users have unlimited SMS by tepples · · Score: 1

    If you want a bit more security than this you could do something like text the user the token instead of baking it into the URL.

    But how do you send a text to the number "I don't have a cell phone" or to a land line? I tried to send the code to a land line on a couple sites and got "Unsupported carrier".

  29. The case in the example .... by aix+tom · · Score: 1

    ... would be "kinda OK" in my book. (if the description is correct)

    After all, it was NOT a password "linked to an account", but only a password to "access a document".

    If you have documents that you have to give to a few thousand people, then a possible approach would be to just put them on a web server, protected by HTTP authentication. Then when a user wants the document, create a username/passwort, mail that to the user, and then perhaps a month later delete the username/password pair.

    Probably works fine for documents that are not "really that secret" but you still don't feel comfortable putting on the open web for any search engine to find.

  30. Nobody cares about the password your transcript... by toadlife · · Score: 3, Insightful

    ...or your job application.

    Because of the low value of the data that the password grants access to, lax handling of the password is acceptable.

    Now if the password granted you access to everyone's college transcript or job application, then how it was handled would certainly be important.

    Different types of data have differing security requirements.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  31. Re:Security questions by ArcadeMan · · Score: 1

    And your method won't work if somebody "fixes" the question because of a typo/change of phrasing/to make it clearer/whatever reason.

  32. Re: TLS? by Anonymous Coward · · Score: 1

    Exchange has supported TLS for SMTP connections since at least Exchange 2003. There's no reason to not use it anymore.

  33. I created a simple PHP script to solve that by agi · · Score: 1

    I'm a sysadmin. I send lots of passwords to users (on account creation, that is). Got tired of sending them in clear text (since they don't do GPG/PGP), or spelling them on the phone. So I created a simple php application that, under SSL, will encrypt your message on disk and offer it ONLY to the first visit (the message is destroyed on first read). I've been using it since, best bunch of hours spend on code. There: https://onetimepaste.org/

    --
    EOF
    1. Re:I created a simple PHP script to solve that by Gavagai80 · · Score: 1

      The reason people like getting an email with their password when they register is that they can search and find that email again later. Why would they want to see their password one time right after registering? Why not just not show it and not email it if you're not going to provide the convenience of a saved record?

      --
      This space intentionally left blank
  34. Facebook defeats security theater questions by tepples · · Score: 1

    The questions we ask are not something that would normally be found in a users inbox

    A lot of time, the answers to security theater questions are things that would be in a user's Facebook timeline, such as the name of the middle school that the user attended.

  35. Security theater questions by tepples · · Score: 2

    Send an e-mail with a verification URL

    How do you encrypt this unique verification URL on its way to the subscriber to your service?

    security questions

    I'm sorry; I misread this as "security theater questions". See "The Curse of the Secret Question" by Bruce Schneier and "Wish-It-Was Two Factor" by Alex Papadimoulis.

    1. Re:Security theater questions by cbhacking · · Score: 1

      There's generally no way to send the user a secure (i.e. encrypted) message. All you can do is make the token short-lived and hope that nobody is intercepting server-to-server email traffic (and that the user's email account is secure, both from malicious clients and from server-to-client interception). It sucks, but until email encryption of one sort or another becomes more ubiquitous, it's the only workable option.

      --
      There's no place I could be, since I've found Serenity...
  36. All the time for resetting a password. by LWATCDR · · Score: 1, Insightful

    Really? Of course they will send you a reset password in email. The other option is that or a link.
    Ideally it is only good for a single use and you then enter a new password.
    How else would you do password recovery?

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  37. It's to confirm control of your e-mail address by tepples · · Score: 1

    In the message the portal not only assigned my username, but it also listed a temporary password that's good for 30 days! All of this transmitted cleartext.

    This use of a one-time, soon-expiring autogenerated password is common in flows that include the step "To reset your password, confirm your e-mail address" or "To opt in to e-mail notifications, confirm your e-mail address". Is there an alternative, other than to either A. mail all customers a second factor of authentication used to reset a password, or B. require all customers to subscribe to mobile phone service with unlimited texting to receive resets through SMS?

  38. Failure to understand by Legionary13 · · Score: 1

    I recently got a payslip emailed to me. This was full of information I didn’t want to see published and, as far as I could see (IANAL) was in breach of our Data Protection Act (in UK). I emailed the company to say that I thought this was not a good idea: it was potentially a risk to staff and gave the company legal exposure. My contact responded by saying he could stop them sending mine by email in future. I thanked him and asked him to notify information governance: if there isn’t one, then HR: no response. It worries me that the simplest data protection policies are so hard for some people to understand.

  39. Re:Happens all the time at college Admissions offi by Bert64 · · Score: 1

    Or you can use pdftk to remove the arbitrary pdf restrictions and get a plain normal pdf file out of it...

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  40. /. used to send cleartext user name and password! by Anonymous Coward · · Score: 1

    Here's my user name and password emailed to me in the clear by Slashdot, though it was 1999:

    From slashdot@slashdot.org Fri MMM DD HH:MM:SS 1999
    To: --------@-----------
    Subject: Slashdot user password for ---------

    The user account '---------' on http://slashdot.org has this email
    associated with it. A web user from 123.45.678.9 has
    just requested that password be sent. It is '----------------'.
    You can change it after you login at http://slashdot.org/users.pl

    If you didn't ask for this, don't get your panties all in a knot.
    You are seeing this message, not "them". So if you can't be
    trusted with your own password, we might have an issue, otherwise,
    you can just disregard this message.

    --Rob "CmdrTaco" Malda
        malda@slashdot.org

  41. Don't encrypt! by cbhacking · · Score: 1

    Don't ever store passwords (reversibly) encrypted. Don't even (just) hash them; hash functions are way too fast (and yes, fast is bad here). There should be no way for anybody to get the password out of the info stored in the database, even if they know all your keys.

    Use a slow key derivation function instead. PBKDF2 is popular, because it's easy to understand and widely supported; it's basically just taking a value (the password), salting it (you are using a strong, cryptographically random, per-user salt... right?) hashing it, salting the resulting digest again, hashing the salted digest, and repeating the last two steps over and over (tens of thousands of iterations are common). At the end of that, you compare the resulting digest to the value stored in the database; if they match, the user is authenticated. Obviously, don't try implementing this yourself; even simple crypto should always be written by an expert, and you should use the resulting library. There are lots of places to find it, though.

    Alternatively, you can use the purpose-built algorithms like scrypt or bcrypt. These are more complex (and less widely implemented) than PBKDF2, but they also offer more advantages against brute forcing, such as requiring a lot of RAM during the computation so you can't build a massively parallel hash-cracking machine (a commodity GPU can do billions of hashes per second in parallel; these algorithms make those parallel attacks harder).

    --
    There's no place I could be, since I've found Serenity...
    1. Re:Don't encrypt! by LDAPMAN · · Score: 2

      There are actually valid reasons for using two-way encryption in some scenarios. It's not ideal but it can be quite secure if managed properly. For example, most privileged user management systems and password escrow systems need to use reversible encryption. There are also reasons to do so in certain credential synchronization/SSO scenarios. Yes, just dumping encrypted passwords in a database is a bad idea. However, done right you can have two-way encryption and maintain security.

  42. Re:Because it doesn't matter by Anonymous Coward · · Score: 1

    Same AC you replied to. Allow me to make the same statement in a less confrontational way. I admit I was a bit over the top on the first go around.

    Security should be commiserate with the damage that a breach may cause and the desire to commit the breach. Passwords distributed in plain text may be perfectly acceptable depending on the data they are protecting.

    A leaked transcript is not particularly damaging to an individual (assuming they didn't lie about it) nor a very popular target (unless they are a politician). Therefore a plain text password is sufficient to prevent casual snooping.

    A job application site is not particular interesting either but may be if it contains your SSN. That said, the individual applying generally has the ability to change their password before entering sensitive information. Therefore, changing your password on the first login should provide a sufficient protection from a moderately sophisticated attacker, i.e. the initial plaintext password is not a cause for concern.

    Access to a bank site would be damaging to the individual attacked and valuable to the attacker. A network sniffer could gain access using the plain text password and do serious harm/make profit. This is true even if the attacked were to change their password and quickly and possible. Therefore a plain text password is unacceptable.

    If you go to your boss and say the whole IS system is insecure you will not get funding to fix real issues. Instead, if you go to your boss and say I need a smaller amount of funding to fix a potential security problem in the credit card processing subsystem you have a high probability of getting the funding. There is a common problem of arrogance and crying wolf within the IT/IS community. We get distracted by being perfect and forget about being good enough.

  43. Type 4 UUIDs by tepples · · Score: 1

    The combination of time (the UUID can be time boxed), activity (a successful login nullifies the UUID), and possession (control of the account's registered email address)

    My concern is how to keep someone between your server and the subscriber's MUA from compromising "possession", or how to establish "possession" the first time.

    Assuming the coders didn't decide to come up with their own GUID generation algorithm that is easily reverse engineered and seeded

    I just use a PRNG. If I need it as a GUID, I request 120 random bits and format them as a type 4 UUID. Is that good enough?

    1. Re:Type 4 UUIDs by RingDev · · Score: 1

      My concern is how to keep someone between your server and the subscriber's MUA from compromising "possession", or how to establish "possession" the first time.

      If you follow the same model with account creation, then you already have possession established. If someone compromises your email account, and knows your user account for this site, and knows your security answers, then yeah, you're borked. But if someone has all of that information already, I'm pretty sure you've been borked for a while and in significantly worse ways than someone having your college transcripts. ;)

      I just use a PRNG. If I need it as a GUID, I request 120 random bits and format them as a type 4 UUID. Is that good enough?

      "Good enough" is a question that is best answered by the asker. Security isn't a Boolean implementation. You aren't secure or insecure, you are at some level of security across a very wide range. Storing passwords in clear text is vastly more secure than having no authentication on a system at all, but it is vastly less secure than storing a hashed password. And that is vastly less secure than storing a 1-way hashed password. And even that is meaningless if you don't have a secured communication layer, or if you aren't correctly exchanging public/private keys. etc...

      Are you trying to keep script kiddies from spamming your content management site with pictures of dicks, or are you trying to keep banking details, SSNs, and credit histories locked up with controlled access via the internet?

      With that said, you're likely more on the 'secure' side using a v4 UUID, assuming the rest of your implementation follows the appropriate patterns.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  44. Re:CentOS Mailing List! by Asgard · · Score: 1

    That is Mailman, and is fixed in Mailman 3.

  45. in case you're wondering... by slashmydots · · Score: 1

    "Not too long ago I had a similar experience when applying for a job online (ironically for an entry-level IT position)"
    That would likely be Tek Systems Inc he's referring to. You know, one of the largest IT staffing company in the US. They did precisely that to me as well. I changed my password immediately to one I don't use elsewhere.

  46. Re:Ummmm... by cbhacking · · Score: 1

    There's better options than PBKDF2, like scrypt. Also, both require you to chose some parameters; PBKDF2 with a salt of String.Empty, hash algorithm of MD5, and iteration count of 1 is... just an MD5-hashed password. Obviously, those are terrible and stupid parameters, but if people were *good* at choosing secure options then this whole thread wouldn't exist. At least scrypt *only* has the work factor, and it's pretty straightforward.

    --
    There's no place I could be, since I've found Serenity...
  47. A URL is not a link? by nickweller · · Score: 1

    "What I found was that the transcript company had sent an e-mail with a URL (not a link)"

    I thought a URL was a link, what other kind of link are you referring to?

    1. Re:A URL is not a link? by dbIII · · Score: 1

      Possibly means a plain text email with a string the user has to copy and paste instead of some html so the user just has to click on it.
      People have got powerfully angry at such an inconvenience on this site when I've put a URL in a post and it's shown as text instead of a handy little link.

  48. Give Obama's answers to security questions by raymorris · · Score: 1

    You're right that it's normally easy enough to find the answers to questions like "what high school did you go to?" I make that much more secure by secretly replacing "you" with "Barak Obama".* I don't enter MY high school, I enter Obama's. I enter Obama's mother's maiden name. So anyone who goes on my Facebook** to get answers will get wrong answers.

    * I actually use another famous person, not Obama.
    ** You won't find much on my Facebook page, because I don't use Facebook. But if I did, it wouldn't show the answers I use.

  49. Re:Happened to me once with a magazine subscriptio by agm · · Score: 1

    The KDE mailing lists do this.

  50. docusign.net by cecst · · Score: 1

    Here's an example: while applying for a job, I was required to use docusign.net. This site carefully offered the option to use paper for all communications, while explaining that doing so would increase processing time considerably. I elected to fill out the application, which contained plenty of highly confidential personal information, electronically. However, when I signed it, docusign.net then EMAILED ME COPIES OF THE DOCUMENTS IN PLAIN TEXT.
    Nowhere on the site was there a warning that this would occur, an option for using encryption for email communications, or an option to download completed documents rather than having them emailed.
    From this I inferred that the customers of docusign.net are their client entities, and the people who fill out the documents are [fill in your favorite term].
    My response? I questioned the integrity of the organization to which I was applying, and vowed never to do anything through docusign.net again.

  51. Re:"Eating your words" != GOOD nutrition by Sardaukar86 · · Score: 1

    Stop stalking APK, join the discussion or go away please.

    --
    ..Mullah or Pope, Preacher or Poet, who was it wrote: "Give any one species too much rope and they'll fuck it up"?
  52. U-verse is guilty by Snotnose · · Score: 1

    Signed up for UVerse, got it installed a couple weeks ago. 2 surprises. First, I got a "welcome to ATT UVerse" email that contained my account password in cleartext. Not cool UVerse.

    Then I logged into my router at 192.168.1.254. There on the welcome page was my wifi password for all the world to see.

    It's turning out the UVerse DVR is a steaming pile, at this point I can't really recommend it.

  53. Pornography by Anonymous Coward · · Score: 1

    Virtually all pay porn sites send you your login credentials in clear text when you signup.

  54. I do it intentionally by holophrastic · · Score: 1

    I run a company, a tech company, and I actually insist that most passwords be easily sent to clients in plain text.

    I'm not talking about credit card information, obviously, nor control of any nuclear facilities. We're usually talking about invoices, business-administrative panels, business reports, and even financial reports. And, believe it or not, even e-mail passwords.

    It's certainly not more secure. Especially those last two.

    But I drive very fast on highways with other cars driving very fast, and the only thing separating us from 50-car pile-ups and massive death is a yellow line of paint.

    In all of these cases, no one dies, and no one directly loses large sums of money.

    But it's more than just convenience alone. It's business. Business often comes down to service. And when a client forgets their password, nothing beats just telling them. Yes, telephone's a little bit better, but not always the better business solution.

    In the end, you know something, it's up to the person paying the bills. If my client doesn't care about the security risk, then I'm not the one to force them onto the long road.

    The front door to my house has a lock that is easily picked -- which doesn't matter because right next to the door. . . is a window. I don't want bars on my windows either.

  55. Re:Ummmm... by corychristison · · Score: 1

    I was not aware of scrypt. Thank you for pointing it out. It appears to be pretty new. PBKDF2 has been a published standard since the year 2000.

  56. circumlocutions and in-jokes by david_bonn · · Score: 1

    I've found that you can go a long way with in-jokes and circumlocutions that only an employee at the given location could know.

    An example might be the name of a local watering hole. Especially if there is an in-joke name at the company. That way you send one of your guys an email that says, "Your new password is the official name of the West Conference Room -- change it sooner than immediately" or "Your new password is the name of the hot waitress at Poltergeist Chinese -- change it sooner than immediately". This works all the better if "Poltergeist Chinese" isn't the official name of the restaurant in question (god I hope it isn't).

    Usually you end up having a lot of gadgets in the office that are beyond the ken of IT, either out of laziness, willful blindness, or just not telling them. In most shops those gadgets all usually end up having the same password for sanity purposes, and if they are behind a decent firewall and not directly connected to the Big Wires that really isn't a problem. Usually there will be a common and well-known password (hopefully not something like "password" or "secret" or "please", although I have seen all three). If you have this kind of situation, you can send an email of the form, "your new password is the usual and accustomed password, change it right away."

  57. I had worse than that by dbIII · · Score: 1

    What surprised me was that a second e-mail was also sent containing the password (in cleartext) to access the document

    The HR manager at a place I used to work at would send both in the same email.
    However I still couldn't read the stuff he sent out since the key and document had to be used with a specific version of MS Office that was new at the time.

  58. What to do about it: by bscott · · Score: 1

    I'll tell you what *I* do about it - I promptly complain to someone who proceeds to ignore me entirely, that's what I do about it.

    --
    Perfectly Normal Industries
  59. hunter2 by LocutusOfBorg1 · · Score: 1

    If you choose "hunter2" as password, it is automagically crypted and shown as "*******" so you can consider yourself pretty safe. [citation needed]

  60. Re:Nobody cares about the password your transcript by BitZtream · · Score: 1

    The amount of effort it takes to do proper password handling versus the amount of effort it takes to just store one long enough to authenticate a user is so little different that treating them differently just shows a lack of knowledge about security in general.

    Sending a clear text password for 'recovery' tells me that you didn't even bother to hash it ... that is NEVER AN ACCEPTABLE PRACTICE. If you think it is, or if someone treats it like it is, it shows you that they aren't capable of treating the different bits of data at different security levels since the extra 3 lines of code to hash the password for safer storage was apparently too much for them.

    If you(they, whoever) care so little about the password that its not hashed, then its not worth having a password for in the first place. On modern processors, even doing hashing in ASSEMBLY is not a ridiculous task, every other higher level language has a library that does it in one function call in most cases.

    There is no excuse that justifies storing a password in clear text. Ever.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  61. You mean like slashdot? by steaminghacker · · Score: 1

    Slashdot account creation sends pw in plain text. Although it does tell you to change it immediately. On a related transgression, lastminute.com sends your name and date of birth in plain text when you book a flight. I didn't like this one.

  62. use http, not https ... by Skapare · · Score: 1

    ... to read my latest password in clear text: j6apZVsxrXwFZ?P8,BdVb9uz1Q=:Ephq

    --
    now we need to go OSS in diesel cars
  63. One time passwords by xenobyte · · Score: 1

    The solution is obviously to use a machine generated one time password, possibly with a limited lifetime, to protect some data - for instance a password. It can be used only one time and the protected data delivered using SSL and is securely deleted afterwards. The real password would be stored inside this data and will only be in cleartext for the lifetime of the data or until it is fetched.

    --
    "For every complex problem, there is a solution that is simple, neat, and wrong." -- H.L. Mencken (1880-1956) --
  64. What I would do. by Mister+Null · · Score: 1

    1> If it was a company wanting my business: I'd email their IT department explaining why I will never ever use them. 2> If it was a company who wanted to hire me: Likewise I would email the head of IT explaining why I'd never ever work there. 3> If it was just a company on the internet: I'd email their head of IT explaining what happened and do they need for me to recommend someone who can take care of this situation?

  65. Passwords are everywhere by bobjr94 · · Score: 1

    I bet most people (not slashdot readers) but most people don't know any saved password in firefox and chrome can be easily be seen. Let me borrow your laptop for a sec, I need to check something...Ok, got this guys banking and paypal passwords....

  66. Re:Stop "eatin yer words" (it's not healthy!) by Sardaukar86 · · Score: 1

    Stop stalking APK or go away.

    --
    ..Mullah or Pope, Preacher or Poet, who was it wrote: "Give any one species too much rope and they'll fuck it up"?
  67. Quit living in fantasyland by weweedmaniii · · Score: 1

    It's obvious 95% of the posters here have never worked on a real service desk. I spent 3.5 years working as a Security Account Admin and sent every password in cleartext and here's why. End users & their managers are remarkably computer illiterate. If I salted or hashed the passwords as so many have suggested, I would get a reply within 5 minutes saying "my password didn't work." As it was I still had about a 50% success rate with end users actually getting their passwords to work. Another issue I faced was a language barrier. Our work spanned 6 continents and roughly 18 time zones. as a result we provided 24 hour service and to a warehouse worker in Shanghai, my e-mails probably looked like they were written by an alien; which is why their managers were always copied on the e-mails. As a rule to ensure some security, all e-mails were sent encrypted and never sent to a third party address which angered the UPS & FedEx shippers in Asia. I also often copied the regional service desk person, as it was likely they spoke the language of the end user or someone on the service desk spoke it.

    --
    "If stupid things work...then they are not stupid."
  68. Re:Nobody cares about the password your transcript by toadlife · · Score: 1

    In the summary there was no proof of a password being stored in clear text. It described the password being emailed in clear text.

    Sending a clear text password for 'recovery' tells me that you didn't even bother to hash it

    No, it doesn't. If the password was generated/reset and emailed at the same time it could easily be sent in clear text and hashed properly in whatever system it is used on.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.