Skip to content
Info disclosure Disclosed report Intermediate

Information disclosure

In Brave's private Tor window, most privileged browser pages are redirected to a normal window, but a few internal pages such as the device inspector and device log open inside the Tor session itself. An attacker who already had a script-execution bug on such a page could read data that the Tor mode is meant to keep separate.

kkarfalcon Follow

Originally disclosed on HackerOne

  • Disclosed after 5 hours

Vulnerability tested on:- Brave 1.29.81 Chromium: 93.0.4577.82 (Official Build) (64-bit) Vulnerability description:- For security measures and for privacy purposes, Brave has the ability to open a normal tab of the Brave when we navigate to: chrome://wallet, chrome://history etc. due to the reason that Tor should be blocking privileged URIs like file:///, chrome:// etc. When we open local storage URIs or the Data URIs, it is blocking. So, we can say that TOR in Brave protects users from opening anything privileged in the browser. But there is some weird case for: chrome://downloads and brave://inspect/#devices. Both can be dangerous when there is a UXSS present there because it can get to know about the data. The brave://device-log/ looks interesting too, why do we see the device log of brave in the TOR Network in the Brave?

Steps to reproduce:

  1. Open Brave with TOR
  2. Navigate to brave://inspect/#devices

Expected behavior? --> When we are doing device debugging, it should have opened normal Brave and shouldn't open the privileged URI in the TOR session itself. Open chrome://bookmarks and chrome://history

Actual behavior? --> It opens the debugging session inside the protected tor session.

Suggestions? --> We should block chrome://downloads, brave://inspect/#devices, brave://device-log/ etc. and when somebody tries to navigate to those URIs, a normal Brave session should be started like we do for chrome://history as it keeps TOR away from personal information inside the brave URIs.

Impact

Information disclosure.

The original report as published on HackerOne, by kkarfalcon. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 list of privileged internal pages that Tor mode redirects to a normal window is incomplete, so some pages are not covered.

Impact

Could lead to information disclosure, but only if a separate script-execution flaw exists on those internal pages; the report shows no such exploit.

What the attacker needed

Brave browser with Tor windows; a separate script-execution bug on the page

The fix

The internal pages should be blocked in the Tor session and redirected to a normal Brave window, as already happens for history.

How it was found

  1. Open Brave with Tor enabled.
  2. Navigate to the internal device inspector 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 have internal pages, like settings or history, that normal websites cannot open. Brave's private Tor mode is supposed to send these internal pages to a normal window so private browsing data stays apart. The reporter found a few internal pages that instead open inside the private Tor window, which could expose information if another bug let a page run code there.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by kkarfalcon

View all

1 more disclosed report, best first.

More from Brave Software

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.