Skip to content
Business logic Write-up Intermediate

Business Logic Bug: Enforce victim to accept the invitation

The invitation acceptance flow leaked the invitation identifier in the response to a resend request, and the signup page accepted that identifier to join a workspace. An attacker with an owner or admin role could therefore add an account under the victim's email address to the workspace without the victim accepting the invitation.

pent0ss Follow

Published on medium.com

بس� الله والصلاة والسلا� على رسول الله , الح� د لله الذى علّ� بالقل� علّ� الانسان � ا ل� يعل� والصلاة والسلا� على خير � عل� الناس الخير� ُحَ� ّد

ossama (@pent0ss), 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

Likely the invitation identifier was returned in the resend response and the signup endpoint accepted it without checking that the person completing signup was the invited user.

Impact

An attacker who is already an owner or admin could add an account under a victim's email address to the workspace without the victim's consent, which the author says could lead to privilege escalation or impersonation of trusted users.

What the attacker needed

Attacker is owner or admin of a workspace; attacker knows the victim's email address

How it was found

  1. As an owner or admin, invite the victim's email address to the workspace.
  2. Resend the invitation and intercept the POST request, then send it to Repeater.
  3. Read the invitation identifier from the response.
  4. Open the signup page with the invitation identifier in the query string.
  5. Sign up using the victim's email address and any password, then accept 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 shared workspace, the platform normally waits for that person to click a link in an email before they join. Here the invitation's secret code was shown in a server response, and the signup page trusted that code, so the person who sent the invite could complete the join themselves using the victim's email address. This removes the victim's chance to say yes or no.

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 pent0ss

View all

1 more disclosed report, 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.