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