Bug Bounty Masterclass: How a Forgotten API Exposed Thousands of
An API endpoint that returned membership records was left unauthenticated, and it accepted sequential numeric member IDs. An attacker could walk those IDs to read other passengers' personal details, including names and partial card data.
Published on jareddouville.medium.com
In the world of bug bounty hunting, we often look for the “flashy” exploits RCE or complex SSRF. But sometimes, the most devastating vulnerabilities are the simplest.
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 membership endpoint lacked an authorisation check and used predictable sequential identifiers, so any caller could read any record.
Impact
Records of other passengers could be read, exposing names and partial payment details; the author states that if real, thousands of addresses and partial payment details would be public.
What the attacker needed
Reachable API documentation; no account needed for the endpoint
How it was found
- Find the exposed API documentation page listing the endpoints.
- Notice that the membership endpoint is listed as not requiring authentication.
- Take valid member IDs from the public membership list.
- Request nearby sequential IDs to reach records belonging to other people.
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 API is the behind-the-scenes interface a website uses to fetch data. Here one of its endpoints did not check who was asking, and it used simple counting numbers as record IDs, so anyone could request record after record and read other people's details.
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.