Object.defineProperty can shadow |top|
Originally disclosed on Mozilla
- Fixed in 2 months
- Paid in 7 months
- Disclosed after 2 months
Created attachment 633854
shadow top.location test
Filing a new bug, as requested by Boris in Bug 756719 comment 10.
With bug 750307 fixed, the location property itself seems to be hardened well enough, but plugins may try to access it through |top.location| -- for instance, Adobe Flash Player opens javascript:top.location+"__flashplugin_unique__" to determine the page origin. And it is possible to shadow |top| using Object.defineProperty.
Incidentally, Google Chrome seems to disallow redefining |top|.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity security bug in DOM: Core & HTML. Mozilla made it public on 26 August 2012 as CVE-2012-3994.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.