Broken Object Level Authorization (BOLA) on Invoice Endpoint
- Business Impact
- Any authenticated user could retrieve invoices belonging to other customers by incrementing a numeric invoice ID, exposing financial and personally identifiable information across the customer base.
- Recommendation
- Enforce object-level authorization on every request by verifying that the caller owns or is entitled to the requested resource, and add regression tests that assert cross-account isolation.