Skip to content
CSRF Disclosed report Beginner

Group Creation Via CSRF

The server did not validate the anti-CSRF token when creating a group, so a crafted page could submit the group-creation request on behalf of a logged-in user. An attacker could create a group on any user's account.

ajaysinghnegi Follow

Originally disclosed on HackerOne

  • Fixed in 8 hours
  • Disclosed after 10 hours

Hi Team,

I have found a CSRf vulnerability using which the attacker can create a group on any users account as the anti-csrf token is not getting vlaidated on the server-side.

Group Creation Via CSRF Code:

<html> <body> <form action="http://www.localize.io/pages/create_project/9k" method="POST"> <input type="hidden" name="CSRFToken" value="" /> <input type="hidden" name="addGroup[name]" value="test" /> <input type="submit" value="Submit form" /> </form> </body> </html>

The original report as published on HackerOne, by ajaysinghnegi. 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 accepted the group-creation request without checking that the submitted anti-CSRF token matched the user's session.

Impact

An attacker could create a group on any logged-in user's account without their consent.

What the attacker needed

Victim is logged in; victim visits attacker page

How it was found

  1. Host a page containing a form that posts to the group-creation endpoint with an empty token field and a group name.
  2. Get a logged-in victim to load that page, which submits the form automatically or on a click.
  3. The server creates the group on the victim's account.

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. A cross-site request forgery (CSRF) attack is a page on another site that quietly submits a form to the target site, so the target treats it as your action. Here the site was supposed to check a secret token in the form to prove the request came from its own pages, but it did not, so the forged request worked.

What is CSRF?

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

More by ajaysinghnegi

View all

4 more disclosed reports, best first.

More from Localize

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.