Slashdot Mirror


Apple Fixes Safari "Carpet Bomb" Windows Vulnerability

Titoxd writes "Apple has released a new version of Safari that fixes the carpet bomb vulnerability in Safari 3.1 for Windows. This comes in the heels of Microsoft recommending against using Safari in Windows, as well as the release of code exploiting this vulnerability."

29 of 99 comments (clear)

  1. You mean? by Centurix · · Score: 5, Funny

    You think the carpet bombers did this?
    Face it man, that rug really tied the room together...

    --
    Task Mangler
  2. I installed the update... by Anonymous Coward · · Score: 4, Funny

    And my computer rebooted into OS X. Not that I mind, really.

  3. But did they fix the real bug? by rustalot42684 · · Score: 5, Insightful

    Did they fix the bug where Safari installs as an iTunes update? I'd say that that is a fairly severe bug right there.

    1. Re:But did they fix the real bug? by tokul · · Score: 5, Informative

      Did they fix the bug where Safari installs as an iTunes update?
      New (released more than one month ago) Apple Software Update has two sections. One for updates and other for new software. When Safari was introduced, Software Update had only one section.
    2. Re:But did they fix the real bug? by Briareos · · Score: 3, Informative

      New (released more than one month ago) Apple Software Update has two sections. One for updates and other for new software. Last I checked the "new" software was still checked by default - and I really don't feel like installing anything that ASU comes with right now. So does anyone know if they finally fix THAT idiocy?

      np: Seabear - Sailors Blue (The Ghost That Carried Us Away)

      --

      "I'm not anti-anything, I'm anti-everything, it fits better." - Sole

    3. Re:But did they fix the real bug? by 99BottlesOfBeerInMyF · · Score: 4, Insightful

      Last I checked the "new" software was still checked by default - and I really don't feel like installing anything that ASU comes with right now. So does anyone know if they finally fix THAT idiocy?

      Why would they need to "fix" it. It is operating as they prefer it, the same as all the software MS includes in Windows that most of us would prefer we did not have to install. Is it so difficult for you to uncheck that box if you're performing an update?

    4. Re:But did they fix the real bug? by torchdragon · · Score: 5, Insightful

      Yes.

      Recently, the Java update software has begun asking for the Open Office installer to be installed on the system during an update for Java. Several users at my company have clicked straight through and added more crap to their desktop/registry/uninstall information.

      Can we blame the users for not reading every detail and not unchecking a checkbox? Yes.
      Can we also blame software vendors who are relying on the aforementioned user behavior to add their software to your computer on the sly? Yes.

      Its a bad practice and it needs to stop.

      If something is required for the operation of a software package, default to selected.
      If something is optional or not required for the operation of a software package, default to unselected.

      Why are we allowing marketing to override good engineering?

      --
      "Don't feel bad for me child; I'm the monster that hides under your bed."
    5. Re:But did they fix the real bug? by lusiphur69 · · Score: 5, Insightful

      The real question is why are you defending Apple's unethical bundling - when the same is performed by Microsoft we criticize it. Call a spade a spade or you look foolish. Face it, this kind of practice is unacceptable, whether or not it comes from your favorite company.

      Is it so difficult for you to uncheck that box if you're performing an update? For me, no. For millions of uneducated end users, it is. Get it?
    6. Re:But did they fix the real bug? by Anonymous Coward · · Score: 4, Insightful

      No, it isn't like that. IE7 is an upgrade to something already installed and, to most end-users, in use. Safari is an entirely new piece of software. There's a difference, whether you like it or not.

    7. Re:But did they fix the real bug? by Calibax · · Score: 2, Insightful

      Nevertheless, IE7 broke a bunch of stuff at my company. The IT folks spent a considerable amount of time and and energy getting everything on the intranet working with it.

      I would strongly argue that IE7 was a new product with a similar name, and not an upgrade.

  4. What a stupid vulnerability by sakdoctor · · Score: 2, Insightful

    It's pretty common that some badly configured web server will send content to me that firefox will then ask if I want to download.

    Just letting it download and then moving on to the next file is...well such an obviously stupid behaviour.

    Also, please don't let carpet bombing become the next security buzzword along with bricking and zero-day.

    1. Re:What a stupid vulnerability by tlhIngan · · Score: 3, Informative

      Apple's solution is to let things download, but put them in the downloads folder and flag them as untrusted content from the internet (well not flag them as trusted, since the default is untrusted). That is to say, that is their solution on OS X. On Windows, there is no download folder and for some reason they screwed up and did not flag it as untrusted in Vista (XP does not support that either). In my mind, their solution on OS X is superior, because it also helps solve the problem of executables masquerading as data.

      Actually, Windows has this as well.

      If you download a file using Internet Explorer, an NTFS file attribute is set that marks it as "downloaded - untrusted". Double click the file and you get a popup asking "DO you want to run this executable?" with a popup and showing the executable properties (signed by, etc). Problem is, it requires that you run NTFS, and if you copy the file to a network server, that network server to support extended attributes. Use Firefox or other browser, and the attribute isn't set, or copy to a fileserver that doesn't support extended attributes, and it's lost.

      (Most frustrating when you have to apply 12+ patches to a program that Microsoft Update doesn't have support for. I wrote a little bash script that shells out cmd.exe (was an MSI file) to do this, but you're still left with these popups).

      As for OS X, I believe these notifications started in Leopard. They too are extended attributes, I believe. Though I think OS X copies attributes to filesystems/servers that don't support them by using dotfiles, so copying the file around doesn't get rid of it. (It goes away after you've approved it, though. No reason why Apple couldn't figure out what flag IE sets and have Safari do same on Windows, either.

    2. Re:What a stupid vulnerability by Shados · · Score: 2, Informative

      Actually, Vista -does- have a specific Download folder now, for the record.

  5. Did Microsoft fix the vulnerability in IE? by argent · · Score: 2, Insightful

    Did Microsoft fix the vulnerability caused by Internet Explorer running with its current directory set to the Desktop and its library search path going through the Desktop? Because until they do that, the actual vulnerability in Windows that Safari made slightly easier to exploit still exists.

    1. Re:Did Microsoft fix the vulnerability in IE? by The+End+Of+Days · · Score: 3, Insightful

      The actual vulnerability is that Safari downloaded files without the user's permission. Trying to make this a Windows issue smacks of fanboyism.

    2. Re:Did Microsoft fix the vulnerability in IE? by gad_zuki! · · Score: 3, Insightful

      How did safari even get on most of those computers. I think people are seriously missing the big issue here.

      Imagine if Netscape won the browser wars and you installed Windows Media Player which later on, in the middle of then night, downloaded and installed IE for you. If Office 2008 did this on OSX there would be riots in the street. When Apple does it, its of course Microsoft's fault.

      Granted, there's a lot of blame to go around, but claiming this is a MS problem is being pretty unfair and only shows up that Apple can do anything, and few will complain.

  6. Hmm? by koinu · · Score: 5, Insightful


    Safari downloads files (e.g. dynamic libraries) in user directories where the Internet Explorer could autoload them on start. Isn't the bigger problem within Internet Explorer? Why did Microsoft setup a library path to a user's directory at all?

    1. Re:Hmm? by CODiNE · · Score: 2, Interesting

      This issue has been avoided in UNIX systems for decades I believe. I remember when I was first learning about the command-line that I thought it was strange you couldn't just compile a new program and type $ a.out to launch it. That's because the current directory is not in the path. You have to type $ ./a.out to get the executable seen. The reason this is a system default is to prevent someone sneaking in a malicious copy of a system command such as ls into a directory where you'd accidentally use the fake one instead of the real one.

      --
      Cwm, fjord-bank glyphs vext quiz
  7. Re:"Carpet bomb"? by gardyloo · · Score: 3, Funny

    So if she's a squirter then you have an IED on your hands?

  8. Damn... by PawNtheSandman · · Score: 3, Funny

    All I know is if someone broke in my apartment and pissed all over my rug, I'd be pretty upset.

    1. Re:Damn... by drumbug1 · · Score: 4, Funny

      All I know is if someone broke in my apartment and pissed all over my rug, I'd be pretty upset. unless you're the dude... he abides...
  9. Yes, the flaw is in IE. by argent · · Score: 4, Informative

    Microsoft's library path ALWAYS goes through the current directory. For some obscure reason that IE icon on the Desktop, the one that isn't a shortcut but is actually something special Microsoft added back in 1997 to make it harder to remove IE, runs IE on the Desktop instead of in the IE install directory, the way it would if it was a shortcut.

    It's all a side effect of Microsoft's shenanigans when they tried to use browser-desktop integration to make an end-run around their agreement with the US DoJ. That they've convinced people that the big news is a bug in Safari that makes it slightly easier to take advantage of this problem is, well, bizarre.

    And now you know the rest of the story.

    1. Re:Yes, the flaw is in IE. by Fast+Thick+Pants · · Score: 4, Interesting

      You can't get around this by avoiding the "special" IE icon, though. You can make a real shortcut, set the working directory to whatever you want, or even launch IE from its own program directory from a command prompt, and it will still consider the desktop to be the current directory.

      As a fun experiment,

      • copy cmd.exe to the desktop and rename it to notepad.exe
      • launch IE the "safest" way you can think up
      • view page source
      YRMV, but in my tests with IE 6 and 7 in 2k and XP, it will launch the command prompt instead of notepad, and you can see the current directory and the stuff it prepends to the PATH variable.

      Until this is fixed in IE, I recommend copying notepad.exe and all your system .DLLs from the system32 directory onto each user's desktop, and use an ACL on each one to make sure your users do not have permission to overwrite them. No, seriously. (Or you could just use another browser.)

    2. Re:Yes, the flaw is in IE. by argent · · Score: 2, Funny

      You can make a real shortcut, set the working directory to whatever you want, or even launch IE from its own program directory from a command prompt, and it will still consider the desktop to be the current directory.

      Whiskey Tango Foxtrot?

      Every time I think I'm being to hard on Microsoft, that I'm just being a cynical old fart, I come across something like this.

      Holy Mother of Turing, what were they thinking of?

  10. Amazed at the hubris in these comments by brunes69 · · Score: 2, Insightful

    While I am no Microsoft fan, I am amazed at the hubris of comments in this thread.

    Surely anyone with half a brain HAS TO ADMIT that the Safari vulnerability is FAR WORSE than IE setting it's current path to the windows desktop.

    In fact, the Safari vulnerability can be exploited for root access to the box without IE being in the equation AT ALL. Just pick some program or two that are likely to be installed on any user's computer ( iTunes, Firefox? ), and download .exe files with those names to the desktop. *BOOM*, next time someone wants to run iTunes or Firefox, if they click that exe by accident instead of their shortcut (how would they know any different? ), they're toast.

    1. Re:Amazed at the hubris in these comments by 99BottlesOfBeerInMyF · · Score: 3, Interesting

      Surely anyone with half a brain HAS TO ADMIT that the Safari vulnerability is FAR WORSE than IE setting it's current path to the windows desktop.

      Certainly not for the average Slashdot user and arguably not for anyone. Safari won't overwrite a user's existing icons, just add new ones. I also opens a download manager so users know something is being added. There are some pretty ignorant users out there, but not many that won't take not that some random Web site is downloading something called "Firefox.exe" to their desktop with an icon that looks just like their Web browser's. Finally, I notice you use the present tense. The ability to do this in Safari has been fixed, whereas the flaw with Windows has not. So, yeah I'd say the flaw in Windows is currently a FAR WORSE vulnerability, as you put it.

      The main thing here, is the Safari flaw requires user interaction to work by itself, which means you have to manage a social engineering feat and get people to do something (double click and icon). With the flaw in Windows, any download from any source that they can get on a user's desktop can be automatically run.

  11. You are both right. by nobodyman · · Score: 2, Informative

    It isn't a mutually exclusive situation. There are two disparate vulnerabilities here. By themselves they aren't that big of a threat , but when used in concert the threat is greater than the sum of it's parts. You need the IE issue to load the compromised dll and you need Safari in order to "secretly" download the compromised dll in the first place.

  12. The actual vulnerability is in IE. by argent · · Score: 3, Interesting

    The actual vulnerability is that Safari downloaded files without the user's permission.

    Asking for permission before doing something that may potentially lead to a security exploit is no protection at all. Seriously. In the eight years between the time Microsoft introduced the browser-desktop merge, and the time I quit being a system admin and went back to programming, I had many many cases where some user (and these weren't dumb users, these were engineers and programmers with PhDs and patents to their name) would come to me and say "Peter, I just clicked the wrong button again, and I think I have a virus". That "again" is important. That means that they have the "Windows pops up stupid dialogs all the time so I have to approve this one" reflex burned into their cortex.

    A user is not going to realize that a web page asking to download "someobscuregibberish.dll" is attacking them.

    Stupid permission dialogs are no protection.

    The actual vulnerability is twofold:

    1. The path goes through the current directory by default, and it goes through the current directory first.

    This is something that UNIX used to do, and it was widely recognized as a BAD idea by 1980. MS-DOS wasn't even out yet, let alone Windows.

    2. The default download directory is the default directory of any program, let alone a program that is run virtually every time you log in.

    This one is, well, beyond stupid. This is like having the mailslot in your front door connect to your safe deposit box. The directory that is MOST likely to contain malicious code is the one that you're MOST likely to be running code from on any given day.

    Trying to make this a Windows issue smacks of fanboyism.

    Name one other operating system or application where downloading files to the default download folder would cause them to be run, under any normal circumstances. The whole idea is completely insane.

  13. The IE flaw is a threat even without Safari. by argent · · Score: 2, Interesting

    By themselves they aren't that big of a threat

    Um, yes, the IE flaw *is* that big of a threat. There is no circumstance where it should EVER be acceptable for a downloaded file, whether with permissions or not (who other than a geek is going to worry about downloading a file called "somethingobscure.dll"?), to be AUTOMATICALLY executed just because of the name it's given.

    I hope Microsoft fixes it bloody quick.