Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-28827 Overview
CVE-2024-28827 is a local privilege escalation vulnerability in the Checkmk Windows Agent caused by incorrect permissions on the agent's data directory. A local attacker with limited privileges can abuse the weak access control to execute code in the context of NT AUTHORITY\SYSTEM. The flaw affects Checkmk versions prior to 2.3.0p8, 2.2.0p29, and 2.1.0p45, as well as the end-of-life 2.0.0p39 and earlier. The vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource.
Critical Impact
A local unprivileged user on a Windows host running the Checkmk Agent can escalate to SYSTEM, achieving complete compromise of confidentiality, integrity, and availability on the monitored endpoint.
Affected Products
- Checkmk < 2.3.0p8
- Checkmk < 2.2.0p29 and < 2.1.0p45
- Checkmk <= 2.0.0p39 (End of Life)
Discovery Timeline
- 2024-07-10 - CVE-2024-28827 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-28827
Vulnerability Analysis
The Checkmk Windows Agent installs a data directory used to store runtime files, plugin outputs, and configuration state. On vulnerable releases, this directory is created with permissions that allow non-privileged local users to write to files or drop new files inside it. Because the Checkmk Agent service runs as LocalSystem, any executable or script content the service subsequently loads or invokes from that directory runs with SYSTEM privileges.
This class of flaw commonly results from inheriting overly permissive ACLs from a parent directory or failing to apply a restrictive DACL during installation. The result is a classic insecure-permissions privilege escalation primitive on Windows hosts.
Root Cause
The root cause is improper permission assignment [CWE-732] on the Checkmk Windows Agent's data directory. Standard users retain write access to a location that a SYSTEM-level service reads from or executes against, violating the principle of least privilege for a critical resource.
Attack Vector
Exploitation requires local, authenticated access to a Windows host where the vulnerable Checkmk Agent is installed. An attacker with any standard user account places a malicious payload, replaces a legitimate file, or modifies agent-controlled content inside the writable data directory. When the Checkmk Agent service reads, executes, or otherwise processes the tampered content, the payload runs in the SYSTEM security context. No user interaction is required and attack complexity is low.
No public proof-of-concept exploit code has been released, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. For the vendor's technical description, see the Checkmk Werk 16845 advisory.
Detection Methods for CVE-2024-28827
Indicators of Compromise
- Unexpected files, scripts, or executables written to the Checkmk Agent data directory by non-administrative accounts.
- New or modified plugin files in the agent's local plugins directory that do not match deployment baselines.
- Child processes spawned by the Checkmk Agent service (CheckMkService) that execute user-supplied binaries or scripts.
Detection Strategies
- Audit the ACL of the Checkmk Agent ProgramData directory and flag any entry granting write or modify rights to Users, Authenticated Users, or Everyone.
- Correlate file-creation events (Sysmon Event ID 11) in the agent directory with the originating user SID, alerting when the writer is not SYSTEM or an administrator.
- Monitor process-creation events (Sysmon Event ID 1 / Windows Event ID 4688) where the parent is the Checkmk Agent service and the child executes from a user-writable path.
Monitoring Recommendations
- Enable Windows object-access auditing on the Checkmk Agent data directory and ship events to a central SIEM for retention and analysis.
- Baseline the installed Checkmk Agent version across the fleet and alert on hosts running versions below the fixed releases.
- Review scheduled tasks and services on monitored endpoints for unexpected execution of binaries dropped into the agent directory.
How to Mitigate CVE-2024-28827
Immediate Actions Required
- Upgrade the Checkmk Windows Agent to 2.3.0p8, 2.2.0p29, 2.1.0p45, or later as applicable to your branch.
- Migrate any hosts running the end-of-life 2.0.0 branch to a supported release, since no patch is available for 2.0.0p39.
- Inventory all Windows systems with the Checkmk Agent installed and prioritize those exposed to shared or multi-user environments.
Patch Information
Checkmk released fixes documented in Werk 16845. The patched versions enforce correct restrictive permissions on the Windows Agent's data directory so that only SYSTEM and administrators can write to it. Apply the vendor's updated MSI installer to ensure both the binaries and the directory ACLs are corrected.
Workarounds
- As a temporary measure, manually tighten the DACL on the Checkmk Agent data directory to remove write permissions for non-administrative principals.
- Restrict interactive and remote logon rights on monitored Windows servers to limit which users can stage a local exploit.
- Remove the Checkmk Windows Agent from hosts where it is not required until the patched version can be deployed.
# Example: inspect the Checkmk Agent data directory ACL on Windows
icacls "C:\ProgramData\checkmk\agent"
# Remove write permissions for standard users as a temporary hardening step
icacls "C:\ProgramData\checkmk\agent" /remove:g "BUILTIN\Users"
icacls "C:\ProgramData\checkmk\agent" /remove:g "NT AUTHORITY\Authenticated Users"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

