Broken Object Level Authorization (BOLA), also known as Insecure Direct Object References (IDOR), tops the OWASP API Security Top 10 because object ownership must be enforced on every individual data lookup. Whenever an endpoint accepts a record ID in a URL path, query parameter, or JSON payload without checking that the signed-in user owns that record, another authenticated user can read or alter it.
Why single-session scanners cannot verify BOLA
A scanner operating with a single account cannot tell whether an object response crosses an authorization boundary. When User A requests `/api/invoices/100` and receives HTTP 200 with invoice JSON, the response looks identical to a valid self-owned lookup. Without a second account context, the tool cannot know whether invoice 100 belongs to User A or User B.
- Single-identity scans cannot distinguish authorized self-access from unauthorized cross-user access.
- Switching from sequential integers to UUIDs prevents simple ID guessing, but does not fix the underlying missing ownership check if an ID is leaked in logs, referrals, or list endpoints.
- UI button hiding protects nothing if the underlying REST or GraphQL endpoint still accepts direct requests from another tenant's session token.
How paired-account checks work and where human review fits
When you supply two distinct test accounts (Account A and Account B) in MyPentest's authenticated assessment mode, the engine can compare resource access across both sessions on discovered routes. By replaying requests for resources observed under one account using the second account's session and comparing against a control, it highlights potential cross-user authorization weaknesses with concrete HTTP evidence.
Automated dual-account checks still have clear limits: they depend on which routes and record IDs are discovered and reachable during the scan, and they do not understand custom sharing policies (such as when two users intentionally belong to the same team workspace). Always combine paired-account automation with manual review of your role and tenant permission matrix.
Supply two synthetic accounts from separate tenants to test cross-user object boundaries, then review any flagged endpoints against your intended sharing rules.