Werk #13981: Permission checks in REST-API service downtimes

Komponente REST API
Titel Permission checks in REST-API service downtimes
Datum 13.04.2023
Level Kleine Änderung
Klasse Sicherheitsfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

Zur Liste aller Werks