Rapid7 Vulnerability & Exploit Database

Ivanti EPM Agent Portal Command Execution

Back to Search

Ivanti EPM Agent Portal Command Execution

Disclosed
06/07/2023
Created
11/21/2024

Description

This module leverages an unauthenticated RCE in Ivanti's EPM Agent Portal where a RPC client can invoke a method which will run an attacker-specified string on the remote target as NT AUTHORITY\SYSTEM. This vulnerability is present in versions prior to EPM 2021.1 Su4 and EPM 2022 Su2.

Author(s)

  • James Horseman
  • Zach Hanley
  • Spencer McIntyre

Platform

Windows

Architectures

cmd

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

;