Application Vulnerable to CSRF - Remove Invited user
The endpoint that cancels a pending team invitation could be triggered by a simple GET request without any CSRF protection, so an attacker could make a logged-in admin's browser remove an invited user. The report demonstrates that replaying the captured URL in a new tab performs the removal.
Originally disclosed on HackerOne
- Triaged in 7 days
- Fixed in 42 days
- Disclosed after 6 months
POC:
- Login to the application with a business account.
- Go to Manage teams, where we can send invites to a team member. Send a Invite to a team member
- After the invite is sent to a user, the admin has option to Remove User.
- While trying to remove the user, capture the request in burp , do not forward the request, send to repeater and drop the request
- Now, from repeater , copy the url and put it in a new tab of authenticated admin browser, the user removal is successful
The user removal URL would look like https://infogram.com/api/team/cancel-invitation/c535cc62-9586-4f4b-8306-9381dcdbc815?teamId=16537204&_=1508852073697
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 cancel-invitation endpoint accepts a GET request and does not require a CSRF token or other anti-forgery check.
Impact
An attacker could cause a logged-in admin to remove an invited team member without the admin's intent, disrupting team onboarding.
What the attacker needed
Victim is a logged-in admin; attacker can lure victim to a link
How it was found
- Log in with a business account.
- Send an invitation to a team member from the Manage teams page.
- Capture the request that removes the invited user in Burp and drop it.
- Copy the removal URL from Repeater and open it in a new tab of the authenticated admin browser.
- The invited user is removed 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.
When you are logged in to a website, your browser automatically sends your session cookie with every request to that site. If a sensitive action like removing a team member can be done with a simple link, another website can trick your browser into sending that request without you noticing. This is called cross-site request forgery (CSRF).
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.