Werk #14485: Fix session cookie validation on RestAPI
|Titel||Fix session cookie validation on RestAPI|
|Checkmk-Editon||Checkmk Raw (CRE)|
|Checkmk-Version||2.2.0i1 2.1.0p11 2.0.0p29|
|Kompatibilität||Kompatibel - benötigt kein manuelles Eingreifen|
Before this Werk expired sessions were still valid on the RestAPI, since the RestAPI only vaildated the Cookie signature.
An attacker who was able to steal a session cookie could use that cookie on the RestAPI even after the session expired. Some actions though require access to the user session, these action fail due to the expired session. Some actions do not access the session and are therefore possible.
Affected Versions: All versions with the RestAPI are affected: 2.0, and 2.1.
Mitigations: Immediate mitigations are not available.
Indicators of Compromise: Review Apache and web.log for suspicious logs.
Vulnerability Management: We have rated the issue with a CVSS Score of 5.6 (Medium) with the following CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L. A CVE has been requested.