Description
Invoice Ninja before 5.13.28 contains a broken access control vulnerability that allows authenticated vendor-portal contacts to access documents belonging to other vendors and clients by exploiting authorization checks that validate only company_id scope instead of vendor ownership. Attackers can request GET /vendor/documents/{hashid}/download or POST /vendor/documents/download_multiple, enumerating predictable sequential Hashids document identifiers due to a default empty HASH_SALT, to read any invoice PDFs, contracts, payment receipts, and expense attachments within the company.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| invoiceninja | invoiceninja | < 5.13.28 | 5.13.28 |
References
- invoiceninja 5.13.28 Release Notes release-notes
- Patch Commit patch
- VulnCheck Advisory: Invoice Ninja < 5.13.28 Broken Access Control via Vendor Portal third-party-advisory