Slashdot Log In
IE and Firefox Share a Vulnerability
Posted by
kdawson
on Tue Feb 27, 2007 12:51 AM
from the upload-with-daring-and-whimsy dept.
from the upload-with-daring-and-whimsy dept.
hcmtnbiker writes with news of a logic flaw shared by IE 7 and Firefox 2.0. IE 5.01, IE 6, and Firefox 1.5.0.9 are also affected. The flaw was discovered by Michal Zalewski, and is easily demonstrated on IE7 and Firefox. The vulnerability is not platform-specific, but these demonstrations are — they work only on Windows systems. (Microsoft says that IE7 on Vista is not vulnerable.) From the vulnerability description: "In all modern browsers, form fields (used to upload user-specified files to a remote server) enjoy some added protection meant to prevent scripts from arbitrarily choosing local files to be sent, and automatically submitting the form without user knowledge. For example, '.value' parameter cannot be set or changed, and any changes to .type reset the contents of the field... [in this attack] the keyboard input in unrelated locations can be selectively geared toward input fields by the attacker."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Awww, that's so cute (Score:5, Funny)
Re: (Score:3, Insightful)
It's certainly romantic, kind of - a bit like a fake pic of Bush and Osama in bed together that was floating around a few years ago.. ewwww!
Maybe the vulnerability they share is "that they both run in Windows".
Re: (Score:3, Informative)
Save the windows bashing for actual causes.
Re: (Score:3, Funny)
Yea, but Firefox has let itself go and has a lot of glut in it's mid section.
Nope (Score:4, Informative)
Neither on 2.0.2 xpsp1 (Score:2)
Yep I have a boot.ini (Score:2)
Re:Nope (Score:5, Interesting)
I'm not too worried about it, because in my office I use Linux and I run WinXP in a virtual machine, in that VM I use a nonadmin account for normal stuff - viewing and priting Word or Excel docs, instant messaging, AND I use the Run As feature to launch browser windows as yet another different nonadmin account. On the Linux host itself, I run firefox as a different user from my main user account.
So if I gather correctly, you can grab my bookmarks or downloaded files, IF I actually type all the letters to those specific paths? That's it?
I'd be more worried about Windows graphic driver exploits - graphics drivers seem a bit shoddy- plus they are all about performance, not security. And currently it's basically - Nvidia, ATI and Intel.
I've had weird things happen with Linux sound though so I wonder about the security of such stuff. I've pretty much given up on getting Linux sound to work properly for sustained periods of time (this on suse 10.0, perhaps I should try 10.2).
Parent
Re: (Score:2)
If I'm reading this right, yes, with the added limitation that Firefox won't budge without a fully qualified path name, so you'd have to type a stream of characters that included a few backslashes.
If I'm reading this right, you could combine it with some exploit that breaks the same-origin policy and steal text typed in elsewhere, but then if you've broken the sa
Re:Nope (Score:4, Insightful)
If you use the same user account for work, ssh and browsing then you risk exposing stuff like:
~/.ssh/id_dsa
~/.ssh/id_rsa
Which in some cases might be more interesting than
Parent
Re: (Score:3, Informative)
Other than getting a full list of user names on my system, what does the /etc/passwd file contain that I don't want others to know? It's not like passwords are stored in there or anything...
Re: (Score:3, Informative)
*Doh*
I wonder how many other /.ers tried it, like I did and couldn't get it to work because they forgot to turn off NoScript...
Re: (Score:3, Informative)
How it works (Score:3, Insightful)
Is the way this works by attaching keydown/keyup events to the document object, and then switching focus to the file upload field in order to let the user fill in the upload? Ingenious :)
So a browser would fix this by not allowing programmatic access to focus() for file uploads?
It doesn't sound like this would be particularly exploitable because you'd need them to type the letters in the right order (with other arbitrary letters as padding between this). Getting someone to type something might prove easier though now due to the prevalence of Capchas.
Re:How it works (Score:5, Insightful)
You took the words right out of my keyboard, no pun intended*.
It won't affect my commenting on blogs or sites that I normally frequent. But after that demo, I admit I probably won't look at captchas the same way again.
* OK maybe one quick pun.
Parent
Re: (Score:3, Insightful)
The real common vulnerability... (Score:3, Funny)
For good or ill, I don't know many regular users, of course it is lonely at times...
Re: (Score:2)
Doesn't work with Firefox 2.0.0.1 on Windows XP (Score:4, Informative)
Also, there is no need to type all that jibberish about cheese. Just slowly type in:
C:\boot.ini
Type it too quick, and the javascript in the background won't be able to keep up with the rate of keystrokes you enter.
Re: (Score:2)
It worked for me (yikes!) with 2.0.0.2 on Windows 2003; I presume XP would be similar.
Re: (Score:2, Informative)
Re: (Score:2)
False. These are the defaults on XPSP2 and Win2003:
It works for anybody >= Power Users.
Then I tried with an administrator user, and still boot.ini wasn't shown.
It works for Administrators too.
Fud?
No
Re: (Score:2)
Also, there is no need to type all that jibberish about cheese
The gibberish is there to demonstrate pulling selected key presses out of the string that you type in. Getting someone to type a path to a file would be tricky; pulling a path out of a reasonably long message would be much, much easier (although getting enough slashes would seem to be unlikely...)
Vulnerability doesn't work on Vista (Sort of) (Score:2, Interesting)
I had to create a Boot.ini file in my C: drive since Vista doesn't have it there anymore. IE7 and Firefox will be able to pull information out of the file if you have permissions to read the file but if you don't it won't work. This is probably why some people are reporting it doesn't work in Win XP with a user account. Only admin accounts are affected because the user
Re: (Score:2)
Often when somebody prints out a document to distribute at a meeting they print the full path to the document in the footer of every page. This has always seemed like a bad idea to me.
OT: CS:101 - Lost updates. (Score:3, Informative)
Managing documents is not a task to be taken lightly, especially when the document is the product of more than one person, document management systems work in essentially the same way as source control systems. The reason the file is on the footer is to deliberately identify where the document came from (ie: is it "offici
Re: (Score:2)
Maybe you want the meta information, or the letterhead, embedded macros or a later version.
Try as I might... (Score:2, Interesting)
Re: (Score:2)
Re: (Score:3, Informative)
I think the presence of a C:\ might help.
Works on FireFox under Linux (Score:5, Interesting)
http://www.thanhngan.org/fflinuxversion.html [thanhngan.org]
Parent
Sad realization (Score:2, Funny)
Anyone else try Opera ? (Score:3, Insightful)
Windows XP
As Administrator
With No 3rd party anti-virus or anti-spyware protection whatsoever (total of 20 processes running including Opera)
Opera 9.10
All scripting enabled
Checked the presense of boot.ini
And while it did continue to a new page when I typed the phrase, that new page didn't have the contents of my boot.ini file.
Just a message telling me what that page was about.
Re: (Score:2, Interesting)
They already share a vulnarability... (Score:2, Insightful)
Requires javascript (Score:3, Informative)
New/unknown sites won't be able to do this, but my previously "trusted" ones will.
Variation on an old bug (Score:5, Informative)
Zalewski's version is bug 370092, and he was unhappy when I marked it as a duplicate of bug 56236.
Re: (Score:3, Insightful)
What about Konqueror? Or Safari? Or Opera? (Score:4, Interesting)
The vulnerability is called 'users' (Score:2)
And the workaround is... (Score:2)
Re: (Score:2, Interesting)
If so then it's still vulnerable because they'll release a patch to stop hackers from uploading user files, like those with predictable filenames. It seems wrong to say that IE+Vista aren't vulnerable when the IE bug still exists.
(of course if IE7 prevents giving focus to the upload field then I'm wrong -- but I don't think that
Re: (Score:2)
From what TFA says though, protected mode protects IE on Vista.
Re:IE7 Vista (Score:5, Informative)
Parent
Re:IE7 Vista (Score:5, Insightful)
The latest Web 2.0 Captcha:
C:\ W IN D O W S\ sys tem 32\config\S AMYou heard it here first!
Parent
Re: (Score:2, Funny)
Re: (Score:2)
It could be worse. (Score:2)
Re: (Score:2)
Re:Offtopic rant (Score:5, Informative)
Seeing this in tech news just shows how much this has spread. I no longer want to use the word enjoy at all because every time I hear it, I am reminded of this usage and feel a twinge of annoyance.
I want my English language back from these idiots!
You'll have to go a long way back to claim this one.
Parent