CVE-2019-15949
Nagios XI Remote Code Execution Vulnerability - [Actively Exploited]
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.
INFO
Published Date :
Sept. 5, 2019, 5:15 p.m.
Last Modified :
March 7, 2025, 2:24 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
Nagios XI contains a remote code execution vulnerability in which a user can modify the check_plugin executable and insert malicious commands to execute as root.
Apply updates per vendor instructions.
https://nvd.nist.gov/vuln/detail/CVE-2019-15949
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade to Nagios XI 5.6.6 or later.
Public PoC/Exploit Available at Github
CVE-2019-15949 has a 11 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-15949
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html | Exploit Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html | Exploit Third Party Advisory VDB Entry |
https://github.com/jakgibb/nagiosxi-root-rce-exploit | Exploit Third Party Advisory |
http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html | Exploit Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html | Exploit Third Party Advisory VDB Entry |
https://github.com/jakgibb/nagiosxi-root-rce-exploit | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-15949
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-15949
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A comprehensive hacking learning path covering Pentesting, OSINT, Linux, Networking, Web Application Security, Cryptography, Exploitation, Reverse Engineering, Forensics, CVEs, and CTF challenges. Perfect for beginners and professionals to master ethical hacking, penetration testing, and cybersecurity step by step. 🚀
bug-bounty cryptography ctf ethical-hacking hacking hackthebox linux metasploit networking osint penetration-testing privilege-escalation reverse-engineering tryhackme web-application-security cybersecurity-learning-path
None
Python Shell
Try to create walkthroughs of Tryhackme-Labs, self learning purpose
Shell Python
TryHackMe walkthroughs and CTF writeups for learning cybersecurity, penetration testing, and ethical hacking.
tryhackme tryhackme-writeups ctf ctf-walkthroughs ctf-writeups cve-exploitation cybersecurity infosec penetration-testing vulnerability-assessment walkthroughs tryhackme-walkthroughs ethical-hacking linux-privilege-escalation windows-privilege-escalation
Python Shell
None
None
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
cisa-kev vulnerability 0day cisa exploits
This repository contains a few of my writeups I made for the famous and addictive TryHackMe CTF (Capture The Flag) challenges.
thm tryhackme tryhackme-writeups ctf hacking penetration-testing ctf-tools security
All Solutions
All WriteUps and Flags of TryHackMe
C Python Shell HTML PHP JavaScript Haskell Makefile CSS Go
POC which exploits a vulnerability within Nagios XI (5.6.5) to spawn a root shell
PHP
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-15949
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-15949
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Mar. 07, 2025
Action Type Old Value New Value -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Feb. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-78 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html Added Reference http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html Added Reference https://github.com/jakgibb/nagiosxi-root-rce-exploit -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Apr. 15, 2021
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html No Types Assigned http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html No Types Assigned http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html Exploit, Third Party Advisory, VDB Entry Removed CWE NIST CWE-94 -
CVE Modified by [email protected]
Apr. 14, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html [No Types Assigned] -
CWE Remap by [email protected]
Aug. 24, 2020
Action Type Old Value New Value Changed CWE CWE-77 CWE-94 CWE-78 -
CVE Modified by [email protected]
Mar. 10, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 06, 2019
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:S/C:C/I:C/A:C) Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/jakgibb/nagiosxi-root-rce-exploit No Types Assigned https://github.com/jakgibb/nagiosxi-root-rce-exploit Exploit, Third Party Advisory Added CWE CWE-77 Added CPE Configuration OR *cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* versions up to (excluding) 5.6.6
Vulnerability Scoring Details
Base CVSS Score: 8.8
Base CVSS Score: 9
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
87.19 }} -0.14%
score
0.99397
percentile