Skip to content
Info disclosure Disclosed report Intermediate

Token leakage by referrer header & analytics

Password reset tokens could be leaked to third-party analytics services or through the Referer header. An attacker with access to those services or logs could potentially use the tokens, though they were immediately invalidated.

mehmil Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 8 days
  • Paid in 8 days
  • Disclosed after 8 days

Summary by the program

A security researcher discovered that sensitive information, like password reset tokens could still be leaked to analytics services like Google Analytics or via the Referer [sic] header. Even though tokens were immediately invalidated, we decided to re-engineer the process to eliminate any possibility of token leakage.

The original report as published on HackerOne, by mehmil. 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 reset token was placed in a URL that was loaded on pages including third-party analytics scripts, and the Referer header was not restricted, allowing the token to be sent to external services.

Impact

Tokens could be exposed to analytics providers or via the Referer header, but they were immediately invalidated, limiting the practical risk.

The fix

The process was re-engineered to eliminate any possibility of token leakage.

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 click a password reset link, the token in the URL can be sent to other websites through the Referer header or to analytics tools. If someone can see those logs, they might get your token, but here the tokens were invalidated right away so the risk was low.

What is Info disclosure?

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

More by mehmil

View all

3 more disclosed reports, best first.

More from Legal Robot

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.