Slashdot Mirror


Chrome's Insane Password Security Strategy

jones_supa writes "One day web developer Elliott Kember decided to switch from Safari to Chrome and in the process, discovered possibly a serious weakness with local password management in Chrome. The settings import tool forced the passwords to be always imported, which lead Kember to further investigate how the data can be accessed. For those who actually bother to look at the 'Saved passwords' page, it turns out that anyone with physical access can peek all the passwords in clear text very easily with a couple of mouse clicks. This spurred a lengthy discussion featuring Justin Schuh, the head of Chrome security, who says Kember is wrong and that this behavior of Chrome has been evaluated for years and is not going to change."

17 of 482 comments (clear)

  1. This is also the case on Firefox by briancox2 · · Score: 5, Insightful

    I know it has been discussed many times to password lock access to stored passwords, though because browsers are not user-specific, this has not been done.

    Solution: If security is important to you, don't be lazy.

    --
    We should learn what we need to know about issues, before we decide what we need to feel about them.
    1. Re:This is also the case on Firefox by robmv · · Score: 5, Informative

      Firefox has the option to protect saved passwords with a master passwords and if you already unlocked the password store, in order to read password from the GUI, you need to unlock it again

    2. Re:This is also the case on Firefox by gstoddart · · Score: 5, Interesting

      I know it has been discussed many times to password lock access to stored passwords, though because browsers are not user-specific, this has not been done.

      I'm sorry, but there is a dedicated area for my stuff -- on Windows it's Documents and Settings, and on UNIX it's the home directory. The actual program may not be user specific, but all operating systems have a "home" area specific to users. There are no valid technical reasons why this can't be made secure, other than either having no interest in doing it, or pandering to users who just want convenience.

      This is just a piss-poor implementation of security, and it's why I don't trust a browser to retain passwords for me, and never have. I rank it right up there with giving Facebook my password so they can log into my email and find friends -- not happening, because I don't trust them with my password.

      If this guy is the head of 'security' for Chrome, he's either incompetent at that, or Google as a general rule have a shitty idea about what security should be and he's of the opinion this is "good enough".

      But since Google mostly just wants to collect all of your data, it may not be of value to them to lock it down in any meaningful way.

      --
      Lost at C:>. Found at C.
    3. Re:This is also the case on Firefox by gQuigs · · Score: 5, Informative

      So set a Master Password: https://support.mozilla.org/en-US/kb/use-master-password-protect-stored-logins
      More here: http://kb.mozillazine.org/Master_password

      Almost no users actually use this: http://monica-at-mozilla.blogspot.com/2013/02/cant-live-with-them-cant-live-without.html
      "....can be solved somewhat with master password, but only 1 out of 12K users had master password enabled"

    4. Re:This is also the case on Firefox by icebike · · Score: 4, Insightful

      Every one can type their own password.

      But what about typing hundreds of passwords?

      Once you have more than a few, you resort to a crutch of some sort.

      --
      Sig Battery depleted. Reverting to safe mode.
    5. Re:This is also the case on Firefox by AmiMoJo · · Score: 4, Informative

      I just checked and Chrome keeps my passwords in a file under "C:\Users\\AppData\Local\Google\Chrome\User Data\Default". This directory is permission locked to me only. Even other admins can't access it unless they add permissions manually.

      As far as I can tell Chrome does use filesystem level security to protect individual user's passwords.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    6. Re:This is also the case on Firefox by bmk67 · · Score: 5, Informative

      If only such a thing existed...

      Oh, wait. It does.

      http://lastpass.com/

  2. He missed something by Lieutenant_Dan · · Score: 5, Interesting

    How about the fact that Chrome can import passwords stored in Safari to begin with?

    So Safari has some security issues as well. Where is the "master key" to export passwords?

    I guess the underlying message is that if you leave a computer unattended the information is accessible to anyone. E-mail, passwords, documents, MP3s, etc.

    This is a convenience feature and 99% rather have the convenience of a cached web passwords on their personal computer then worrying about something walking by.

    --
    Wearing pants should always be optional.
  3. Re:Firefox is the same by Anonymous Coward · · Score: 4, Informative

    ../../Set Masterpassword

    face it : chrome sucks at security, but that's no big surprise.

  4. Passwords have to be in the clear anyway by Todd+Knarr · · Score: 4, Insightful

    Passwords have to be stored in a decryptable form, because the browser needs them decrypted to fill in the password fields or to respond to HTTP authentication responses. That means that any malware with access to the browser can get those passwords in decrypted form too. A master password doesn't help, the malware can just get the passwords after I've entered the master password to decrypt them for use (assuming it can't just get the master password when I enter it). The only thing encrypted password storage really protects against is someone with access to the physical storage media but not the running system, or essentially stolen mobile devices (phones or laptops). On those you probably shouldn't be storing passwords at all, because any reversible encryption is too easy to crack using off-line attacks with modern hardware.

    It's similar to my objection to the old "don't write down your passwords" thing: the risk of a remote attack against easy-to-remember passwords is much higher than the risk of an attacker physically getting into the locked drawer of my desk in the locked area of the secured and patrolled building my office is in, and if the attacker has gotten into the locked drawer in my desk I've got much bigger security worries and the attacker has much juicier targets he can go after.

  5. Re:Firefox is the same by Clsid · · Score: 5, Insightful

    You can secure this in Firefox, there is no option to do so in Chrome.

  6. Re:Firefox has done this for years by The+MAZZTer · · Score: 5, Informative

    I don't think people realize that

    1. The passwords are encrypted on disk.
    2. The key for the encryption )on Windows at least) is the user's account... so Chrome can transparently decrypt them as long as you're logged in, for user convenience, though in this case it gives the appearance of not being encrypted.
    3. Chrome MUST be able to store the passwords in a decryptable form so it can USE them, like you asked it to!
  7. Re:Moronic. by aardvarkjoe · · Score: 4, Insightful

    But to make it simple for you, a password can be encrypted with a public key, and then decrypted with Chrome's private key.

    How do you intend to keep a local user from being able to extract the private key that Chrome is using? (Note that in your scenario, asymmetric key encryption is kind of pointless in the first place.)

    See: why DRM doesn't work either.

    --

    How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
  8. Master Password (Thuderbird+Firefox) by 7bit · · Score: 5, Insightful

    Firefox has the option to protect saved passwords with a master passwords and if you already unlocked the password store, in order to read password from the GUI, you need to unlock it again

    Exactly. Mozilla's email client Thunderbird also uses a Master Password to unlock the view-ability of the stored passwords.

    For those who insist on saying that chrome's security method is good enough consider this: How many people use separate log-in's for the "Family" computer that stays on most of the time? Not very many I'd imagine, just too much trouble for most to deal with. This means that both other family members as well as house guests can casually access all those passwords in no time.

    Even if you do use different log-ins consider this type of common scenario: Your son or daughter has a "friend" over and they are cruising the web on her account doing whatever. Say that they are reading some news item or article together when the daughter gets up to go the bathroom. Do you think for one second that she is going to lock the computer and force her friend to wait to finish what she is doing? No. Her "friend" will then be able to casually and quickly access all those passwords and type them into her iphone for safe keeping before your daughter gets back. She now pwns your daughters facebook account, bank account, cellphone account and who knows what else.

    How can anyone with a straight face say that is an acceptable security method? The fact that my open source email client has an easily useable default master password system proves that it is something that chrome could easily implement as well, hell, just copy the open-source code from thunderbird if you need to...

    To be quite frank; when I think of Google or Microsoft "my security" is not something I honestly expect from them, and this newest revelation just further confirms that perception.

    1. Re:Master Password (Thuderbird+Firefox) by bondsbw · · Score: 4, Insightful

      Said bad guy can dump all your session cookies, grab your history, install malicious extension to intercept all your browsing activity, or install OS user account level monitoring software

      This assumes bad guy has access to an account with root/admin access. How about OS accounts that are locked down, for the exact reason of preventing these types of exploits? Obviously Chrome can run on a limited account.

      It is irresponsible to rely on the underlying OS security (or insecurity) as a crutch. So what if someone has physical access? Just because they can type on a keyboard or insert a USB drive, doesn't mean they can run an exploit. What will they do, install a rootkit? What if they can't reboot the computer? What if they can't get past BIOS and full disk encryption?

      Seriously... I'm getting mad just at the thought that the head of any computer security team can think in this way.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
  9. Re:A helpful crutch by fizzup · · Score: 5, Insightful

    Don't do this. It basically puts your passwords (their building blocks, really) in clear text in your command history. It's not any greater security than Chrome has when someone has physical access, and it is significantly less convenient.

  10. Re:A helpful crutch by LordLimecat · · Score: 5, Insightful

    This thread is a goldmine of security theatre. Any hiring personnel could probably also use this to weed out folks who dont actually understand security.