Description
Jorani before 1.0.4 contains an insecure direct object reference vulnerability that allows authenticated users to modify, delete, and view other employees' requests by authorizing by operation name only. Attackers can supply numeric request ids to Leaves::edit(), Extra::edit(), Leaves::delete(), Extra::delete(), and Leaves::history() to tamper with colleagues' leave and overtime requests and read leave history.
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/Leaves.php#L276-L298 technical-description
- https://github.com/jorani/jorani/blob/v1.0.2/application/controllers/Extra.php#L151-L168 technical-description
- https://github.com/jorani/jorani/commit/59c403224401824489ec662934f71c90d27f614c patch
- Jorani v1.0.4 Release Notes release-notes
- VulnCheck Advisory: Jorani before 1.0.4 Insecure Direct Object Reference in Leave and Overtime Requests third-party-advisory