{"id":"CVE-2019-15949","published":"2019-09-05T17:15:12Z","modified":"2026-06-17T02:21:24Z","title":"Nagios XI Remote Code Execution Vulnerability","vendor":"Nagios","product":"Nagios XI","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Nagios XI before 5.6.6 contains a flaw in the getprofile.sh system-profile download path, which runs as root via a passwordless sudo entry and executes check_plugin, a file owned by the nagios user, allowing command injection into the root-executed process. An attacker needs either the nagios user's access on the server or admin access through the web interface, with the ability to modify check_plugin (or, via the web path, to trigger the profile download as an authorised user with plugin-modification rights) to run arbitrary commands as root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T04:54:09Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.77039,"percentile":0.9955,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2019-15949","provenance":"source"},"vulncheckKev":{"dateAdded":"2021-11-03","exploitedFirstSeen":"2021-11-03","ransomware":false,"evidence":[{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2021-11-03"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/jakgibb/nagiosxi-root-rce-exploit","tags":["Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/jakgibb/nagiosxi-root-rce-exploit","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-15949","tags":["US Government Resource"]}],"techniques":[{"id":"T1078","name":"Valid Accounts","tactics":["initial-access","persistence","privilege-escalation","stealth"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Requires valid nagios or admin account access","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"The exploit requires access to the server as the nagios user, or access as the admin user via the web interface","start":64,"end":175}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Command execution as root via script","mappingType":"primary_impact","evidence":[{"from":"description","quote":"Nagios XI before 5.6.6 allows remote command execution as root","start":0,"end":62}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-6850","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-6850","exploited":true,"exploitedSince":"2021-11-03","provenance":"source"},"exploits":[{"id":48191,"url":"https://www.exploit-db.com/exploits/48191","title":"Nagios XI - Authenticated Remote Command Execution (Metasploit)","type":"remote","platform":"linux","date":"2020-03-10","verified":true,"provenance":"source"},{"id":52138,"url":"https://www.exploit-db.com/exploits/52138","title":"Nagios Xi 5.6.6 - Authenticated Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2025-04-08","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2020-03-10"},"pocGithub":{"count":1,"skipped":0,"earliest":"2026-03-17","earliestUrl":"https://github.com/plur1bu5/Nagios-CVE-2019-15949-RCE","repos":[{"name":"plur1bu5/Nagios-CVE-2019-15949-RCE","url":"https://github.com/plur1bu5/Nagios-CVE-2019-15949-RCE","stars":0,"created":"2026-03-17"}]},"metasploit":[{"name":"Nagios XI Prior to 5.6.6 getprofile.sh Authenticated Remote Command Execution","module":"exploit/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce","type":"exploit","disclosureDate":"2019-07-29","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce.rb"},{"name":"Nagios XI Scanner","module":"auxiliary/scanner/http/nagios_xi_scanner","type":"auxiliary","disclosureDate":null,"url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/nagios_xi_scanner.rb"}],"first":{"date":"2019-07-29","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce.rb"},"provenance":"source"},"exploitRefs":["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"],"flow":[{"stage":"exploitation","techniques":["T1078"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2019-07-29","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2020-03-10, PoC-in-GitHub 2026-03-17","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce.rb","provenance":"source"},{"date":"2019-09-05","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15949","provenance":"source"},{"date":"2021-11-03","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","provenance":"source"},{"date":"2021-11-03","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2021-11-03","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-6850","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":790},"priority":{"score":69.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1823 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9955"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 2 Exploit-DB entries; 1 PoC-in-GitHub repo; 2 Metasploit modules"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}