Root command execution via JAVA_HOME path precedence
Published May 13, 2025 · Updated May 13, 2025
Local privilege escalation in Checkmk's jar_signature agent plugin allows local users to execute replacement commands as root. The plugin prepends JAVA_HOME/bin to PATH, so a writable directory lets a user replace legitimate commands with malicious scripts. Exploitation requires the Signatures of certificates in JAR files rule and write access to JAVA_HOME/bin; execution occurs with root privileges.
Summary
What happened
Local privilege escalation in Checkmk's jar_signature agent plugin allows local users to execute replacement commands as root. The plugin prepends JAVA_HOME/bin to PATH, so a writable directory lets a user replace legitimate commands with malicious scripts. Exploitation requires the Signatures of certificates in JAR files rule and write access to JAVA_HOME/bin; execution occurs with root privileges.
The record
- CVE
- CVE-2025-32917
- Published
- May 13, 2025
- Updated
- May 13, 2025
- Vendor
- Checkmk GmbH
- Product
- Checkmk
- Classifications
- CWE-427, CAPEC-233, T1574.007
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 13, 2025CVE publishedPublication date reported by the CVE source.
- May 13, 2025Record 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.1.0 <=2.1.0p50
- Affected versionversion=2.2.0 <2.2.0p42
- Affected versionversion=2.3.0 <2.3.0p32
- Affected versionversion=2.4.0 <2.4.0b7
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