Bugzilla@Mozilla – Bug 444075
XPCNativeWrapper pollution using chrome XBL
Last modified: 2009-02-05 22:33:09 PST
Summon comment box
It's possible to modify an implicit XPCNativeWrapper within a chrome XBL method without using eval-like methods nor __defineGetter__. (See also the second paragraph of bug 387390 comment #21.)
The patch in bug 441087 fixes this.
Fixed by bug 441087.
Marking fixed to follow bug 441087.
This bug is not fixed on fx-2.0.0.17pre-2008-08-26-03. See also bug 441087 comment #29.
Fix for 441087 was checked in.
With the testcase in comment 0, I can very easily reproduce in 2.0.0.16 (Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16), but not in 2.0.0.17 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17). Verified FIXED; replacing fixed1.8.1.17 with verified1.8.1.17.
Meant to type "comment 1," sigh...
Verified for 1.9.0.2 with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.2) Gecko/2008090212 Firefox/3.0.2.
Verified fix on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090205 Shiretoko/3.1b3pre Ubiquity/0.1.5 and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090205 Minefield/3.2a1pre