CriticalCVSS 4.0 · 8.7
Any customer can read another customer’s invoices
- Asset
- api.client.com
- Category
- Access control (IDOR)
- Status
- Fixed and verified
Impact
Changing a single number in the request returns another customer’s invoice, with name, tax ID and address. It affects the entire customer base.
Evidence
GET /api/v2/invoices/48213
Authorization: Bearer <customer A token>
HTTP/1.1 200 OK
"holder": "Customer B", "tax_id": "2••••••••"Fix
Verify on the server that the requested invoice belongs to the session holder, on every document endpoint.