Bug 751930 - (CVE-2011-3004) CVE-2011-3004 Mozilla: loadSubScript is unwrapping XPCNativeWrapper scope parameter (MFSA 2011-43)
CVE-2011-3004 Mozilla: loadSubScript is unwrapping XPCNativeWrapper scope par...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Red Hat Product Security
impact=critical,public=20111109,repor...
: Reopened, Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-07 23:11 EST by Huzaifa S. Sidhpurwala
Modified: 2013-04-12 11:56 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-04-12 11:56:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Huzaifa S. Sidhpurwala 2011-11-07 23:11:55 EST
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 11:56:01 EDT
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 11:56:17 EDT
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.