Skip to content
IDOR Write-up Beginner

IDOR Flaw Leads to $1160 Bounty (1/30 DAYS)

An IDOR vulnerability in a machine learning model registry allowed an attacker to change model IDs in a GraphQL request to access private models and their versions without authorisation. The attacker could view confidential models, their metadata, and version details.

medium.com

Published on medium.com

I’m a security researcher, and I’ve taken on the challenge of explaining one bug bounty report every day for the next 30 days — 30 days, 30 reports!

0day stories, 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 application failed to verify that the requesting user was authorised to access the requested model ID, relying only on the ID being known.

Impact

The flaw could expose private machine learning models, leak metadata such as parameters and metrics, and affect all users across different tiers.

What the attacker needed

A free account; knowledge of a model ID

How it was found

  1. Create two accounts, one as attacker and one as victim.
  2. Intercept a request that fetches details of a private model.
  3. Modify the model ID in the request to a different number.
  4. Use the response to extract version IDs and send requests to view private versions.

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 private item and does not check if you are allowed to see that item. Here, changing the number in a request let someone view other people's private machine learning models. This is like changing the number on a locker key and opening someone else's locker.

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.