Nagios XI
Nagios XI Remote Code Execution Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 186 days after publication; added to CISA KEV 2.2 years after publication. First PoC: Nagios XI - Authenticated Remote Command Execution (Metasploit) (Exploit-DB, 10 Mar 2020).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| jakgibb/nagiosxi-root-rce-exploit | 21 Aug 2019 −15 d | 16 | PoC older repo: PoC date unknown, not used for the first PoC |
| plur1bu5/Nagios-CVE-2019-15949-RCE | 17 Mar 2026 +6.5 y | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Nagios XI - Authenticated Remote Command Execution (Metasploit) | 10 Mar 2020 | 14 Nov 2026 |
| Exploit-DB | Nagios Xi 5.6.6 - Authenticated Remote Code Execution (RCE) | 8 Apr 2025 | 14 Nov 2026 |
| Metasploit | Metasploit auxiliary: Nagios XI Scanner (auxiliary/scanner/http/nagios_xi_scanner) | 18 Mar 2021 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Nagios XI Prior to 5.6.6 getprofile.sh Authenticated Remote Command Execution (exploit/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce) | 1 Apr 2021 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /nagiosxi/admin/monitoringplugins.php
- Seen in
- 1 repo: plur1bu5/Nagios-CVE-2019-15949-RCE
- Evidence
- plur1bu5/Nagios-CVE-2019-15949-RCE/exploit.py:38
GET /nagiosxi/includes/components/profile/profile.php
- Query
cmd=download- Seen in
- 1 repo: plur1bu5/Nagios-CVE-2019-15949-RCE
- Evidence
- plur1bu5/Nagios-CVE-2019-15949-RCE/exploit.py:56
GET /nagiosxi/login.php
- Seen in
- 1 repo: plur1bu5/Nagios-CVE-2019-15949-RCE
- Evidence
- plur1bu5/Nagios-CVE-2019-15949-RCE/exploit.py:19
POST /nagiosxi/admin/monitoringplugins.php
- Body markers
upload=1nsp=MAX_FILE_SIZE=20000000inapplication/x-www-form-urlencoded- Seen in
- 1 repo: plur1bu5/Nagios-CVE-2019-15949-RCE
- Evidence
- plur1bu5/Nagios-CVE-2019-15949-RCE/exploit.py:52
POST /nagiosxi/login.php
- Body markers
username=password=pageopt=loginnsp=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: plur1bu5/Nagios-CVE-2019-15949-RCE
- Evidence
- plur1bu5/Nagios-CVE-2019-15949-RCE/exploit.py:30
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/nagiosxi/admin/monitoringplugins\.php(?:[?#].*)?$
(?i)^/nagiosxi/includes/components/profile/profile\.php\?(?:.*&)?cmd=download
(?i)^/nagiosxi/login\.php(?:[?#].*)?$
(?i)^/nagiosxi/admin/monitoringplugins\.php(?:[?#].*)?$
(?i)^/nagiosxi/login\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-15949 Nagios Nagios XI exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/nagiosxi/admin/monitoringplugins.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-15949; classtype:web-application-attack; sid:9836679; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-15949 Nagios Nagios XI exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/nagiosxi/includes/components/profile/profile.php"; http.uri; content:"cmd=download"; reference:url,poc.griffinguard.io/cve/CVE-2019-15949; classtype:web-application-attack; sid:9787983; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-15949 Nagios Nagios XI exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/nagiosxi/login.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-15949; classtype:web-application-attack; sid:9559180; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-15949 Nagios Nagios XI exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/nagiosxi/admin/monitoringplugins.php"; http.request_body; content:"upload=1"; http.request_body; content:"nsp="; http.request_body; content:"MAX_FILE_SIZE=20000000"; reference:url,poc.griffinguard.io/cve/CVE-2019-15949; classtype:web-application-attack; sid:9122351; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-15949 Nagios Nagios XI exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/nagiosxi/login.php"; http.request_body; content:"username="; http.request_body; content:"password="; http.request_body; content:"pageopt=login"; http.request_body; content:"nsp="; reference:url,poc.griffinguard.io/cve/CVE-2019-15949; classtype:web-application-attack; sid:9814324; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Nagios Nagios XI exploit attempt (CVE-2019-15949)
id: gg-pocmon-cve-2019-15949-9836679
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-15949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-15949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/nagiosxi/admin/monitoringplugins.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.15949
title: Nagios Nagios XI exploit attempt (CVE-2019-15949)
id: gg-pocmon-cve-2019-15949-9787983
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-15949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-15949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/nagiosxi/includes/components/profile/profile.php'
cs-uri-query|contains|all:
- 'cmd=download'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.15949
title: Nagios Nagios XI exploit attempt (CVE-2019-15949)
id: gg-pocmon-cve-2019-15949-9559180
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-15949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-15949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/nagiosxi/login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.15949
title: Nagios Nagios XI exploit attempt (CVE-2019-15949)
id: gg-pocmon-cve-2019-15949-9122351
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-15949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-15949
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/nagiosxi/admin/monitoringplugins.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.15949
title: Nagios Nagios XI exploit attempt (CVE-2019-15949)
id: gg-pocmon-cve-2019-15949-9814324
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-15949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-15949
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/nagiosxi/login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.15949