Skip to content
IDOR Write-up Beginner

IDOR in a Header Leads to a $$$ Bounty

The application's ticket API trusted a static organization header (Pid) for authorization instead of validating the user session. An attacker with a valid Pid value could access customer support tickets without authentication, including cross-organization data.

medium.com

Published on medium.com

While hunting on a public program on Bugcrowd, I discovered an interesting IDOR vulnerability in a SaaS platform that I’ll refer to as redacted.com.

Nakshatra Sharma, 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

The application relied entirely on a user-controlled header for authorization instead of validating authentication and organization membership properly.

Impact

This allowed unauthenticated access to customer support tickets, cross-organization data exposure, access to sensitive conversations, persistent access for removed users, and mass data extraction due to missing rate limits.

What the attacker needed

A valid Pid value; knowledge of customer_id or Pid

How it was found

  1. Log in to the application and open the support ticket section.
  2. Capture the ticket API request in Burp Suite.
  3. Remove all cookies and authentication headers, then replay the request.
  4. Modify the customer_id or Pid value to access other customer or organization ticket data.

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.

This is an IDOR (Insecure Direct Object Reference) where the server uses a header value to decide which organization's data to show, without checking if the user is logged in or belongs to that organization. An attacker who knows or guesses the header value can read other customers' support tickets.

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.