Setting prototype to a Proxy object allows content to influence chrome:// code
- Fixed in 24 days
- Paid in 29 days
- Disclosed after 24 days
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Steps to reproduce:
document.__proto__=Proxy.create({getPropertyDescriptor:function(){ while(1) {} }});
Actual results:
Permanently hangs the browser.
By inserting a console.log call you can see our function gets called all over the place. It does not seem to be able to actually return a value, but I think you can force an error to be thrown in chrome code that prevents the code from continuing. This might lead to unexpected results when initialization code does not run to completion.
Expected results:
I've not figured out the exact problem here, but this should not be able to happen. If anything it can cause a simple DoS. With some creativity it might be able to do more, there are a lot of affected code paths worth exploring.
This issue affects the latest stable release, but seems to be fixed in the nightlies.
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 access control bug in XPConnect. Mozilla made it public on 4 February 2015.
About Access control
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.