Skip to content
Access control Write-up Beginner

Accepting Project Invitation On Behalf of Any user Of Mavenlink (User impersonation)

The invitation token sent to an invited user was also exposed to the project admin through the resend and cancel invitation links, and the same token could be used to accept the invitation. An attacker with admin access to a project could therefore accept an invitation on behalf of any invited user without that user's interaction.

Dipak kumar Das Follow

Published on addictivehackers.blogspot.com

The original lives on addictivehackers.blogspot.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 included in admin-facing resend and cancel URLs, exposing the same secret that the invited user receives by email.

Impact

A project admin could accept an invitation on behalf of any invited user, impersonating them, without the victim's interaction; the report says the issue was fixed and a second token-leaking endpoint was later found and also fixed.

What the attacker needed

Admin access to a project; an invited user's email address

The fix

The invitation token should not be exposed in admin-facing resend or cancel links, and the report states the issue was fixed.

How it was found

  1. Log in as the project admin and open the project workspace.
  2. Invite a victim's email address to the project.
  3. Right-click the resend invitation button and copy the link.
  4. Compare the token in that link with the token in the victim's email link.
  5. Remove the workspace id and the resend suffix from the URL and open it in the browser.
  6. The invitation is accepted as the victim without any action from them.

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 site emails them a secret link containing a token, which is a long random string that proves who they are. The report found that the same secret token was also shown to the project admin in the resend and cancel buttons, so the admin could open the victim's link themselves. That let the admin join the project as the invited person without the person ever clicking anything.

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 Dipak kumar Das

View all

19 more disclosed reports, 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.