Closed
Bug 740481
Opened 13 years ago
Closed 13 years ago
You can get around <iframe mozbrowser> window.top/parent/frameElement sandboxing via Components.lookupMethod
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(blocking-kilimanjaro:+)
RESOLVED
FIXED
blocking-kilimanjaro | + |
People
(Reporter: justin.lebar+bug, Unassigned)
References
Details
(Keywords: sec-critical, Whiteboard: [sg:critical][no-esr])
Bug 736688 implements window.top/parent/frameElement sandboxing in JS using Object.defineProperty on the window.
But Components.lookupMethod lets you unwrap these methods.
We intend to remove Components.lookupMethod, but I'm not sure what the timeframe is -- it's complicated by the fact that some add-ons rely on it. If it's not removed soon enough, we can always just disable it on B2G.
Reporter | ||
Updated•13 years ago
|
Blocks: browser-api
Comment 1•13 years ago
|
||
We should absolutely disable it in B2G. There are no addons there (yet), let's start with a clean slate!
Updated•13 years ago
|
Whiteboard: [sg:critical]
Comment 2•13 years ago
|
||
The fix here is to nuke Components entirely in web pages (but allow it to keep working for XBL), right?
Reporter | ||
Comment 3•13 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #2)
> The fix here is to nuke Components entirely in web pages (but allow it to
> keep working for XBL), right?
For b2g only, right?
Comment 4•13 years ago
|
||
In general, I'd hope; b2g can probably do it earlier.
Comment 5•13 years ago
|
||
Needs an owner.
Updated•13 years ago
|
Keywords: sec-critical
Updated•13 years ago
|
blocking-kilimanjaro: --- → +
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•13 years ago
|
||
Can we please un-protect this bug?
Updated•13 years ago
|
Whiteboard: [sg:critical] → [sg:critical][no-esr]
Updated•9 years ago
|
Group: core-security → core-security-release
Updated•9 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•