News for hackers. Stuff that matters.
Re:Save password on chrome? Think again chrome://chrome/sett... by neya on Monday December 03, 2012 @07:35AM (#4865094)
Why is the author so excited about this? We all knew this feature exists, infact, personally I have been using it to remember my old passwords. Yes, it could be dangerous if someone else is going to view it, but it is as dangerous as giving them your PC.

I'm surprised that such a 'no-value' article has made it to the front page.

Re:Save password on chrome? Think again chrome://chrome/sett... by nikcub on Monday December 03, 2012 @08:10AM (#4865218)
This is not a security issue, as many have already pointed out. In this way it is related to the 'stored password XSS vulnerability':

http://news.ycombinator.com/item?id=4847505

Two things that need to be debunked.

First, Chrome does encrypt stored passwords. If you open the SQLite database in your profile and query the logins table you won't see a plain text password. For more on how Chrome stores passwords and the code behind it, see this post:

http://www.switchonthecode.com/tutorials/how-google-chrome-s...

Second, Chrome does have a master password. Most users just don't notice it, because instead of being implemented in the application it integrates with the operating system.

You need to be logged in and have access to the Keychain to open the file. Most users leave their keychains open by default when logging into OS X.

Re:Save password on chrome? Think again chrome://chrome/sett... by codeka on Monday December 03, 2012 @07:31AM (#4865077)
This is true of Firefox and (possibly?) IE as well, though IE doesn't have an option to show the passwords in the UI.

If a user has access to your desktop, then it really doesn't matter if your saved passwords are stored in plain text, you've already lost.

And what's the alternative? Ask for a "master" password every time Chrome wants to auto-complete a password for you? That's what extensions like lastpass do, but I don't think it makes sense for that to be the default.

Re:Save password on chrome? Think again chrome://chrome/sett... by tatsuke95 on Monday December 03, 2012 @07:42AM (#4865119)
>"That's what extensions like lastpass do, but I don't think it makes sense for that to be the default."

LastPass keeps you logged in to your "vault" either while the browser remains open, or by time limit. So you're really only entering the master password once per session. I think Firefox has a similar feature; you enter a master password the first time you try to access your passwords.

People not using features like this, at the very the least, is pretty sad. LastPass saved my sanity.

Re:Save password on chrome? Think again chrome://chrome/sett... by vincentkriek on Monday December 03, 2012 @07:56AM (#4865165)
If I want to read my password I need to enter my master password again. Even when I'm logged in. You could log into the website without the master password but reading the password needs it.
Re:Save password on chrome? Think again chrome://chrome/sett... by dante_dev on Monday December 03, 2012 @07:39AM (#4865111)
right, just a hint, for password managing in firefox I use LastPass, it encrypt and autocomplete all.
Re:Save password on chrome? Think again chrome://chrome/sett... by nobbitthehobbit on Monday December 03, 2012 @07:32AM (#4865079)
What do you think it should do instead?

There is no way for it to encrypt the passwords without having to ask you to enter a master password each time it starts.

You could argue that it shouldn't let you see them through the user interface, but I would argue that this would be useless - security through obscurity.

