Reading list
Learn IDOR from real reports
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.
12 reports, easiest first.
-
The Form Said No, the API Said Yes: The Story of My Second CVE
The Kimai time-tracking application's API endpoint for saving user preferences did not check whether a preference was enabled for the user's role, allowing a low-privilege user to set their own hourly and internal billing rates. An attacker could alter the financial data used in invoices and timesheet exports.
In many web apps, the server decides which fields a user is allowed to change. Here, the server correctly marked the hourly rate field as off-limits for regular users, and the web page hid it. But the API that saves preferences forgot to check that mark, so a regular user could still send the value directly and change their own pay rate.
The lesson. The preference-saving API endpoint checked only that a preference existed, not whether it was enabled for the user's role, so the disabled flag was ignored on write.
-
How Four Lines of Code Could Delete Any Facebook Photo Album
A Facebook Graph API endpoint for deleting photo albums checked that the access token belonged to a valid user with delete permission, but did not verify that the album ID in the request belonged to that user. An attacker with a Facebook-for-Android access token could delete any album they could already view, simply by swapping the album ID.
An IDOR (Insecure Direct Object Reference) is when a website lets you access or change something just by changing an identifier in the request, without checking that the thing belongs to you. Here, the server confirmed the user was logged in and allowed to delete albums, but never checked that the album being deleted was theirs. So anyone who could see an album could also delete it by changing the album number in the request.
The lesson. The server authenticated the request and checked general delete permission, but failed to authorise that the specific album ID belonged to the token owner.
-
Mass Assignment to Admin: How a Missing Allow-List Let Me Self-Promote to Administrator
The profile update endpoint bound the raw request body to the user model without an allow-list, so a low-privilege user could add a role field and become an administrator. The attacker could then use the elevated account to access admin functionality.
When a website updates your profile, it should only accept the fields it expects, like your name or bio. Here, the server accepted any field the user sent, including one that controls whether the account is an admin. That let a normal user make themselves an administrator.
The lesson. The profile-update handler copied every field from the request body onto the user record instead of explicitly allowing only safe fields.
-
Hunting For Mass Assignment Vulnerabilities Using GitHub CodeSearch and grep.app
A mass assignment vulnerability in freeCodeCamp's user update endpoint allowed an attacker to set arbitrary user attributes, including all certification flags, by sending a single request. This enabled acquiring every coding certification without completing the required study.
Mass assignment happens when a website takes all the data you send and saves it without checking which fields you are allowed to change. Here, the user update function saved every attribute from the request body, so an attacker could add fields like certification flags and grant themselves all certifications.
The lesson. The updateUserFlag function passed the entire request body directly to user.updateAttributes without filtering or allow-listing the fields that a user is permitted to modify.
-
How I Downloaded Any User’s Private Invoice : Bug Hunting Story
The payroll export endpoints did not verify that the requested invoice belonged to the authenticated user, so any logged-in employee could download other employees' payslips and tax documents by changing a sequential invoice ID. An attacker could enumerate IDs to access sensitive personal and financial data of all employees.
When you log in to a website, the site checks your identity (authentication). But it should also check that the data you ask for actually belongs to you (authorization). Here, the site only did the first check, so by changing a number in the web address, anyone could see other people's private payslips.
The lesson. The server fetched the invoice by its ID without checking that the invoice's owner matched the authenticated user.
-
Would You Like an IDOR With That? Leaking 64m McDonald's Job Applications
The McHire administration interface accepted default credentials, and an internal API endpoint allowed access to any candidate's chat and personal data by manipulating a numeric identifier. An attacker could retrieve personal information of over 64 million job applicants.
This report describes two security holes in a job application system. First, the admin login used a very weak default password that anyone could guess. Second, a web address that fetched a candidate's information could be changed to show other people's data, because the system did not check if the person asking was allowed to see it. Together, these let someone read millions of applicants' personal details.
-
I Found a Critical BOLA Vulnerability in a Cybersecurity AI Platform — Here’s Exactly How
The platform's chat API and React Server Component page fetch lacked ownership checks, so any authenticated user could read or write another user's private chat by supplying the target's short chat ID. This exposed full conversation histories and allowed message injection into victims' chats.
This is a broken access control bug: the server checked that you were logged in but not that the chat you asked for belonged to you. Because chat IDs were short and guessable, any logged-in user could swap in someone else's ID and see or alter their private conversations. Think of it like a hotel that checks your key card at the front door but never checks which room the key opens.
The lesson. The server performed authentication but not authorization, and the database queries for both the RSC chat fetch and the /api/chat POST were missing an ownership clause.
-
$9,000 for a Bucket That Trusted the Wrong Thing: Cloud Storage IDOR Exposing Every User’s Files
The cloud storage bucket behind a document-sharing platform allowed public read access, so files could be fetched without the application's signed URLs. Object keys were sequential rather than random, letting an attacker enumerate and access every user's uploaded documents without authentication.
The app gave users temporary, signed links to their files, which is a normal way to protect them. But the storage service holding the files was also set to let anyone read them directly, and the file names followed a simple counting pattern. So anyone could guess file names and download other people's documents without logging in.
The lesson. The storage bucket was publicly readable at the bucket-policy level, and object keys were derived from a sequential identifier rather than a random value.
-
I Found an Unauthenticated Attachment Disclosure Bug in a WordPress Support Plugin — and a Duplicate Taught Me What “Fixed” Really Means
A WordPress support plugin's attachment download route had a permission callback that returned true unconditionally, allowing unauthenticated users to download any ticket or reply attachment by guessing sequential identifiers. An attacker could harvest private documents such as invoices and ID scans from all tickets on the site.
A WordPress plugin lets customers attach files to support tickets. The code that decides who can download those files always says 'yes' without checking who is asking. So anyone, even someone not logged in, can download other people's private files by changing a number in the web address.
The lesson. The permission callback for the file-download route returned true unconditionally, skipping any authentication or ownership check.
-
BOLA/IDOR in Out-of-Office API allows any authenticated user to read other users' absence data
The Out-of-Office API endpoints did not check that the authenticated user was requesting their own data, so any logged-in user could read another user's absence dates, personal message, and replacement contact details by changing the user ID in the URL. An attacker could enumerate all users' out-of-office information, exposing travel plans and phone numbers.
When you log in to a website, the server should check that you are only allowed to see your own information. Here, the server forgot that check for two web addresses that show out-of-office messages. So any logged-in user could change the name in the address and read someone else's holiday dates and personal message.
The lesson. The controller methods for the GET endpoints lacked an ownership check comparing the authenticated user with the requested userId, unlike the secure POST endpoint.
-
GHSL-2026-055: Unauthorized access to PII in Sylius - CVE-2026-31820
An authenticated customer can view addresses in the address book of other customers by supplying an arbitrary addressId to a LiveComponent action. This allows enumeration of sequential IDs to disclose PII such as full name, phone number, and postal address.
The address book feature lets you pick a saved address during checkout. The server looked up the address by its ID number without checking that the address belonged to the logged-in user. Because IDs are simple numbers, an attacker could try different numbers and read other people's addresses.
The lesson. The addressFieldUpdated method uses a client-controlled addressId to fetch an address by primary key without verifying that the address belongs to the current user.
-
The Chatbot That Let Anyone Read, Write, and Execute
The Rasa chatbot's HTTP API lacked authentication, allowing anyone to read and write any conversation's state via the user-controlled sender_id, and to execute registered actions that made authenticated calls to an internal data catalog. An unauthenticated attacker could thus hijack sessions, expose internal search queries, and proxy requests into internal systems.
A chatbot server was set up so that anyone on the internet could talk to it without logging in. The chatbot used a simple name (sender_id) to keep track of each conversation, but it never checked whether the person asking was allowed to see that conversation. So an attacker could guess or know a name and read or change someone else's chat, and even make the chatbot run internal commands.
The lesson. Likely the Rasa HTTP API was deployed with authentication disabled by default, and the sender_id parameter was not bound to any authenticated user session, allowing anyone to access any conversation.