On TV.com: 2009's Most PIRATED TV Show
BNET Business Network:
BNET
TechRepublic
ZDNet

May 29th, 2008

Why Apple must fix Safari 'carpet bombing' flaw immediately

Posted by Ryan Naraine @ 12:41 pm

Categories: Apple, Arbitrary Code Execution, Browsers, Data theft, Exploit code, Hackers, Patch Watch, Punditocracy, Responsible disclosure, Spyware and Adware, Viruses and Worms, Vulnerability research

Tags: Apple Safari, Vulnerability, Apple Inc., Flaw, Desktops, Security, Hardware, Ryan Naraine

Why Apple absolutely must fix Safari ‘carpet bombing’ flawApple makes a big deal — and lots of funny commercials — around the security profile of its products.  On the Safari download site,  the boast is that users get “worry-free Web browsing on any computer” because, in Cupertino’s words, “Apple engineers designed Safari to be secure from day one.”

The company has done a nice job of adding exploit prevention mechanisms (ALSR and NX on Vista) to some of its Internet-facing products but when it comes to responding to legitimate security threats, Apple is light years away from living up to the messages in those commercials.

The Safari “carpet bombing” vulnerability is one current example of Apple really missing the boat about a serious issue affecting its customers.

Some quick background: Researcher Nitesh Dhanjani responsibly reports to Apple than it is possible for a malicious Web site to litter the user’s Desktop (Windows) or Downloads directory (~/Downloads/ in OSX) with executables masquerading as legitimate icons.

[ SEE: Apple under pressure to fix Safari ‘carpet bomb’ flaw ]

This happens because the Safari browser cannot be configured to obtain the user’s permission before it downloads a resource. Safari downloads the resource without the user’s consent and places it in a default location (unless changed).

Imagine using Safari on Windows to browse to a booby-trapped Web site and this happens to your desktop:

Why Apple must fix Safari ‘carpet bombing’ flaw immediately

Now, think through the ramifications.  Dan Kaminsky, via Twitter, puts it best:

Standard user rights are required to write to desktop. You know what else standard user gets to do? RUN CODE.

And another tweet from a clearly frustrated Kaminsky:

Adobe wouldn’t call arbitrary desktop write not a problem. Sun wouldn’t. HP wouldn’t. Mozilla wouldn’t. Apple is not special.

Arbitrary desktop write is a serious security vulnerability. It’s not a mere irritant, as Apple contends.  This is a security flaw that needs to be fixed immediately instead of an enhancement request to come in a future upgrade.

As Robert Hensing explains, what happens when malicious hackers figure out that the “carpet bombing” bug could be chained to another vulnerability to do some serious damage?

Think about it:  A combo-attack where Dhanjani’s Safari vulnerability is used to drop a nasty executable on your desktop and another (known or unknown) vulnerability used to run it.   Instant drive-by malware installation!

With this Safari flaw, the bad guys are 50% of the way to direct code execution of whatever binary they chose to run . . . all they have to do is find a way to get that dropped binary to run.  Will it happen?  Time will tell I suppose . . . seems rather risky to leave this vulnerability out there when it seems like it would probably be a rather easy fix.

Secure from day one?  Impossible.  Now, Apple, do something about it.

Meanwhile, if you use Safari on Windows, I have one piece of advice:  Don’t.

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?

  • Talkback
  • Most Recent of 85 Talkback(s)
