Mozilla Admits Firefox Exploit Caused by Firefox Bug, Not IE

By Scott M. Fulton, III, BetaNews

July 24, 2007, 5:53 PM

On July 10, engineers at Secunia issued a security advisory, rated "Highly Critical," warning Firefox users that their browser could be tricked into executing arbitrary JavaScript code. Soon afterward, Mozilla developers issued a statement saying the problem was caused by Internet Explorer, which could trick Firefox into executing that code. This morning, Mozilla security chief Window Snyder had to issue a retraction, stating Firefox could just as easily trick Firefox into doing the same thing.

The problem was first discovered by security engineer Thor Larholm, who gained recognition last month for having discovered a security hole in Apple's Safari for Windows pre-release two hours after having first obtained it. This time, Larholm reported his discovery as an "Internet Explorer 0day Exploit," by virtue of the fact that IE was the attack vector he originally discovered.

Specifically, the problem concerns the fact that Firefox registers the firefoxurl:// resource identifier, whose handler is capable of running JavaScript code intentionally embedded in a URI that uses that identifier. On the day Secunia publicly reported Larholm's discovery, Mozilla took steps to allay users' fears, posting on its security blog, "It is important to note that if you are using Firefox to browse the web you *are not* vulnerable to this attack."

Later that day, information security expert Jesper Johansson wrote that although he could not get Larholm's exploit to behave exactly as he described, he could eliminate any possibility of the exploit altogether simply by unregistering Mozilla's own handlers from the command line. The direct implication there was that Firefox was not vulnerable because Firefox was responsible.

Meanwhile, Mozilla's security blog repeated a Microsoft spokesperson's comment that it would not be issuing a patch for the exploit.

On July 18, Mozilla released Firefox 2.0.0.5, ostensibly to manage the problem of Firefox receiving maliciously crafted URIs from IE. On her security blog that day, Mozilla's Snyder commented, "This patch for Firefox prevents Firefox from accepting bad data from Internet Explorer. It does not fix the critical vulnerability in Internet Explorer. Microsoft needs to patch Internet Explorer, but at last check, they were not planning to."

That comment prompted Johannson - a former security program manager at Microsoft - to issue this retort two days later: "Well Window, those who sit in a glass house should not be throwing stones." He then demonstrated that Firefox might not be susceptible to this problem at all if it followed the standard for URIs, which mandates that quotation marks - a critical character in JavaScript code, especially to demarcate filenames - must be filtered out.

"Following Mozilla's, and Thor Larholm's logic," Johansson wrote, "Firefox is subject to the exact same flaw that they blame on IE! Firefox also does not escape quotes in URLs before it passes them on to protocol handlers. I won't speculate here on why they failed to fix that 'flaw' in the new version of Firefox that was just released."

This morning, Snyder was forced to concede the point. "We thought this was just a problem with IE," she wrote. "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."

Add a Comment (31 Comments)

BetaNews reserves the right to remove any comment at any time for any reason. Please keep your responses appropriate and on topic. Foul language and personal attacks will not be tolerated.

Name (required):

E-mail (required):

Enter Your Comment:

By elare14

edited Jul 29, 2007 - 7:09 AM

