IDOR Cheat Sheet
An insecure direct object reference (IDOR) lets someone read or change a record outside their permissions. Compare the access policy with the observed result for the same record and action. (16 entries)
Sequential ID Enumeration
(4)/api/users/1, /api/users/2, /api/users/3.../api/orders/1000 → /api/orders/999/api/invoice?id=100&id=101&id=102Change user_id in request body from own ID to target IDUUID / Non-Sequential
(4)Try UUID v1 — timestamp-based, predictableSearch for UUIDs in other API responses, JS files, error messages00000000-0000-0000-0000-000000000000Change one character of known UUIDEncoded ID Tampering
(4)Base64 decode ID → modify → re-encodeHex decode ID → modify → re-encodeMD5/SHA hash of sequential integersJWT payload sub claim modificationHTTP Parameter Pollution
(4)?user_id=123&user_id=456?user_id[]=123&user_id[]=456Change GET param and POST body to different IDsX-Original-URL: /api/admin/users/1Level up your security testing
Install the CLI
npx payload-playgroundExplore All Tools
Encoding, hashing, JWT & more
Browse Cheat Sheets
Quick-reference payload guides
References
Related Tools
Related Cheat Sheets
Further reading
Frequently asked questions
Does switching to UUIDs fix an IDOR?+
A random UUID makes a record harder to guess. The server still needs to check the signed-in user’s permission for that record and action. For an owner-only record, limit the database lookup to records owned by the current user. For shared records, also apply the sharing policy.
What evidence belongs in an object-access finding?+
Record the intended policy, the test account’s role, its relationship to the record, the requested action and the observed result. A 200 response can contain a sign-in screen or a denial. Record whether protected data was returned or a change actually took effect, using redacted evidence from test records.