Skip to content
Access control Disclosed report CVE-2016-2817

chrome.tabs.update/create APIs should call checkLoadURI with DISALLOW_INHERIT_PRINCIPAL

Muneaki Nishimura Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 4 months
  • Disclosed after 3 months
Text
Created attachment 8691313
uxss.xpi

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Steps to reproduce:

The 'chrome.tabs.update' API allows to navigate tabs to javascript: URLs without any permissions. It can be used for universal XSS attacks to all documents that are opening. It affects not only to ordinary websites but also other extensions. If an other extension'd page is shown in a tab, then script can be  injected from the malicious extension with no permissions, i.e., obtain the target extension's privilege.
Attached is a sample extension that can reproduce the issue.


Actual results:

1. Open arbitrary web sites and extension's page on tabs
2. Click the button of this extension
3. Alert dialog with their current document.location is shown on each tab



Expected results:

The 'chrome.tabs.update' should prohibits navigation to harmful URLs e.g., javascript: and data:. Chrome do so.

The original report as published on Mozilla's Bugzilla, by Muneaki Nishimura. 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 medium-severity access control bug in Untriaged. Mozilla made it public on 29 February 2016 as CVE-2016-2817.

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.

More by Muneaki Nishimura

View all

74 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.

Broken access control

The lesson behind this report.

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.