MOBB Bug Among Mozilla Patches
Fix avoids 'race conditions,' where a system tries to perform multiple operations simultaneously, bypassing normal processing
July 27, 2006
Among a round of security patches issued yesterday by Mozilla in a new version of its Firefox browser was a critical one first discovered by the head researcher of the Month of Browser Bugs (MOBB) project. (See Getting Buggy with the MOBB.)
The vulnerability in the Firefox browser allows a so-called "race condition" in JavaScript's garbage collector, which lets an attacker execute arbitrary code and ultimately load adware and malware, or destroy the hard disk. A race condition is when a system tries to perform two or more operations simultaneously, which wreaks havoc because they must be done in the proper sequence.
But HD Moore, the researcher who heads up MOBB and found the Firefox bug, as of press time had not yet published the bug on his site. He had agreed to hold off until after Mozilla had released the updates to its browser. The MOBB project, although well-respected, has faced some criticism on publishing bugs before vendors have patched the problems.
Mozilla released the new Firefox 1.5.0.5 version, which patches the JavaScript bug as well as 12 other vulnerabilities, 7 of those which Mozilla categorized as "critical," a day after alerting users of vulnerabilities. Among the other vulnerabilities patched in the new version are cross-site scripting, heap overflow, privilege access, JavaScript engine, and object vulnerabilities.
"We strongly recommend that all users upgrade to this latest release," Chris Beard, vice president of products for Mozilla said in a statement.
Moore, meanwhile, says he found the JavaScript race condition while working with a Firefox-specific fuzzer. A fuzzer is a program that tries to find security holes, typically by sending random input to an application to see how it reacts.
The race condition caused the JavaScript garbage collector to delete some code that then can be used to run malware, for instance. "Once you trigger the bug, code execution is easy," Moore says. "With enough work, it could be made into a very reliable code execution exploit, but someone has to find a way to reliably trigger the garbage collector at the right time."
Moore says his test script still needs some work, but he'll likely post it on the MOBB site soon. An attack using this vulnerability occurs in two stages: "First, you load multiple copies of the payload into memory and cause the target address to be allocated," he says. "Then you try to trigger the race condition that results in the program jumping to the payload."
Marc Maiffret, CTO for eEye Digital Security, which sells Blink, an endpoint intrusion-prevention system, says the Mozilla patches overall look like "more of the same" browser vulnerabilities out there today. But it's these non-Microsoft vulnerabilities that worry him most. "The scariest thing in security is the average company running predominantly Windows desktops or servers are so focused on Microsoft Patch Tuesday that they've forgotten most of the other software on their network," he says. "These are just as vulnerable if not more."
— Kelly Jackson Higgins, Senior Editor, Dark Reading
About the Author
You May Also Like