On TV.com: TOP 10 Shows CANCELED Too Soon
BNET Business Network:
BNET
TechRepublic
ZDNet

July 26th, 2007

Protocol abuse adds to Firefox, Windows security woes

Posted by Ryan Naraine @ 9:29 am

Categories: Apple, Botnets, Browsers, Data theft, Exploit code, Firefox, Google, Hackers, Passwords, Patch Watch, Pen testing, Responsible disclosure, Rootkits, Spam and Phishing, Spyware and Adware, Viruses and Worms, Vulnerability research, Windows Vista, Zero-day attacks

Tags: Security, Mozilla Firefox, Windows Security, Vulnerability, Microsoft Windows, Ryan Naraine

Protocol abuse adds to Firefox, Windows security woesSecurity researchers have discovered a new set of protocol abuse problems with Mozilla Firefox, warning that the popular open-source browser is a sitting duck for code execution exploits.

Billy (BK) Rios and Nate McFeters, two hackers who have warned repeated about risky and unnecessary URIs registered on Windows, have released proof-of-concept exploits that shows how fully patched versions of Firefox (2.0.0.5) can be exploited when a user simply clicks on a booby-trapped link.

Adding to the back-and-forth blame game, Secunia says this is a “highly critical” flaw that affects Microsoft Windows.

The vulnerability is caused due to an input validation error within the handling of system default URIs with registered URI handlers (e.g. “mailto”, “news”, “nntp”, “snews”, “telnet”). This can be exploited to execute arbitrary commands when a user e.g. using Firefox visits a malicious website with a specially crafted “mailto” URI containing a “%” character and ends in a certain extension (e.g. “.bat”, “.cmd”)

Successful exploitation requires that Internet Explorer 7 is installed on the system. Secunia has confirmed the vulnerability on a fully patched Windows XP SP2 and Windows Server 2003 SP2 system using Firefox version 2.0.0.5 and Netscape Navigator version 9.0b2. Other versions and browsers may also be affected.

[ SEE: Mozilla caught napping on URL protocol handling flaw ]

Mozilla security chief Window Snyder has posted a confirmation of the latest issue:

We are currently investigating an issue on Windows XP, where some urls for “web” protocols that contain %00 launch the wrong handler and appear to be able to launch local programs, with limited argument passing. The impact to users is unknown at this point in time. We are working to verify this and in the meantime, advise users to be cautious when browsing unknown sites.

Mozilla has already created a fix that will be rolled out in the next version of Firefox.

TEMPORARY WORKAROUNDS:

A vulnerability note from US-CERT includes the following mitigation guidance:

  • Using the about:config interface, setting the network.protocol-handler.warn-external-default, network.protocol-handler.warn-external.mailto, network.protocol-handler.warn-external.news, network.protocol-handler.warn-external.nntp, network.protocol-handler.warn-external.snews to true will make Firefox display a prompt before sending a URI to an external handler.
  • Do not click on or follow untrusted links, or links that contain %00 immediately following the protocol name.

For administrators:

Blocking mailto: %00, nntp: %00, news: %00, snews: %00, telnet: %00 strings inside of HTML pages or other network streams using an application layer firewall or IPS may mitigate this vulnerability. See the xs-sniper blog for more information about known vulnerable URIs. Note that an attacker may obsfucate URIs in a way that blacklisting techniques may only stop a small percentage of attacks.

I pinged Billy (BK) Rios for some practical advice for non-technical end users. He is adamant that users should unregister all unnecessary URIs immediately. Unfortunately, it’s a little difficult for mom and pop users to unregister URIs, so the standing recommendation is for Firefox users to install and use the free NoScript extension to get protection.

[ SEE: Ten free security tools you should already be using ]

Rios also urges CSOs to be proactive against URI handling vulnerabilities by using the free Dump URL Handlers (DUH.vbs) tool distributed by Erik Cabetas at the bottom of this page.

Once all the registered URI handlers have been identifed, you can either remove them completely or audit them.

URI handlers can be removed by deleting the following registry keys: HKCR\<Name of URI HANDLER>

But, bear in mind that some URI handlers are tied to functionality provided by other programs which makes them more dangerous, but also, removing them may break the functionality of applications relying on the URI Handler.

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.

  • Talkback
  • Most Recent of 38 Talkback(s)
RE: Protocol abuse adds to Firefox, Windows security woes

Drug Treatment Centers

Many registered URL protocol handler that rely on the command line for input will also have a DDE component which is use... (Read the rest)
Posted by: maddy28j Posted on: 10/04/09 You are currently: a Guest | | Terms of Use
Done, half of it anyway...  BillyG_n_SC | 07/26/07
Does this exploit affect Opera?  Scrat | 07/26/07
You *do* like stirring them up!  bportlock | 07/27/07
Where's the FF fans?  BFD | 07/26/07
Here's one!  bportlock | 07/27/07
I'm an exclusive FF user , but wait , this doesn't affect Macs or Linux .  Intellihence | 07/27/07
Easy.  xuniL_z | 08/01/07
Whew!  Linux User 147560 | 07/26/07
Yup  tonymcs@... | 07/26/07
Just because you can't figure out how to  Linux User 147560 | 07/26/07
Well.  xuniL_z | 07/27/07
Yes that's why we are seeing  Linux User 147560 | 07/27/07
You are telling me that of the 60 million and climbing fast  xuniL_z | 07/31/07
yes because  Khyron | 11/12/07
Point taken  JDThompson | 07/27/07
Point taken  xuniL_z | 08/01/07
RE: Yup  joe6pack_z | 07/27/07
If you mean you dodged...  xuniL_z | 07/30/07
Computer Problems start with Windows  WebFly64 | 07/27/07
Is that so. Well then you'd probably be happy  xuniL_z | 07/27/07
Well considering the fact that  Linux User 147560 | 07/27/07
Ah, you bring up a major linux funding source  xuniL_z | 07/30/07
can we put link to other site? Please read.  WebFly64 | 07/27/07
Are you kidding me??  xuniL_z | 07/30/07
giving the bad guys their information?  Narr vi | 07/27/07
LMFAO  rkuhn040172@... | 07/27/07
ROTFLMAO !!!  Intellihence | 07/27/07
difference is that MS just sits on risky things  Narr vi | 07/28/07
They already know  Ryan NaraineZDNet Moderator | 07/27/07
What do you mean by "full disclosure"?  Alun Jones | 07/27/07
think you're missing it about the script kiddies  Narr vi | 07/28/07
This appears to be  jackie40d@... | 07/27/07
Nothing on mine?!  tylermenezes@... | 07/27/07
RE: Nothing on mine?!  joe6pack_z | 07/27/07
When running Ubuntu 7.04  mhenriday | 07/27/07
ZDnet Postings Bogus  alafjr@... | 09/05/07
RE: Protocol abuse adds to Firefox, Windows security woes  HapGail_HomeInMd@... | 09/07/07
RE: Protocol abuse adds to Firefox, Windows security woes  maddy28j | 10/04/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
Click Here

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here