actually.....
microsoft, as a company is extremly vigilant on
security issues. i'm not saying that they are
more secure then others but they are very quick
to plug the holes once they know they exist. <... (Read the rest)
Posted by: rockfanmcentire Posted on: 11/01/09 You are currently: a Guest | | Terms of Use
This is what I am talking about  daMan25 | 05/29/08
My beef is...  Ryan NaraineZDNet Moderator | 05/29/08
Detached from marketing, it's still bad.  DannyO_0x98 | 05/29/08
Name on Byline? Official?  DannyO_0x98 | 05/29/08
Thank you  Ryan NaraineZDNet Moderator | 05/30/08
Go Ryan, Go Ryan, it's your birthdate, it's your birthdate.  Intellihence | 05/31/08
Agreed  nmcfeters | 05/29/08
Safari flaw  bb_apptix | 06/02/08
Message has been deleted.  D-T-Schmitz | 05/29/08
The Company (apple) is not ready  Mectron | 05/29/08
Compared to who...  SquishyParts | 05/29/08
Apple fanboys are hopeless  timiteh | 05/30/08
Get a clue  rag@... | 05/30/08
Thank you!  cashaww | 05/30/08
Pot to Kettle: You're Black...  Wolfie2K3 | 05/30/08
Tard  rag@... | 05/30/08
re:Tard  Badgered | 05/30/08
Hopless? Fanboy?  SquishyParts | 05/30/08
Who cares WHY my Mac house....  arminw | 06/02/08
Stats Show Macs More Vulnerable  NameRedacted | 06/02/08
Actually...  superbus | 05/30/08
They became more cognizant  alaniane@... | 06/02/08
actually.....  rockfanmcentire | 11/01/09
Please!  cashaww | 05/30/08
You asked for it.. You got it..  Wolfie2K3 | 05/30/08
It does all the time...  bishofthedump | 04/14/09
Yeah, I know - prettier fonts  Carrion | 05/29/08
Yep, because the first thing someone is going to do  frgough | 05/29/08
First off...  nmcfeters | 05/29/08
Well, if WIndows  frgough | 05/29/08
where did you see nate  rtk | 05/29/08
Yup  nmcfeters | 05/29/08
It depends on how the code is executed  alaniane@... | 06/02/08
But what if there was just one?  quantumstate | 05/30/08
You assume too much  Joe_Racer | 05/30/08
You want a little perspective?  xuniL_z | 05/30/08
Apple Macs had the first viruses and were proud of it!  progon | 05/29/08
Seriously...  SquishyParts | 05/29/08
It's called Tu Quoque  frgough | 05/29/08
see your reply 5.1.1  rtk | 05/29/08
Apple Macs had security problems...  gypkap@... | 07/30/08
revisionist history?  Freebird54 | 05/31/08
I get hit with this flaw..  msalzberg | 05/29/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  Martin Kelly | 05/30/08
Linux or Windows Vista/2008 64 bits are better options  timiteh | 05/30/08
Proprietary  SquishyParts | 05/30/08
Apple is proprietary  alaniane@... | 06/02/08
MS is also  SquishyParts | 06/15/08
I never said Windows was an open system  alaniane@... | 06/20/08
Linux or Windows 64 are better options  bb_apptix | 06/03/08
Irrelevant  quantumstate | 05/30/08
The myth of problem-free computing  EKGordon | 05/30/08
UGH... Yet another CLUELESS Fanboi heard from...  Wolfie2K3 | 05/30/08
PWN to own  SquishyParts | 05/31/08
You don't get it do you  alaniane@... | 06/02/08
UGH... Yet another CLUELESS Fanboi heard from...  Martin Kelly | 06/02/08
But the hacker was still able to own it (NT)  alaniane@... | 06/02/08
Safari on Windows was never that great anyway...  srobtjones@... | 05/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  davesmall1 | 05/30/08
re: Easy Solution  Badgered | 05/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  bonchi74@... | 05/30/08
Well...  Badgered | 05/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  bonchi74@... | 05/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  bonchi74@... | 05/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  cashaww | 05/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  pendeja | 05/30/08
When will you be turning in yours?  James T. Kirk | 05/30/08
Screenshots of carpet bombing on Mac  Roland Tanner | 05/30/08
That's a Hackintosh, not a Macintosh you dolt.  Intellihence | 05/31/08
wow that must have made a huge difference in its vulnerability.  Hogleg | 06/02/08
Actually, it was a Mac Mini  alaniane@... | 06/03/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  SquishyParts | 05/31/08
Yeah we really need another Windows picture frame  tonymcs@... | 06/01/08
Arrogance  Hogleg | 06/02/08
I admit I am a fanboy.  spikedstrider | 06/02/08
I Don't Get It?  sbarman | 06/02/08
You don't get it? Figures..  Average-IT-Guy | 06/02/08
Apple's Security a Marketing Fabrication  NameRedacted | 06/02/08
Apple Security and Arrogance  Martin Kelly | 06/04/08
That looks like  tracy anne | 06/02/08
Apparently You Have Never Used a Mac  orangepickel | 06/03/08
Safari basically bites.  gypkap@... | 07/30/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  Hogleg | 06/03/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  SquishyParts | 06/06/08
RE: Why Apple must fix Safari 'carpet bombing' flaw immediately  HiltonT | 04/10/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads