Werk #15191: Livestatus command injection in RestAPI

Component REST API
Title Livestatus command injection in RestAPI
Date May 11, 2023
Level Trivial Change
Class Security Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p36 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Prior to this Werk all RestAPI endpoints that use Livestatus filter operators were susceptible to injection of Livestatus commands. Any user authorized to use the affected RestAPI routes could hence execute arbitrary Livestatus commands.

This issue was uncovered by internal review.

Affected Versions: * 2.2.0 (beta) * 2.1.0 * 2.0.0

Vulnerability Management: We have rated the issue with a CVSS Score of 8.3 (High) with the following CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H and assigned CVE CVE-2023-31208.

To the list of all Werks