Rapid7 Vulnerability & Exploit Database

Nagios XI Magpie_debug.php Root Remote Code Execution

Back to Search

Nagios XI Magpie_debug.php Root Remote Code Execution

Disclosed
11/14/2018
Created
06/26/2019

Description

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.

Author(s)

  • Chris Lyne ( <Chris Lyne (@lynerc)>
  • Guillaume André ( <Guillaume André (@yaumn_)>
  • bcoles <bcoles@gmail.com>

Platform

Linux

Architectures

x86, x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;