# Insecure Direct Object Reference
> The server resolves an object from a client-controlled reference (ID, UUID, filename, token, slug) and acts on it without deciding whether the authenticated subject may perform that action on that specific object. CWE-639, under OWASP A01:2025 Broken Access Control, and API1 (BOLA) in the API Top 10.
## What it is
OWASP lists three ingredients: an **object** (account, document, ticket, transaction), a **reference** to it (ID, UUID, account number, token, slug, filename), and a **missing object-level authorization check** ([[raw/cheatsheetseries.owasp.org/idor-prevention-cheat-sheet-3064|OWASP IDOR Cheat Sheet]], [[raw/owasp.org/idor-owasp-foundation-3056|OWASP]]). The trust boundary that breaks is between *who you are* and *what this object is*. Authentication succeeds and the route-level role check passes, but nobody asks "is invoice 1002 yours?" MDN's Express example shows the canonical bug: the handler checks `req.isAuthenticated()` but not `req.session.userId === req.params.id` ([[raw/developer.mozilla.org/idor-mdn-web-security-3067|MDN]]).
The name points at the wrong fix. "Direct reference" suggests making references indirect or unguessable. The defect is the missing subject→object decision, and a UUID in the path doesn't change whether that decision happens ([[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|agentoffense]], [[raw/0xsinsber.medium.com/the-hidden-idor-vulnerability-in-me-api-endpoints-12891|/me/ endpoints]]). The bug persists because authorization is applied per route while each object read/write needs its own decision. Find-by-id ORMs (`Order.find(params[:id])`) make the unscoped query the default, and ownership assumptions get reused across workflow steps that weren't designed together ([[raw/aikido.dev/idor-vulnerability-explained-why-idor-persists-aikido-4382|Aikido]]).
Axes ([[raw/portswigger.net/idor-portswigger-web-security-2730|PortSwigger]]):
- **Horizontal**: same role, another user's object. The classic IDOR.
- **Vertical**: lower-privileged principal reaches a higher-privileged object. This overlaps [[Function Level Authorization]].
- **Cross-tenant**: another organization's object. See [[Multi-Tenant Isolation]].
## Why it matters
Impact ladder, low → high:
1. **Metadata / existence oracle**: 403-vs-404 differences reveal which IDs exist.
2. **Single-record read**: profile, order, receipt ([[raw/wpsec.com/directorist-8-10-7-idor-to-payment-receipt-disclosure-13378|Directorist receipts]]).
3. **Mass PII enumeration**: sequential IDs mean the whole table. An HR endpoint returned a full employee directory with tax IDs (CVSS 9.8) ([[raw/infosecwriteups.com/bola-enumerating-an-entire-employee-directory-through-a-predictable-id-11974|employee directory]]). Medical records via document IDs (CVE-2026-103089) ([[raw/medium.com/cve-2026-103089-when-a-document-id-exposes-another-patient-s-records-13002|patient records]]).
4. **Integrity**: edit or delete others' objects. Snapchat Spotlight deletion paid $15,000 ([[raw/oxo.is/delete-anyone-s-snapchat-spotlight-content-remotely-15-000-idor-via-gr-13720|Snapchat]]); Facebook album deletion paid $12,500 ([[raw/masimshahzad.medium.com/facebook-idor-deleting-any-photo-album-case-study-15023|Facebook album]]); LatePoint transaction modification ([[raw/wpsec.com/latepoint-5-7-6-idor-to-transaction-modification-13539|LatePoint]]).
5. **Availability across tenants**: Cube Studio users could delete other tenants' inference pods ([[raw/vuln.today/cube-studio-cve-2026-111671-cross-tenant-idor-13188|Cube Studio]]).
6. **Credential / account takeover**: password, email, PATs, passkeys, IMAP passwords. See [[IDOR to Account Takeover]].
7. **Privilege escalation**: editing another tenant's permission scopes ([[raw/medium.com/graphql-idor-how-a-missing-org-check-let-me-edit-another-tenant-s-perm-12440|GraphQL org check]]), or a teacher resetting admin passwords ([[raw/fluidattacks.com/opensis-9-3-insecure-direct-object-reference-idor-13184|openSIS]]).
**Severity drivers:** ID reachability (sequential vs leaked vs unguessable), authentication requirement, read vs write, data class (PII/KYC/medical/credentials), blast radius (one row vs table vs tenant). Payout tracks demonstrated business impact, not CVSS. A GraphQL alias DoS paid $12,500, while an IDOR exposing every user's profile (CVSS 7.1) was triaged Informative in 2021, was still exploitable in 2025, and paid $0 as a duplicate ([[raw/infosecwriteups.com/the-0-idor-that-was-worth-more-than-a-12-500-p1-10503|$0 IDOR]]). Prevalence: one tracker counts 143 IDOR reports/writeups from 2024–2026, 34 rated High or Critical ([[raw/securehyperloop.com/idor-bug-bounty-writeups-and-disclosed-reports-13377|SecureHyperloop]]); IDOR was the most common class in Max's bug bounty program (213 flaws) ([[raw/foro3d.com/max-s-bug-bounty-two-hundred-thirteen-flaws-and-twenty-two-million-in-7858|Max BB]]).
## How it works
| Variant | Mechanism | Page |
|---|---|---|
| Classic parameter swap | `?id=1001` → `1002`; path, query, body, header, cookie | [[IDOR Testing Methodology]] |
| API object-level (BOLA) | route authorized, object not; path vs body ID; GraphQL multi-path resolvers; batch items | [[BOLA in APIs]] |
| Predictable / leaked references | sequential ints, ObjectId, encoded ints, v1 UUIDs, Relay IDs; UUIDs harvested from share links and oracles | [[Predictable Identifiers]] |
| Second-order / multi-step | stored ID trusted later; final workflow step unchecked; grants outlive revocation | [[Second-Order and Multi-Step IDOR]] |
| Static-file reference | `/static/12144.txt` chat transcripts with incrementing filenames ([[raw/portswigger.net/idor-portswigger-web-security-2730|PortSwigger]]); CVE-2023-4836 WordPress User Private Files ([[raw/hadrian.io/insecure-direct-object-reference-idor-a-deep-dive-3069|Hadrian]]) | — |
| AI-object IDOR | conversations, prompt revisions, skills, memory/RAG refs; agent confused deputy | [[IDOR in AI Applications]] |
| Account takeover | identity/credential objects referenced by client ID | [[IDOR to Account Takeover]] |
## Where to find it
- **Endpoints:** anything with `id`, `uid`, `pid`, `*_id`, `uuid`, `sn`, `slug`, `filename`, in params, headers and cookies too ([[raw/bugcrowd.com/how-to-find-idor-vulnerabilities-for-large-bounty-rewards-3058|Bugcrowd]]). User-scoped nouns are the best start: `/users/<id>/creditcard/details` ([[raw/aon.com/finding-more-idors-tips-and-tricks-416|Aon]]).
- **Features:** exports (CSV/XLSX/PDF), report generation, share links, invites, attachments, comments, wishlists, bookings/checkouts, payments/refunds, follow/subscribe, integrations/webhooks, draft autosave, "mark as read" ([[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|agentoffense]], [[raw/intigriti.com/idor-a-complete-guide-to-exploiting-advanced-idor-vulnerabilities-inti-2796|Intigriti]]).
- **Code smells:** `Model.find(params[:id])`; `exists:` validation without owner; `UPDATE … WHERE id=?` without tenant; base model without `user_id` (Nginx UI CVE-2026-33030); a read helper reused for delete (Vikunja CVE-2026-33312); one resolver in a family missing the check ([[raw/github.com/everydocs-core-authorization-bypass-15026|EveryDocs]], [[raw/jrobineau.com/bola-your-api-checks-the-url-but-misses-ids-in-the-json-body-15618|jrobineau]], [[raw/github.com/meteroid-before-2-2-0-cross-tenant-authorization-bypass-14029|Meteroid]], [[raw/sentinelone.com/cve-2026-33030-nginx-ui-authorization-bypass-2944|Nginx UI]], [[raw/cvereports.com/cve-2026-33312-bola-in-vikunja-project-3063|Vikunja]]).
- **Platforms:** WordPress AJAX/REST handlers missing `current_user_can('edit_post', $post_id)` (TaxoPress CVE-2025-14371) ([[raw/research.cleantalk.org/cve-2025-14371-taxopress-idor-object-level-authorization-bypass-4743|TaxoPress]]); LearnPress Wishlist exposes `user_id` through a REST route guarded only by a public `wp_rest` nonce ([[raw/github.com/learnpress-course-wishlist-4-1-2-idor-14636|LearnPress]]).
- **Hidden surfaces:** undocumented RPC (Google `batchexecute`) ([[raw/infosecwriteups.com/how-i-found-an-idor-in-google-classroom-on-day-3-of-my-hunting-10827|Google Classroom]]), deprecated endpoints ([[raw/github.com/fleet-authorization-bypass-in-deprecated-endpoint-15177|Fleet]]), documented-but-unused API routes ([[raw/medium.com/the-user-was-removed-the-access-wasn-t-12436|The User Was Removed]]), internal APIs exposed through mined keys ([[raw/cyberkendra.com/researcher-used-ai-to-find-500000-worth-of-bugs-across-google-s-intern-9027|Brutecat/Google]]).
## How to test
1. **Identities:** A (victim) and B (peer, same tenant), C (other tenant), D (low-priv/unauth), plus a revoked identity, each owning real objects.
2. **Map the object model:** OpenAPI, Postman, JS bundles, mobile traffic, GraphQL schema, archived versions. Log every ID that appears.
3. **Core loop:** owner baseline → replay with non-owner token + owner's ID → diff status/body/length/headers/timing → re-read as owner.
4. **Swap each ID location independently:** path, query, body, foreign keys in body, headers, cookies, GraphQL vars, batch elements.
5. **Mutate request shape:** HPP, JSON arrays/objects/wildcards, method and content-type swaps, old API versions, `me` → numeric ID.
6. **Chase reachability:** decode encoded IDs and harvest UUIDs from share links, errors and public profiles ([[Predictable Identifiers]]).
7. **Follow IDs through workflows:** later steps, async jobs, revocation ([[Second-Order and Multi-Step IDOR]]).
8. **Prove minimally:** own accounts only, empty test objects, a reproducible request pair.
Full loop, evidence rules and tooling are in [[IDOR Testing Methodology]].
**Checklist**
- [ ] Horizontal, cross-tenant, vertical and post-revocation contexts
- [ ] Read, update, delete, export, share, admin operations per object
- [ ] Body/foreign IDs on writes, not only path IDs
- [ ] GraphQL: every resolver path to each type (`node`, typed, traversal, mutation payloads)
- [ ] Batch: victim at first/middle/last position; partial success
- [ ] Nested routes: own parent + foreign child
- [ ] 403/404/timing parity between sibling routes
- [ ] Cache, soft-delete, expired-token false negatives excluded
## Exploitation and escalation
- **Enumeration at scale:** sequential or derivable IDs turn one bug into a full dump ([[Predictable Identifiers]]).
- **Write IDORs → integrity/availability:** deletions, re-parenting credential folders (TeamPass) ([[raw/github.com/teampass-folder-re-parenting-authorization-bypass-15474|TeamPass]]), cancelling other events' attendees (Attendize CVE-2026-132773) ([[raw/github.com/attendize-eventorderscontroller-authorization-bypass-15176|Attendize]]), messaging another account's attendees for phishing (CVE-2026-132774) ([[raw/github.com/attendize-cross-account-authorization-bypass-15180|Attendize]]).
- **Credential objects → ATO:** see [[IDOR to Account Takeover]].
- **Tenant boundary → [[Multi-Tenant Isolation]] failure:** ZITADEL CVE-2025-64431, MailWatch CVE-2026-85749, Chatwoot cross-tenant hooks ([[raw/advisories.gitlab.com/cve-2025-64431-idor-in-zitadel-organization-api-allows-cross-tenant-ta-4746|ZITADEL]], [[raw/dev.to/cross-tenant-quarantine-idor-in-mailwatch-cve-2026-85749-13541|MailWatch]], [[raw/abraxaslabs.tech/chatwoot-a-hook-on-someone-else-s-inbox-idor-15621|Chatwoot]]).
- **Chaining:** a CL.TE request-smuggling desync turned a harmless IDOR into adding data to a victim's account (`/addCard`) ([[raw/hipotermia.pw/http-request-smuggling-idor-hipotermia-409|Hipotermia]]); IDOR + CSRF ([[raw/bblabs.es/wizard-takeover-ato-idor-csrf-lab-based-on-a-real-report-12598|bblabs]]). See [[Vulnerability Chaining]].
- **Business-logic framing:** tie the bug to money or workflow takeover. Billing-arrangement modification in a payment extension API ([[raw/medium.com/idor-and-business-logic-flaw-in-a-payment-extension-api-unauthorized-m-15472|payment extension]]); the "$0 vs $12,500" lesson ([[raw/dev.to/the-0-idor-that-was-worth-more-than-a-12-500-p1-business-logic-matters-14194|business logic matters]]).
## Bypassing defenses
| Defense | Why it fails |
|---|---|
| UUIDs / "unguessable" IDs | leaked via share links, author pages, errors, other responses ([[raw/sagar-bhattarai.github.io/portswigger-user-id-controlled-by-request-parameter-unpredictable-ids-12599|PortSwigger lab]], [[raw/medium.com/tackling-idor-on-uuid-based-objects-pentester-nepal-4386|PenTester Nepal]]) |
| Encoded / "opaque" tokens | base64 JSON `{"user_id":…,"report_id":…}` with no signature ([[raw/medium.com/idor-in-the-medical-report-viewer-13543|medical report viewer]]); default-key Sqids ([[raw/github.com/course-tencent-cloud-idor-14775|Course-tencent-cloud]]) |
| Path-ID check only | body/foreign IDs validated for existence only; Postgres FK checks bypass RLS ([[raw/jrobineau.com/bola-your-api-checks-the-url-but-misses-ids-in-the-json-body-15618|jrobineau]]) |
| Check on one resolver/version/method | GraphQL `node` path, `/v1`, POST/alt content-type unprotected ([[raw/dev.to/graphql-bola-one-object-many-paths-and-how-to-prove-the-gap-14345|GraphQL BOLA]], [[raw/intigriti.com/idor-a-complete-guide-to-exploiting-advanced-idor-vulnerabilities-inti-2796|Intigriti]]) |
| Input-shape validation | arrays, nested objects, wildcards, padded/negative/decimal IDs, HPP ([[raw/weekly-bugbounty-content.beehiiv.com/broken-access-control-advanced-idor-exploitation-4163|Weekly Bug Bounty]]) |
| Encrypted IDs | the app exposes its own encoder: `POST …/EncodeString` encrypts any username, and `/api/v1/application/EncUserID` returns the matching account (PII, password-related fields, security questions, PINs) ([[raw/d0loreh4z3.medium.com/encrypted-id-s-no-problem-15808|encrypted IDs]]) |
| Deny-but-describe | the 403/422 path still serializes the object: HackerOne's `/reports/{id}/reference.json` returned private report details in `context.subject` of the error ([[raw/oxo.is/idor-allows-user-to-access-report-details-via-reference-json-endpoint-15811|oxo]]) |
| Visibility filter on listings only | hidden posts drop out of feeds, but per-object endpoints and a `post_id` parameter on the listing call return them; blocks, `allow_comments=false` and soft-deletes are not enforced either ([[raw/community.protocall.ch/post-idor-hidden-posts-readable-by-id-listing-filter-bypass-15812|Protocall posts]]) |
| Signed URLs | prove integrity and expiry, not authorization ([[raw/medium.com/laravel-temporary-signed-urls-invalid-signature-expiry-and-idor-14774|Laravel]]) |
| App-capability tokens | check the app's capability, not the user's ownership (Facebook album) ([[raw/masimshahzad.medium.com/facebook-idor-deleting-any-photo-album-case-study-15023|Facebook album]]) |
| WAF / gateway / rate limit | requests are authenticated and well-formed; ownership lives in the DB; aliases and batches beat per-request limits ([[raw/sycope.com/idor-vulnerability-detection-through-http-traffic-analysis-4162|Sycope]], [[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|agentoffense]]) |
## Real-world cases
- **HackerOne** — `POST /reports/{id}/reference.json` with `{}` leaked private report details in the error body, $15,000, H1 #3862641 ([[raw/oxo.is/idor-allows-user-to-access-report-details-via-reference-json-endpoint-15811|oxo]]).
- **Protocall** — `POST /api/room/token/user {"room_id":2716}` minted a full LiveKit join JWT (`roomJoin`, `roomCreate`, 5 h) for any private or scheduled room; the waiting room said "not allowed" while media already flowed; distinct `room_was_finished`/`room_not_found` errors mapped every room ([[raw/community.protocall.ch/private-room-takeover-via-sequential-room-id-idor-15813|room takeover]]). Hidden, comments-disabled and deleted posts were readable and commentable by ID ([[raw/community.protocall.ch/post-idor-hidden-posts-readable-by-id-listing-filter-bypass-15812|post IDOR]]).
- **Freedit < 0.9.9 (CVE-2026-134678)** — `POST /post/edit/:pid` skipped ownership and lock checks for Private-inn posts; members overwrote any post by sequential ID and re-attributed it ([[raw/github.com/freedit-before-0-9-9-authorization-bypass-in-edit-post-post-15810|advisory]]).
- **`/app-api/enduserapp/profile/{userId}`** — authentication without authorization returned any user's profile PII (CWE-639); 200 vs 404 `userNotFound` doubled as an enumeration oracle ([[raw/zyt00nax0x.medium.com/idor-in-app-api-enduserapp-profile-userid-cross-account-pii-disclosure-15809|writeup]]).
- **Novapay wallet (practice app)** — `POST /api/transfer` trusted body `senderId`, so funds moved out of other accounts; invoices readable by ID ([[raw/medium.com/bac-in-novapay-wallet-15927|writeup]]).
- **Snapchat** — `DeleteStorySnaps(ids:)` deleted any Spotlight, $15,000, H1 #1819832 ([[raw/oxo.is/delete-anyone-s-snapchat-spotlight-content-remotely-15-000-idor-via-gr-13720|oxo]], [[raw/hackerone.com/snapchat-delete-anyone-s-content-spotlight-remotely-14776|HackerOne]]).
- **Facebook** — any visible album deletable via Graph API with a first-party token, $12,500 (2015) ([[raw/masimshahzad.medium.com/facebook-idor-deleting-any-photo-album-case-study-15023|case study]], [[raw/medium.com/how-four-lines-of-code-could-delete-any-facebook-photo-album-13375|four lines]]); editing friends' post dates, $538 ([[raw/infosecwriteups.com/538-idor-allows-friends-to-edit-the-date-on-their-friends-timeline-pos-11921|timeline date]]).
- **Meta AI** — near-sequential prompt-revision IDs exposed others' prompts and outputs, $10,000 ([[raw/medium.com/how-a-guessable-number-exposed-every-meta-ai-user-s-private-prompts-13878|Meta AI]]).
- **Google** — Classroom `batchexecute` submission-ID IDOR ([[raw/infosecwriteups.com/how-i-found-an-idor-in-google-classroom-on-day-3-of-my-hunting-10827|Classroom]]); Brutecat's AI-driven internal-API sweep, >$500k ([[raw/cyberkendra.com/researcher-used-ai-to-find-500000-worth-of-bugs-across-google-s-intern-9027|Cyberkendra]]).
- **Rocket.Chat** — unauthenticated file read via Livechat token + ObjectId prediction, H1 #3687142 ([[raw/aikido.dev/predicting-mongodb-objectid-continuously-in-rocket-chat-10181|Aikido]]).
- **Featurebase** — client-asserted `userId` → ATO across many programs' feedback portals ([[raw/infosecwriteups.com/account-takeover-across-multiple-programs-via-featurebase-integration-10882|Featurebase]]).
- **Bookly CVE-2026-93399** — unauthenticated order-ID → token → booking disclosure/deletion, 60k+ installs ([[raw/sentrium.co.uk/critical-bookly-idor-booking-disclosure-and-deletion-13186|Sentrium]]).
- **Foreman CVE-2026-86322** — forge PATs for any user ([[raw/github.com/foreman-personalaccesstokenscontroller-idor-14343|Foreman]]).
- **Frappe/ERPNext CVE-2026-66000/66058/66059** — Document Follow object/field/lifetime failures ([[raw/robinroy.xyz/erpnext-s-document-follow-feature-exposed-unauthorized-data-11315|Robin Roy]]).
- **Xibo CVE-2026-50542 / CVE-2026-52729** — layout status read; action PUT/DELETE without ACL ([[raw/notcve.org/xibo-idor-on-get-layout-status-id-cve-2026-50542-12751|Xibo read]], [[raw/notcve.org/xibo-idor-on-put-delete-action-id-cve-2026-52729-12750|Xibo write]]).
- **Tutor LMS GHSA-c873-m8w7-q26f** — subscriber reads paid content, quiz keys, admin PII ([[raw/github.com/tutor-lms-idor-leaks-paid-course-content-quiz-keys-and-pii-13540|Tutor LMS]]); Academy LMS cross-student quiz answers ([[raw/infosecwriteups.com/how-i-found-a-cross-student-idor-in-academy-lms-that-leaked-correct-qu-10504|Academy LMS]]).
- **VitaFit CVE-2026-54377** — predictable IDs + account enumeration → body-composition reports ([[raw/insightcve.com/cve-2026-54377-vitafit-cloud-api-idor-exposes-profiles-and-reports-13376|VitaFit]]).
- **Head Start TTADP** — cross-region read/write (GHSA-9r9x-g862-525c, GHSA-q859-79hf-rpr3) ([[raw/r3vpwnx.space/cross-region-idor-in-head-start-ttadp-read-and-write-another-region-s-15313|r3vpwnx]]).
- **CommCare formplayer GHSA-qjg7-cgv8-3c43** — cross-project form sessions; fixed with `@ValidateSessionOwner` ([[raw/dev.to/cross-project-form-session-idor-in-commcare-formplayer-ghsa-qjg7-cgv8-14198|CommCare]]).
- **School admissions** — `/print-form.php?app_number=` exposed admission PII ([[raw/infosecwriteups.com/breaking-down-two-simple-vulnerabilities-that-exposed-a-school-s-admis-9566|admissions]]).
## Prevention
- **Scope every lookup to the subject.** Rails: `@current_user.projects.find(params[:id])`, not `Project.find(params[:id])` ([[raw/cheatsheetseries.owasp.org/idor-prevention-cheat-sheet-3064|OWASP IDOR Cheat Sheet]]). Make the unscoped query hard to write: repository methods that require a subject/tenant argument, backed by RLS ([[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|agentoffense]]).
- **Subject from the session/token only.** Never trust a client `user_id`, tenant header or unverified subdomain. Keep multi-step identifiers in the session ([[raw/cheatsheetseries.owasp.org/idor-prevention-cheat-sheet-3064|OWASP]], [[raw/apisecurity.io/api1-2019-broken-object-level-authorization-4376|APISecurity.io]]).
- **Validate every received ID** for existence and ownership in the same query, including foreign keys in bodies. RLS doesn't cover FK writes ([[raw/jrobineau.com/bola-your-api-checks-the-url-but-misses-ids-in-the-json-body-15618|jrobineau]]).
- **Central PEP/PDP, default deny:** framework-native (Spring `AuthorizationManager`, ASP.NET `IAuthorizationHandler`, Pundit/CanCanCan, DRF `get_queryset` + django-guardian, NestJS + CASL) or a policy engine (OPA, Cedar, OpenFGA/SpiceDB, Cerbos, Casbin) ([[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|agentoffense]]). See [[Authorization Policy Engines]].
- **GraphQL:** authorize in the business layer so `node`, typed and nested paths share one decision ([[raw/dev.to/graphql-bola-one-object-many-paths-and-how-to-prove-the-gap-14345|GraphQL BOLA]]).
- **Random public IDs** (UUIDv4/128-bit) as defense in depth only. Don't put object IDs in unsigned client tokens ([[raw/cheatsheetseries.owasp.org/idor-prevention-cheat-sheet-3064|OWASP]], [[raw/medium.com/idor-in-the-medical-report-viewer-13543|medical report viewer]]).
- **Authorize before you load-and-serialize.** Denial and validation errors must not echo the object ([[raw/oxo.is/idor-allows-user-to-access-report-details-via-reference-json-endpoint-15811|oxo]]). Apply visibility rules (hidden, blocked, deleted, comments-off) in the shared object loader, not only in list queries ([[raw/community.protocall.ch/post-idor-hidden-posts-readable-by-id-listing-filter-bypass-15812|Protocall]]). Gate token issuance for downstream systems (media, chat) on membership ([[raw/community.protocall.ch/private-room-takeover-via-sequential-room-id-idor-15813|Protocall rooms]]).
- **Consistent denial:** pick 403 or 404 and apply it everywhere, with no error-text or timing differences ([[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|agentoffense]]).
- **CI negative tests:** persona A requests persona B's object for every object-touching endpoint, and writes are re-read ([[raw/pazent.github.io/exploitspec-bola-idor-regression-tests-from-bounded-redacted-har-input-11961|ExploitSpec]]). See [[Authorization Testing Automation]].
- **Detection:** alert on per-session 401/403 spikes and sequential ID walks. WAF signatures won't see IDOR ([[raw/sycope.com/idor-vulnerability-detection-through-http-traffic-analysis-4162|Sycope]]).
## Tools
Burp Autorize, AuthMatrix, Auth Analyzer, Session Switcher ([[raw/blog.doyensec.com/introducing-session-switcher-swap-burp-sessions-with-one-click-11406|Doyensec]]), Burp Intruder / ffuf for ID sweeps, IDOR-Scanner ([[raw/github.com/idor-scanner-burp-suite-extension-for-automated-idor-detection-4744|IDOR-Scanner]]), IDOR-Forge ([[raw/github.com/github-errorfiathck-idor-forge-idor-forge-is-an-advanced-and-versatile-4987|IDOR-Forge]]), ReproCase ([[raw/github.com/reprocase-prove-idor-bola-role-and-cors-findings-with-fresh-test-accou-15622|ReproCase]]), ExploitSpec, PwnFox (container tabs per identity), InQL / Clairvoyance / graphw00f for GraphQL, kiterunner / Arjun for route and parameter discovery, CyberChef for decoding IDs. See [[Burp Suite Extensions]].
## Sub-pages
- [[IDOR Testing Methodology]] — multi-identity swap-and-diff loop, ID locations, request mutations, evidence rules, tooling
- [[Predictable Identifiers]] — ID schemes (sequential, ObjectId, encoded, UUID versions, Relay) and harvesting unguessable IDs
- [[BOLA in APIs]] — OWASP API1 framing, REST/GraphQL/RPC patterns, API-specific root causes and cases
- [[Second-Order and Multi-Step IDOR]] — stored references, workflow-step gaps, grant lifetime, stale-state checks
- [[IDOR to Account Takeover]] — credential, reset, token, passkey and 2FA objects as ATO paths
- [[IDOR in AI Applications]] — conversations, prompt revisions, skills, memory refs, agent confused deputy
Related elsewhere: [[Broken Access Control]], [[Function Level Authorization]], [[Multi-Tenant Isolation]], [[Authorization Testing Automation]], [[Privilege Escalation]], [[Mass Assignment]], [[GraphQL Authorization Flaws]], [[OWASP API Security Top 10]], [[Account Takeover]], [[Authorization Security]], [[API Security]].
## Sources
- [[raw/cheatsheetseries.owasp.org/idor-prevention-cheat-sheet-3064|IDOR Prevention Cheat Sheet]]
- [[raw/owasp.org/idor-owasp-foundation-3056|IDOR - OWASP Foundation]]
- [[raw/developer.mozilla.org/idor-mdn-web-security-3067|IDOR - MDN Web Security]]
- [[raw/portswigger.net/idor-portswigger-web-security-2730|IDOR - PortSwigger Web Security]]
- [[raw/agentoffense.com/bola-idor-testing-the-multi-account-object-swap-harness-15619|BOLA/IDOR testing: the multi-account object-swap harness]]
- [[raw/0xsinsber.medium.com/the-hidden-idor-vulnerability-in-me-api-endpoints-12891|The Hidden IDOR Vulnerability in /me/ API Endpoints]]
- [[raw/aikido.dev/idor-vulnerability-explained-why-idor-persists-aikido-4382|IDOR Vulnerability Explained: Why IDOR Persists]]
- [[raw/wpsec.com/directorist-8-10-7-idor-to-payment-receipt-disclosure-13378|Directorist = 8.10.7 IDOR to payment receipt disclosure]]
- [[raw/infosecwriteups.com/bola-enumerating-an-entire-employee-directory-through-a-predictable-id-11974|BOLA: Enumerating an Entire Employee Directory Through a Predictable ID]]
- [[raw/medium.com/cve-2026-103089-when-a-document-id-exposes-another-patient-s-records-13002|CVE-2026-103089: When a Document ID Exposes Another Patient's Records]]
- [[raw/oxo.is/delete-anyone-s-snapchat-spotlight-content-remotely-15-000-idor-via-gr-13720|Delete anyone's Snapchat Spotlight content remotely ($15,000)]]
- [[raw/hackerone.com/snapchat-delete-anyone-s-content-spotlight-remotely-14776|Snapchat: Delete anyone's content spotlight remotely.]]
- [[raw/masimshahzad.medium.com/facebook-idor-deleting-any-photo-album-case-study-15023|Facebook IDOR: Deleting Any Photo Album (Case Study)]]
- [[raw/medium.com/how-four-lines-of-code-could-delete-any-facebook-photo-album-13375|How Four Lines of Code Could Delete Any Facebook Photo Album]]
- [[raw/wpsec.com/latepoint-5-7-6-idor-to-transaction-modification-13539|LatePoint = 5.7.6 IDOR to transaction modification]]
- [[raw/vuln.today/cube-studio-cve-2026-111671-cross-tenant-idor-13188|Cube Studio CVE-2026-111671 cross-tenant IDOR]]
- [[raw/medium.com/graphql-idor-how-a-missing-org-check-let-me-edit-another-tenant-s-perm-12440|GraphQL IDOR: How a Missing Org Check Let Me Edit Another Tenant's Permissions]]
- [[raw/fluidattacks.com/opensis-9-3-insecure-direct-object-reference-idor-13184|openSIS 9.3 insecure direct object reference (IDOR)]]
- [[raw/infosecwriteups.com/the-0-idor-that-was-worth-more-than-a-12-500-p1-10503|The $0 IDOR That Was Worth More Than a $12,500 P1]]
- [[raw/dev.to/the-0-idor-that-was-worth-more-than-a-12-500-p1-business-logic-matters-14194|The $0 IDOR that was worth more than a $12,500 P1: business logic matters]]
- [[raw/securehyperloop.com/idor-bug-bounty-writeups-and-disclosed-reports-13377|IDOR bug bounty writeups and disclosed reports]]
- [[raw/foro3d.com/max-s-bug-bounty-two-hundred-thirteen-flaws-and-twenty-two-million-in-7858|Max's Bug Bounty: Two Hundred Thirteen Flaws]]
- [[raw/hadrian.io/insecure-direct-object-reference-idor-a-deep-dive-3069|Insecure Direct Object Reference (IDOR) - A Deep Dive]]
- [[raw/bugcrowd.com/how-to-find-idor-vulnerabilities-for-large-bounty-rewards-3058|How-To: Find IDOR Vulnerabilities for Large Bounty Rewards]]
- [[raw/aon.com/finding-more-idors-tips-and-tricks-416|Finding More IDORs – Tips and Tricks]]
- [[raw/intigriti.com/idor-a-complete-guide-to-exploiting-advanced-idor-vulnerabilities-inti-2796|IDOR: A Complete Guide to Exploiting Advanced IDOR Vulnerabilities]]
- [[raw/github.com/everydocs-core-authorization-bypass-15026|EveryDocs Core authorization bypass]]
- [[raw/jrobineau.com/bola-your-api-checks-the-url-but-misses-ids-in-the-json-body-15618|BOLA: your API checks the URL but misses IDs in the JSON body]]
- [[raw/github.com/meteroid-before-2-2-0-cross-tenant-authorization-bypass-14029|Meteroid before 2.2.0 cross-tenant authorization bypass]]
- [[raw/sentinelone.com/cve-2026-33030-nginx-ui-authorization-bypass-2944|CVE-2026-33030: Nginx UI Authorization Bypass]]
- [[raw/cvereports.com/cve-2026-33312-bola-in-vikunja-project-3063|CVE-2026-33312: BOLA in Vikunja Project]]
- [[raw/research.cleantalk.org/cve-2025-14371-taxopress-idor-object-level-authorization-bypass-4743|CVE-2025-14371: TaxoPress IDOR]]
- [[raw/github.com/learnpress-course-wishlist-4-1-2-idor-14636|LearnPress Course Wishlist 4.1.2 IDOR]]
- [[raw/infosecwriteups.com/how-i-found-an-idor-in-google-classroom-on-day-3-of-my-hunting-10827|How I found an IDOR in Google Classroom]]
- [[raw/github.com/fleet-authorization-bypass-in-deprecated-endpoint-15177|Fleet authorization bypass in deprecated endpoint]]
- [[raw/medium.com/the-user-was-removed-the-access-wasn-t-12436|The User Was Removed. The Access Wasn't.]]
- [[raw/cyberkendra.com/researcher-used-ai-to-find-500000-worth-of-bugs-across-google-s-intern-9027|Researcher Used AI to Find $500000 Worth of Bugs Across Google's Internal APIs]]
- [[raw/github.com/teampass-folder-re-parenting-authorization-bypass-15474|TeamPass folder re-parenting authorization bypass]]
- [[raw/github.com/attendize-eventorderscontroller-authorization-bypass-15176|Attendize EventOrdersController authorization bypass]]
- [[raw/github.com/attendize-cross-account-authorization-bypass-15180|Attendize cross-account authorization bypass]]
- [[raw/advisories.gitlab.com/cve-2025-64431-idor-in-zitadel-organization-api-allows-cross-tenant-ta-4746|CVE-2025-64431: IDOR in ZITADEL Organization API]]
- [[raw/dev.to/cross-tenant-quarantine-idor-in-mailwatch-cve-2026-85749-13541|Cross-tenant quarantine IDOR in MailWatch (CVE-2026-85749)]]
- [[raw/abraxaslabs.tech/chatwoot-a-hook-on-someone-else-s-inbox-idor-15621|Chatwoot: a hook on someone else's inbox (IDOR)]]
- [[raw/hipotermia.pw/http-request-smuggling-idor-hipotermia-409|HTTP Request Smuggling IDOR - Hipotermia]]
- [[raw/bblabs.es/wizard-takeover-ato-idor-csrf-lab-based-on-a-real-report-12598|Wizard Takeover ATO (IDOR + CSRF) lab]]
- [[raw/medium.com/idor-and-business-logic-flaw-in-a-payment-extension-api-unauthorized-m-15472|IDOR and Business Logic Flaw in a Payment Extension API]]
- [[raw/sagar-bhattarai.github.io/portswigger-user-id-controlled-by-request-parameter-unpredictable-ids-12599|PortSwigger: User ID controlled by request parameter, unpredictable IDs]]
- [[raw/medium.com/tackling-idor-on-uuid-based-objects-pentester-nepal-4386|Tackling IDOR on UUID based objects]]
- [[raw/medium.com/idor-in-the-medical-report-viewer-13543|IDOR in the medical report viewer]]
- [[raw/github.com/course-tencent-cloud-idor-14775|Course-tencent-cloud IDOR]]
- [[raw/dev.to/graphql-bola-one-object-many-paths-and-how-to-prove-the-gap-14345|GraphQL BOLA: one object, many paths]]
- [[raw/weekly-bugbounty-content.beehiiv.com/broken-access-control-advanced-idor-exploitation-4163|Broken Access Control: Advanced IDOR Exploitation]]
- [[raw/medium.com/laravel-temporary-signed-urls-invalid-signature-expiry-and-idor-14774|Laravel Temporary Signed URLs: Invalid Signature, Expiry, and IDOR]]
- [[raw/sycope.com/idor-vulnerability-detection-through-http-traffic-analysis-4162|IDOR Vulnerability Detection Through HTTP Traffic Analysis]]
- [[raw/infosecwriteups.com/538-idor-allows-friends-to-edit-the-date-on-their-friends-timeline-pos-11921|[$538] IDOR allows friends to edit the date on their friends' timeline posts on Facebook]]
- [[raw/medium.com/how-a-guessable-number-exposed-every-meta-ai-user-s-private-prompts-13878|How a Guessable Number Exposed Every Meta AI User's Private Prompts]]
- [[raw/aikido.dev/predicting-mongodb-objectid-continuously-in-rocket-chat-10181|Predicting MongoDB ObjectId() continuously in Rocket.Chat]]
- [[raw/infosecwriteups.com/account-takeover-across-multiple-programs-via-featurebase-integration-10882|Account Takeover Across Multiple Programs via Featurebase Integration]]
- [[raw/sentrium.co.uk/critical-bookly-idor-booking-disclosure-and-deletion-13186|Critical Bookly IDOR: booking disclosure and deletion]]
- [[raw/github.com/foreman-personalaccesstokenscontroller-idor-14343|Foreman PersonalAccessTokensController IDOR]]
- [[raw/robinroy.xyz/erpnext-s-document-follow-feature-exposed-unauthorized-data-11315|ERPNext's Document Follow feature exposed unauthorized data]]
- [[raw/notcve.org/xibo-idor-on-get-layout-status-id-cve-2026-50542-12751|Xibo IDOR on GET /layout/status/{id} (CVE-2026-50542)]]
- [[raw/notcve.org/xibo-idor-on-put-delete-action-id-cve-2026-52729-12750|Xibo IDOR on PUT/DELETE /action/{id} (CVE-2026-52729)]]
- [[raw/github.com/tutor-lms-idor-leaks-paid-course-content-quiz-keys-and-pii-13540|Tutor LMS IDOR leaks paid course content, quiz keys and PII]]
- [[raw/infosecwriteups.com/how-i-found-a-cross-student-idor-in-academy-lms-that-leaked-correct-qu-10504|How I Found a Cross-Student IDOR in Academy LMS]]
- [[raw/insightcve.com/cve-2026-54377-vitafit-cloud-api-idor-exposes-profiles-and-reports-13376|CVE-2026-54377: VitaFit Cloud API IDOR]]
- [[raw/r3vpwnx.space/cross-region-idor-in-head-start-ttadp-read-and-write-another-region-s-15313|Cross-region IDOR in Head Start TTADP]]
- [[raw/dev.to/cross-project-form-session-idor-in-commcare-formplayer-ghsa-qjg7-cgv8-14198|Cross-project form-session IDOR in CommCare formplayer]]
- [[raw/infosecwriteups.com/breaking-down-two-simple-vulnerabilities-that-exposed-a-school-s-admis-9566|Breaking Down Two Simple Vulnerabilities That Exposed A School's Admission Records]]
- [[raw/apisecurity.io/api1-2019-broken-object-level-authorization-4376|API1:2019 - Broken object level authorization]]
- [[raw/pazent.github.io/exploitspec-bola-idor-regression-tests-from-bounded-redacted-har-input-11961|ExploitSpec — BOLA/IDOR regression tests]]
- [[raw/blog.doyensec.com/introducing-session-switcher-swap-burp-sessions-with-one-click-11406|Introducing Session Switcher]]
- [[raw/github.com/idor-scanner-burp-suite-extension-for-automated-idor-detection-4744|IDOR-Scanner: Burp Suite Extension]]
- [[raw/github.com/github-errorfiathck-idor-forge-idor-forge-is-an-advanced-and-versatile-4987|IDOR-Forge]]
- [[raw/github.com/reprocase-prove-idor-bola-role-and-cors-findings-with-fresh-test-accou-15622|ReproCase]]
- [[raw/oxo.is/idor-allows-user-to-access-report-details-via-reference-json-endpoint-15811|IDOR allows user to access report details via reference.json endpoint ($15000)]]
- [[raw/community.protocall.ch/post-idor-hidden-posts-readable-by-id-listing-filter-bypass-15812|Post IDOR: hidden posts readable by ID, listing filter bypass]]
- [[raw/community.protocall.ch/private-room-takeover-via-sequential-room-id-idor-15813|Private room takeover via sequential room_id (IDOR)]]
- [[raw/d0loreh4z3.medium.com/encrypted-id-s-no-problem-15808|Encrypted ID’s ? No Problem.]]
- [[raw/github.com/freedit-before-0-9-9-authorization-bypass-in-edit-post-post-15810|Freedit before 0.9.9 authorization bypass in edit_post_post]]
- [[raw/zyt00nax0x.medium.com/idor-in-app-api-enduserapp-profile-userid-cross-account-pii-disclosure-15809|IDOR in /app-api/enduserapp/profile/{userId} — Cross-Account PII Disclosure]]
- [[raw/medium.com/bac-in-novapay-wallet-15927|BAC In Novapay wallet]]