Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Dashboard: Widget (In)Security
MAcWorld: MacCentral ^ | 5/9/2005 | Dori Smith

Posted on 05/10/2005 1:24:00 AM PDT by Swordmaker

May 09, 2005 7:00 pm ET

MacCentral

Dashboard: Widget (In)Security

A new Web page documents an issue with Mac OS X v10.4 Tiger's new Dashboard feature that, left unchecked, could potentially be exploited by malware developers, according to the page's author. The exploit is described and demonstrated on a page called Zaptastic: Blueprint for a widget of mass destruction. Going by the nom de plume of Stephan.com, the author has described how Safari 2.0's default preference settings could lead users to unwittingly download and install a Dashboard widget.

There's a common misconception that auto-install of widgets means that they're automatically running, and that's not the case. Just because a widget has downloaded and installed itself into your Widget Bar (aka Dashboard Bar) doesn't mean that the widget is running. A widget that isn't launched can't do anything.

If you don't want widgets to even auto-install into the Widget Bar, simply uncheck the open safe files after downloading preference in Safari. After that, downloads will stay in whatever downloads folder you've set in that same preference.

Safari Prefs

Dashboard is worse than you imagined

Your initial thought upon hearing about this situation may have been, "It's just JavaScript. How much damage can it do?" The answer is, a lot -- widgets aren't just JavaScript, and for those parts that are, Apple has taught JavaScript a few new tricks that Web browsers never dreamt of.

Widgets are owned by the user, and can do anything that a user can do. For instance, they can remove files from your home directory without asking permission. They can run anything from the command line that a user can. They can call any AppleScript that a user can. If you're now starting to get a little nervous, you've got the right idea.

What can you do to be careful?

Dashboard Application

Getting Geeky

If you're willing to spend a little time in a text editor (I recommend TextWrangler from Bare Bones), take a look inside your widgets before you launch them. Go to ~/Library/Widgets and pick a widget to inspect. Control-click on the widget, and from the contextual menu, choose Show Package Contents.

Show Contents

You'll see that a widget is, basically, just a folder with a particular suffix. At a minimum, it will contain an HTML file, an Info.plist file, and a Default.png file. Widgets will almost always contain .js (JavaScript) and .css (Cascading Style Sheets) files, also.



TOPICS: Computers/Internet
KEYWORDS: apple; dashboard; osx4; security; tiger; widgets

1 posted on 05/10/2005 1:24:01 AM PDT by Swordmaker
[ Post Reply | Private Reply | View Replies]

To: Bush2000; antiRepublicrat; Action-America; eno_; bentfeather; byset; N3WBI3; zeugma; LeGrande; ...
Protect yourself against malicious Widgets in OSX.4 Tiger... PING!

If you want on or off the Mac Ping List, Freepmail me.

2 posted on 05/10/2005 1:25:15 AM PDT by Swordmaker (tagline now open, please ring bell.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Bush2000; antiRepublicrat; Action-America; eno_; bentfeather; byset; N3WBI3; zeugma; LeGrande; ...
Protect yourself against malicious Widgets in OSX.4 Tiger... PING!

If you want on or off the Mac Ping List, Freepmail me.

3 posted on 05/10/2005 1:25:28 AM PDT by Swordmaker (tagline now open, please ring bell.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Swordmaker

Sorry for the dupe PING... don't know how that happened. Just clicked POST once...


4 posted on 05/10/2005 1:26:52 AM PDT by Swordmaker (tagline now open, please ring bell.)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Swordmaker

THANK you!

I am running 10.3.9


5 posted on 05/10/2005 5:27:42 AM PDT by tiamat (I live in my own little world. But it's okay. They know me here.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: Swordmaker
If you don't want widgets to even auto-install into the Widget Bar, simply uncheck the open safe files after downloading preference in Safari. After that, downloads will stay in whatever downloads folder you've set in that same preference.

This should be unchecked anyways, it can be annoying.
6 posted on 05/10/2005 8:03:33 AM PDT by af_vet_rr
[ Post Reply | Private Reply | To 1 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson