Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 6b691f45e6546e66e37bea0dc271c83b81aa105f
https://github.com/tribe29/checkmk/commit/6b691f45e6546e66e37bea0dc271c83b8…
Author: Teresa Siegmantel <teresa.siegmantel(a)tribe29.com>
Date: 2023-04-18 (Tue, 18 Apr 2023)
Changed paths:
A .werks/13981
M cmk/gui/livestatus_utils/commands/downtimes.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/conftest.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_downtime.py
Log Message:
-----------
13981 SEC Permission checks in REST-API service downtimes
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.
<b>Affected Versions</b>:
LI: 2.2.0 (beta)
LI: 2.1.0
<b>Vulnerability Management</b>:
We have rated the issue with a CVSS Score of 4.3 (Medium) with the following CVSS vector:
<tt>CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N</tt>.
and assigned CVE <tt>CVE-2023-2020</tt>.
SUP-13178
Change-Id: I3a860a02d14c0ab910c0be49a4c78c4eac8c8016