You are here

V-012: Mozilla Firefox 'window.location' Bugs Permit Cross-Site Scripting Attacks and May Let Remote Users Execute Arbitrary Code

October 29, 2012 - 6:00am

Addthis

PROBLEM:

Mozilla Firefox 'window.location' Bugs Permit Cross-Site Scripting Attacks and May Let Remote Users Execute Arbitrary Code

PLATFORM:

Firefox, Thunderbird, SeaMonkey

ABSTRACT:

Three vulnerabilities were reported in Mozilla Firefox.

REFERENCE LINKS:

Mozilla Foundation Security Advisory 2012-90
SecurityTracker Alert ID:  1027701
SecurityTracker Alert ID:  1027702
Advisory: RHSA-2012:1407-1
CVE-2012-4194
CVE-2012-4195
CVE-2012-4196 

IMPACT ASSESSMENT:

High

DISCUSSION:

A remote user can exploit the valueOf() method of window.location to, in combination with some plugins, inject scripting code to cause arbitrary scripting code to be executed by the target user's browser [CVE-2012-4194]. The code will run in the security context of an arbitrary site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

The nsLocation::CheckURL() function in window.location can be made to return the wrong calling document and principal [CVE-2012-4195]. A remote user can exploit this to cause arbitrary scripting code to be executed by the target user's browser. The code will run in the security context of an arbitrary site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user may also be able to exploit this flaw in conjunction with a browser add-on to cause arbitrary code to be executed on the target user's system.

A remote user can exploit bypass security wrapper protections on the Location object, allowing the cross-origin reading of the Location object [CVE-2012-4196].

IMPACT:

A remote user can access the target user's cookies (including authentication cookies), if any, associated with an arbitrary site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user may be able to cause arbitrary code to be executed on the target user's system.

SOLUTION:

The vendor has issued a fix.

 

Addthis