This module exploits CVE-2022-28219, which is a pair of vulnerabilities in ManageEngine ADAudit Plus versions before build 7060: a path traversal in the /cewolf endpoint, and a blind XXE in, to upload and execute an executable file.
Windows
cmd
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_adaudit_plus_cve_2022_28219
msf exploit(manageengine_adaudit_plus_cve_2022_28219) > show targets
...targets...
msf exploit(manageengine_adaudit_plus_cve_2022_28219) > set TARGET < target-id >
msf exploit(manageengine_adaudit_plus_cve_2022_28219) > show options
...show and set options...
msf exploit(manageengine_adaudit_plus_cve_2022_28219) > 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