CVE-2019-15949KEV · OVERDUE

Nagios XI Remote Code Execution Vulnerability

High · published September 5, 2019

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 8.8. It is confirmed in active exploitation. It sits in the 99.6th percentile for exploit probability.

1634
days past CISA
deadline
CVSS v3.1
8.8
EPSS
77%
Percentile
99.6
In the wild
Confirmed
What it is

🚨 Remote command execution as root? Yes, please! Well, not for you. This vulnerability in Nagios XI before version 5.6.6 makes it alarmingly easy for bad actors to run commands with full root access if they can log in as the nagios user. 🔥 Think of it like a restaurant where the kitchen staff can access the vault of secret recipes without supervision. If someone sneaks in and changes those recipes, they can serve up whatever they want, jeopardizing the entire menu! An attacker exploiting this could literally execute any command they want with root privileges. This means they could wipe the entire system, steal sensitive data, or install backdoors for future attacks. The consequences could be absolutely devastating for any organization relying on Nagios XI.

Put simply

Think of it like a restaurant where the kitchen staff can access the vault of secret recipes without supervision. If someone sneaks in and changes those recipes, they can serve up whatever they want, jeopardizing the entire menu! The vulnerability stems from the `getprofile.sh` script, which runs with root access via passwordless sudo when users download a system profile. If an attacker gains access as the nagios user, or through the web interface as an admin, they can modify the `check_plugin` executable to execute arbitrary commands as root.

What to do

An attacker exploiting this could literally execute any command they want with root privileges. This means they could wipe the entire system, steal sensitive data, or install backdoors for future attacks. The consequences could be absolutely devastating for any organization relying on Nagios XI. Immediately upgrade Nagios XI to version 5.6.6 or later to close this vulnerability. Review user permissions and restrict access to the nagios user, ensuring no unauthorized changes can be made to the plugins. Also, consider turning off passwordless sudo for the nagios user as an added layer of security. You've got this! Follow these steps and you'll be well on your way to securing your Nagios XI installation. 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.77039 · 99.6th percentile
Published
2019-09-05T16:50Z
KEV added
2021-11-03 · due 2022-05-03
EPSS history
Timeline
  • 03 NOV 00:00Z
    Added to CISA KEV — remediate by May 3
    kev
  • 05 SEP 16:50Z
    Nagios XI before 5.6.6 allows remote command execution as root
    cvelistv5