Bug 512146 - (CVE-2009-2471) CVE-2009-2471 Mozilla setTimeout loses XPCNativeWrappers
CVE-2009-2471 Mozilla setTimeout loses XPCNativeWrappers
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On:
  Show dependency treegraph
Reported: 2009-07-16 10:28 EDT by Josh Bressers
Modified: 2013-04-12 12:11 EDT (History)
4 users (show)

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

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1162 normal SHIPPED_LIVE Critical: firefox security update 2009-07-21 21:26:00 EDT

  None (edit)
Description Josh Bressers 2009-07-16 10:28:43 EDT
Mozilla developer Blake Kaplan reported that setTimeout, when called with
certain object parameters which should be protected with a
XPCNativeWrapper, will fail to keep the object wrapped when compiling the
new function to be executed. If chrome privileged code were to call
setTimeout using this as an argument, the this object will lose its wrapper
and could be unsafely accessed by chrome code. An attacker could use such
vulnerable code to run arbitrary JavaScript with chrome privileges.
Comment 2 errata-xmlrpc 2009-07-21 21:26:19 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 4

Via RHSA-2009:1162 https://rhn.redhat.com/errata/RHSA-2009-1162.html
Comment 3 Jan Lieskovsky 2009-07-22 14:56:21 EDT
MITRE's CVE-2009-2471 entry:

The setTimeout function in Mozilla Firefox before 3.0.12 does not
properly preserve object wrapping, which allows remote attackers to
execute arbitrary JavaScript with chrome privileges via a crafted
call, related to XPCNativeWrapper.

Comment 4 Fedora Update System 2009-07-23 15:13:41 EDT
devhelp-0.22-10.fc10, blam-1.8.5-12.fc10, gecko-sharp2-0.13-10.fc10, galeon-2.0.7-12.fc10, gnome-python2-extras-2.19.1-32.fc10, evolution-rss-0.1.2-8.fc10, gnome-web-photo-0.3-20.fc10, mozvoikko-0.9.5-12.fc10, google-gadgets-0.10.5-8.fc10, kazehakase-0.5.6-4.fc10.4, mugshot-1.2.2-11.fc10, yelp-2.24.0-11.fc10, ruby-gnome2-0.19.0-3.fc10.1, Miro-2.0.5-2.fc10, epiphany-2.24.3-8.fc10, pcmanx-gtk2-0.3.8-11.fc10, xulrunner-, firefox-3.0.12-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

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