Skip to content
CSRF Disclosed report Beginner

███████mill is vulnerable to cross site request forgery that leads to full account take over.

The account settings form did not properly verify the CSRF token, so an attacker could trick a logged-in user into submitting changes to their email address and password. This allowed the attacker to take full control of the victim's account.

m4xp0w3r Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 11 days
  • Disclosed after 32 days

Summary: The form within the "My Account" page in ███████mil fails to verify the CSRF token used when an user makes changes such as changing the password and other details. For example, an attacker can change the user's email address, full name, phone number, etc. In this way the attacker can gain full control over the user's account.

Note In order to get a valid CSRF token you will need to create an account and make any change in "My account" after this you can grab the value of the ██████████ token and use it in your CSRF attack. Description: Cross-site request forgery (also known as CSRF) is a web security vulnerability that allows an attacker to induce users to perform actions that they do not intend to perform. It allows an attacker to partly circumvent the same origin policy, which is designed to prevent different websites from interfering with each other.

Impact

Attackers can take over accounts.

Step-by-step Reproduction Instructions

  1. Host the attached proof of concept in your server and change the desired values.
  2. While authenticated visit the attacker's website that hosts the CSRF poc
  3. On a different browser or incognito session log in with the new email address and password

Impact

Attackers can take control over any user account.

The original report as published on HackerOne, by m4xp0w3r. 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 validate the CSRF token on the account update form, accepting requests without a matching token.

Impact

An attacker could take control over any user account by changing the victim's credentials.

What the attacker needed

Victim is logged in; victim visits attacker's page; attacker has a valid CSRF token

How it was found

  1. Host the proof-of-concept page on a server and set the desired values.
  2. While logged in, visit the attacker's page that hosts the CSRF proof of concept.
  3. In a different browser or incognito session, log in with the new email address and password.

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 are logged into a website, your browser automatically sends your session cookie with every request to that site. A cross-site request forgery (CSRF) attack tricks your browser into sending a request to the site from a different page you visit, without you meaning to. Here, the site did not check a secret token that should have proved the request came from its own form, so an attacker could change your email and password and then log in as you.

What is CSRF?

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

More from U.S. Dept Of Defense

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.