[Cross-domain Referer leakage] Password reset token leakage via referer
Password reset tokens could leak to third-party analytics services or through the Referer header. An attacker who obtained such a token could potentially use it to reset a victim's password, though the program says tokens were immediately invalidated.
- Triaged in 3 days
- Fixed in 4 days
- Paid in 4 days
- Disclosed after 4 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.
Summary by the researcher
Many Thanks @legalrobot @danrubins for fixing this issue, and for the sweet bounty rewards.
Kind Regards, @reydd
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 password reset token was placed in the URL and the page loaded third-party resources or navigated in a way that sent the full URL in the Referer header.
Impact
Reset tokens could be exposed to third parties, but the program states tokens were immediately invalidated, limiting the practical risk.
What the attacker needed
Victim opens a password reset link
The fix
The reset 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 link, your browser may send the address of the page you came from to the next site, called the Referer header. If a password reset link contains a secret token in its address, that secret could be shared with other websites.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.