An API can use strong encryption and reject malformed input while still allowing a user to access another customer's data. Authorization failures are often specific to how an organization models accounts, objects and business relationships. OWASP's API Security Top 10 distinguishes object-level authorization from function-level authorization, both of which deserve explicit testing.
Establish the expected authorization model
Document roles, tenant boundaries, object ownership, delegated permissions and administrative exceptions before testing. A tenant may be a company, business unit, workspace or another boundary defined by the application. The name of the boundary is less important than the access rules it represents. Client-side filtering is not an authorization control.
Construct a permission matrix
Create two or more synthetic tenants and accounts with different roles in an authorized environment. For each sensitive operation, record the actor, object, tenant, action and expected outcome. Include reads, writes, exports, bulk operations and background jobs. Test both allowed and denied cases: a denial-only test suite can miss regressions that prevent legitimate work.
Look beyond the obvious endpoints
- Apply the same access checks to alternate API versions, GraphQL resolvers, mobile endpoints and administrative features.
- Verify that object references, filters and nested resources are resolved inside the caller's authorized scope.
- Check field-level access to sensitive attributes and ensure update operations cannot modify ownership or privilege fields without permission.
- Review business transitions such as approvals, payment changes, refunds and invitations against their documented invariants.
Make findings actionable
A useful report demonstrates the violated rule using controlled accounts and synthetic data, describes the business impact and identifies the likely enforcement layer. Recommend a centralized authorization policy or consistent domain-level ownership checks rather than isolated patches to a single route. Add regression tests for the entire affected endpoint family and confirm that the authorized paths still work after the fix.
Practical takeaway: A successful request is not evidence of authorization. The server must independently establish that this caller may perform this action on this resource.
References and further reading
External guidance supports the analysis above; recommendations and illustrative scenarios are CyberMavi editorial content, not claims of client results.
Turn insight into action.
Discuss your security assessment requirements with CyberMavi.
