PT-2022-21905 · Checkmk+1 · Checkmk+1

Published

2022-06-17

·

Updated

2024-07-23

·

CVE-2022-33912

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Checkmk versions 1.6 through 1.6.9p29 Checkmk versions 2.0 through 2.0.0p26 Checkmk versions 2.1 through 2.1.0p3 Checkmk version 2.2.0i1
Description A permission issue affects users that deployed the shipped version of the Checkmk Debian package. Packages created by the agent bakery (enterprise editions only) were not affected. Using the shipped version of the agents, the maintainer scripts located at /var/lib/dpkg/info/ will be owned by the user and the group with ID 1001. If such a user exists on the system, they can change the content of these files (which are then executed by root). This leads to a local privilege escalation on the monitored host.
Recommendations For version 1.6 through 1.6.9p29, update to a version outside of this range to resolve the issue. For version 2.0 through 2.0.0p26, update to a version outside of this range to resolve the issue. For version 2.1 through 2.1.0p3, update to a version outside of this range to resolve the issue. For version 2.2.0i1, update to a version outside of this range to resolve the issue. As a temporary workaround, consider restricting access to the maintainer scripts located at /var/lib/dpkg/info/ to prevent local privilege escalation.

Fix

Incorrect Default Permissions

Weakness Enumeration

Related Identifiers

CVE-2022-33912

Affected Products

Checkmk
Debian