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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Jorani Jorani
Default version status: unaffected
0 to < 1.0.4affected
pkg:github/jorani/joraniReferences
- https://github.com/jorani/jorani/issues/426 ↗
- https://github.com/jorani/jorani/blob/v1.0.2/application/controllers/Leaves.php#L276-L298 ↗
- https://github.com/jorani/jorani/blob/v1.0.2/application/controllers/Extra.php#L151-L168 ↗
- https://github.com/jorani/jorani/commit/59c403224401824489ec662934f71c90d27f614c ↗
- https://github.com/jorani/jorani/releases/tag/v1.0.4 ↗
- https://www.vulncheck.com/advisories/jorani-before-1.0.4-insecure-direct-object-reference-in-leave-and-overtime-requests ↗