Broken Object-Level Authorisation (BOLA) occurs when an API returns or modifies an object based on an identifier supplied by the client, without checking that the caller is allowed to access that specific object.
Why it persists
- Authentication is often mistaken for authorisation.
- Checks are implemented per endpoint rather than centrally.
- Automated scanners cannot tell which user should see which record.
Designing it out
- Enforce ownership checks in a shared data-access layer.
- Use unpredictable identifiers as defence in depth — never as the only control.
- Write automated tests that request other tenants' objects and expect a denial.
During authorised API assessments we test every object-returning endpoint with multiple user roles and tenants, because this is where the highest-impact findings usually hide.