Skip to content
IDOR Write-up Intermediate

How One Tiny IDOR Created a Digital Domino Effect That Toppled Th

A permission reference IDOR allowed an attacker to manipulate a reference string to gain folder-level access and then brute-force a system-wide administrative reference. This granted full access to user data, system configuration, and the ability to make permanent admin changes.

iski Follow

Published on infosecwriteups.com

Free link 🎈

Iski, 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 permission validation system trusted user-supplied reference strings without verifying the user's actual authorisation, allowing pattern-based guessing of administrative references.

Impact

The attacker could access all user PII, system configurations, API keys, and database credentials, and could make themselves a permanent administrator, leading to complete system compromise.

What the attacker needed

A basic user account; ability to share a document

The fix

The company completely redesigned their permission validation system.

How it was found

  1. Create two test accounts and share a document from one to the other.
  2. Observe the permission_reference field in the share response.
  3. Use the reference in the /permissions/validate endpoint to see permission details.
  4. Modify the reference to target a folder and use it to access folder contents.
  5. Brute-force reference patterns to find a system-level administrative reference.
  6. Use the administrative reference to access admin endpoints and escalate privileges.

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.

An IDOR (Insecure Direct Object Reference) is when a system uses a user-supplied identifier to access a resource without checking if the user is allowed. Here, the identifier was a permission reference string that could be guessed or modified, letting the attacker bypass permission checks and eventually become an administrator.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by iski

View all

186 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.