Skip to content
CSRF Disclosed report Beginner

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.

niks Follow

Originally disclosed on HackerOne

Bounty$100 View original
  • Fixed in 3 days
  • Paid in 3 days
  • Disclosed after 3 months
  1. Go to https://hackerone.com/users/password/new and request a new password.
  2. go to email, and click on the link.
  3. put the new password, submit and intercept the request; remove the authenticity token from the request and now forward it to the server.
  4. you will see request still got completed and user logged in. The token did not verify on the server side.

The original report as published on HackerOne, by niks. 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 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

  1. Request a new password from the password reset page.
  2. Open the email and click the reset link.
  3. Enter a new password, submit, and intercept the request.
  4. Remove the authenticity token from the request and forward it.
  5. 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.

More by niks

View all

6 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.