Description
Jorani before 1.0.4 contains a missing authorization vulnerability in the Hr controller's exportLeaves, exportOvertime and exportEmployees actions, allowing any authenticated user to export HR data. Attackers can request hr/exportEmployees or hr/exportLeaves/{id} and hr/exportOvertime/{id} to download employee names, emails, contracts, managers, and any employee's leave and overtime records.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jorani | Jorani | < 1.0.4 | 1.0.4 |
References
- https://github.com/jorani/jorani/issues/426 issue-tracking technical-description
- https://github.com/jorani/jorani/blob/v1.0.2/application/controllers/Hr.php#L459-L500 technical-description
- https://github.com/jorani/jorani/commit/dee51fc3c6cb08b45fb2d03f3d44507bc07830e9 patch
- Jorani v1.0.4 Release Notes release-notes
- VulnCheck Advisory: Jorani before 1.0.4 Missing Authorization in HR Export Actions third-party-advisory