Mozilla credited with discovering exploitable Google Chrome 2 flaw

By Scott M. Fulton, III | Published August 25, 2009, 4:43 PM

Google is not saying much today about a flaw discovered in the V8 JavaScript engine of its Chrome 2 stable Web browser, one which triggered an update that is being rolled out to Chrome users today. Amid what it is sharing today, however, is a surprising fact: Mozilla Security is being credited with the discovery.

Malicious JavaScript, Google says, can cause the Chrome browser to run arbitrary code, although that code may still be protected by the browser's "sandbox" -- its protected area of memory where running code has no access to system resources. However, it's conceivable that code running within the sandbox could provoke the user (by social means, perhaps by feigning a crash or system bug) to perform an action that may trigger a more damaging process delivered through a different payload, so Google treated the issue with a "High" severity rating.

On the one hand, it's conceivable that Mozilla's security team may be testing other brands of open source browsers for the same possible exploits for which it's testing various releases of Firefox. But a more plausible story is that a derivative of a Firefox bug that had already been reported or discovered by Mozilla's security team, was tried by Mozilla or Google on a Chrome browser, with the same detrimental results.

If that's the case, then the last Firefox bug to match the vague profile that Google's presented thus far is a Firefox 3.0.11 bug found last June 11 by legendary Firefox security contributor moz_bug_r_a4. Now, "chrome" in the Firefox vernacular is a term that predates "Chrome" as Google's browser brand name; Mozilla uses it to refer to the class of code that presents the on-screen appearance and controls for the browser, along with the elevated privilege that JavaScript code is granted to put them there. This way, JavaScript based in Web pages can't change the browser to the same extent that an add-on can.

On the surface, moz_bug_r_a4 had found a JavaScript bug that could lead ordinary code to be executed with "chrome privilege" -- again, nothing to do with Google Chrome, but with the keys to the browser interface being unlocked. More specifically, what he discovered and immediately reported was that a JavaScript object was being created in the middle of data instead of in protected memory, creating the possibility that a reference to a property of that object would move a pointer into that data, maybe triggering a crash or fault, and leaving that pointer open to exploitation and possible code execution.

Google promises to go in-depth about its own V8 JavaScript bug once it's determined that enough Chrome 2 users have installed the update.

Comments

View comments by with a score of at least

Did fixing this make the browser faster or slower? ;)

Score: 0

|

"Mozilla Security is being credited with the discovery." Not surprised, after all they have gained much experience of late fixing their own browser. Firefox was in and out of the Mozilla patching shop on a daily basis last month. Good news however is that a new Opera will be ready for prime time probably as soon as Monday, so I say ditch Chrome, ditch Firefox and go Opera.

Score: -1

|

Opera is such a great browser. It tends to poorly render pages & crash quite a bit.
Hard to tell it is at v9+ where Firefox is not even at v4 and Fx just plain works.

News Flash!!! Developers patch their browsers.
The amount of times is meaningless as long as the work is done.

Score: 0

|

I wouldn't say the credit for Mozilla Security is overly surprising. Browser vendors work together on security a lot behind the scenes. See for example this blog post which details some bi-directional sharing between Google and other browser vendors:

http://googleonlinesecur...b-browser-security.html

Chris Evans, Chrome Security Team

Score: 2

|

Wow. Big news. No one has ever found a flaw in browser code before.

Score: 0

|

Microsoft's Ray Ozzie: 'Nobody's going to be 100% open'

The mobile apps ecosystems of the world may converge over time, led by apps being ported over across platforms, according to the Chief Software Architect.

Will Firefox beat IE9 to Direct2D rendering?

Just days after Microsoft executives gave conference attendees a peek at a new rendering technology, a Mozilla contributor revealed he's working on the same thing.

Where there's smoke: Apple warranty stance raises troubling questions

Carmi Levy | Wide Angle Zoom: Smoking can be dangerous not only for your lungs, it appears, but for your Apple hardware warranty.

The fallacy of Facebook privacy

Carmi Levy | Wide Angle Zoom: If an insurance company learns something interesting about its client through the Internet, is that snooping?

Microsoft 'worked with Apple' for Silverlight on iPhone, says Goldfarb

By not making such a big deal out of trying to stream video to the iPhone, Microsoft got a big deal out of it, revealed the Silverlight product manager.

Clicker.com cuts through the Web video chaos

In a world where homemade video and Hollywood movies travel the same pipeline, it's good to have a real search engine to cut through the clutter.

A case study in improving software: What Office 2010 can learn from Notion 3

A music composition product gambles with a complete overhaul, in an effort to make headway against two well-known competitors in a tough market.

Kindle 2 update adds battery life, native PDF reader

Amazon has pushed out an update to the Kindle 2 e-reader that lengthens battery life and adds a native PDF viewer.

Safari on iPhone gets competition from a $1 browser app

Apple likes to say it gives iPhone users a full browsing experience, but a new competitor tries to incorporate more desktop browser features.

Action Replay maker sues Microsoft for Xbox 360 'predatory technological barriers'

Third-party video game accessory maker Datel has filed an antitrust lawsuit against Microsoft over the Xbox 360's recent Dashboard update.