Skip to content
Access control Disclosed report Beginner

privilege escalation

A user whose invite permission had been revoked could still send project invitations because the server did not re-check the permission at the moment of the request. An attacker with a stale page open could invite arbitrary email addresses despite having lost that privilege.

niks Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 12 days
  • Paid in 12 days
  • Disclosed after 13 days
  1. Consider Two browsers say X and Y, also consider two users say A and B.
  2. Sign in to https://app.mavenlink.com using user A through browser X, same as login with user B through browser Y.
  3. Now create a project through user A, and add user B as a consultant with Team Lead privilege.
  4. Now access this project through user B, and click on invite. A console will open asking for email id. Leave it as it is here and move to user A.
  5. Access the user A console through browser X, and set the privilege of user B to Collaboration and also remove the invite privilege just corresponding to that user, as shown in image below.Now save it.
  6. Now move to user B again from where we left in step 4. Enter any email id and submit the request. You will see request will get completed successfully and given user will be invited, while this user doesn't having any privilege to do so..

Attachments

poc.jpg
poc.jpg From the original on HackerOne

The original report as published on HackerOne, by niks. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the invite action was authorised only when the page was rendered, and the server did not re-verify the user's current privileges when processing the submitted request.

Impact

A user whose invite privilege was revoked could still invite arbitrary email addresses to the project.

What the attacker needed

Two accounts on the same project; user B keeps the invite prompt open; user A can change user B's privileges

How it was found

  1. Sign in as user A in one browser and user B in another.
  2. As user A, create a project and add user B as a consultant with Team Lead privilege.
  3. As user B, open the project and click invite so the email prompt appears, then leave it open.
  4. As user A, change user B's privilege to Collaboration and remove the invite privilege, then save.
  5. As user B, enter any email address in the still-open prompt and submit it.
  6. The invitation is sent successfully even though user B no longer has the invite privilege.

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 report has not been written yet. The Original tab links to the source.

A website sometimes checks whether you are allowed to do something only when it shows you a button, not when it actually carries out the action. Here, an admin took away a user's ability to invite people, but the user still had the invite form open in their browser and the server accepted the request anyway. This is a permission check that happens in the wrong place.

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 niks

View all

6 more disclosed reports, best first.

More from Mavenlink

View all

The newest disclosed reports for this program.

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.