Skip to content
Account takeover Write-up Beginner

Critical Vulnerability Discovery: Passwordless Invite Link Authen

Invite links for passwordless authentication could be used to log in without verifying email ownership or entering an OTP. An attacker with an invite link could access the workspace, remove all members including the owner, and take full control.

Lakshya Follow

Published on ch1ta.medium.com

While testing websites passwordless authentication flow, I discovered a critical flaw: invite links could be used to log in without verifying email ownership or entering an OTP.

Lakshya, on ch1ta.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 invite link acted as a full authentication token without checking that the person using it owned the invited email address or completing a second verification step.

Impact

An attacker with an invite link could bypass authentication, gain admin privileges, lock out legitimate users, and achieve persistent organisational compromise, though the severity was classified as medium due to existing mitigations.

What the attacker needed

Possession of an invite link; ability to invite an email address

The fix

The issue was fixed by enforcing email verification before activation, making invite tokens single-use and time-limited, binding tokens to the intended email, and restricting new users from removing admins.

How it was found

  1. Invite any email address to a workspace.
  2. Copy the generated passwordless invite link.
  3. Open the link in a fresh browser session.
  4. Access the invited account instantly, without verification.
  5. Remove existing members and assume full control of the workspace.

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 workspace, the system usually sends them a special link. This report found that anyone who had that link could use it to get in, even if they did not own the email address it was sent to. That let them take over the whole workspace.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by Lakshya

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.