Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Ivanti EPM Agent Portal Command Execution

Disclosed
Jun 7, 2023
Created
Nov 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.

Authors

James Horseman
Zach Hanley
Spencer McIntyre

Platform

Windows

Architectures

cmd

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.