Broken Access Control on Tenant-Scoped Resource
- Business Impact
- An authenticated user in one tenant could enumerate and read customer records belonging to other tenants by modifying a numeric identifier in an API request, resulting in cross-tenant data exposure.
- Recommendation
- Enforce server-side authorization on every tenant-scoped endpoint by validating the caller's tenant against the requested resource, and add automated tests that assert cross-tenant isolation.