Description
Kimai is an open-source time tracking application. Prior to 2.57.0, the GET /api/timesheets list endpoint accepts user and users[] target identifiers from a caller with view_other_timesheet but does not apply access_user or verify that a ROLE_TEAMLEAD requester leads a team containing each target user. TimesheetController::cgetAction() adds the resolved users directly to the query while project and customer filtering still permits records on unscoped projects or projects sharing ordinary team membership, allowing a teamlead to retrieve another user's descriptions, timing data, tags, rate, and internalRate even though GET /api/timesheets/{id} would deny access through TimesheetVoter. This issue is fixed in version 2.57.0.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
kimai kimai
< 2.57.0affected
References
- https://github.com/kimai/kimai/security/advisories/GHSA-4m8q-55qv-9pwp ↗
- https://github.com/kimai/kimai/pull/5929 ↗
- https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849 ↗
- https://github.com/kimai/kimai/releases/tag/2.57.0 ↗
- https://www.kimai.org/en/security/ghsa-4m8q-55qv-9pwp ↗