Brave News feeds can open arbitrary chrome: URLs
A Brave News RSS feed could contain a link to a chrome: URL, and clicking it opened a privileged browser settings page. This bypassed the same-origin policy and allowed access to privileged URLs.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 5 days
- Paid in 5 days
- Disclosed after 6 months
Summary:
URL link in Brave News feeds can open arbitrary chrome: URLs. This behavior can be exploited as a way to bypass SOP and gain access to privileged URLs.
Products affected:
- 1.46.144 Chromium: 108.0.5359.128 (Official Build) (x86_64)
Steps To Reproduce:
- Open new tab and click customize button
- Follow https://csrf.jp/brave/rss_chrome.php as a RSS feed of Brave News
- Reload the tab
- RSS feeed that name is "Access chrome: URLs" is shown on Brave News
- Click the feed
chrome://settings/resetProfileSettings?origin=userclickis opened on the tab
Supporting Material/References:
- See the demonstration movie I attached
Impact
Bypass SOP and gain access to privileged URLs.
Attachments
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 Brave News feed renderer did not validate or restrict the scheme of links before opening them, allowing chrome: URLs to be navigated to.
Impact
An attacker could bypass the same-origin policy and open privileged browser URLs, such as a settings reset page.
What the attacker needed
Victim uses Brave browser; victim adds a malicious RSS feed; victim clicks the feed item
How it was found
- Open a new tab and click the customize button.
- Add the provided RSS feed as a Brave News feed.
- Reload the tab.
- A feed named 'Access chrome: URLs' appears in Brave News.
- Click the feed.
- A chrome:// settings reset page opens in the tab.
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.
Web pages normally cannot open special browser pages like settings, because those pages have extra privileges. This report shows that a news feed inside the Brave browser could link to such a page, and clicking the link opened it. That breaks the rule that keeps ordinary web content away from privileged browser pages.
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.