Skip to content
Access control Write-up Beginner

Invitation link hijacking on a bug bounty program

The invitation link for a project could be used by an attacker to join the project with their own email address instead of the invited one. An attacker could gain unauthorised access to a project by modifying the email in the registration request.

harish45 Follow

Published on harish45.medium.com

I can’t disclose the program name, So name it as target.com. It is a cloud storage providing website.

Harish, on harish45.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 application trusted the email address submitted during registration without verifying it matched the invited email tied to the invitation token.

Impact

An attacker could join a project without being invited, potentially accessing project data and collaborating as if they were the invited user.

What the attacker needed

Attacker has a valid invitation link; Invited email has no account on target

The fix

The application should verify that the email submitted during registration matches the email associated with the invitation token, and reject any mismatch.

How it was found

  1. Create a project and invite an email address that has no account on the target.
  2. Open the invitation link, which redirects to the registration page.
  3. Fill in the registration form and capture the request.
  4. Modify the email field in the request to the attacker's email and send it.
  5. The attacker's email is added to the project.

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 project, the system sends them a special link. The researcher found that if the invited person does not have an account yet, the link takes them to a sign-up page. By changing the email address in the sign-up request, someone else could join the project even though they were not invited. This is like using someone else's invitation to get into a party.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by harish45

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.