Slashdot Log In
Firefox 2.0 Password Manager Bug Exposes Passwords
Posted by
kdawson
on Tue Nov 21, 2006 06:25 PM
from the be-careful-out-there dept.
from the be-careful-out-there dept.
zbuffered writes, "Today, Mozilla made public bug #360493, which exposes Firefox's Password Manager on many public sites. The flaw derives from Firefox's willingness to supply the username and password stored on one page on a domain to another page on a domain. For example, username/password input tags on a Myspace user's site will be unhelpfully propagated with the visitor's Myspace.com credentials. It was first discovered in the wild by Netcraft on Oct. 27. As this proof-of-concept illustrates, because the username/password fields need not be visible on the page, your password can be stolen in an almost completely transparent fashion. Stopgap solutions include avoiding using Password Manager and the Master Password Timeout Firefox extension, which will at least cause a prompt before the fields are filled. However, in the original case detailed in the bug report, the phish mimicked the login.myspace.com site almost perfectly, causing many users to believe they needed to log in. A description of this new type of attack, dubbed the Reverse Cross-Site Request (RCSR) vulnerability, is available from the bug's original author."
This discussion has been archived.
No new comments can be posted.
Firefox 2.0 Password Manager Bug Exposes Passwords
|
Log In/Create an Account
| Top
| 315 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
But but but.... (Score:5, Funny)
I sense a disturbance in the force... (Score:5, Funny)
Cue "still more secure" arguments now.
Re:I sense a disturbance in the force... (Score:4, Informative)
Please look at the bug report. Submission of testcase file is November 12 (9 days ago)
From TFA: The clock is ticking... will Firefox beat IE's response time?
Re:I sense a disturbance in the force... (Score:5, Funny)
Re:I sense a disturbance in the force... (Score:5, Interesting)
Re:I sense a disturbance in the force... (Score:4, Informative)
HTML forms work just fine without Javascript. And yes, you're effectively tricked into clicking an action button. If you look at the sample "injected HTML", they make it look like the user is clicking a Flash movie when in fact they're clicking a blank image-type <input> on the page. This submits the GET-style form. So long as the user is "tricked" into clicking something, and forms are allowed, this could steal the password from the password manager.
The code is available in the text box at the bottom of the this page [info-svc.com]. Neither Flash nor Javascript is required to trigger the exploit, just a click from a user in a attacker-defined position on the page.
Many FF fans would say... (Score:5, Insightful)
OK, jokes aside, someone just released an exploit into the wild which *can't work on IE*. And they presumably still thought they were going to get something of value on it. Hiya, FireFox, welcome to the "visible enough to be a target" club. And it only gets worse. I hope your million bug finding eyes are bright and perky because it only gets worse and it never, ever stops.
Re:Many FF fans would say... (Score:4, Interesting)
And thus I think the million bug-finding eyes will be considerably less bleary if there are a million exploit-writing fingers. When you have anything that turns security into convenience like this, you should say "Hm. This could be exploited by foo method, and if this exploit becomes viable - if there's some popular website that allows arbitrary HTML - we should remove this feature for our users' sake."
Re:Many FF fans would say... (Score:5, Insightful)
(http://www.kibbee.ca/)
passwords have failed (Score:5, Insightful)
(http://www.spamgourmet.com/)
Now that its 2006, can we now use a better form of "authentication" than a few ascii characters?
Every website wants you to have a password. You know, for important stuff like making a purchase because you use a password for a purchase at a brick and mortar store, right?
Well, since its a good practice to use unique passwords, and users get forgetful, then they use the web browser tool to store their passwords, then they forget their passwords, and when they use another computer or update their existing one, their tool does not work, and if it does work, then the browser gives away your passwords.
I don't use a password to get into my home, I don't start my car with a password, I don't use a password to get into my work. In fact, I don't even have a key for my work, server room, nothing (RFID). But all day at work, these programs continually ask for my password to the point that I dont consider my password secure because I have to change it, and use it so much, I'm desensisized (sp?) and say who cares?
Can we get over passwords soon?
Re:passwords have failed (Score:5, Insightful)
(http://www.aperte.nl/ | Last Journal: Monday July 07 2003, @05:11AM)
How far you go, it doesn't matter. There will always be a trade-off between security and convenience. Personally, I trust a good lock more than I trust RFID. But even if you go all the way to biometrics, there will always be way a to hack the system.
Even so, this Firefox security flaw is a nasty one.
Re:passwords have failed (Score:5, Interesting)
(Last Journal: Saturday September 20 2003, @01:55PM)
Infinitely more secure than our current password system, a lot more convenient (think Microsoft Passport's bragged about convenience, except none of your data is stored on a central server), and all around the BetterWay(tm). The main downside if when roaming to another machine if you don't have your key, you don't have access. This can be addressed with either being able to fall back on a password (removing a lot of the security), or some means of authenticating to your home computer.
You could also add some sort of spec for feeding VCard info into the agent so that sites could use it to do a sort of shared profile feature, where you'd authorize a site to receive certain info and save you a lot of time filling stuff out.
Unfortunately this is just yet another thing on the list of "tech the way I think it should be", not anything on anyones todo lists.
Java ring? (Score:5, Interesting)
(http://gathman.org/ | Last Journal: Friday January 20 2006, @01:41PM)
Re:passwords have failed (Score:5, Insightful)
(http://www.strangehouse.com/ | Last Journal: Friday December 22 2006, @02:19PM)
Any site that uses financial information (my bank, eBay, PayPal, Amazon, or whatever I'm buying, my own servers, etc.) doesn't get the password stored in any form of password manager. On the other hand, inconsequential services like news sites, LUG sites, aquarium discussion groups and the like may have the passwords stored. If it's important, don't store it, don't write it on a post-it note, don't tell your friends.....people cannot be trusted.
It seems that any security protocol can be circumvented by exploiting the end users who use them poorly or rely on something other than common sense for security.
It took all of about 5 minutes to explain phishing to my girlfriend. Now, she's almost 1/104358506th as paranoid as I am, which is a good start.
Now, I'm out of tinfoil......off to the store.
Is it used? (Score:5, Insightful)
(http://www.sbyrne.org/)
Re:Is it used? (Score:4, Insightful)
(http://phroggy.com/)
Saving passwords absolutely should be a browser feature; it's a feature I use all the time.
However, I too am ashamed that such a big bug - or rather, design flaw - could make it into Firefox. I understand the usefulness of being able to use the same saved password information across multiple login forms on one site, but surely someone should have realized the danger here. I mean, these are browser developers. They should have known better.
Hopefully they'll figure out a solution soon.
Not a lot of better options (Score:5, Insightful)
(http://kadin.sdf-us.org/ | Last Journal: Tuesday October 16, @01:46PM)
I was disappointed to hear of this vulnerability, because I use Google Browser Sync pretty heavily for keeping track of cookies and trivial passwords, and to be honest I'm not really sure what I'd do without it. More important passwords I keep in an old Palm Pilot using a GPLed password-management and generation program on it, but recalling passwords from it is a pain (takes several minutes to get Palm out, type in master password, etc.).
Re:Is it used? (Score:4, Interesting)
(http://www.firehed.net/)
Of course, the truly telling moment was when I found out how lame his password is. Not that I'd expect anything different from someone dumb enough to store their password on someone else's computer in the first place.
So, in other words, passwords continue to be useless for people dumb enough to leave them lying around. I've used the same password for years and it's by no means secure (only just a bit more secure than using my first name) but it's never been an issue for me. The only time I've been concerned is when websites force me to come up with something that fits their requirements, because that means that I do end up writing it down somewhere. The sooner webmasters realize that setting specific requirements for passwords makes them less secure (my bank requires an alphanumeric PW 6-8 letters long with mixed case - that massively narrows down a brute force attack), the better. In the end, most of it comes down to user stupidity, so we might as well not limit the complexity of good users or force them to use something too obscure to remember (or, worse, say 'write this down in a place you can easily access').
Re:Is it used? (Score:5, Informative)
Re:Is it used? (Score:5, Interesting)
(Last Journal: Friday August 17, @08:29AM)
just update it? (Score:2)
Arrrrr (Score:4, Insightful)
(http://csilo.com/)
Worst idea ever. The question isn't why wasn't this discovered earlier, but who decided this was a good idea in the first place?
Re:Arrrrr (Score:5, Insightful)
(http://www.squarefree.com/ | Last Journal: Saturday August 09 2003, @09:27PM)
I'd be perfectly happy with this becoming part of the accepted security model for web applications, just like "don't let user-generated content include SCRIPT tags with arbitrary content".
Not just Firefox 2.0, also IE6/7 and earlier F'fox (Score:5, Informative)
(http://slashdot.org/ | Last Journal: Friday October 01 2004, @07:19AM)
So much for me being smug about going back to Firefox 1.5!
stopgap measures include... (Score:4, Funny)
(http://intrinsicsecurity.com/ | Last Journal: Sunday August 28 2005, @11:11AM)
i used that one (Score:1, Troll)
(http://www.atomjax.com/)
I used that one on my girlfriend. I believe it's also called the "Dirty Sanchez".
Meh ... (Score:1)
Dis-satisfied with v2.0 (Score:4, Informative)
(http://slashdot.org/ | Last Journal: Monday January 31 2005, @05:48PM)
It also took me a while to figure out how to remove the close button from each tab [wordpress.com]. The tab scrolling "feature" was also a point of great annoyance that took up more of my time to find a fix [lifehacker.com].
In short I'm just not jumping for joy over FF. This new flaw happens to come to light the day after I search Google for a way to manually add userids and passwords to the FF DB (any ideas?). This was to address the problem of FF not picking up some text fields as userid and password fields. One solution I found was RoboForm [roboform.com], though I'm not sure I want to pay for what I think should be a fairly easy thing to do inside FF. FF is getting better but personally I'd rather be using Mozilla 1.7.x.
Re:Why I'm not using FF 2.0 (Score:4, Insightful)
Editing about:config is nearly as fast, but finding out that there is a value to edit, what it's called and what to set it to is a damn sight slower...
I Love FF BUT its not in the spirit of OS (Score:2)
(Last Journal: Sunday April 01 2007, @08:10AM)
Sounds more like a bug in myspace (Score:2, Insightful)
(http://www.slightlymad.net/)
Allowing full html coding, including embedding java or javascript, is an invitation for the unscrupulous. That's one of the 500 reasons I can think of to never visit a website like myspace.
That said, much like language, the web is defined by its users. While I don't feel like it's Firefox's responsibility to fix issues like this, they'd do best to be aware of it. It wouldn't be a bad idea at all to tie password remembering to the exact url (at least everything up to the "?") by default.
That is Scary (Score:2, Informative)
(http://www.erichosmer.com/)
Waiting for FF 3.0 (Score:1)
The patch... (Score:1)
(http://everydaycoder.com/)
no need to save passwords --generate em on the fly (Score:5, Interesting)
Obligatory disclaimer! (Score:2, Funny)
Thought until now of multiple personality but mystery solved! It was just my browser!...
PS: I shall not be held accountable for ANY of my comments...
If it affects Firefox and Internet Explorer... (Score:2, Interesting)
software level bug (Score:1)
WARNING (Score:4, Informative)
(http://www.members.iinet.net.au/~tezbo | Last Journal: Thursday June 09 2005, @10:20AM)
Great! (Score:1)
(http://philhost.selfip.net/)
Credit card numbers are stored too. (Score:2, Informative)
(Last Journal: Saturday June 30, @01:22AM)
They refuse to fix it, they say it's not a bug.
I don't think it's vulnerable to this because it's not fully automatic, however, all someone has to do to get your credit card number is type the first digit and it'll fill in the rest.
Their advice, "Don't use autocomplete".
didn't work for me (Score:1)
(http://rod.pu-gh.com/ | Last Journal: Thursday October 26 2006, @10:58AM)
Come on... (Score:1, Insightful)
Alternatives to browser stored passwords (Score:4, Informative)
Seems Opera Isn't Affected... (Score:1)
(http://www.last.fm/music/Anti-Prefix | Last Journal: Monday May 10 2004, @04:31PM)
All the more reason to use opera. (Score:1)
Thank God! (Score:3, Funny)
(http://www.instascreed.com/)
Phew!
Password safety (Score:3, Informative)
(http://www.petedavis.net/)
I could care less if someone hacks my Slashdot account or my wikipedia account. The worst thing they can do is vandalize under my name. And as for hotmail, they can have my spam. And were I to have a myspace account, I could care less if someone got that too.
Fortunately, my bank and credit card companies don't allow others to create their own pages, so I'm not too concerned. I suspect this will get fixed long before it becomes a concern for me.
Hey (Score:2)
Eventually I'd thrown enough random ideas at the problem that I ended up finding out about this nightmare waiting to happen [mozilla.org]. Just for kicks I tried putting some code in the CSS to alert() all the (supposedly hidden) password values on the page. It worked.
My problem has never been in this area. (Score:2)
(http://linuxrebel.org/)
PassPet (Score:1)
Actually a firefox security hole? (Score:2)
I would love to test whether it works when firefox is using the noscript addon, but I cannot, because I don't use the password manager, it is just retarded to let your browser remember your passwords, really.
The real intent here... (Score:2)
(http://www.liquidshells.net/)
I couldn't get it to work... (Score:2)
(Last Journal: Friday August 18 2006, @01:49PM)
Not sure I understand what's supposed to happen. After clicking on the vid (on Chapin Information Service's demo), am I supposed to automatically go to Google? Chapin's demo exploit seems to tell me that I would be redirected to Google.com. It didn't...it went to YouTube where I was logged in under my normal user:pass. I didn't see any sign of anything in the address bar revealing my Chapin user:pass. Is the fact that I already had a YouTube account registered with Password Manager what caused the exploit to fail? Also, my popup blocker stopped Chapin's site from launching something first time through. Was this what threw a wrench in it? I tried manually going to Google.com immediately after clicking on the vid another time through (registering the same user:pass as the first time), but I just don't see anything to indicate that the exploit worked (my user:pass from the demo appears in Googe's address bar? Not that I could see.). Can someone please explain in a bit more detail what should have happened? Mozilla's exploit demo seemed to fail as well, dumping me on a "server not found" error page, but maybe that's what it's supposed to do if the exploit worked.
Tried the second demo on Mozilla's bugtracker. My popup blocker stopped a new window from launching. Nothing else happened that I could tell.
Appreciation expressed in advance to anyone who can enlighten me on what I should be experiencing in Firefox 2. Is this a Windows-version-only thing? I'm on Fedora Core 5.
* * * * *
All mankind is divided into three classes: those that are immovable, those that are movable, and those that move.
--Benjamin Franklin
myspace... (Score:3, Informative)
I doubt you will find many places other than myspace where this "bug" will be exploited. Why? Because most sites that host user generated content are responsible enough to remove the users ability to post potentially-malicious markup language on the site. These sites strip almost all (if not all) markup and only allow a small handful of decoration tags like BOLD. (Slashdot is a perfect example of allowed html markup)
The problem is that the code on myspace is shoddy at best, and the fact that users can put any kind of html on their myspace page was an accidental result of such. Then when users figured out they could customize their page with css and other markup code they were happy, and so myspace left it in.
Nowadays everyone is so used to myspace letting them customize their page (in a shitty hack sort of way) that if they were to take that aspect away I think myspace would die in a month (I know a lot of girls who only go on myspace so that they can upgrade their page and make it look better by customizing it) so they are not likely to ditch this "feature" of their site.
FF problems (Score:2)
(http://en.wikipedia....vated_protein_kinase | Last Journal: Monday April 30 2007, @06:22AM)
First, it deletes files when they are dragged into the browser window . IE won't even allow you to do the dragging.
Second, if you are getting messages from your Yahoo groups by e-mail on your gmail account, the Yahoo ads are overlaying the text. IE does not do that.
I can easily foresee that if this will continue I am going to consider switching to some other browser. Any recommendations?
Not that bad (Score:2)
(http://en.wikipedia....vated_protein_kinase | Last Journal: Monday April 30 2007, @06:22AM)
I suspect that many bugs like that can be easily avoided by clean behaviour.
Could Ajax make it worse? (Score:1)
Vulnerability worse with AJAX/Web 2.0? (Score:2)
(http://www.openstandards.net/)
This flaw affects Seamonkey as well (Score:2)
(http://www.squeezer.net/)
I can't agree that this is a bug in Firefox (Score:1)
After carefully examining the issue, I come to the conclusion, that for this supposed issue to show up, it means that the legitimate site you are visiting has been hijacked, and a fake login form inserted. If that is the case, the user is liable to enter the username and password. Firefox password manager or not: when the user clicks submit, the password goes to the other site, whether password manager is enabled or not.
Anyone who can inject arbitrary HTML can possibly get your password. This isn't a bug, it's a consequence of submitting your password using an HTML form, and allowing other users fine control of what scripting and form elements appear on the page.
Sites that wish to guard against such attacks should utilize the more robust systems available for authentication, which include: HTTP authentication and Client-side SSL certificates. In both of these cases, a HTML page need not have direct access to the authentication information provided by the user to the web server.
Users of the browser should just be aware that 'password manager' is not an anti-phishing feature in this version of Firefox -- if the site you are visiting wishes to spill your password to another site, when you login, nothing can stop them, whether you use password manager or not. In fact, they can use AJAX to send your password to who knows what other sites in the world, from the moment you start typing it into a HTML form.
I only hit 'save password' for places where it's safe to do, and when I do so, I rather have it err on the side of filling in a password field, than ever have it err on the side of 'not filling in the password', because it thinks a form might be fake. I'll be the judge of that.
Cross-site forms are a feature of HTML. The issue in this case is that a page author can insert a malicious password form on a legitimate site in the first place.
Exploitation of this so called "bug" relies on the site you visit cooperating with the outside site.
That tells me it's not a bug in password manager. The bug is that a site allows a malicious login form to appear on it in the first place. EOM.
passwordmaker (Score:2)
(http://www.popmonkey.com/ | Last Journal: Sunday December 12 2004, @04:26AM)
Been there done that (Score:2)
(Last Journal: Monday October 09 2006, @07:35PM)
Re:What an incredible gaffe (Score:3, Informative)
(http://slashdot.org/ | Last Journal: Friday October 01 2004, @07:19AM)
Re:What an incredible gaffe (Score:3, Insightful)
Re:What an incredible gaffe (Score:1)
I wouldn't think this would be a hard fix. Silly Firefox development team. =)
Re:Just 2.0 ? (Score:1)
(http://spatley.com/)
Re:Just 2.0 ? (Score:1)
(http://debcentral.org/)
Re:Just 2.0 ? (Score:1)
(Last Journal: Wednesday June 06, @03:44PM)
Somehow Firefox 1.5.0.8 seems to allow this exploit also. Are you sure 1.5.0.7 isn't vulnerable? If so, then wow I guess things went backwards between the two releases.
maybe it doesn't work the same on ubuntu
Although this could actually be why, I ran the test on a Windows XP Pro machine. If this only happens on Windows (though I don't know this for certain) chances are it might not be the Firefox team's fault after all. Interesting that 1passwd [it-observer.com] appears to have released a new version of their password manager little over a week ago before this exploit became publically known. Mac users might like the OS X keychain integration.
Re:Just 2.0 ? (Score:2)