Bug 751930 (CVE-2011-3004) - CVE-2011-3004 Mozilla: loadSubScript is unwrapping XPCNativeWrapper scope parameter (MFSA 2011-43)
Summary: CVE-2011-3004 Mozilla: loadSubScript is unwrapping XPCNativeWrapper scope par...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2011-3004
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-08 04:11 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-24 13:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-12 15:56:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2011-11-08 04:11:55 UTC
A potentially exploitable flaw was found in the way mozilla handled "loadSubScript".

Reference:
https://bugzilla.mozilla.org/show_bug.cgi?id=653926

Comment 2 Vincent Danen 2013-04-12 15:56:01 UTC
David Rees reported that the JSSubScriptLoader (a feature used by some add-ons) was "unwrapping" XPCNativeWrappers when they were used as the scope parameter to loadSubScript(). Without the protection of the wrappers the add-on could be vulnerable to privilege escalation attacks from malicious web content. Whether any given add-on were vulnerable would depend on how the add-on used the feature and whether it interacted directly with web content, but we did find at least one vulnerable add-on and presume there are more.

The unwrapping behavior was a change introduced during Firefox 4 development. Firefox 3.6 and earlier versions are not affected.


Statement:

Not vulnerable. This issue did not affect the versions of firefox as shipped with Red Hat Enterprise Linux 5 or 6.

Comment 3 Vincent Danen 2013-04-12 15:56:17 UTC
External Reference:

http://www.mozilla.org/security/announce/2011/mfsa2011-43.html


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