A password reset page does not properly validate the authenticity token at the server side.
The password reset page did not validate the authenticity token on the server side. An attacker could submit a password reset request without a valid token, potentially allowing unauthorised password changes.
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 3 months
- Go to https://hackerone.com/users/password/new and request a new password.
- go to email, and click on the link.
- put the new password, submit and intercept the request; remove the authenticity token from the request and now forward it to the server.
- you will see request still got completed and user logged in. The token did not verify on the server side.
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 server did not check the authenticity token when processing the password reset request.
Impact
A password reset can complete without a valid authenticity token, and the user is logged in.
What the attacker needed
User has a reset link; user can intercept their own request
How it was found
- Request a new password from the password reset page.
- Open the email and click the reset link.
- Enter a new password, submit, and intercept the request.
- Remove the authenticity token from the request and forward it.
- Observe that the request still completes and the user is logged in.
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.
A password reset page uses a secret token to make sure the request really came from the user's own browser. Here, the server ignored that token, so someone could skip that check and still reset the password.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.