Skip to content
Access control Write-up Intermediate

Oops. Team Closed it as NA

A Desk Admin could deactivate the Organization Owner's access to the Desk module, and even after the Desk Admin was removed, the owner remained permanently locked out of the application. The attacker could thus deny the highest-privileged role access to critical functionality.

infosecwriteups.com

Published on infosecwriteups.com

Alhamdulillah, here I am today. Hope you’re doing well!

callgh0st, on infosecwriteups.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 system ties application access to an active agent status that does not automatically reset for the owner when the agent is removed.

Impact

A lower-privileged Desk Admin could permanently lock out the Organization Owner from the Desk module and the application, causing business disruption and loss of administrative control, and the owner's access could not be restored without system-level intervention.

What the attacker needed

A Desk Admin account; access to the Desk Agent tab; the Organization Owner must be a target

How it was found

  1. Log in as a Desk Admin and go to the Desk Agent tab within an application.
  2. Deactivate the Organization Owner's access to the Desk module.
  3. Log in as the owner and confirm loss of Desk access.
  4. As the owner, deactivate the Desk Admin through the Users section and check the Desk module again.
  5. Completely remove the Desk Admin from the organization and revisit the application.
  6. Observe being redirected to the dashboard and then kicked back with an 'Inactive agent' popup, permanently blocking access.

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, different users have different levels of control. Here, a lower-level admin could switch off the top-level owner's access to a part of the app. Even after that lower-level admin was removed, the owner stayed locked out, which is like a junior staff member changing the boss's door code and then leaving.

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.

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.