Skip to content
Prototype pollution Disclosed report CVE-2013-0757

Chrome Object Wrapper can be bypassed using Object.prototype.__proto__

Mariusz Mlynski Follow

Originally disclosed on Mozilla

  • Fixed in 18 days
  • Paid in 58 days
  • Disclosed after 18 days
Text
Created attachment 683930
Proof of concept

It is possible to change the prototype of an object wrapped in a cross-compartment wrapper if the setter of Object.prototype.__proto__ is called in the context of the wrapper. This can be used against chrome objects that don't explicitly define __exposedProps__ to gain access to privileged methods.

This bug appears to have been introduced in Firefox 17, the earlier versions don't have accessors on __proto__.

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 high-severity prototype pollution bug in JavaScript Engine. Mozilla made it public on 9 December 2012 as CVE-2013-0757.

About Prototype pollution

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.

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

What is Prototype pollution?

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.

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

View all

Same bug class and techniques, clearest first.

Prototype pollution

The lesson behind this report.

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.