Rapid7 Vulnerability & Exploit Database

Pandora FMS Default Credential / SQLi Remote Code Execution

Back to Search

Pandora FMS Default Credential / SQLi Remote Code Execution

Disclosed
02/01/2014
Created
05/30/2018

Description

This module attempts to exploit multiple issues in order to gain remote code execution under Pandora FMS version <= 5.0 SP2. First, an attempt to authenticate using default credentials is performed. If this method fails, a SQL injection vulnerability is leveraged in order to extract the "Auto Login" password hash. If this value is not set, the module will then extract the administrator account's MD5 password hash.

Author(s)

  • Lincoln <Lincoln@corelan.be>
  • Jason Kratzer <pyoor@corelan.be>

Platform

PHP

Architectures

php

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/pandora_fms_sqli
msf exploit(pandora_fms_sqli) > show targets
    ...targets...
msf exploit(pandora_fms_sqli) > set TARGET < target-id >
msf exploit(pandora_fms_sqli) > show options
    ...show and set options...
msf exploit(pandora_fms_sqli) > 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

;