ManageEngine EventLog Analyzer < Build 12201 REST API Restriction Bypass RCE - Nessus

Critical   Plugin ID: 153848

This page contains detailed information about the ManageEngine EventLog Analyzer < Build 12201 REST API Restriction Bypass RCE Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 153848
Name: ManageEngine EventLog Analyzer < Build 12201 REST API Restriction Bypass RCE
Filename: manageengine_eventlog_analyzer_cve-2021-40539.nbin
Vulnerability Published: 2021-09-09
This Plugin Published: 2021-10-04
Last Modification Time: 2022-05-03
Plugin Version: 1.17
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: manageengine_eventlog_analyzer_detect.nbin
Required KB Items [?]: installed_sw/ManageEngine EventLog Analyzer

Vulnerability Information


Severity: Critical
Vulnerability Published: 2021-09-09
Patch Published: 2021-09-09
CVE [?]: CVE-2021-40539
CPE [?]: cpe:/a:zohocorp:manageengine_eventlog_analyzer
In the News: True

Synopsis

A log management application running on the remote host is affected by a remote code execution vulnerability.

Description

The ManageEngine EventLog Analyzer running on the remote host is affected by a security restriction bypass vulnerability due to improper validation of user-supplied data. An unauthenticated, remote attacker can exploit this, via a specially crafted message, to execute arbitrary code on the remote host.

Solution

Upgrade to EventLog Analyzer build 12201 or later.

Public Exploits


Target Network Port(s): 8400
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the ManageEngine EventLog Analyzer < Build 12201 REST API Restriction Bypass RCE vulnerability:

  1. Metasploit: exploit/windows/http/manageengine_adselfservice_plus_cve_2021_40539
    [ManageEngine ADSelfService Plus CVE-2021-40539]
  2. GitHub: https://github.com/Mr-xn/Penetration_Testing_POC
    [CVE-2021-40539]
  3. GitHub: https://github.com/r0eXpeR/supplier
    [CVE-2021-40539]
  4. GitHub: https://github.com/DarkSprings/CVE-2021-40539
    [CVE-2021-40539: CVE-2021-40539 POC]
  5. GitHub: https://github.com/synacktiv/CVE-2021-40539
    [CVE-2021-40539: Exploitation code for CVE-2021-40539]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2021-40539
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)

Go back to menu.

Plugin Source


The manageengine_eventlog_analyzer_cve-2021-40539.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2021-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/manageengine_eventlog_analyzer_cve-2021-40539.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\manageengine_eventlog_analyzer_cve-2021-40539.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/manageengine_eventlog_analyzer_cve-2021-40539.nbin

Go back to menu.

How to Run


Here is how to run the ManageEngine EventLog Analyzer < Build 12201 REST API Restriction Bypass RCE as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select CGI abuses plugin family.
  6. On the right side table select ManageEngine EventLog Analyzer < Build 12201 REST API Restriction Bypass RCE plugin ID 153848.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl manageengine_eventlog_analyzer_cve-2021-40539.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a manageengine_eventlog_analyzer_cve-2021-40539.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - manageengine_eventlog_analyzer_cve-2021-40539.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state manageengine_eventlog_analyzer_cve-2021-40539.nbin -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 153147 - ManageEngine ADSelfService Plus < build 6114 REST API Authentication Bypass
  • 154964 - ManageEngine ADSelfServicePlus Authentication Bypass (CVE-2021-40539)
  • 153636 - ManageEngine Log360 < Build 5229 REST API Restriction Bypass RCE
  • 153157 - ManageEngine ADManager Plus < 7111 RCE
  • 152680 - ManageEngine ADSelfService Plus < Build 6102 RCE
  • 84017 - ManageEngine Applications Manager FailOverHelperServlet 'fileName' Parameter Arbitrary File Disclosure
  • 144793 - ManageEngine Applications Manager REST API SQLi
  • 117639 - ManageEngine Desktop Central 10 < Build 100282 Remote Privilege Escalation
  • 134677 - ManageEngine Desktop Central 10 < Build 100479 Remote Code Execution
  • 139377 - ManageEngine Desktop Central < 10 Build 10.0.533 Integer Overflow
  • 82078 - ManageEngine Desktop Central statusUpdate Arbitrary File Upload RCE (intrusive check)
  • 82079 - ManageEngine Desktop Central Arbitrary File Upload and RCE (Safe Check)
  • 82080 - ManageEngine Desktop Central Remote Security Bypass (Intrusive Check)
  • 82081 - ManageEngine Desktop Central Remote Security Bypass
  • 82082 - ManageEngine Desktop Central < 9 build 90103 XSRF
  • 71217 - ManageEngine Desktop Central AgentLogUploadServlet Arbitrary File Upload RCE (intrusive check)
  • 71218 - ManageEngine Desktop Central AgentLogUploadServlet Arbitrary File Upload
  • 135293 - ManageEngine Desktop Central 10 < Build 100479 Remote Code Execution (direct check)
  • 77530 - ManageEngine DeviceExpert Unauthorized Information Disclosure
  • 58428 - ManageEngine DeviceExpert ScheduleResultViewer Remote Directory Traversal
  • 81402 - ManageEngine EventLog Analyzer 'agentHandler' Information Disclosure
  • 157290 - ManageEngine NCM < 12.5.465 SQLi
  • 81821 - ManageEngine NetFlow Analyzer Multiple Path Traversal and File Access
  • 81378 - ManageEngine OpManager Multiple Directory Traversal Vulnerabilities
  • 148307 - ManageEngine OpManager Smart Update Manager RCE
  • 81380 - ManageEngine OpManager Default Credentials
  • 80960 - ManageEngine Password Manager Pro 6.5 < 7.1 Build 7105 Blind SQL Injection
  • 80962 - ManageEngine Password Manager Pro < 7.0 Build 7003 SQL Injection
  • 63206 - ManageEngine Security Manager Plus 'f' Directory Traversal Arbitrary File Access
  • 143600 - ManageEngine ServiceDesk Plus < 10.0 Build 10012 Arbitrary File Upload
  • 155864 - ManageEngine ServiceDesk Plus < 11.3 Build 11306 / ManageEngine ServiceDesk Plus MSP < 10.5 Build 10530 RCE
  • 151286 - ManageEngine ServiceDesk Plus < 11.2 Build 11205 RCE
  • 55446 - ManageEngine ServiceDesk Plus FileDownload.jsp FILENAME Parameter Traversal Arbitrary File Access
  • 58976 - ManageEngine SupportCenter Plus < 7.9 Build 7905 Multiple Vulnerabilities
  • 72257 - ManageEngine SupportCenter Plus < 7.9 Build 7917 attach Parameter Directory Traversal

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file manageengine_eventlog_analyzer_cve-2021-40539.nbin version 1.17. For more plugins, visit the Nessus Plugin Library.

Go back to menu.