Password Reset Token Leak Via Referrer
The password reset token was leaked in the Referer header when a user navigated from the reset page to another site. An attacker who controls that other site could read the token and use it to change the user's password.
- Disclosed after 3 months
Exploitation
Request password reset to your email address Click on the password reset link Dont change password Click on about us Intercept the request in burpsuite proxy Check if the referer header is leaking password reset token.
Impact
It allows the person who has control of particular site to change the user’s password (CSRF attack), because this person knows reset password token of the user.
Reference:
https://hackerone.com/reports/342693 https://hackerone.com/reports/272379 https://hackerone.com/reports/737042 https://medium.com/@rubiojhayz1234/toyotas-password-reset-token-and-email-address-leak-via-referer-header-b0ede6507c6a https://medium.com/@shahjerry33/password-reset-token-leak-via-referrer-2e622500c2c1
Impact
It allows the person who has control of particular site to change the user’s password (CSRF attack), because this person knows reset password token of the user.
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
Impact
An attacker who controls a site the user visits after the reset page could obtain the token and change the user's password, though this depends on the user following such a link.
What the attacker needed
Victim clicks a link to an attacker-controlled site; attacker can read Referer headers
How it was found
- Request a password reset to your email address.
- Click the password reset link.
- Do not change the password.
- Click on 'about us'.
- Intercept the request in Burp Suite proxy.
- Check whether the Referer header contains the password reset token.
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 often tells the next website where you came from using a 'Referer' header. If the page you came from had a secret password reset code in its address, that secret can be passed along to the other site. Here, the reset code was exposed this way, so anyone running the other site could see it and 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.