On TechRepublic: Why Android beats iPhone
BNET Business Network:
BNET
TechRepublic
ZDNet

July 23rd, 2007

Mozilla caught napping on URL protocol handling flaw

Posted by Ryan Naraine @ 7:38 pm

Categories: Black Hat, Botnets, Browsers, Data theft, Exploit code, Firefox, Google, Metasploit, Microsoft, Mozilla, Open source, Patch Watch, Pen testing, Responsible disclosure, Spyware and Adware, Viruses and Worms, Vulnerability research, Windows Vista, Zero-day attacks

Tags: Security, Mozilla Firefox, Microsoft Internet Explorer, Mozilla Corp., Flaw, Ryan Naraine

Uh-oh. The latest twist in the URL protocol handling vulnerability saga has left eggs on the faces of the security folks at Mozilla.

It turns out that Mozilla’s Firefox is just as guilty Microsoft’s Internet Explorer when it comes to passing dangerous data to third party applications.

Over the last two weeks, Mozilla has steadfastly pinned the blame on the URL protocol handling bug on Microsoft, insisting there’s a critical IE flaw that remains unfixed but, as a Windows internals expert discovered yesterday, Mozilla might want to be careful about throwing stones.

“Firefox is subject to the exact same flaw that they blame on IE,” says Jesper Johansson, a former Microsoft security strategist who has been tracking this bug closely.

Johansson has published proof that Firefox also does not escape quotes in URLs before it passes them on to protocol handlers, a dangerous situation that could lead to code execution attacks.

Interestingly, Johansson does not view this as a browser vulnerability, insisting that the onus is on the application receiving the data to properly validate inputs.

Mozilla’s security chief Window Snyder has fessed up to the gaffe exposed by Johansson:

Over the weekend, we learned about a new scenario that identifies ways that Firefox could also be used as the entry point. While browsing with Firefox, a specially crafted URL could potentially be used to send bad data to another application.

We thought this was just a problem with IE. It turns out, it is a problem with Firefox as well. We should have caught this scenario when we fixed the related problem in 2.0.0.5. We believe that defense in depth is the best way to protect people, so we’re investigating it now.

More information on Mozilla’s investigation at this Bugzilla entry.

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 67 Talkback(s)
Mozilla Fixed It Quickly
The entertainment value of the self-righteous whining on the Internet never ceases to amaze me. Mozilla issued a new version of FireFox that fixes this problem (and more) within 2 weeks of this postin... (Read the rest)
Posted by: dl@... Posted on: 08/01/07 You are currently: a Guest | | Terms of Use
Alun Jones insight  Aaron_Margosis | 07/23/07
Message has been deleted.  Giorgio Maone | 07/24/07
I'll hold Mozilla to the same standard as MS  TripleII | 07/23/07
Agreed...at least they acknowledge it. Let's see...  mdsmedia | 07/24/07
hmmm....  mdsmedia | 07/24/07
If Mozilla doesn't fix it ....  bportlock | 07/24/07
Of course they do!  RocketEater | 07/24/07
Mozilla has no choice...  BFD | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
It isn't fixed and is only being investigated.  ShadeTree | 07/24/07
Check the Bugzilla link in the article.  Letophoro | 07/24/07
Until they post the patch it is not fixed.  ShadeTree | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
Double encoding?  Aaron_Margosis | 07/24/07
No double encoding here  Giorgio Maone | 07/24/07
A little off topic...  MGP2 | 07/24/07
You're quick on the uptake wink nt  mdsmedia | 07/24/07
Yes, Mozilla's security rides on  xuniL_z | 07/24/07
True or false?  Real World | 07/24/07
True  bportlock | 07/24/07
Here is the big question ?  Intellihence | 07/24/07
Gecko  bportlock | 07/24/07
That didn't seem to be a concern  John Zern | 07/24/07
LOL....  fr0thy2. | 07/24/07
Sorry, but nobody can help you with this...  xuniL_z | 07/24/07
Semantic issue?  wolf_z | 07/24/07
And the corollary is ...  bportlock | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
However  nmh | 07/24/07
The Fix already exists, and honors RFC 3986  Giorgio Maone | 07/24/07
That's a mitigating factor, but the underlying flaw is still there.  Resuna | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
Enough of the advertisements  rtk | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
I agree with a prior poster, you need to stop  xuniL_z | 07/24/07
OH REALLY???  BFD | 07/24/07
They'll say...  rapson | 07/24/07
That's great...  BFD | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
There is NO Bug...  BFD | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
Then you should also admit that the ....  ShadeTree | 07/24/07
End-user?  Greenknight_z | 07/25/07
Are you proud of them attacking IE for a ....  ShadeTree | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
The option where I don't publicly chastise ....  ShadeTree | 07/24/07
Mozilla chose #2 for how long now? So..  xuniL_z | 07/24/07
Wrong again.  No_Ax_to_Grind | 07/24/07
again not true  jjarman | 07/24/07
This is a MS Windows bug.  phatkat | 07/24/07
Consider yourself corrected  No_Ax_to_Grind | 07/24/07
corrected?  jjarman | 07/24/07
You only made a blank statement, no correction.  B.O.F.H. | 07/24/07
Obviously, you have no idea.  Kid Icarus-21097050858087920245213802267493 | 07/24/07
He's correct, it IS a Microsoft Issue  johnf76@... | 07/24/07
Way wrong  rapson | 07/24/07
"other than the fact that IE runs only on Windows"  Sabz5150 | 07/24/07
The bug is in Windows and OS X, and it's in the design of the handler API.  Resuna | 07/24/07
Mozilla Caught Napping.  pjones | 07/24/07
Message has been deleted.  Giorgio Maone | 07/24/07
Would you please quit with the endless ....  ShadeTree | 07/24/07
ALL BROWSERS DO THIS  Resuna | 07/24/07
Shorter URL link  Resuna | 07/24/07
Good, they are addressing and fixing the issue,  Kid Icarus-21097050858087920245213802267493 | 07/24/07
Mozilla Fixed It Quickly  dl@... | 08/01/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here