CVE-2019-15949 in Nagios Xi
Nagios XI before 5.6.6 allows remote command execution as root. The exploit requires access to the server as the nagios user, or access as the admin user via the web interface. The getprofile.sh script, invoked by downloading a system profile (profile.php?cmd=download), is executed as root via a passwordless sudo en...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nagios | Nagios Xi | < 5.6.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2021-11-03 |
|---|---|
| Public exploit | Reported · reference |
Official description
Nagios XI before 5.6.6 allows remote command execution as root. The exploit requires access to the server as the nagios user, or access as the admin user via the web interface. The getprofile.sh script, invoked by downloading a system profile (profile.php?cmd=download), is executed as root via a passwordless sudo entry; the script executes check_plugin, which is owned by the nagios user. A user logged into Nagios XI with permissions to modify plugins, or the nagios user on the server, can modify the check_plugin executable and insert malicious commands to execute as root.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-15949 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-231487-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2019-09-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2019-15949 affects Nagios XI versions prior to 5.6.6, allowing remote command execution as root. This vulnerability can be exploited by a user with nagios or admin privileges, leading to potential full system compromise. Given the high CVSS score and the existence of public exploits, immediate attention is required to mitigate this risk in ICS/OT environments.
The vulnerability exists in the getprofile.sh script, which is executed as root when a system profile is downloaded. An attacker with nagios or admin privileges can modify the check_plugin executable to insert malicious commands that will be executed with root privileges. This can lead to complete system compromise.
Compensating controls AI-drafted, review before use
Implement strict access controls and monitor for unauthorized changes to the check_plugin executable. Regularly review logs for suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2019-15949?
CVE-2019-15949 affects Nagios XI versions prior to 5.6.6, allowing remote command execution as root. This vulnerability can be exploited by a user with nagios or admin privileges, leading to potential full system compromise. Given the high CVSS score and the existence of public exploits, immediate attention is required to mitigate this risk in ICS/OT environments.
What is the CVSS score for CVE-2019-15949?
CVE-2019-15949 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 77.0%.
Is CVE-2019-15949 actively exploited?
Yes. CVE-2019-15949 is in the CISA known-exploited catalog (added 2021-11-03). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2019-15949?
Priority: IMMEDIATE.
What systems are affected by CVE-2019-15949?
CVE-2019-15949 affects Nagios Nagios Xi.
What NERC-CIP standard applies to CVE-2019-15949?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to critical cyber assets, potentially leading to the compromise of control systems.
What IEC 62443 requirement maps to CVE-2019-15949?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the protection of system configuration settings from unauthorized modification, which is crucial for maintaining the integrity and security of ICS/OT systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nagios","product":"Nagios Xi","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.