Root code execution via site-writable library path
Published Dec 13, 2023 · Updated Dec 2, 2024
Privilege escalation in Checkmk 2.2.0p10 through 2.2.0p16 allows local users with site access to execute code as root. The agent passes a site-controlled library directory through LD_LIBRARY_PATH when root invokes unixcat, allowing a malicious shared library in that writable directory to be loaded. A Checkmk site account with permission to write the site library directory is required, and successful exploitation grants root-level code execution on the monitoring server.
Summary
What happened
Privilege escalation in Checkmk 2.2.0p10 through 2.2.0p16 allows local users with site access to execute code as root. The agent passes a site-controlled library directory through LD_LIBRARY_PATH when root invokes unixcat, allowing a malicious shared library in that writable directory to be loaded. A Checkmk site account with permission to write the site library directory is required, and successful exploitation grants root-level code execution on the monitoring server.
The record
- CVE
- CVE-2023-31210
- Published
- Dec 13, 2023
- Updated
- Dec 2, 2024
- Vendor
- Checkmk GmbH
- Product
- Checkmk
- Classifications
- CWE-427, T1574.006
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 13, 2023CVE publishedPublication date reported by the CVE source.
- Dec 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.2.0p10 <2.2.0p17
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo