chrome://brave navigation from web
A web page could open privileged browser pages such as chrome://brave by launching popups with the noopener attribute, bypassing the same-origin policy. The reporter claims this could lead to remote code execution, though no exploit chain is shown.
- Triaged in 3 days
- Fixed in 6 days
- Paid in 5 days
- Disclosed after 25 days
Summary:
It's possible to navigate to the infamous 'chrome://brave' (and all other) privileged page from web, requiring only a single click. This is possible by opening popups with the 'noopener' attribute.
Products affected:
Brave: 0.24.0 V8: 6.9.427.23 rev: f657f15bf7e0e0c50a2b854c6b05edb59bfc556c Muon: 8.1.6 OS Release: 10.0.17134 Update Channel: Release OS Architecture: x64 OS Platform: Microsoft Windows Node.js: 7.9.0 Brave Sync: v1.4.2 libchromiumcontent: 69.0.3497.100
Steps To Reproduce:
- Host attached PoC from web
- Click button
Impact
This is a direct violation of SOP, we can open any URL of which chrome://brave is the worst as it could lead to RCE.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the browser did not block navigation to privileged internal URLs when a popup was opened with the noopener attribute.
Impact
The reporter states this violates the same-origin policy and that opening chrome://brave could lead to remote code execution, but no working chain is demonstrated.
What the attacker needed
Victim clicks a button; attacker hosts a web page
How it was found
- Host the proof-of-concept page on a web server.
- Click the button on that page.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Browsers normally stop ordinary websites from opening their own internal settings and debug pages, because those pages have extra powers. Here a web page could still make the browser open such an internal page in a new window, which breaks that rule. The report says this might let an attacker run code on the machine, but it does not show how.
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.