Skip to content
Info disclosure Disclosed report Beginner CVE-2020-8276

Brave Browser potentially logs the last time a Tor window was used

Brave Browser stored a timestamp recording when a Tor window was last used in its on-disk Local State file. A local attacker with access to that file could read the timestamp and infer that the user had used Tor at a specific moment.

sickcodes Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 2 days
  • Paid in under an hour
  • Disclosed after 2 days

Summary:

A vulnerability in the Brave Browser allows an attacker to view the last time a Tor session was used in incognito mode. A local, on-disk attacker could read the Brave Browser's "Local State" json file and identify the last time a Tor session was used, affecting the confidentiality of a user's Tor session.

For example, the "Local State" file of a user who has recently used a Tor session would list a key value pair with a timestamp as accurate as "13248493693576042". This allows an attacker to fingerprint, or prove beyond reasonable doubt, that a user was using Tor at that very specific moment in time.

Products affected:

Brave 1.18.27 and below

Steps To Reproduce:

Start a Tor session in Brave Browser

Supporting Material/References:

As discussed with security@ team in email chain titled:

Re: [Security] CVE Request 981386 - Brave Browser (All) - Exposure of Sensitive Information to an Unauthorized Actor While Using Tor Feature

And fixed in PR 7010: https://github.com/brave/brave-core/pull/7010

  • List any additional material (e.g. screenshots, logs, etc.)

Impact

Violate the confidentiality of a user's Tor session.

The original report as published on HackerOne, by sickcodes. 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 browser persisted a last-used timestamp for the Tor window in its Local State file instead of keeping that usage detail out of on-disk storage.

Impact

A local attacker could violate the confidentiality of a user's Tor session by learning that Tor was used and when, though the report does not show remote exploitation.

What the attacker needed

Local access to the user's files; victim has used a Tor window

The fix

The report states the issue was fixed in PR 7010, without describing the change.

How it was found

  1. Start a Tor session in Brave Browser.

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.

Brave has a private browsing mode that sends traffic through Tor, a network that hides who you are. The browser saved the time you last used that mode in a settings file on your computer. Anyone who could read that file, such as someone using the same machine, could see that you had used Tor and roughly when.

What is Info disclosure?

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

More by sickcodes

View all

3 more disclosed reports, 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.