Skip to content
Access control Write-up Beginner

How I Discovered Two Critical Authorization Bugs in a Web Application

Two authorization flaws were found: a user without access to a case could add collaborators to it, and a user assigned a view-only role received full permissions. An attacker could gain unauthorised access to other users' cases and modify them.

mrshan Follow

Published on mrshan.medium.com

Welcome back to another story from my penetration testing journey. I’m Shan, an Application Security Analyst focused on web, mobile, and infrastructure security testing.

MR SHAN, on mrshan.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

Impact

These flaws could lead to serious data breaches and misuse of functionality, as users could access and modify cases they should not.

What the attacker needed

Valid user account; knowledge of a case URL

How it was found

  1. Log in as USER_A and create a new service case.
  2. Copy the case URL.
  3. Log in as USER_B and open the case URL.
  4. Observe restricted access to case data.
  5. Use the 'Add Collaborator' feature to add USER_C.
  6. Log in as USER_C and verify full access to the case.

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.

Authorization is the check that decides who is allowed to do what. Here, the application failed to check whether a user was allowed to add people to a case, and it also failed to enforce a 'view-only' restriction. This meant users could see and change data that did not belong to them.

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 mrshan

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.