Team member invitations to sandboxed teams are not invalidated consistently (v2)
Invitations to sandboxed teams were not invalidated after being accepted, so the same invitation link could be reused to add multiple users to the team. An attacker with a valid invitation link could share it with others, allowing unauthorised users to join the team.
- Triaged in 3 days
- Fixed in 7 days
- Paid in 7 days
- Disclosed after 7 days
Summary by the program
Due to an issue with accepting an invitation, a user would be added to the team without the invitation being invalidated, causing invitations to be reusable.
This would occur under certain circumstances in teams that are in sandbox mode.
The report
As per our email conversation on ticket 2527, I am giving you a proof of concept of my claim.
-
I have a sandboxed team in hackerone,named movielee.
-
The manager of that team (@haxorsistz) sends an invite to => ██████████
-
The link which I received on email was => https://hackerone.com/invitations/6fbca8af2f861c8174136f97ec51fde6
-
I logged in from another researcher (@geekboy) account and visited the link.Accepted the request.
-
Now I can see that invitation is still live.
So, a member of any team can pass this token to other people and they will be added to the team.I used this token 3 times and it's still live.
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 invitation acceptance logic did not mark the invitation as used or delete it after a successful acceptance, so the token remained valid.
Impact
A member of a sandboxed team could pass the invitation token to others, who would be added to the team.
What the attacker needed
A sandboxed team; a valid invitation link; ability to share the link
How it was found
- Create a sandboxed team and send an invitation to an email address.
- Receive the invitation link by email.
- Log in as a different user and visit the invitation link.
- Accept the invitation and observe that the invitation link is still live and can be reused.
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 invite someone to a team, the invitation link should stop working after it is used once. Here, the link kept working, so anyone who got hold of it could join the team, even if they were not the intended person.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.