On mySimon: The Double-Daring Book for Girls
BNET Business Network:
BNET
TechRepublic
ZDNet

May 30th, 2007

(Updated) Remote vulnerability in high-profile Firefox extensions

Posted by Ryan Naraine @ 9:36 am

Categories: Apple, Botnets, Browsers, Data theft, Exploit code, Firefox, Google, Hackers, McAfee, Microsoft, Mozilla, Open source, Passwords, Patch Watch, Pen testing, Privacy, Responsible disclosure, Rootkits, Viruses and Worms, Vulnerability research, Zero-day attacks

Tags: Mozilla Firefox, Vulnerability, SSL, Ryan Naraine

In Focus » See more posts on: Google Security

Today is Firefox Patch Day but even after you install the latest security updates from Mozilla, those browser extensions you use and love could put you at risk of code execution attacks.

Google toolbar for Firefox

According to independent researcher Christopher Soghoian (of boarding pass hacker fame), there’s a remote vulnerability in the upgrade mechanism used by a number of commercial Firefox extensions that let an attacker covertly install malware that run within the Firefox browser.

In a detailed advisory, Soghoian lists the following high-profile add-ons as vulnerable:

  • Google Toolbar
  • Google Browser Sync
  • Yahoo Toolbar
  • Del.icio.us Extension
  • Facebook Toolbar
  • AOL Toolbar
  • Ask.com Toolbar
  • LinkedIn Browser Toolbar
  • Netcraft Anti-Phishing Toolbar
  • PhishTank SiteChecker

