Skip to content
Business logic Write-up Beginner

The Invitation Was Gone… But I Could Still Join

An organization invitation acceptance request could be replayed after the invitation was revoked, allowing the attacker to join the organization. The attacker could then access organization resources and data.

0xMo7areb Follow

Published on medium.com

An organization owner can: → Create an organization. → Invite a user. → Revoke the invitation.

0xMo7areb 🥷, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The backend does not check the current invitation status when processing the acceptance request.

Impact

The attacker joins the organization even though the invitation was revoked, potentially gaining access to organization resources and data until manually removed.

What the attacker needed

Attacker has an account; Victim invites attacker; Attacker captures acceptance request; Victim revokes invitation

How it was found

  1. Victim creates an organization.
  2. Victim invites the Attacker.
  3. Attacker clicks Accept Invitation and sends the request to repeater, dropping the main request.
  4. Victim revokes the invitation.
  5. Attacker replays the old request stored in Burp Repeater.
  6. The request is accepted even though the owner revoked the 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 write-up has not been written yet. The Original tab links to the source.

When you invite someone to a group, you can later cancel that invitation. Here, the website did not check if the invitation was still valid when the person accepted it. So if the person saved the acceptance request before you cancelled, they could still use it to join.

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.

More by 0xMo7areb

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.