In-depth lesson · IDOR
Bypasses and variations
Every point the IDOR reports back under this heading, best-backed first, each with the reports it is seen in.
-
Use the hash of the phone number exposed in the tracking page HTML as the user identifier.
-
Add the email field to the GraphQL selection and raise the limit to return every user's details.
-
Forge a token with the cracked secret and the victim's user identifier.
-
Replace the user identifier with the victim's Google identifier and swap the identity token in the token generation request.
Seen in 1 report
-
Change only the last character of the unique identifier in the profile URL.
Seen in 1 report
-
Edit a user from a second attacker account and set the role identifier to the victim organisation's admin role identifier.
Seen in 1 report
-
Use a guest token with a small order identifier to reach other customers' orders.
-
Pairing your own valid access code with another user's reservation number bypassed the earlier IDOR fix.
-
Assigning another project's security policy project to your own project bypassed the intended fix for an earlier CVE.
Seen in 1 report
-
Removing the CSRF token header turned a 401 into a 200 with user data.
Seen in 1 report
-
A one-time code containing an asterisk was accepted as any value.
Seen in 1 report
-
Removing cookies from the claim request still returned the claim, showing no authentication was enforced.
Seen in 1 report
-
Sending the KYC document request without an authorisation token still returned data.
-
Calling the deprecated user endpoint without an authentication token still returned customer details.
Seen in 1 report
-
Sending only a new password with no reset token was enough to change a user's password.
Seen in 1 report
-
Reusing a valid reset token while changing the user identifier reset another user's password.
Seen in 1 report
-
Keeping your own session cookies while putting a victim's UUID in the URL still updated their profile.
Seen in 1 report
-
Swapping the session cookie in task requests let a user with no rights delete, complete, upload to and download from another user's task.
Seen in 1 report
-
Replaying a super-admin update request with an agent's cookie and an admin role value escalated privileges.
Seen in 1 report
-
Flipping the is_superuser flag in the server response unlocked extra views.
Seen in 1 report
-
Changing the request method to PUT with a JSON content type let the email field be set to another user's address.
Seen in 1 report
-
Changing the request method to GET retrieved the claim by identifier.
Seen in 1 report
-
Trying DELETE and other HTTP methods on object IDs performed actions without proper authorisation.
-
Using encoded traversal sequences in the file path parameter reached files outside the intended folder.
-
Computing the double SHA-256 hash of a target email reproduced the dashboard identifier.
Seen in 1 report
-
Encrypting a sequential policy ID through the encryption endpoint produced a valid access key for any policy PDF.
Seen in 1 report
-
A bearer token found in JavaScript allowed enumeration of invoice numbers.
Seen in 1 report
-
An authorisation token found in bundled JavaScript allowed access to a dropdown request returning PII.
Seen in 1 report
-
Bypassing SSL pinning on the mobile app allowed interception and modification of the customer_id field.
-
Obtaining another user's ID from a messaging group feature by adding them by username enabled the login bypass.
Seen in 1 report
-
Inviting a victim to a group, removing them and intercepting the request revealed their userid.
Seen in 1 report
-
Pre-seeding an empty claim and sending its link to a victim, then reopening it after they fill it in, exposed their data.
Seen in 1 report
-
Search engine indexing of receipt pages provided many valid identifiers to harvest.
Seen in 1 report
-
The Wayback Machine revealed previously used invoice download URIs with token parameters.
Seen in 1 report
-
WaybackURLs found other URLs containing the subscription identifier parameter.
Seen in 1 report
-
Reservation IDs shared in social media URLs provided valid identifiers for cancellation.
Seen in 1 report
-
Searching JavaScript files for GraphQL terms revealed a query that needed no token.
Seen in 1 report
-
Extracting JavaScript files from the site revealed API endpoints to test.
-
Examining historical emails revealed the URL interface and parameters of the verification endpoint.
Seen in 1 report
-
When changing the ID in the intercepted request returned 401, change the ID directly in the UI and then resend the copied request with your own token.
Seen in 1 report
-
When the path-based user endpoint returns 401, switch to a query-parameter version of the same lookup.
Seen in 1 report
-
When a PUT request to a user endpoint returns 403, change the method to GET to retrieve the full profile.
Seen in 1 report
-
Reach a hidden endpoint through an HTTP method the developers did not expect.
Seen in 1 report
-
After changing the numeric transaction ID, re-encode it to base64 and URL-encode it before reloading.
-
After changing another user's email and phone number through the registration endpoint, use the password reset flow to set a new password and bypass phone verification.
Seen in 1 report
-
Try several path variations of a user endpoint to get around the ownership check.
Seen in 1 report
-
Take an OPTIONS request for a leaked checkout ID and change its method to GET.
Seen in 1 report
-
Use encoded traversal sequences in the upload path to reach files such as the main server script.
Seen in 1 report
-
When a single change fails, send the user ID parameter twice (attacker ID then victim ID) in each request to exploit parameter pollution.
Seen in 1 report
-
Combine the duplicated user_id with cache poisoning to leak admin data, then trigger a password reset.