In-depth lesson · IDOR
Root causes
Every point the IDOR reports back under this heading, best-backed first, each with the reports it is seen in.
-
The social link update mutation trusted the client-supplied link identifier without checking ownership.
-
The whole JSON body was bound to the model without an allow-list, so restricted fields could be set.
-
Update and signup handlers accepted whole request bodies or role arrays without allow-listing the fields a user may set.
-
Services trusted each other too broadly, so a customer token could be exchanged for access to an internal API and its CI/CD configuration.
-
A deprecated API endpoint lacked both object-level authorisation and authentication and used sequential identifiers.
Seen in 1 report
-
A deterministic unkeyed hash of a predictable sequential identifier was treated as if it were a secret.
Seen in 1 report
-
A display_name compute function used sudo to bypass access rules, and name_get exposed the computed name to any authenticated user.
-
A generic database fetch returned the whole user object without filtering deleted accounts or checking the requester.
-
A hardcoded long-lived bearer token in the extension was combined with an API endpoint lacking per-user access controls.
-
A payment provider secret was embedded in the app package instead of being kept on the server.
Seen in 1 report
-
A predictable group id with inconsistent access checks led to a hardcoded storage URL in a reachable group.
-
A predictable list and recipient identifier was treated as sufficient authorisation instead of a per-recipient capability token.
-
A predictable sequential customer identifier was the only reference to a certificate, with no check that the logged-in user was authorised.
Seen in 1 report
-
A predictable sequential numeric value inside the cookie identified the logged-in user with no secret or signature to prevent tampering.
Seen in 1 report
-
A predictable user ID parameter in the download link was not checked, so the app logged in as another user.
Seen in 1 report
-
A regression in the global input registration helper gave GET parameters precedence over POST, so checks and form values came from different sources.
Seen in 1 report
-
A route bypassed the shared authentication middleware because of a routing configuration gap.
Seen in 1 report
-
A route permission callback returned true unconditionally.
-
A secondary endpoint serialised private object data without applying the same read checks as the primary endpoint.
Seen in 1 report
-
A short brute-forceable random code was the only protection for accessing tickets by sequential identifier, with no rate limiting.
Seen in 1 report
-
A short, partly predictable code acted as a bearer identifier for reading and changing records, with no session check or rate limiting.
-
A single hard-coded authorisation token was issued to all users, so authorisation depended only on the user ID supplied in the request.
Seen in 1 report
-
A single static value acted as the security key for issuing authentication cookies for any order.
Seen in 1 report
-
A synced copy of data lost the field-level and row-level access rules of the original.
Seen in 1 report
-
A user-supplied identifier was trusted for authorisation and also concatenated into a database query.
-
A user-supplied record identifier was used for both object lookup and database queries without authorisation or parameterisation.
Seen in 1 report
-
Access was authorised on past membership rather than current membership of the group DM.
Seen in 1 report
-
All submitted parameters were bound to the user object without restricting which fields could be updated.
-
An alternative endpoint serving the same file-download function was missing the access-control checks present on the main endpoint.
-
An API endpoint returned revenue data for any store name without verifying that the requester was authorised to view that store's private data.
-
An export feature generated a link to an S3 bucket that served organisation data without any authentication.
Seen in 1 report
-
An internal host exposed debug mode and API docs, and the API trusted any valid JWT without checking the requested user ID.
-
An outstanding team invitation was treated as a valid association for access control without acceptance.
Seen in 1 report
-
An unauthenticated API endpoint lacked access controls and allowed retrieval of any user's data by guessing or incrementing an identifier.
-
An unrecognised filter was treated as no filter, dropping the ownership condition instead of rejecting the request.
-
API endpoints did not verify device ownership and used predictable sequential identifiers.
-
API endpoints did not verify permission on the requested object and relied only on the identifier in the request.
-
API endpoints lacked an ownership check, so any authenticated token could list all users and fetch documents for an arbitrary identifier.
Seen in 1 report
-
API endpoints used the customer ID from the request without verifying it matched the authenticated user.
Seen in 1 report
-
App data was keyed by username rather than a unique user ID and was not removed on account deletion.
Seen in 1 report
-
Attachment update and delete looked up records by identifier without confirming ownership.
Seen in 1 report
-
Authentication and authorisation checks were missing before modification of the customer object tied to a payment.
Seen in 1 report
-
Authentication was enforced but authorisation was not, and the client-supplied numeric ID was trusted as the object reference.
-
Authorisation checked a client-supplied region while data access used an independent record identifier.
Seen in 1 report
-
Authorisation checks were missing on comment and file identifiers, allowing users to act on objects they did not own.
Seen in 1 report
-
Authorisation checks were missing on the POST endpoint handling role permission changes.
Seen in 1 report
-
Authorisation checks were missing on the resume download endpoint, allowing access by guessing file IDs.
Seen in 1 report
-
Authorisation relied entirely on a user-controlled header instead of the session.
Seen in 1 report
-
Authorisation relied on cached ownership data that updated asynchronously, creating a timing window.
Seen in 1 report
-
Authorisation resolved identifiers from the raw URL path without normalising traversal segments, so the check used one identifier while the action applied to another.
Seen in 1 report