Skip to content
Business logic Write-up Beginner

Reusing an Expired Invitation to Rejoin the Organization

An invitation token to join an organisation remained valid after being accepted, allowing the same user to rejoin multiple times. This created duplicate membership entries that the admin could not remove.

medium.com

Published on medium.com

The original lives on medium.com

We do not hold its text, 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

Likely the invitation token was not invalidated or marked as used after the first successful acceptance.

Impact

The attacker could rejoin the organisation multiple times, creating duplicate membership entries that the admin could not remove.

What the attacker needed

Attacker has an email address; admin sends an invitation; attacker can intercept requests

How it was found

  1. An admin sends an invitation to the attacker's email address.
  2. The attacker opens the invitation link, signs up, and intercepts the request containing the invitation token.
  3. The attacker completes sign-up and joins the organisation.
  4. The attacker observes that the invitation token is still active after acceptance.
  5. The attacker replays the intercepted request to rejoin the organisation.

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 team, the invite link should stop working after they use it. Here, the link kept working, so the same person could join the team again and again, leaving extra copies of their account that the admin could not delete.

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.

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.