User Preferences API allows standard users to modify: hourly_rate, internal_rate

Affected versions

Description

Kimai contained an authorization flaw in the user preferences API. In affected versions, a standard user could update the restricted financial profile attributes hourly_rate and internal_rate, even though those values were not editable through the normal user interface.

This allowed unprivileged accounts to manipulate business-relevant values that influence future billing and financial calculations.

This issue was caused by the API accepting and persisting restricted preference values without enforcing the same permission checks as the GUI.

Solution

The API does not allow updating disabled user preferences.

Users should update to 2.53.0 or newer.

Credits

First reported in GitHub advisory: GHSA-qh43-xrjm-4ggp

Top