Skip to content
Disclosed report CVE-2012-3993

XrayWrapper pollution via unsafe COW

Mariusz Mlynski Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 2 months
  • Paid in 7 months
  • Disclosed after 2 months
Text
Created attachment 636392
Proof of concept

When InstallTrigger fails, it throws an error wrapped in a Chrome Object Wrapper. It doesn't specify |__exposedProps__|, so it's unsafe by default. An attacker may append custom-tailored |__exposedProps__| at the bottom of the error's prototype chain (in Object.prototype), thus exposing privileged functions of Object or Function. Function seems to be guarded well (it throws "Not allowed to access chrome eval or Function from content"), but Object has things like defineProperty or __defineGetter__, and they can be exploited to pollute the XrayWrapper of the content window.

The original report as published on Mozilla's Bugzilla, by Mariusz Mlynski. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 critical-severity security bug in Security. Mozilla made it public on 7 September 2012 as CVE-2012-3993.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by Mariusz Mlynski

View all

26 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.