Skip to content
IDOR Write-up Intermediate

Fuzzing to Kubernetes to IDOR to PII leak

The /metrics endpoint exposed logs containing an API endpoint that returned user profile data for any username without authorisation. An attacker could enumerate usernames and retrieve personal information for each account.

nityanandjha18 Follow

Published on nityanandjha18.medium.com

During a recent VAPT engagement on a website, I encountered an intriguing situation. While fuzzing, I received a status code 200 response on the /kubelet endpoint.

NITYA NAND JHA(Shunux), on nityanandjha18.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 profile API endpoint lacked an authorisation check, allowing any user to retrieve another user's data by supplying their username.

What the attacker needed

Access to the /metrics endpoint; knowledge of usernames

How it was found

  1. Fuzz the site and find /kubelet returns 200 but 403 when accessed.
  2. Try sensitive Kubernetes paths without success.
  3. Access /metrics and find logs revealing /api/v1/profile/{username}.
  4. Write a script to extract usernames from the endpoint.
  5. Write another script to send requests for each username and capture JSON responses.

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.

A website had a monitoring page that accidentally showed internal logs. Those logs mentioned a hidden web address that returned a person's profile details when you typed their username. The site did not check if you were allowed to see that profile, so anyone could look up anyone else's information.

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 nityanandjha18

View all

1 more disclosed report, 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.