Bug 877616 (CVE-2012-4201) - CVE-2012-4201 Mozilla: evalInSanbox location context incorrectly applied (MFSA 2012-93)
Summary: CVE-2012-4201 Mozilla: evalInSanbox location context incorrectly applied (MFS...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-4201
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 873088
TreeView+ depends on / blocked
 
Reported: 2012-11-17 11:15 UTC by Huzaifa S. Sidhpurwala
Modified: 2023-05-11 20:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-16 17:06:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1482 0 normal SHIPPED_LIVE Critical: firefox security update 2012-11-21 03:10:31 UTC
Red Hat Product Errata RHSA-2012:1483 0 normal SHIPPED_LIVE Critical: thunderbird security update 2012-11-21 02:49:59 UTC

Description Huzaifa S. Sidhpurwala 2012-11-17 11:15:37 UTC
Mozilla security researcher moz_bug_r_a4 reported that if code executed by the evalInSandbox function sets location.href, it can get the wrong subject principal for the URL check, ignoring the sandbox's Javascript context and gaining the context of evalInSandbox object. This can lead to malicious web content being able to perform a cross-site scripting (XSS) attack or stealing a copy of a local file if the user has installed an add-on vulnerable to this attack.


External Reference:

http://www.mozilla.org/security/announce/2012/mfsa2012-93.html


Acknowledgements:

Red Hat would like to thank the Mozilla project for reporting this issue. Upstream acknowledges moz_bug_r_a4 as the original reporter.

Comment 2 errata-xmlrpc 2012-11-20 21:51:40 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2012:1483 https://rhn.redhat.com/errata/RHSA-2012-1483.html

Comment 3 errata-xmlrpc 2012-11-20 22:12:16 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2012:1482 https://rhn.redhat.com/errata/RHSA-2012-1482.html


Note You need to log in before you can comment on or make changes to this bug.