Patchfirst
CVE-2019-15949 KEVPublic exploit High · 8.8 EPSS 77.0%

Nagios XI Remote Code Execution Vulnerability

Nagios · Nagios XI

Summary

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.

Official description · NVD

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.

Breakdown
69.1 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
5/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 2 years after disclosure. Public exploit code (Metasploit) was available 38 days before disclosure.

  1. Public exploit codeMetasploit38 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+2 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Valid Accounts T1078 Medium also Persistence, Privilege Escalation, Stealth
AI mapping from the description · how it is exploited

Requires valid nagios or admin account access

The exploit requires access to the server as the nagios user, or access as the admin user via the web interface
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Command execution as root via script

Nagios XI before 5.6.6 allows remote command execution as root
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 151 general rules for its techniques

Rules for this CVE

0 that reference CVE-2019-15949 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag (3 duplicates merged)
↑ ↓ chooseEnter openEsc close