Skip to content
Access control Write-up Beginner

BAC: THE Money-making Machine

A user invited to one project could see the name and metadata of another project they had no access to by using the search bar in the all-projects section. This exposed sensitive project information and could lead to unauthorised project access.

rajveer_0101 Follow

Published on medium.com

BAC is always my favorite and most of my bounties come from this vulnerability. It always fascinates me to bypass the intended flow and think creatively from a full 360° perspective.

Rajveer, 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 search endpoint returned results from all projects without checking whether the requesting user had access to each project.

Impact

A low-privileged user could see the name and metadata of projects they were not invited to, which could lead to unauthorised project access.

What the attacker needed

Owner account to create projects; a second user account invited to one project

The fix

The search should be fixed to only return projects the requesting user is authorised to see.

How it was found

  1. From the owner account, create two projects.
  2. Invite a user to the first project only.
  3. Confirm that user has no access to the second project.
  4. Go to the all-projects section and use the search bar.
  5. Type a single letter and observe the second project name appear.
  6. Inspect the response to see other metadata about the second 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.

In many apps, users are given different roles and should only see the projects they are allowed to. Here, a user with no access to a second project could still find its name and details by typing a letter into a search box. That means the search was not checking permissions properly, so private information leaked.

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 rajveer_0101

View all

4 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.