You are here

T-568: Mozilla Firefox Bugs Let Remote Users Conduct Cross-Site Request Forgery Attacks and Execute Arbitrary Code

March 2, 2011 - 3:05pm

Addthis

PROBLEM:

Mozilla Firefox Bugs Let Remote Users Conduct Cross-Site Request Forgery Attacks and Execute Arbitrary Code.

PLATFORM:

Firefox, Thunderbird, SeaMonkey

ABSTRACT:

Mozilla developers identified and fixed several memory safety bugs in the browser engine used in Firefox and other Mozilla-based products. Some of these bugs showed evidence of memory corruption under certain circumstances, and Mozilla presume that with enough effort at least some of these could be exploited to run arbitrary code.

reference LINKS:

Mozilla Foundation Security Advisory 2011-01
Secunia Advisories: Mozilla
SecurityTracker Alert ID:1025134
Secunia Advisory: SA43550
CVE-2011-0062

IMPACT ASSESSMENT:

High

Discussion:

A weakness and some vulnerabilities have been reported in Mozilla Firefox and SeaMonkey, which can be exploited by malicious people to conduct spoofing attacks, cross-site request forgery attacks, and compromise a user's system.

1) Multiple errors in the browser engine can be exploited to corrupt memory and potentially execute arbitrary code.

2) An error when handling recursive calls to "eval()" within a "try/catch" statement can lead to dialogs being displayed incorrectly and returning "true" when being closed. This can e.g. be exploited to gain escalated privileges by forcing a user into accepting certain dialogs.

3) A use-after-free error related to "JSON.stringify" can be exploited to execute arbitrary code.

4) An error within the internal memory mapping of non-local JavaScript variables can be exploited to cause a buffer overflow and potentially execute arbitrary code.

5) An error within the internal string mapping of the JavaScript engine related to an offset pointer when handling more than 64K values can be exploited to cause an exception object to be read from invalid memory.

6) A use-after-free error related to JavaScript "Workers" can be exploited to dereference invalid memory and execute arbitrary code.

7) An error when allocating memory for layout objects displaying long strings can be exploited to cause a memory corruption and execute arbitrary code.Note: This may only affect the Windows platform.

8) The "ParanoidFragmentSink" class does not properly filter "javascript:" URLs and inline JavaScript, which can be exploited to execute arbitrary JavaScript code.Successful exploitation requires that e.g. an extension using the function to sanitise HTML code before embedding it in a chrome document is installed.

9) An error when decoding certain JPEG images can be exploited to cause a buffer overflow and potentially execute arbitrary code.Note: This does not affect the Mozilla Firefox 3.5 branch.

10) When a request initiated by the plugin received a redirect response (307), the request including any custom headers is incorrectly forwarded to the new location without notifying the plugin, which can be used to e.g. bypass cross-site request forgery protections relying on custom headers.

Solution:

Update to Mozilla Firefox version 3.5.17 or 3.6.14 and Mozilla SeaMonkey version 2.0.12.Patches/Software Downloads
Update Firefox 3.6.14
Mozilla Downloads
SeaMonkey 2.1 Beta 2

 

Addthis