Rapid7 Vulnerability & Exploit Database

ManageEngine ADSelfService Plus CVE-2021-40539

Back to Search

ManageEngine ADSelfService Plus CVE-2021-40539

Disclosed
09/07/2021
Created
11/25/2021

Description

This module exploits CVE-2021-40539, a REST API authentication bypass vulnerability in ManageEngine ADSelfService Plus, to upload a JAR and execute it as the user running ADSelfService Plus - which is SYSTEM if started as a service.

Author(s)

  • Antoine Cervoise
  • Wilfried Bécard
  • mr_me
  • wvu <wvu@metasploit.com>

Platform

Java

Architectures

java

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

;