Last Comment Bug 444077 - XPCNativeWrapper pollution using chrome JS
: XPCNativeWrapper pollution using chrome JS
Status: RESOLVED FIXED
: [sg:critical] fixed by 441087
: fixed1.9.1, verified1.8.1.17, verified1.9.0.2
Product: Core
Classification: Components
Component: XPConnect
: unspecified
: x86 Windows XP
: -- normal (vote)
: ---
Assigned To: Blake Kaplan (:mrbkap)
: xpconnect
:
:
:
  Show dependency treegraph
 
Reported: 2008-07-08 03:21 PDT by moz_bug_r_a4
Modified: 2009-01-27 17:25 PST (History)
8 users (show)
benjamin: blocking1.9.1+
samuel.sidler+old: blocking1.9.0.2+
dveditz: blocking1.8.1.17+
dveditz: wanted1.8.1.x+
asac: blocking1.8.0.next+
See Also:
Crash Signature:


Attachments

Summon comment box

Description moz_bug_r_a4 2008-07-08 03:21:36 PDT
It's possible to modify an implicit XPCNativeWrapper within a function loaded
from chrome: url without using eval-like methods nor __defineGetter__.  (See
also the second paragraph of bug 387390 comment #21.)
Comment 2 Daniel Veditz 2008-07-08 11:27:56 PDT
Blake: welcome back! ;-)
Comment 3 Blake Kaplan (:mrbkap) 2008-07-24 13:34:29 PDT
The patch in bug 441087 fixes this.
Comment 4 Samuel Sidler (old account; do not CC) 2008-08-15 17:10:47 PDT
Fixed by bug 441087.
Comment 5 Blake Kaplan (:mrbkap) 2008-08-18 14:52:03 PDT
Marking fixed to follow bug 441087.
Comment 6 moz_bug_r_a4 2008-08-27 04:24:06 PDT
This bug is not fixed on fx-2.0.0.17pre-2008-08-26-03.  See also bug 441087
comment #29.
Comment 7 Samuel Sidler (old account; do not CC) 2008-08-27 13:12:28 PDT
Fix for 441087 was checked in.
Comment 8 Stephen Donner [:stephend] 2008-08-29 18:46:45 PDT
I can reproduce at will using the testcase in comment 1 using 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 using 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.
Comment 9 Al Billings [:abillings] 2008-09-05 17:07:18 PDT
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.
Comment 10 Benjamin Smedberg [:bsmedberg] 2009-01-27 17:25:49 PST
Landed before branching

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