Slashdot Log In
Hijacking Firefox Via Insecure Add-Ons
Posted by
kdawson
on Thu May 31, 2007 07:42 AM
from the update-me-please dept.
from the update-me-please dept.
An anonymous reader writes "Many makers of extensions or add-ons for Firefox are introducing ways for bad guys to hijack the Web browser, new research suggests. A great many add-ons are updated over insecure (non https://) connections, providing an avenue for attackers to replace the extension with an evil update. Google's add-ons are particularly vulnerable, because they update automatically without notifying the user. From the story: '[I]f an attacker were to hijack a public Wi-Fi hot spot at a coffeehouse or bookstore — a fairly trivial attack given the myriad free, point-and-click hacking tools available today — he could also intercept this update process and replace a Firefox add-on with a malicious one.'" Here is security researcher Chris Soghoian's description of the vulnerability and a video of a simulated takeover.
Related Stories
[+]
Zero Day Hole In Google Desktop 113 comments
40by40 writes "A Web application security specialist has figured out a way to launch man-in-the-middle attacks against a computer with a fully patched Google Desktop installed. With knowledge of the Google Desktop security model (a combination of one-time tokens, iFrames and JavaScript), hacker Robert Hansen figured out a way to sit between a target launching a Google search query and manipulate the search results to take control of other programs on the desktop. From the article: 'This should drive home the point that deep integration between the desktop and the web is not a good idea, without tremendous thought put into the security model. As Google's site is unencrypted, and they place their content that can run executables on their site, it can be subverted by an attacker," Hansen warns. Hansen's advisory comes just days after a Chris Soghoian's exposé of a similar man-in-the-middle attack scenario against a remote vulnerability in the upgrade mechanism used by a number of commercial Firefox extensions.'"
This discussion has been archived.
No new comments can be posted.
Hijacking Firefox Via Insecure Add-Ons
|
Log In/Create an Account
| Top
| 87 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
fud? (Score:4, Interesting)
(http://www.forensic-data-svc.com/)
Re:fud? (Score:4, Interesting)
(http://jcaif.sourceforge.net/)
But using HTTPS wouldn't solve this problem either, because Verisign will sell a certificate to anyone with money. What should be happening is that developers sign their packages like they do for DEB and RPM package distros. That way you always know that you're getting your updates from the same person, no matter what your internet connection.
Re:fud? (Score:5, Insightful)
(http://www.mises.org/rothbard/newliberty.asp | Last Journal: Tuesday August 22 2006, @09:54AM)
Alternately, the Mozilla team could create their own signing certificate and add it to Firefox's whitelist; add-on developers could then get Mozilla-signed certificates for themselves. That would at least narrow the list a bit -- as you say, anyone can get a Verisign certificate, in part because there are just so many possible uses for one, but there should be few enough official Mozilla-signed add-on certificates to allow for some proper screening.
The certificates could also be used for authentication of the updates themselves, as you suggested.
Re:fud? (Score:4, Informative)
If it's just extension updates anyway, and extensions already act as a part of Firefox (i.e. they're not sandboxed... which they can't be in the current architecture)... They might as well just require SSL for updates, and people who don't use the Mozilla update service can just ship their own (self-signed) cert with the extension. Of course, some authors will still work around that by doing their own thing anyway. (There were, at one point, very, very insecure extensions that... load the whole toolbar at runtime using eval() by pulling data from unsecured sites.)
Re:fud? (Score:5, Insightful)
Another point is how this affects the Google Gears project that was in a previous post. Now you have cross platform hackability for an application that could potentially host your critical apps.
Don't trust public nets. (Score:5, Insightful)
(http://robvincent.net/ | Last Journal: Tuesday October 09, @01:55PM)
Re:Don't trust public nets. (Score:5, Informative)
(http://stylus-toolbox.sf.net/ | Last Journal: Tuesday May 15, @11:50AM)
You mean like the Google Toolbar for IE and about a bazillion other ActiveX applets?
This problem is not Firefox-specific.
However, it's important to note that Firefox does not allow updates from untrusted sources by default. It comes configured with updates allowed only from addons.mozilla.org and updates.mozilla.org.
Furthermore, for those of you with notebooks/WiFi -- for God's sake, turn off Automatically check for Updates to: Firefox, Installed Add-Ons and Search Engines from the 'Updates' tab in the 'Advanced' options, especially if you're going to be spending time in a coffee bar. And before you say: "Well, that's in the Advanced section and we shouldn't expect normal people to have to edit those options" I say horsepuckey. If you're bright enough to be using Firefox instead of IE, you should be bright enough to know how to configure it in a secure manner.
Is this a firefox issue? (Score:1)
(http://slashdot.org/)
No shit! (Score:1, Informative)
We can prevent attacks like this easily.
don't automatically update (Score:2, Interesting)
(http://www.catcrazygeek.com/)
Forced automatic update is evil (Score:2, Redundant)
Then again these days Firefox itself pretty much forces you to update if you want to easily install extensions. What is with forcing people to download the plugins at install time? Last time I checked there was a plugin that allowed you to download to install later. That makes no sense. Why do I need a plugin to do this???
I use to have a stable browser with 1.0. With 1.5 and 2.0 I often have to restart the thing if I open lots of tabs and some of the pages don't respond, otherwise anything new I try to open doesn't respond. Firefox is still the best browser around at the moment, but it started off with so much more promise. It's become a bit of a pain to use as I've gotten use to the features (and other browsers have caught up), yet Firefox has gotten buggier.
Addons from addons.mozilla.org not vulnerable (Score:5, Informative)
(http://ctho.ath.cx/)
Since it's not mentioned in the summary, it's important to reiterate that this takes advantage of non-secure update mechanisms used by some addons. The addons.mozilla.org site will only host extensions that update from addons.mozilla.org through the built-in mechanism, which is not vulnerable to this attack. This is an extension-specific issue, and would most likely apply to any sort of addon for any software that doesn't verify security certificates.
Plug-in's are people too (Score:2)
(http://www.bynumbers.com/)
Maybe if you spent more time with your plug-in's they wouldn't feel that way. Have some compassion!
Is it viable? (Score:5, Insightful)
(http://xtense.untergrund.net/)
Firefox extensions are insecure (Score:3, Interesting)
(Last Journal: Wednesday October 31, @08:33AM)
Yes, one should be careful about the extensions, and use them carefully. And one should be careful about using WiFi in coffee shops and hotels. I am far more worried about our salesmen plugging in their lap top in some hotel network in Bangkok, pick up an infection and coming to corporate HQ and plug that laptop in our intranet, behind the firewall, in the trusted network. I have asked my sysadmin to set up a separate network for laptops that might be used outside our intranet that is not part of the trusted intra net.
Sign your addons, please.. (Score:5, Informative)
(http://rtfm.insomnia.org/~qg/ | Last Journal: Wednesday November 16 2005, @07:11AM)
It's not hard (for anyone who can make an add-on).
Stupid (Score:1)
Subject to the laws of physics (Score:3, Insightful)
That means that this attack only works if the local area network is hijacked! Which reduces its danger substantially for the population at large as the huge majority of home connections is on its own link.
It is only a problem in the situation above (that are atypical nowadays) and in work or other large-network settings where it is possible to connect an untrusted computer to the network.
IT ALSO MEANS IT IS NOT FIREFOX SPECIFIC, as hijacking a connection can lead to many unpleasant things that may be as dangerous as that without requiring Firefox (ie grabbing passwords!).
As the user goes, so goes the browser (Score:1)
(http://macraig.homedns.org/blog/)
This is crypto 101 (Score:1, Redundant)
(http://www.cgisecurity.com/)
HTTPS isn't necessarily secure.. (Score:2)
(http://www.securityzone.org/)
HTTP versus HTTPS is _not_ the problem (Score:2)
(Last Journal: Wednesday September 28 2005, @12:05PM)
Back in my day ... (Score:2)
Everyone's websurfing saviour firefox is just as vulnerable it seems
I think this big warped shift in people's perception happened about the time when all those pesky Javascript haters (all slashdot readers just a couple years ago) fell in love with Ajax
Ah yes. The good old days.
Relation (Score:1)
Doesn't the same apply for Windows Updates? A hijacked DNS can return a false address of a windows pdate server and have the user download vulns. instead of patches.
Re:Surely they're signed? (Score:3, Insightful)
(http://www.vhemt.org/)
Re:Now they're hijacking Firefox?! (Score:2)
(http://netapps.com.au/)
What about Craig Thomas?
Re:Goatse! (Score:2, Funny)
(Last Journal: Wednesday August 14 2002, @12:33PM)