Last night, my wife was running Firefox 2.0.0.5 which I recently installed and received a message in Swedish with a Firefox logo that, because of visiting certain sites, she was in danger of "having her career and personal life ruined, credit card info exposed" etc. and that she should click on ok to run some sort of cleanup. (Exact message, she doesn't remember). She simply closed Firefox and rebooted the computer.

We non-experts, would greatly appreciate information and tips about this incident - it was a threatening message and scared her!

Sorry I don't have more exact ifo; any help appreciated!

- Laurence

-elare14@yahoo.com

Score: 0

By Nanobot

posted Jul 26, 2007 - 12:34 AM

The headline and conclusion of this news post is incorrect. There are two issues here: one in IE which could affect Firefox or other apps, and one in Firefox which could affect other apps.

It's possible for a website to use a URL which will cause Internet Explorer to launch a program with unsafe arguments, allowing for remote code execution. That problem still exists in Internet Explorer. Mozilla made sure that Firefox wouldn't get any of those unsafe arguments, but other programs like Trillian are still vulnerable to the IE bug.

It was then discovered that a similar issue also exists in Firefox: a website could use a URL to get Firefox to launch a program with unsafe arguments.

So right now, both Firefox and Internet Explorer have the same URL handling bug. Mozilla fixed Firefox so it can't be affected by IE's bug, and Mozilla also plans to fix Firefox's own bug. Microsoft, on the other hand, is currently plugging its ears and acting like there's no problem.

To my knowledge, the bug has not yet been found in Opera or Safari, but I wouldn't be surprised if it suddenly came up. It wouldn't be the first time this sort of vulnerability was found in all major browsers.

Score: 0

By bourgeoisdude

posted Jul 25, 2007 - 5:11 PM

Most comment readers are just looking to flame or looking to counterflame, so no use me posting anything here (OH NO! I just did...)

Score: 0

By BadIronTree

posted Jul 25, 2007 - 3:28 PM

Opera RULES

Score: 0

By robmanic44

posted Jul 25, 2007 - 8:05 AM

They need to get Firefox 3 released and stop fritzing around with version 2. As for Opera, it still has serious rendering problems. The entire browser debate has become very boring.

Score: 0

By Benjamin Linus

posted Jul 25, 2007 - 10:26 AM

What rendering issues are those then? It's one of the few browsers to actually pass the Acid2 test, and the upcoming 9.5 passes 100% of the CSS3 tests..

http://storage9.myopera....huibk/files/opera95.png

If you want to pick faults, lets talk about Firefox's horrendous security track record, or it's documents unfixable memory leaks..

Score: 0

By frankwick

posted Jul 25, 2007 - 10:04 AM

I use 3, the same problem exists.

Score: 0

By MinuteMaid

posted Jul 25, 2007 - 3:10 AM

Just use Opera, even hackers admit, it's the most secure way to be online.. Anyone wih any sense will have seen the pattern, plenty of issues affecting Firefox and IE, very few ever affect Opera.

http://www.securityfocus.com/news/11476/1
(page 2)

"Anything else you'd like to add?

I would advise you to use the Opera browser with scripts and plug-ins disabled in order not to be caught by the MPack someday."

Score: 0

By mjm01010101

edited Jul 25, 2007 - 7:27 AM

I'd use opera, but then I couldn't block certain things I can with Firefox. I know it's possible in opera, but it's a real hassle. Blocking certain things in ff is why I started using it in the first place. I "took back" the web, so to speak.

I do use opera on my mobile. Ironically it's more bloated than pocket IE. But it's faster in pageviews and has better features.

Score: 0

By Benjamin Linus

posted Jul 25, 2007 - 8:46 AM

??? Since when has a 114Kb web browser been bloated?

My Opera 4 Beta is showing as being 114Kb is size!!

Score: 0

By the artist

edited Jul 25, 2007 - 5:17 PM

Piece of living s***, you are talking of Opera MINI 4 beta, for cellphones. Get your astonishing ignorance elsewhere or don't try to confuse other people.

Score: 0

By Benjamin Linus

posted Jul 26, 2007 - 5:26 AM

It was a followup to a post about mobile browsers, you idiot.

Score: 0

By Steve Austin

posted Jul 26, 2007 - 3:19 AM

"I do use opera on my mobile. Ironically it's more bloated than pocket IE."

Score: 0

By mjm01010101

posted Jul 25, 2007 - 9:48 AM

When I start it it takes about 10-15 seconds to start.

Score: 0

By bourgeoisdude

posted Jul 25, 2007 - 5:13 PM

So it must be Opera's fault and not other conflicting software, right?

Just a thought...I could be wrong. For the record I don't use Opera either.

Score: 0

By mjm01010101

posted Jul 25, 2007 - 7:30 PM

Yeah, it is opera's fault, when it's the slowest software on my phone.

Look, stop trying to defend it. I know it's fast on a PC. I know it can't do what I want on it easily, either.

It's slow on a pocketpc, there ain't nothing more to do about that either.

Score: 0

By Sansego

posted Jul 24, 2007 - 9:10 PM

And the beat goes on.

Score: 0

By Tempus3

edited Jul 24, 2007 - 7:37 PM

Please, MS will never admit to screwing up. At least the find folks at Mozilla will! Okay, everyone messes up once in awhile. I think the the Firefox folks have a long way to go to match the complete ****-up that IE is!

Score: 0

By dan-0

posted Jul 25, 2007 - 7:35 AM

retardo-(tempus3) the problem isn't ie, it is ff. they allow a different URI structure which causes the problem, This is why MS isn't releasing a patch.
Read the article again. obviously you are commenting without reading the article in full.

Ineptitude will always precede ignorance.

Score: 0

By Tempus3

posted Jul 25, 2007 - 7:59 AM

Personal attacks? Well, you revealed your own insecurities. I was making the point that MS never makes a mistake (at least in their own eyes). I did indicate that Mozilla admitted that the error was theirs (you might try reading my post again)and gave them credit for that.

Score: 0

By Silentmaster101

posted Jul 26, 2007 - 7:01 AM

so because instead of wasting time and effort telling everyone there is a new bug, they just make a patch and release it, that means they dont admit to any wrongs?

Score: 0

By gallyjh

posted Jul 25, 2007 - 8:55 AM

Wow you are retarded. If your point was to say "MS never makes a mistake (at least in their own eyes)." or admits to them, then what do you call their patch Tuesdays? They admit security problems every time a patch comes out.

Score: 0

By athome

edited Jul 25, 2007 - 1:58 AM

Webster defines an idiot as a person affected with idiocy, or a foolish or stupid person.

Wikipedia - meaning an "uneducated or ignorant person."

Thank god, I was able to add your picture to further help others understand the concept. To even further illustrate, Snyder's picture should be right next to yours. I am sure she might have something to say, but she will have to take her foot out of her mouth first.

Score: 0

By phenomnaruto

posted Jul 24, 2007 - 8:17 PM

troll #1

Score: 0

By Antichrist

posted Jul 24, 2007 - 7:27 PM

This is why I don't use web browsers. At the moment, I am jacked directly into the matrix.

Score: 0

By Rolphus

posted Jul 25, 2007 - 6:27 AM

Yeah, you just wait till someone buffer-overflows your brain.

Score: 0

By ModderXManiac

posted Jul 24, 2007 - 7:14 PM

Great, Microsoft is no longer the only company that is in denial about security issues.

As long as they fix it and deliver the browser I continue to love...And get it done without wasting my precious browsing time having to fix this.

Score: 0

By PC_Tool

posted Jul 25, 2007 - 9:27 AM

Great, Microsoft is no longer the only company that is in denial about security issues.

Mozilla Admits Firefox Exploit Caused by Firefox Bug, Not IE

Please explain how you came to that conclusion.

Score: 0

By ashz

posted Jul 25, 2007 - 10:27 AM

It pains me to say it, but I agree with PC_Tool. How are they in denial when they admitted to it!!

Score: 0

By keir

posted Jul 25, 2007 - 7:26 PM

It was the arrogance implied by their initial blaming of IE - it smacked a little of Apple smuggery, and I'm a Firefox-lover. The retraction was good, however, and free from spin.

Score: 0

By Silentmaster101

posted Jul 26, 2007 - 7:03 AM

so because they may or may not have honestly thought it was an ie problem they are to blame for a wrongful analysis of the problem? engineers and programers make mistakes you know.

Score: 0