Group Deletion Via CSRF
The server did not validate the anti-CSRF token when a group deletion request was submitted. An attacker could craft a page that submits a deletion request on behalf of a logged-in user, removing a group from that user's account.
Originally disclosed on HackerOne
- Fixed in 7 hours
- Disclosed after 9 hours
Hi Team,
I have found a CSRF vulnerability using which the attacker can delete a group on any users account as the anti-csrf token is not getting validated on the server-side.
Group Deletion 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="deleteGroup[id]" value="140" /> <input type="submit" value="Submit form" /> </form> </body> </html>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 deletion request without checking that the submitted anti-CSRF token matched the user's session.
Impact
An attacker could delete a group from any user's account if that user visited a malicious page while logged in.
What the attacker needed
Victim is logged in; victim visits attacker page
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.
Websites use a secret token in forms to make sure a request really came from their own pages, not from another site. Here the server ignored that token, so a page on a different site could quietly send a group-deletion request using the victim's logged-in session. This is called cross-site request forgery (CSRF): tricking a logged-in user's browser into doing something they did not intend.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.