Re:Save password on chrome? Think again chrome://chrome/sett... by S4M on Monday December 03, 2012 @07:54AM (#4865161)
I have no background at all in IT security, but I thought the passwords would be encrypted using a RSA system (the public key would be used to encrypt the password, the private key would be used to read them). The private key would be generated randomly when the browser is built, making it unique, and inaccessible (unless maybe with a debugger, but that's not something that could be done in couple of minutes).

Maybe what I just said is stupid and not feasible, in which case I'd be curious to know why.

Re:Save password on chrome? Think again chrome://chrome/sett... by sourc3 on Monday December 03, 2012 @07:43AM (#4865122)
I agree with this. The entire promise of password auto-save is to save the user TIME. If the browser locked itself every couple of minutes and asked for a master password between visits, it would not help the user save TIME.

I think the author is confusing a feature exclusively created for convenience with one that would be targeting security exclusively.

PS: However, what better way to get HN traffic than a sensational title like that...

Re:Save password on chrome? Think again chrome://chrome/sett... by Xylakant on Monday December 03, 2012 @07:46AM (#4865141)
it could for example use the system keychain on MacOS and not expose an interface. Chrome could then read the passwords from the keychain, but any user-access to the password would have to go through "keychain access" and require the users logon password to show in plain. Storage would also be encrypted, so it wouldn't be "security through obscurity" but rather a real step towards protected password storage.
Re:Save password on chrome? Think again chrome://chrome/sett... by cocoflunchy on Monday December 03, 2012 @07:28AM (#4865070)
This is the main problem with Chrome for me at the moment. How hard can it be to add a master password prompt before showing the passwords? Or even to only store them encrypted?

I know they wouldn't really be safe even if encrypted, but I just want them not to be available to any random person that has access to my computer for 3 minutes...

Re:Save password on chrome? Think again chrome://chrome/sett... by itp on Monday December 03, 2012 @07:31AM (#4865078)
Not intended to excuse Chrome here in any way, but I've had no problem using KeePass for my passwords. I use a Chrome extension to let KeePass entries auto-populate in the browser, and my database locks itself after only a few minutes of inactivity (or I can explicitly lock it).
Re:Save password on chrome? Think again chrome://chrome/sett... by PeterisP on Monday December 03, 2012 @07:46AM (#4865138)
If you want to store them encrypted, then chrome has to ask your master password every time you want to actually use the stored passwords (i.e., open a random website). If you don't store them encrypted - then your passwords (as well as everythin else) are available to any random person who has access to your computer for 3 minutes, and not showing them directly is just a minor inconvenience.

Actually, the solution is simple - don't have random persons access your computer for 3 minutes; always locking your screen when leaving is the simple and effective way to counter this risk and many others.

Re:Save password on chrome? Think again chrome://chrome/sett... by michh on Monday December 03, 2012 @07:32AM (#4865083)
A random person with access to your computer could easily install a keylogger in those 3 minutes.
Re:Save password on chrome? Think again chrome://chrome/sett... by runarb on Monday December 03, 2012 @07:55AM (#4865164)
True, but that requires much more technical know-how.

For one you need to have a keylogger available when the victim is away from the computer. The keylogger may also be detected by a virus killer, now or it he further. The key logger most also send the passwords somewhere, leaving a forensic trace (or the culprit must get access to the computer again to retrieve the passwords).

The chrome "hack" on the other hand can easily be done if you have the opportunity and require no technical know-how or preparations. It also leaves no trace.

Re:Save password on chrome? Think again chrome://chrome/sett... by antihero on Monday December 03, 2012 @07:45AM (#4865134)
No fucking shit, it has to be able to decrypt them to send them to websites.
Re:Save password on chrome? Think again chrome://chrome/sett... by pwg on Monday December 03, 2012 @07:38AM (#4865108)
Don't save your passwords in the browser. Instead save them in a password manager such as Password Gorilla: https://github.com/zdia/gorilla/wiki

This way, your passwords become "browser independent". You can switch browsers at will, but still have all your passwords in the same place.

Re:Save password on chrome? Think again chrome://chrome/sett... by ef4 on Monday December 03, 2012 @07:47AM (#4865143)
I used Password Gorilla for a long time and it's ok.

But I like KeePassX better. Mostly because Gorilla can be absurdly slow sometimes.

Re:Save password on chrome? Think again chrome://chrome/sett... by morsch on Monday December 03, 2012 @08:00AM (#4865178)
On Linux Chrome (or just Chromium?) can use your system keyring to store passwords in a fairly secure manner. Now if only a) Firefox did that, too, and b) they could agree on a common standard so that you could share passwords between browsers.

See e.g. http://code.google.com/p/chromium/wiki/LinuxPasswordStorage

Re:Save password on chrome? Think again chrome://chrome/sett... by baldurthoremils on Monday December 03, 2012 @07:44AM (#4865129)
This problem has been mitigated in OS X with Keychain, Gnome with Keyring and KDE with Kwallet. If there would be a standard application like that for passwords in Windows it would probably make it easier for most users to keep their passwords from being so easily accessible in cleartext (and I know there are a lot of 3rd party options available, but only power users tend to install those).
Re:Save password on chrome? Think again chrome://chrome/sett... by baq on Monday December 03, 2012 @07:57AM (#4865168)
Re:Save password on chrome? Think again chrome://chrome/sett... by xfs on Monday December 03, 2012 @07:55AM (#4865163)
Pidgin has good writeup of the rationale for locally stored passwords being plain-text. https://developer.pidgin.im/wiki/PlainTextPasswords
Re:Save password on chrome? Think again chrome://chrome/sett... by drazion on Monday December 03, 2012 @07:35AM (#4865093)
most browsers don't encrypt your locally stored password ... if you've not setup a master password on Firefox it's accessible there in plaintext as well to almost anyone with the knowledge.

Firefox: Tools->Options->Security click on Saved Passwords button.

Does Chrome need a master password system? Yes Is Chrome non-standard by not encrypting the locally stored passwords? Not really

Re:Save password on chrome? Think again chrome://chrome/sett... by nodata on Monday December 03, 2012 @07:46AM (#4865139)
Chrome installs as your own user, not admin. If an attacker can read your disk, he can probably patch chrome to store your master password too.
Re:Save password on chrome? Think again chrome://chrome/sett... by rmc on Monday December 03, 2012 @07:40AM (#4865114)
Of course! If you don't want to have to put in a password, then of course it will have to be (a) stored and (b) stored in plain text!
Re:Save password on chrome? Think again chrome://chrome/sett... by vacipr on Monday December 03, 2012 @07:35AM (#4865091)
LastPass anyone ?