Skip to content
Info disclosure Disclosed report Intermediate

Cross domain tracking even with 3rd party cookies disabled.

A third-party script can track users across different domains even when third-party cookies are disabled, by using shared workers. An attacker with a large web footprint could use this to track substantial browsing behaviour.

kmodi Follow

Originally disclosed on HackerOne

  • Disclosed after 4 months

Cross domain tracking Default settings from Brave browser has 3rd party cookies disabled. Which I am assuming also disables 3rd part storage like IndexedDB etc. Because of this protection it is not possible for a 3rd party to track users across multiple domains.

But, Even though third-party cookies is disabled by default using Shared workers, a third-party is able to track the user across domains and websites.

REPRODUCTION STEPS If you visit the these three pages in three tabs, you will notice that as a third-party it can learn the movement of a user across domains, even though the user has disabled 3rd party cookies.

https://cdn.cliqz.com/browser-f/fun-demo/some-random-page.html https://cdn2.ghostery.com/browser-f/fun-demo/some-random-page.html

The third party script is being loaded from https://konarkmodi.github.io/

Impact

Because of this protection it is not possible for a 3rd party to track users across multiple domains. The demo is not very clever, but a 3rd party with a large footprint on the web can use this to track substantial web browsing behaviour of the user.

The original report as published on HackerOne, by kmodi. 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, shared workers are not isolated per top-level site, allowing a third-party script to maintain state across different domains.

Impact

A third party with a large web footprint could track substantial browsing behaviour across domains, even when third-party cookies are disabled.

What the attacker needed

Victim visits multiple sites with the third-party script; third-party cookies disabled (default in Brave)

How it was found

  1. Visit the three provided pages in three separate tabs.
  2. Observe that the third-party script can learn the user's movement across domains despite third-party cookies being disabled.

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.

Websites often use small files called cookies to remember you, and browsers can block cookies from other sites to stop tracking. This report shows that a different browser feature, shared workers, can be used to link your visits across different websites even when those cookies are blocked. That means a company that places its code on many sites could still follow you around the web.

What is Info disclosure?

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

More by kmodi

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.