Privacy and Legal Notice
TECHNICAL BULLETIN
T-186: Mozilla Firefox 3.5 'Tracemonkey' Component Remote Code Execution Vulnerability
July 17, 2009 13:00 GMT
|
| PROBLEM: |
Mozilla Firefox version 3.5 contains a vulnerability in the TraceMonkey components of Firefox's JavaScript engine.
|
| PLATFORM: |
Mozilla Firefox 3.5
|
| ABSTRACT: |
The vulnerability is a JS engine bug dealing with deep bailing not
properly restoring the return value from the result of the (fast
native) escape function. |
|
| IMPACT ASSESSMENT: |
This risk is high. A remote, unauthenticated attacker may be able to execute arbitrary code or cause Firefox to crash. |
|
Discussion:
Mozilla Firefox is prone to a remote code-execution vulnerability. Successful exploits may allow an attacker to execute arbitrary code in the context of the user running the affected application. Failed attempts will likely result in denial-of-service conditions.
The issue affects Firefox 3.5; other versions may also be vulnerable.
NOTE: Remote code execution was confirmed in Firefox 3.5 running on Microsoft Windows XP SP2. A crash was observed in Firefox 3.5 on Windows XP SP3.
UPDATE (July 15, 2009): Remote code execution is also possible in Firefox 3.5 running on Apple Mac OS X.
Solution:
Firefox 3.5.1 has been released to address this issue. See Mozilla Foundation Security Advisory 2009-41 for more information. Until updates can be applied, the below workarounds may mitigate this issue.
Disable TraceMonkey
To disable the vulnerable components, use the about:config interface to set javascript.options.jit.content and javascript.options.jit.chrome to false. This will still allow JavaScript to run, but it will disable the TraceMonkey performance enhancements.
Use NoScript
Using the Mozilla Firefox NoScript extension to whitelist web sites that can run scripts will help to mitigate this vulnerability. Further details for configuring NoScript are available in the Securing Your Web Browser document.
Disable JavaScript
For instructions on how to disable JavaScript in Firefox, please refer to the Firefox section of the Securing Your Web Browser document.
DOE-CIRC services are available to DOE, DOE Contractors, and the NIH.
DOE-CIRC can be contacted at:
Voice: 866-941-2472
E-mail: doecirc@doecirc.energy.gov
World Wide Web: http://www.doecirc.energy.gov
UCRL-MI-119788