Description
Dolibarr 20.0.0 through 23.0.4 and 24.x before 24.0.2 contains an insecure direct object reference vulnerability in api_expensereports.class.php payment endpoints that lets authenticated users access other users' expense report payments. Attackers with only expense report read and create rights can call getAllPayments, getPayments, addPayment, or updatePayment to read, create, or modify payments, falsifying reimbursement state.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Dolibarr | dolibarr | 20.0.0 – ≤ 23.0.4, 24.0.0 – < 24.0.2 | 24.0.2 |
References
- https://github.com/Dolibarr/dolibarr/pull/40473 issue-tracking patch
- https://github.com/Dolibarr/dolibarr/commit/322026099df5cffcca2fd45dd76193fca601cfd9 patch
- https://github.com/Dolibarr/dolibarr/commit/afc12abbd24a1560aee04356e840d5819a1169fd patch
- https://github.com/Dolibarr/dolibarr/issues/40687 issue-tracking
- https://github.com/Dolibarr/dolibarr/blob/24.0.1/htdocs/expensereport/class/api_expensereports.class.php#L959-L968 technical-description
- VulnCheck Advisory: Dolibarr 20.0.0 through 23.0.4 and 24.x before 24.0.2 IDOR via ExpenseReport Payment API third-party-advisory