Skip to content
Access control Write-up Beginner

The P2 Bug You Could Miss Without Reading the Documentation

The platform's documentation promised that disconnecting a third-party integration would immediately revoke access to commands, but the commands still worked after disconnection. An attacker could perform sensitive actions such as accessing user data and executing tasks on the account via the third-party service.

mokhansec Follow

Published on mokhansec.medium.com

Many new bug hunters often ask how I uncover impactful bugs that lead to solid payouts without being duped. Here’s a recent experience where focusing on the documentation and the “No’s” helped me discover a significant P2 vulnerability in a platform.

Mohsin khan, on mokhansec.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 platform did not properly revoke or check authorisation for the third-party integration after disconnection.

Impact

An attacker could perform sensitive actions such as accessing user data and executing tasks on the account via the third-party service even after disconnection, potentially leading to unauthorised account management or data breaches.

What the attacker needed

A platform account; a third-party service account; ability to connect and disconnect integration

The fix

The platform should ensure that disconnecting the third-party service immediately revokes all access and that commands are rejected after disconnection.

How it was found

  1. Connect the account to the third-party service and verify commands work.
  2. Disconnect the service via the platform's settings.
  3. Execute the same commands through the service after disconnection.

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 link an account to another service, you expect that unlinking it stops all access. Here, the platform said unlinking would revoke access, but it did not, so someone could still use the third-party service to control the account.

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 mokhansec

View all

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