CVE-2019-15949
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.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
77.039%
chance of exploitation in the next 30 days
higher than 99.6% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 2
Nuclei templates: 0
Exploit-DB: 2
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Nagios XI Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Nagios / Nagios XI |
| Date added | 2021-11-03 |
| Federal remediation due date | 2022-05-03 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2019-09-05Published by the CNA16:50 UTC
- 2020-03-10First Exploit-DB entry (EDB-ID 48191)187 days after publication
- 2021-11-03Added to the CISA KEV catalog790 days after publication
- 2025-02-04CISA SSVC decision recorded1979 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 48191 | remote | linux | 2020-03-10 | yes |
| EDB-ID 52138 | webapps | multiple | 2025-04-08 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nagios nagios_xi | before 5.6.6fixed in 5.6.6 | 5.6.6 |
References
- http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html
- https://github.com/jakgibb/nagiosxi-root-rce-exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-15949
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-15949'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-15949'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-15949'curl 'https://api.contrastcyber.com/cve_products/CVE-2019-15949'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2019-15949'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).