Root escalation via replaceable npcd executable
Published Feb 26, 2024 · Updated Mar 24, 2025
Privilege escalation in Nagios XI 2024R1.0.1 allows local users with nagios shell access to execute commands as root through npcd. The nagios account can replace /usr/local/nagios/bin/npcd, while an allowed service-management command starts that path as root. Access to the nagios shell is required; successful exploitation grants root command execution.
Summary
What happened
Privilege escalation in Nagios XI 2024R1.0.1 allows local users with nagios shell access to execute commands as root through npcd. The nagios account can replace /usr/local/nagios/bin/npcd, while an allowed service-management command starts that path as root. Access to the nagios shell is required; successful exploitation grants root command execution.
The record
- CVE
- CVE-2024-24402
- Published
- Feb 26, 2024
- Updated
- Mar 24, 2025
- Vendor
- Nagios Enterprises, LLC
- Product
- Nagios XI
- Classifications
- CWE-269, T1548.003
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2024CVE publishedPublication date reported by the CVE source.
- Mar 24, 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=2024
What conditions does exploitation require?
What is affected?
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.
Public exploit references
- CVE-2024-24402.shproof of concept · unverified
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