Bug 512146 (CVE-2009-2471) - CVE-2009-2471 Mozilla setTimeout loses XPCNativeWrappers
Summary: CVE-2009-2471 Mozilla setTimeout loses XPCNativeWrappers
Alias: CVE-2009-2471
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://web.nvd.nist.gov/view/vuln/det...
Whiteboard: impact=critical,source=mozilla,report...
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2009-07-16 14:28 UTC by Josh Bressers
Modified: 2019-06-08 12:47 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2013-04-12 16:11:09 UTC

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-22 01:26:00 UTC

Description Josh Bressers 2009-07-16 14:28:43 UTC
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-22 01:26:19 UTC
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 18:56:21 UTC
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 19:13:41 UTC
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.