Skip to content
IDOR Write-up Beginner

An Easy IDOR on a Banking App (Hosted on Azure — Laternal Movem

A loan processing system exposed document preview and full-content API endpoints that accepted a numeric document ID without checking the requesting user's role. Because IDs were sequential, a low-privileged user could enumerate and retrieve other customers' documents.

Rahul Singh Chauhan Follow

Published on osintteam.blog

Hi everyone, in this article, I’ll explain a very easy IDOR that I came across one of my assessments. The reason I’m writing this article is because it’s on cloud and you’ll get to learn how to enumerate the attack surface.

Rahul Singh Chauhan, on osintteam.blog

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

The backend API endpoints fetched documents by sequential numeric ID without verifying the caller's role or ownership.

Impact

A low-privileged user could view other customers' loan documents, which should only be accessible to staff with the Ops 1 role or higher.

What the attacker needed

A low-privileged user account

How it was found

  1. Log in with a low-privileged user account.
  2. Notice that document previews and full content can be retrieved.
  3. Observe that document IDs are 10-digit incremental numbers.
  4. Change the document ID by adding one to access another user's document.

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) happens when a website uses a simple identifier, like a number, to refer to a file or record and does not check whether the person asking is allowed to see it. Here, document numbers went up by one each time, so changing the number let a low-level user read other people's loan documents.

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.

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.