The vast majority of add-ons hosted at Mozilla’s official repository (https://addons.mozilla.org) are not vulnerable but because those extension upgrades listed above are done from sites that cannot be trusted, millions of Firefox users are sitting ducks for man-in-the-middle attacks, Soghoian said. (See QuickTime movie demo of the attack).

Essentially, an attacker must somehow convince your machine that he is really the update server for one or more of your extensions, and then the Firefox browser will download and install the malicious update without alerting the user to the fact that anything is wrong. While Firefox does at least prompt the user when updates are available, some commercial extensions (including those made by Google) have disabled this, and thus silently update their extensions without giving the user any say in the matter.

A DNS based man in the middle attack will not work against a SSL enabled webserver. This is because SSL certificates certify an association between a specific domain name and an ip address. An attempted man in the middle attack against a SSL enabled Firefox update server will result in the browser rejecting the connection to the masquerading update server, as the ip address in the SSL certificate, and the ip address returned by the DNS server will not match.

Soghoian warns that Firefox users are most vulnerable when using a public or unencrypted wireless network, a wireless or wired router that’s been hacked through a drive-by pharming attack or when using a ‘network hub’ in an office/school setting.

In the advisory, Soghoian recommends that Firefox users uninstall all extensions that have not been downloaded from the official Mozilla site. Users of the Google Pack suite of software are most likely vulnerable, as this includes the Google Toolbar for Firefox, he said.

Read the full advisory for technical details and the disturbing responses from some big-name vendors. More from Ryan Singel at Threat Level and Brian Krebs at Security Fix.

[UPDATE #1: May 30, 2007 @ 3:53 PM] A response from Yahoo’s del.icio.us in the Talkback section:

I’m the product manager for the del.icio.us extensions, and I just wanted to say that our new 1.5 extension was never vulnerable to this attack, and we patched the older 1.2 release as soon as we heard about the issue at the beginning of May. Current 1.2 users should have received notification when launching Firefox and will get the signed version of the extension when accepting the update. As of early May, all official del.icio.us extensions are signed and hosted on addons.mozilla.org and are served over SSL as a result.

[UPDATE #2: May 30, 2007 @ 5:13 PM] Mozilla security chief Window Snyder has joined Soghoian in recommending that add-on developers require SSL for updates. Snyder also says that the next major Firefox revision will look at ways to block this attack vector:

For Firefox 3 we are considering ways to prevent add-on developers from using insecure channels and investigating ways to universally improve updates for add-ons. There are a number of options being considered, all of which are designed to make it easy to write secure add-ons.

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 59 Talkback(s)
Google is also doing this to IE. DO NOT GET GOOGlIZED IE7
if you download IE7 from a Google site that gives you the Googlized IE7, you will get a version of IE7 with a gaping hole by way of an open internet connection at all times you are connected to the in... (Read the rest)
Posted by: xuniL_z Posted on: 05/31/07 You are currently: a Guest | | Terms of Use
That was  Shelendrea | 05/30/07
Specifics Appreciated  TechnoCritter | 05/30/07
And I have seen that  Shelendrea | 05/30/07
no need for toolbars  curiousgeorge13@... | 05/31/07
just M$ scare tactics  Linux Geek | 05/30/07
Idiot  net-com | 05/30/07
Shut up, fool.  James T. Kirk | 05/30/07
Damn, that was meant for the Linux Geek idiot, not you.  James T. Kirk | 05/30/07
Microsoft  birdofire@... | 05/30/07
I think he is a typical Linux  No_Ax_to_Grind | 05/30/07
nope  birdofire@... | 05/31/07
Why would Microsoft need to scare anyone  voska | 05/30/07
MS doesn't need to deploy those scare tactics.  osreinstall | 05/30/07
MS doesn't need to deploy those scare tactics  deaf_e_kate | 05/30/07
They don't  osreinstall | 05/31/07
Gosh, Firefox extensions have been outed for being vulnerable...  Scrat | 05/30/07
Commercial Extensions.  TripleII | 05/30/07
So, by your reasoning, Google cannot be trusted then!  Scrat | 05/31/07
Seems Firefox has made some great strides  xuniL_z | 05/30/07
Message has been deleted.  Linux User 147560 | 05/30/07
Nope.  xuniL_z | 05/30/07
DIdn't you know?  JLHenry | 05/30/07
No, why are you having one!  xuniL_z | 05/31/07
Up until your try IE 7  voska | 05/30/07
I run both,,,  No_Ax_to_Grind | 05/30/07
Preference maybe  voska | 05/30/07
I pretty much agree  No_Ax_to_Grind | 05/30/07
What are your metrics for better?  xuniL_z | 05/30/07
Better as in easier to use  voska | 05/30/07
ah ha. you didn't give IE 7 enought time...i can.  xuniL_z | 05/31/07
"Makes IE look all the more sleek, fast and secure"  deaf_e_kate | 05/30/07
Only to those  No_Ax_to_Grind | 05/30/07
Unlike you ? Mr Nothing-but-MS  deaf_e_kate | 05/30/07
Gee, you need to look up. (nt)  No_Ax_to_Grind | 05/30/07
I totally agree  xuniL_z | 05/30/07
I totally agree, you talk *****  deaf_e_kate | 05/30/07
I'm only speaking of my personal experience  xuniL_z | 05/31/07
Careful there now Xunil_z .  Intellihence | 05/30/07
Did you get tired of using your new  xuniL_z | 05/31/07
Where can I buy those selective glasses?  TripleII | 05/30/07
None needed, in fact just take off the open source  No_Ax_to_Grind | 05/30/07
See what clearly , the garbage that's under the MS hood .  Intellihence | 05/30/07
Yeah, well I do try to keep up with the standards  xuniL_z | 05/30/07
Malware is Malware  TripleII | 05/30/07
You don't mind reloading the entire browser...  xuniL_z | 05/31/07
Yeah, well I do try to keep up with the standards  deaf_e_kate | 05/30/07
Well, let's look at that shall we.  xuniL_z | 05/31/07
It certainly isn't  Freebird54 | 05/31/07
Perhaps one more look at this, is in order  xuniL_z | 05/31/07
I'm saving this one Xunil_z .  Intellihence | 05/30/07
All I can say is.....  xuniL_z | 05/31/07
del.icio.us Extension  osunick | 05/30/07
Updated  Ryan NaraineZDNet Moderator | 05/30/07
Your efforts are appreciated  No_Ax_to_Grind | 05/30/07
What gets me with FF is the stupid Google Toolbar  voska | 05/30/07
Not attached  wizardb@... | 05/31/07
google toolbar  boguscomputer | 05/31/07
Google is also doing this to IE. DO NOT GET GOOGlIZED IE7  xuniL_z | 05/31/07
If you can perform a DNS-based MITM attack, you've already won.  Resuna | 05/31/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads