Mac OS X/Safari DMG vulnerability reported: Turn off automatic opening of ‘safe’ files to prevent

“FrSIRT (the French Security Incident Response Team) reports on a newly demonstrated flaw affecting versions of Safari in Mac OS X 10.4.8 and prior where maliciously crafted disk images — which are used to distribute most Mac OS X software packages — can allow an attacker to crash or gain control of the target system,” MacFixIt reports.

The reported workaround for this issue is to turn off the “Open safe files after downloading” option in Safari as follows:
1. Open Safari
2. Open “Preferences” under the “Safari” menu
3. Click on the “General” tab at the top
4. Un-check the “Open ‘safe’ files after downloading” box
5. Close Safari’s preferences

MacFixIt reports, “Note that your system will still experience a kernel panic if you double-click the downloaded malicious disk image in order to mount it.”

Full article with links here.

MacDailyNews Note: As usual, do not download links from untrusted sources.

MacDailyNews Note: 8:30pm EST: We have banned the posting of links to .dmg files in the “Reader Feedback” section.

Related MacDailyNews article:
Mac OS X flaw crashes Safari, Finder – March 29, 2006
Safari web browser auto executes shell scripts; disable ‘Open ‘safe’ files after downloading’ option – February 21, 2006

52 Comments

  1. Well, a few hours ago my system crashed after it downloaded a file called MOKB-20.dmg. And I mean ‘it’ downloaded a file because I did not. I was away from my iMac for a few minutes. Ironicaly, Safari was open on … MDN. Be carefull!

  2. This is not news. Anyone can “craft” poorly written software that causes a crash or kernel panic, etc. Anyone that’s used a computer for more than a few years has surely run across this kind of bad programming and the resultant hangs, etc.

    What will be news is if/when someone uses this purposefully and in order to harm another user’s computer. DMGs are, of course, a good mode of distribution, especially if auto-mount is active in Safari.

    just my 2c

  3. People are going to make a big deal out of this, but it’s dumb. Does whoever opens this unknown image also be told not to swallow nails?

    Sorry, eaxit. Let me direct you to the emergency room… ” width=”19″ height=”19″ alt=”rolleyes” style=”border:0;” />

  4. Kinda weird having this file linked in posts on this very site a few threads ago. Open safe is turned off already on my computer. I’m guessing that Symantec and MS are going to be getting very creative to try and blunt the Apple sales juggernaut this holiday season. This is just a first salvo.

  5. Remember when any app could freeze the entire OS? heheheh

    So, some group releases a kernel freeze every month, and someone around here just puts it up for a download with a name like, Cheap Macbook Pro!?

    Sounds juvenile.

  6. I remember this “fix” from a few years ago, then I thought Apple changed something where you could now leave it on.

    Just remember, to turn it back on if you’re downloading a widget and want it to load itself into your Library > Widgets folder. Then remember to turn it off again. Or you’ll have to drag and drop it yourself.

  7. Anthony: “So is this actually a virus?”

    Nope. What it is is a corrupt dmg file that causes the dmg mounter application to crash. Being part of the kernel it therefore causes a “kernel panic”, Apple’s label for a crashed kernel. (kernel = guts of the MacOS)

    Wake me when someone figures out a way to crash the kernel in such a way that they cause it to execute their own code.

    Wake me with a hammer when someone can do that without me asking for it.

  8. Use Firefox as your default browser, at least that way you have to double-click on the dmg file first before it can do anything. Also, note that your admin password is not needed.

    Also, don’t click on ass-munch Hot Mac’s link above.

  9. Buffalo, Use Version Tracker. If you wind up on a page with a program or package which looks like something you could use or you’d like to give it a test drive, scoot over to the Version Tracker site and download it from there. If it’s legit, it’ll probably be there.

    And probably best to stay away from P2P sites/programs.

  10. In order to “play” with the linked file, I 1st disabled the opening of “safe” files, downloaded it (I knew what I was receiving, as I always enable the status bar on all my Macs), then reassigned the handling of all .DMG’s to Roxio’s Toast.
    Toast ignores the command to mount MOKB-20.dmg, so for now, Safari is once again allowed to open “Safe” files.
    Toast ignores the malformed file, and even if it didn’t and crashed in the process of trying, no harm would have (hopefully) been done.

  11. As MDN suggests – just turn off the open files after downloading preference (which – imo – should be off by default…). That way, it’s only an extra click via the downloads window to open whatever gets downloaded – but which places full control in the hands of the user.

  12. “People are going to make a big deal out of this, but it’s dumb. Does whoever opens this unknown image also be told not to swallow nails?”

    “It’s idiots like this that carry around cans of spray paint because they have no way (and little enough intellect) to satisfy their underfed egos.”

    Get over it. Welcome to the Internet. 90% of Windows viruses require that the user do something dumb.

    You need to move through the three phases of Mac Security Denial and Acceptance

    First there is outrage, Second a realization that you’re not going to be able to stop these idiots, then finally the installation of antivirus software which makes such links a complete non issue…

    PS. Mac OS X never crashes and is invunerable to Malware. Anybody who’s seeing their Mac crash when downloading this link is on some kind of drugs.

  13. help me out here,

    I hit the link from an earlier thread, and I had to restart my computer, I dragged it to trash and emptied it.

    and follwed your advice with “safe DL” unchecked, and status bar on, “thats neat”

    am I ok now??

  14. Gawrsh, I’m so stupid that I clicked on a bunch of links and it crashed my computer. And my IQ is 30. And I had a frontal lobotomy last week. And I’m on crack.

    Dear MDN: is it time yet for registered forums instead of anonymous posting? I can only think of one or two reasons for doing so:

    1) Ability to boot the asshat posting the corrupt DMG link from every name he can think of.

    2) The end of “impersonating” users in order to make them look bad by posting crap under their nom de plume.

    3) The beginning of some amount of accountability so that people can actually be identified for posting inflammatory or just stupid remarks instead of always being anonymous, or able to change names every post with no hassle.

    4) Requiring registration might just keep a few of the dumbest trolls and Windows lovers from bothering to post their flamebait.

    5) Could actually provide a little insight into the credibility of a person’s post by seeing how often they have posted, and being able to search for their previous posts and see their comment history.

    Ok, it’s quite a few reasons. Any thoughts?

    P.S. Any posts on this thread from blucaso after this one are not mine. I have no intention of following up this comment.

  15. Blucaso has it right..

    I like the anonymous posting but like anything too open, the occasional pimple dick will wander in, think he’s funny, and
    screw around because his Dad bought him a Dell laptop and he’s got wifi access and because ‘math is too hard’ and he’s bored.
    Time for registration…or better yet a CLEAR label that if you ARE a registered user of MDN you get an automatic, site generated label next to your name that can’t be forged. That way we can gang up on the real assholes until the spew melts them into the oblivion they deserve.

  16. Virus writers are typical PC users, the usual under-developed brain mass, bad breath, stink under the arm, no real life, under-achievers.

    You have to get off on something, cockraoches, lowlife scum.

    Ok, now I feel better!

  17. “LOL. So funny to see the Mac elitists droppin’ like flies with Kernel panics from surfing the web due to an OS X vulnerability.”

    I triple gaurentee you there are no kernel panics in Mac OS X.

    Their downloads are committing suicide by the hundreds on the gates of Mac OS X. Be assured, Mac OS X is safe, protected.

  18. Blucaso,
    I agree with you on most of what you said, but you gotta admit that the two imitation posts up above are very funny! But I know how it feels – I’ve been imitated, too.

    And I think that Blucaso is either a last name or a take on the name of John Belushi’s character in Animal House.

  19. MDN said “As usual, do not download links from untrusted sources.”

    What kind of malware protection is that? What constitutes a “trusted source”? Even Apple shipped viruses on the iPod for a while! When it comes to computer security, blind trust is not enough. No where near enough.

  20. “8:30pm EST: We have banned the posting of links to .d_m_g files in the “Reader Feedback” section.”

    Furthermore no Mac user would be dumb enough to click on a link which would crash his PC. Only Windows users are that stupid.

  21. I agree with the registration suggestions. My take is that, we spend so much time defending ourselves from Windows trolls that we rarely get into any constructive discussions, or constructive criticisms because we’re dealing with people who don’t give two clicks about Macs, they just want to dig up reaction and attitude. Not suprisingly the Mac community has got plenty of both – duh, gee, I wonder why?

    If some sort of registration process will help to filter the wonderful service that MDN provides down to those who are actually interested in furthering something other than Windows, then I hope we can move that direction.

  22. Month of Kernel Bugs? A bunch of guys sit around trying to figure out how to make your computer crash by writing bad code? And to think that I wasted my youth partying and getting laid. What was I thinking, when there’s this sort of excitement on offer…

  23. “we spend so much time defending ourselves from Windows trolls that we rarely get into any constructive discussions, or constructive criticisms “

    Then you’d end up with the most yawnfully boring site.

    Poster 1: Macs are great
    Poster 2: Yes poster 1, I agree
    Poster 1: Did you hear the rumor about the new iPhone?
    Poster 3: Yes I just can’t wait to get one. I hear it’ll be announced next week.
    Poster 2: Steve Jobs is just the most brilliant person in the universe.
    Poster 1: I agree
    Poster 3: Did you hear Zunes really suck, especially the brown ones.
    Poster 2: Yes, I heard that too, from a friend who hates Microsoft.
    Poster 1: Have you used a Zune?
    Poster 2: No, but it’s made by Microsoft so it must suck.
    Poster 3: That’s right, everything made by Microsoft sucks.
    Poster 1: Where’s all the people who used to disagree when we said stuff like this?
    Poster 2: I don’t know, but did you hear that Apple makes the cheapest best value notebooks on the planet?
    Poster 3: Yes Apple do make the best notebooks.
    Poster 2: And they run Mac OS X and Windows, that’s gotta be good.
    Poster 1: But Windows has 46 million viruses
    Poster 3: Yeah, Windows Sucks. But Apple will have wiped out Microsoft by next year
    Poster 2: Yes, Vista Sucks, people will start buying millions of Macs when they see it.
    Poster 1: Can Microsoft never get anything right?
    Poster 3: No they can’t, 95% of the population are just so stupid for buying Windows.

    Repeat the above themes endlessly.

    etc. etc.

  24. This news is about as old as this post is late!

    “The reported workaround for this issue is to turn off the “Open safe files after downloading” option in Safari”

    Never, EVER, have this option on – The most ridiculous “feature” I have ever heard of. They may as well change the name of this option to “Reduce Security Of My Browser”

    “As usual, do not download links from untrusted sources”

    Yep. Again, common sense.

    “This is not news. Anyone can “craft” poorly written software that causes a crash or kernel panic, etc.”

    True, very true.

    “IMO Apple should remove the auto-opening feature from Safari altogether”

    I think it’s about time they did exactly that. Like I said, this is not a feature, but A SECURITY RISK

    For those who didn’t know and/or are new to the Mac – please disable this option. For the rest – OLD NEWS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.