Attack of the malicious widgets

Giles Turnbull
May. 09, 2005 03:33 AM
Permalink

Stephan "stephan.com" Nosurname has opened a can of worms with his post detailing the potential security hazards of automatically-installed Dashboard widgets.
When the first announcements were made about widgets some months ago, warning bells should have gone off in our collective heads. Applications made like web pages? Aren't web pages sometimes a bit ... dodgy? How come we didn't see this coming a long way off?
(Perhaps some of us did; if you made a fuss about this at the time, I'd love to hear about it.)
Several people have contacted Stephan to point out that by disabling auto-install, people can avoid this kind of problem. Others have reminded him that it is possible to remove widgets, just with a simple Terminal command or a root around in the Finder.
But those people are missing an important point, I think.
One of the main reasons that everyone is getting so excited about Tiger is that it is better than Windows. Even some Windows supporters are saying so. Microsoft's Longhorn development is delayed and even the work that's been done doesn't compare to the attractive ease-of-use offered by Mac OS X.
This is Apple's chance to grab some market share, people are saying. It has the advantage, it has the momentum; go, Apple, go!
So imagine if you, or perhaps a member of your family, is one of this new generation of switchers. People pulled in first by the iPod, sold on the gorgeous user interface of Tiger; wooed by the eye-candy of Dashboard.
Imagine if your loved one starts using Tiger on their shiny new Mac, and is seriously impressed. And then hits a web page like Stephan's, only this time with something far more malicious and unpleasant buried within it.
This imaginary newbie won't know about killing widgets via the Terminal, won't realise that changing a preference in Safari could make all the difference. They'll just suddenly see Dashboard go crazy, and they'll wonder what on earth is going on.
I've been spending much of my free time in the last couple of years telling Windows users I know to switch from Internet Explorer to Firefox.
"IE has too many potential security holes," I tell them. "Firefox is much safer."
I don't want to have to start doing that for people who use Safari.
This sort of security hole is precisely the kind of thing that people have been criticising Microsoft for. Just as it is on Windows, if you're geeky enough, you can avoid problems. But for most users, it's a potential cause of serious trouble.
Let's hope a fix -- one for ordinary users, not power users -- appears in Software Update soon. Otherwise Apple can kiss a decent chunk of that momentum for change goodbye.
Giles Turnbull
is a freelance writer and editor. He has been writing
on and about the Internet since 1997. He has a web site at
http://gilest.org.
Shocked? Horrified? Bemused?
You must be logged in to the O'Reilly Network to post a comment.
Showing messages 1 through 12 of 12.
-
Some lessons must be learned the hard way
2005-05-10 21:37:18
eberharda
[Reply | View]
-
Simple fix for now, use Folder Actions
2005-05-10 13:46:55
jdb8167
[Reply | View]
-
Simple fix for now, use Folder Actions
2005-05-10 15:16:16
Giles Turnbull | 
[Reply | View]
-
What's the diff between this and any other trojan ?
2005-05-10 18:52:39
nst
[Reply | View]
-
Meh
2005-05-10 09:50:21
MickeyKnox
[Reply | View]
-
The first-time-run warning doesn't always appear
2005-05-09 09:20:26
jason.
[Reply | View]
-
An Excellent Point
2005-05-09 09:00:08
joshuawait
[Reply | View]
-
it's not that bad...
2005-05-09 04:52:37
bluesthemoose
[Reply | View]
-
it's not that bad...
2005-05-09 05:21:02
rmeister0
[Reply | View]
|
Showing messages 1 through 12 of 12.
|
Return to weblogs.oreilly.com.
Weblog authors are solely responsible for the content
and accuracy of their weblogs, including opinions they
express, and O'Reilly Media, Inc., disclaims any and
all liabililty for that content, its accuracy, and
opinions it may contain.
This work is licensed under a
Creative Commons License.
|
Here's what happened, step-by-step.
1. In Safari, I opened http://stephan.com/widgets/zaptastic/
2. The page loaded, and the Downloads window opened, showing that a file had been downloaded.
3. I invoked Dashboard, and found a new widget listed called 'Zaptastic'. I dragged it out of the widgets bar, and it ran immediately - there was no warning of any kind, nothing asked me if I intended this to happen - and caused my default browser (Firefox, in this instance) to open a new tab at the GreenZap web site.
4. Further investigation showed that the file 'zaptastic.wdgt' had been installed in ~/Library/Widgets. The widgets that come with Tiger are in the /Library/Widgets directory (ie, not within my User space).
The *install* was automatic. User intervention was required to run the widget, but if the user has been informed that the widget does something cool or useful, that isn't hard to bring about.
What's more, if I were a newbie, someone who had only recently switched to OS X, I would *not* have known where to look for the offending widget. I would not know how to remove it from the system.
It seems clear to me that the opportunity exists for so-inclined people to release malicious .wdgt files that auto-install, fool the user into activation, and are, at the very least, intrusive and annoying.