Skip to content
Access control Write-up Beginner

How reading documentation led to a €1500 bounty

A project status parameter controlled which environment an account could access, and the documentation listed a status that granted live access. By replacing the default status value in requests, the researcher gained access to the live environment without completing KYC or signing contracts.

medium.com

Published on medium.com

I was hunting on a private program for 2 months now (literally just focusing on one program) and I already got good bounties and bugs on it and I felt like I’m stuck now, I felt like I found everything that I could find but deep down I was 100% sure that there are still so many bugs waiting to be discovered.

0xBruno, 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 server trusted a client-supplied project status value to decide environment access instead of enforcing the KYC and contract checks server-side.

Impact

An attacker could bypass KYC and contract requirements to access the live environment, which may expose real data or functionality.

What the attacker needed

A sandbox account; access to the API documentation; ability to intercept and modify requests

The fix

The server should enforce environment access based on verified account state rather than a client-supplied status value.

How it was found

  1. Read every page of the API documentation and find the table of project statuses and their access levels.
  2. Identify a status value that grants live environment access.
  3. Search Burp HTTP history for requests containing the project status parameter.
  4. Set a Match & Replace rule in Burp to swap the default status for the live-access status.
  5. Send the modified request and observe that live access is granted.

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.

The application had a setting called project status that decided whether you were in a test area (sandbox) or the real area (live). The documentation accidentally listed a status value that unlocked the real area. The researcher changed that value in their requests and got into the live environment without the required checks.

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.