Skip to content
CSRF Disclosed report Beginner

Missing Server Side Validation of CSRF Middleware Token in Change Password Request

The change password form did not validate the CSRF middleware token on the server side, so the request succeeded even when the token was removed. An attacker could potentially submit a password change request without a valid token, though the report does not demonstrate a cross-site attack.

itly Follow

Originally disclosed on HackerOne

  • Triaged in 14 hours
  • Fixed in 15 days
  • Disclosed after 3 months

Hello Team,

I have found that CSRF Middleware Token is not getting validated at server side in CHANGE PASSWORD request. This request even works without csrfmiddlewaretoken.

Steps to Reproduce:

  1. Login to your Veris View Account.
  2. Go to Settings.
  3. Change your password.
  4. Submit the form.
  5. Intercept this request in burp suite.
  6. Remove csrfmiddlewaretoken parameter from the request.
  7. Forward the request.
  8. You'll notice the success message as Password changed Successfully.

Proof of Concept: Please find it attached.

Do evaluate it and inform me accordingly.

Best Regards,

Hely H. Shah

Attachments

Edited_Request_-_Change_Password.JPG
Edited_Request_-_Change_Password.JPG From the original on HackerOne
Original_Request_-_Change_Password.JPG
Original_Request_-_Change_Password.JPG
Response_-_Password_changed_Successfully.JPG
Response_-_Password_changed_Successfully.JPG

The original report as published on HackerOne, by itly. 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-side change password handler did not check the CSRF token, or the CSRF middleware was not applied to that endpoint.

Impact

The change password endpoint could be triggered without a valid CSRF token, which may allow cross-site request forgery against logged-in users, though the report does not show a working cross-site exploit.

What the attacker needed

A logged-in account; ability to intercept requests

How it was found

  1. Log in to the account.
  2. Go to Settings and open the change password form.
  3. Submit the form and intercept the request in a proxy.
  4. Remove the csrfmiddlewaretoken parameter.
  5. Forward the request.
  6. Observe the success message confirming the password change.

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 CSRF token is a secret value a website puts in forms to prove a request came from its own pages, not from another site. Here the server ignored that token for the change password form, so it accepted a request that had no token at all. This weakens protection against cross-site request forgery, where another site tricks a logged-in user's browser into sending a request.

What is CSRF?

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

More by itly

View all

16 more disclosed reports, best first.

More from Veris

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.