Skip to content
Info disclosure Disclosed report Intermediate

Password reset tokens sent to CSP reporting endpoints

The password reset token was leaked to third-party sites via the referrer. Anyone able to see it could use the token to reset the victim's password.

mahfujwhh Follow

Originally disclosed on HackerOne

  • Triaged in 28 hours
  • Fixed in 30 days
  • Paid in 31 hours
  • Disclosed after 57 days

Description: It has been identified that the application is leaking referrer token to third party sites. In this case it was found that the password reset token is being leaked to third party sites which is a issue knowing the fact that it can allow any malicious users to use the token and reset the passwords of the victim.

Steps To Reproduce:-

  1. Request a password reset link for a valid account
  2. Click on the reset link
  3. Before resetting the password, go burp suite and search the Reset token
  4. Now, you see in the third party site leakage reset token.

Similler resource Bug : https://hackerone.com/reports/272379 https://hackerone.com/reports/1177287

Impact

Password reset token leak on third party website.

Thanks

The original report as published on HackerOne, by mahfujwhh. 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 page included the token in a URL sent to third parties via the referrer header, without stripping it.

Impact

The password reset token could be leaked to third-party sites, allowing anyone with access to those sites to reset the victim's password.

What the attacker needed

Victim clicks the reset link; token is leaked to a third-party site

How it was found

  1. Request a password reset link for a valid account
  2. Click on the reset link
  3. Before resetting the password, inspect the traffic in Burp Suite and search for the reset token
  4. Observe the reset token appearing in requests to a third-party site

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 page may send information about where you came from to other websites. Here, the secret token that proves you own the account was included in that information. Anyone who can see that information could use the token to take over the account.

What is Info disclosure?

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

More from Snapchat

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.