Werk #13981: Permission checks in REST-API service downtimes
Component | REST API | ||||||||
Title | Permission checks in REST-API service downtimes | ||||||||
Date | Apr 13, 2023 | ||||||||
Level | Trivial Change | ||||||||
Class | Security Fix | ||||||||
Compatibility | Compatible - no manual interaction needed | ||||||||
Checkmk versions & editions |
|
Prior to this Werk it was possible for users to schedule downtimes for services of any host via the REST API, even if they didn't have the permissions to do so.
The REST API will now correctly check the users permissions when putting a service into downtime. That not only includes the permission "wato.downtimes" but also access to the effected host and service.
Affected Versions: * 2.2.0 (beta) * 2.1.0
Vulnerability Management: We have rated the issue with a CVSS Score of 4.3 (Medium) with the following CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N. and assigned CVE CVE-2023-2020.