Skip to content
Info disclosure Disclosed report Beginner

Preferred language option fingerprinting issue in Tor Browser

The Tor Browser settings page allows users to add preferred languages without warning that this list is sent to websites via the Accept-Language header and the navigator.languages JavaScript API. An attacker could use this information to fingerprint users and link their activity across sites.

newfunction Follow

Originally disclosed on HackerOne

  • Disclosed after 2 days

I'm not so sure if this is an in-scope issue or by-design. But based on my understanding of [1], I feel that Tor doesn't want to make user configuration details of Tor Browser detectable by websites. But in about:preferences#content, there's a "Languages" section that allows users to "choose your preferred language for displaying pages". When users add a language here, there's no warning to tell them that this info will be sent to the websites. The language list will be available to websites in the "Accept-Language" HTTP request header, and in JavaScript API "navigator.languages".

To fix this issue, I think there're three options: 1) remove this option from the settings; 2) let users configure a list of domains for which the language list is sent; other sites get the default value; 3) add a warning in the setting page: "the info of your added languages is sent to all sites, which may be used to fingerprint you" or something like this.

[1] https://www.torproject.org/projects/torbrowser/design/#fingerprinting-linkability, Sources of Fingerprinting Issues

Attachments

Accept-Language_discloses_language_list.png
Accept-Language_discloses_language_list.png From the original on HackerOne
language_setting.png
language_setting.png
navigator.languages_return_language_list.png
navigator.languages_return_language_list.png

The original report as published on HackerOne, by newfunction. 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 settings interface allows users to add preferred languages without informing them that this information is exposed to websites, contrary to Tor Browser's fingerprinting protection goals.

Impact

Websites could use the language list to fingerprint users and potentially link their activity across different sites, though the report does not demonstrate a specific attack.

What the attacker needed

User adds a preferred language in settings

The fix

The issue should be fixed by either removing the language option, allowing per-domain configuration, or adding a warning to users.

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.

When you visit a website, your browser can tell the site which languages you prefer so it can show content in your language. Tor Browser aims to make all users look the same to websites to protect privacy, but this feature lets users add extra languages without any warning that websites can see them. That makes it easier for a website to recognise and track a particular user.

What is Info disclosure?

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

More by newfunction

View all

9 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.