Skip to content
Info disclosure Write-up Intermediate

CVE-2021-39246 – Tor Browser through 10.5.6 and 11.x through 11.0a4 allows a correlation attack excessive verbose logging – Windows, macOS, Linux

Tor Browser logs exact timestamps when a user connects to a v2 onion address, and an attacker who also collects timestamp data from the destination server or a rogue site could correlate the two to compromise the privacy of those visits. The logging occurs by default, with or without verbose mode.

sickcodes Follow

Published on sick.codes

CVE-2021-39246 – Tor Browser through 10.5.6 and 11.x through 11.0a4 allows a correlation attack excessive verbose logging – Windows, macOS, Linux

Sick Codes, on sick.codes

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a warning message added in Tor 0.4.6 that includes a precise timestamp and is written to the local log every time a client connects to a v2 onion address, even without verbose logging enabled.

Impact

An attacker might be able to correlate the logged timestamps with data collected by the destination server or a rogue site within the Tor network, compromising the privacy of visits to v2 onion addresses; the logging happens by default.

What the attacker needed

Tor Browser 10.5.6 or 11.x through 11.0a4; User visits a v2 onion address; Attacker can collect matching timestamp data

The fix

A pull request was opened to remove the timestamps, but the text does not state that it was merged or that a fix was released.

How it was found

  1. Download and extract the Tor Browser 10.5.6 Linux package.
  2. Start Tor Browser with the verbose option.
  3. Visit any v2 onion site.
  4. Observe that the connection timestamp is logged at the exact moment the server responds.

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 write-up has not been written yet. The Original tab links to the source.

Tor Browser is software that helps people browse the internet privately. When you visit certain old-style hidden websites (called v2 onion addresses), the browser writes down the exact time you connected in a local log file. If someone else also knows the time you connected (for example, the website owner or a malicious site inside the Tor network), they could match the times and learn that you visited that site, which breaks the privacy Tor is meant to provide.

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

2 more disclosed reports, best first.

More from Tor

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.