Safari Security Flaw Reported [Updated] - MacRumors
Skip to Content

Safari Security Flaw Reported [Updated]

by

Member Michael Lehn today reported the discovery of a security flaw in the Open "safe" files after downloading feature of Safari, also being reported by heise online. The flaw has been independantly confirmed.

When the Open "safe" files option is checked in the General tab of Safari preferences, a downloaded archive (zip file) containing a shell script named with a .jpg or .mov extension and missing the standard #!/bin/bash line can cause Safari to execute the shell script in the Terminal application without a confirmation prompt. A shell script has the privileges of the logged-in user, so in theory if a malicious script was executed this way, home folder files would be suspectible to damage. If the user was an administrator, system files and applications could be affected as well.

Two preventative measures can be used to avoid the flaw: (1) Disabling the Open "safe" files after downloading feature in Safari preferences. (2) Moving the Terminal application out of its normal location in the Applications/Utilities folder. The former method may be inconvenient during other routine downloads, while the latter may need to be reversed while performing Mac OS X updates.

The problem does not apply to other commonly used web browsers.

So far, a demonstration (proof of concept) download has been created, but no real exploits are known to exist. The problem has been reported to Apple Computer.

[Update] CNET reports that Apple is developing a patch for this security flaw, quoting an Apple representative as saying "We're working on a fix so that this doesn't become something that could affect customers" but without giving a delivery date for an update. Because the problem can reportedly affect Mail as well as Safari, the update may come in the form of changes to Mac OS X, not to Safari alone.

Popular Stories

All Screen iPhone 2030 Feature Sans Text

iPhone 18 Pro: Nine Reasons Not to Upgrade This Year

Monday September 7, 2026 5:01 am PDT by
Apple is set to unveil new iPhone 18 Pro and iPhone 18 Pro Max models on Wednesday, September 9, and the devices are expected to feature a design that's largely similar to the iPhone 17 Pro models, with a peppering of enhancements inside. Major changes are not expected until next year, when Apple is expected to introduce a radically redesigned 20th-anniversary iPhone. If you're thinking of...
iPhone 18 Pro Dark Cherry Feature

iPhone 18 Pro Reportedly Starts With 256GB of Storage

Thursday September 3, 2026 9:22 am PDT by
While the iPhone 17 Pro has double the base storage compared to the iPhone 16 Pro, there will apparently be no further increase this year. Taiwanese research firm TrendForce today again reported that the iPhone 18 Pro models will start with 256GB of storage, like the iPhone 17 Pro models. Minimum storage capacities by model:iPhone 16 Pro: 128GB iPhone 17 Pro: 256GB iPhone 18 Pro...
Foldable iPhone Ultra Still Likely to Be Missing These Five Features 16x9 1

Foldable 'iPhone Ultra' Still Likely to Be Missing These Five Features

Friday September 4, 2026 3:00 pm PDT by
Apple's first foldable iPhone, dubbed the "iPhone Ultra," is expected to launch without at least four features that will be present on the iPhone 18 Pro models, despite a price tag of at least $2,000. The iPhone Air lacks Ultra Wide and Telephoto rear cameras, a SIM card slot, and stereo speakers. With a super thin design, a titanium frame, and a glass back, the iPhone Ultra is expected to ...