Ones and Zeros
July 16, 2009, 7:14 AM

Mitigating That Critical Firefox 3.5 Vulnerability

Earlier this week, I wrote about a "highly critical" -- and unpatched -- vulnerability that puts millions of Web surfers at risk of malicious hacker attacks. 

Since then, there has been word that the release of the vulnerability and exploit was "self-inflicted" (Mozilla exposed the bug themselves) and official instructions on how to mitigate the risks until a patch is ready. 

Here are those instructions, via the Mozilla security team:

The vulnerability can be exploited by an attacker who tricks a victim into viewing a malicious Web page containing the exploit code. The vulnerability can be mitigated by disabling the JIT in the JavaScript engine. To do so:

  1. Enter about:config in the browser’s location bar.
  2. Type jit in the Filter box at the top of the config editor.
  3. Double-click the line containing javascript.options.jit.content setting the value to false.

Note that disabling the JIT will result in decreased JavaScript performance and is only recommended as a temporary security measure.  Once users have been received the security update containing the fix for this issue, they should restore the JIT setting to true by:

  1. Enter about:config in the browser’s location bar.
  2. Type jit in the Filter box at the top of the config editor.
  3. Double-click the line containing javascript.options.jit.content setting the value to true.

Alternatively, users can disable the JIT by running Firefox in Safe Mode.  Windows users can do so by selecting Mozilla Firefox (Safe Mode) from the Mozilla Firefox folder.

Firefox users should always consider running the NoScript extension to avoid scripting attacks.  

 

Blogger Bio

About Ones and Zeros

Ryan Naraine is a security writer social media enthusiast specializing in Internet and computer security issues. He also blogs at ZDNet and previously served as Editor-at-Large/Security at eWEEK and senior editor at Jupiter Media's internetnetnews.com. On this blog, Ryan provides in-depth coverage of hacker attacks, vulnerability research, flaw warnings and news analysis. Follow Ryan on Twitter.

Contact Ryan

 

Stay Connected