toggle

AAPL Stock: 509.46 ( 0 )

User helps protect against Safari flaw

updated 09:55 am EST, Wed February 22, 2006

Potential Safari \'fix\'


An avid Mac user today released a small program called Safe Terminal (untested/not verified) that claims to protect against the recently-discovered 'safe execution' vulnerability in Safari, one that can allow remote system access. The flaw, reported earlier this week and confirmed yesterday by Symantec, takes advantage of an automatically selected option to "open safe files" after downloading. According to the author, Safe Terminal fixes a security weakness with the Terminal utility, preventing the execution of scripts without the user's permission. The author of the fix also says it's possible for malicious users to create "plain files," that will be executed by Terminal when double-clicked without warning. Safe Terminal guards against both of these issues, but will not execute .command and .term files, nor will a new shell window open when launching Terminal.app. Safe Terminal is available for free via download. Apple, which typically does not respond to revealed security threats, has yet to release its own patch for the flaw.

While Symantec Security Response rates the vulnerability as high severity, it says there is no known exploit currently targeting this vulnerability.

"The issue exists because of an error when processing file association metadata. This metadata is contained in the '.__' file contained within an archive and extracted to the '__macosx' directory," according to the company. "Successful exploitation can allow a malicious script file to be renamed with a safe extension in order to trick a user into believing that the file is safe. This issue is considered to be remotely exploitable in nature because the Safari Web browser will automatically open ZIP archives when downloaded. Mac OS X (version 10.4) is reported to be vulnerable to this exploit. Earlier versions may also be affected."

Symantec (and security firm Secunia) recommend turning off the “Open ‘safe’ files after downloading” feature in the Web browser software to protect themselves.


by MacNN Staff

toggle

Comments

  1. Timothy Flint

    Fresh-Faced Recruit

    Joined: Feb 2006

    0

    Security Flaw

    Let me get this straight. The first rule of Internet security is to never download files from an unkown or untrusted source. So ... you are asking us to confirm this by downloading a file from an unknown source? That's a crazy as turning all our East Coast ports over to foreign terrorists ... Oh, sorry, we just did that, didn't we?

  1. travisres

    Fresh-Faced Recruit

    Joined: Dec 1999

    0

    I second that motion.

    Woudn't it be eaiser/safer to just uncheck "Open Safe Files" until Apple releases a patch?

  1. ATPTourFan

    Fresh-Faced Recruit

    Joined: Apr 2003

    0

    no...

    Safari just helps these files open automatically, but unchecking that box doesn't make you "safe". Mail.app will execute the file if it's included as an attachment or you can just double click the file by accident.

  1. Stephen.S.

    Junior Member

    Joined: Mar 2004

    0

    re: Security Flaw

    Over 50% of American ports are already operated by foreign owned entities. Which makes me wonder... why all the concern now when it's been this way for years? Why weren't people concerned all along?

  1. apple4ever

    Fresh-Faced Recruit

    Joined: Jan 2001

    0

    Unsanity

    Just get Unsanity's (www.unsanity.com) fix. Its much better, and trusted too.

  1. Glasspusher

    Fresh-Faced Recruit

    Joined: Oct 2000

    0

    I'm fed up

    ...with the liberal media.

    No, wait, I'm fed up with our current administration. My bad.

    Security warning == fear == red herring == votes.

    FUD works in many arenas...not just computers.

  1. testudo

    Fresh-Faced Recruit

    Joined: Aug 2001

    0

    Re: no

    Safari just helps these files open automatically, but unchecking that box doesn't make you "safe". Mail.app will execute the file if it's included as an attachment or you can just double click the file by accident.

    Mail.app will only execute them if you try to open them. Not just if its included maybe you're 'or' should be an 'and').

    And how is this better, as it says that the terminal now can't run any file. Gee. Thanks. What if you want to run files?

    And, really, couldn't someone just delete terminal.app. I mean, who needs it, anyway? Just some unix heads. But those people who have "open safe files" turned on are probably the same set who'll never touch the terminal.

    Plus, I can't believe people are talking about this. Don't you all know that Apple is immune from any type of attack. There are no known exploits out there, so its just one of those theoretical things. Just FUD being spread by MS (who probably hired someone who works for apple to put this dandy of a security slip in there in the first place!).

  1. hayesk

    Professional Poster

    Joined: Sep 1999

    0

    Re: no

    Uhm... no. In order to get infected in Mail - if this was sent as an attachment.

    First you'd have to double-click the attachment in mail - that would only decompress the attachment.

    Then, you'd have to double-click the file that resulted from decompressing.

    And testudo, no, just deleting the terminal is a silly idea. Many people use the terminal every day. It can also be very helpful when troubleshooting. People who have "Open Safe Files" are also people with new Macs who forgot to go in and turn off the default. It should be off by default and present a warning when turned on.

  1. midsouthmac

    Fresh-Faced Recruit

    Joined: Feb 2006

    0

    Rename your terminal app

    I defeated the posted proof of concept (http://secunia.com/mac_os_x_command_execution_vulnerability_test/) by simply changing the name of the terminal.app. Mine is now called My Terminal and the proof of concept test fails. Terminal.app still works like normal. I suppose I could make it even more secure by using a random/longer string of characters is the name. Is there any reason why this isn't a valid means of protection?

  1. JerusalemMacker

    Fresh-Faced Recruit

    Joined: Mar 2006

    0

    DON'T rename your termin

    midsouthmac -

    Renaming ANY of the apps that are supplied in the /Applications folder is a bad idea.

    1) once the file is renamed, the Software Update feature for that file is broken

    2) there can be hidden dependencies between applications, and another application calling the renamed one won't find it and will probably break (very few programmers code so defensively that they assume that standard parts of the system could be missing.)

    3) someone else using your system, (or even you, many months later,) might not think to find the app under a different name, and be prevented from using it when it's needed

Login Here

Not a member of the MacNN forums? Register now for free.

 
close
Photo
toggle

Network Headlines

toggle

Most Popular

10 Most Read

Recent Reviews

Logitech Cube

The world of mice could often be described charitably as stagnant: it's an endless sea of ergonomic shapes that assume you're sitting ...

NewerTech and Targus USB Hubs For Gifts

A useful holiday present to resolve an ongoing frustration is a multi-port hub. Whether as a stocking stuffer, Chanukah present, or an ...

X-Rite ColorMunki Photo

Color calibration is the art of tweaking your monitor so that the colors represented on screen better match real life and your printer ...

toggle

Most Commented

10 Most Discussed