Skip to content
Info disclosure Write-up Intermediate

No boundaries for user identities: Web trackers exploit browser login managers

Third-party tracking scripts embedded by publishers injected invisible login forms that browsers' built-in login managers autofilled, letting the scripts read the saved email address and send its hash to third-party servers. This turned a long-known credential-theft weakness into a tracking identifier that survives cookie clearing and device changes.

freedom-to-tinker.com

Published on freedom-to-tinker.com

We show how third-party scripts exploit browsers’ built-in login managers (also called password managers) to retrieve and exfiltrate user identifiers without user awareness. To the best of our knowledge, our research is the first to show that login managers are being abused by third-party scripts for the purposes of…

Gunes Acar, on freedom-to-tinker.com

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 the browser login manager autofills any form containing username and password fields, regardless of visibility or user interaction, and a directly embedded third-party script runs with the publisher's origin so it can read the filled values.

Impact

Hashed email addresses could be used as persistent tracking identifiers across browsers, devices and cookie clears; the researchers found no password theft, and Chrome limited password autofill until the user interacted with the page.

What the attacker needed

Saved login credentials in the browser; third-party script on a non-login page; same site as the saved login

The fix

Publishers should isolate login forms on a separate subdomain or sandbox third parties in iframes, users can disable autofill or use tracking protection, and browsers should require user interaction or show a notification before autofilling.

How it was found

  1. The user logs in on the site and asks the browser to save the credentials.
  2. The user later visits another page on the same site that includes the third-party tracking script.
  3. The script inserts an invisible login form with username and password fields.
  4. The browser's login manager autofills the hidden form.
  5. The script reads the email address from the form and sends its hash to third-party servers.

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.

Browsers can remember your username and password and fill them in for you. A script from another company, placed on the page by the site owner, can quietly add a hidden login form; the browser fills it in anyway, and the script reads your email address out of it. The script then sends a scrambled version (a hash) of that email to its own servers so it can recognise you again later.

What is Info disclosure?

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

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.