Rapid7 Vulnerability & Exploit Database

ManageEngine EventLog Analyzer Remote Code Execution

Back to Search

ManageEngine EventLog Analyzer Remote Code Execution

Disclosed
07/11/2015
Created
05/30/2018

Description

This module exploits a SQL query functionality in ManageEngine EventLog Analyzer v10.6 build 10060 and previous versions. Every authenticated user, including the default "guest" account can execute SQL queries directly on the underlying Postgres database server. The queries are executed as the "postgres" user which has full privileges and thus is able to write files to disk. This way a JSP payload can be uploaded and executed with SYSTEM privileges on the web server. This module has been tested successfully on ManageEngine EventLog Analyzer 10.0 (build 10003) over Windows 7 SP1.

Author(s)

  • xistence <xistence@0x90.nl>

Platform

Windows

Architectures

x86

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

;