Ivanti EPM RCE via .NET Remoting Deserialization (CVE-2024–298
The AgentPortal service in Ivanti EPM uses .NET Remoting with secure mode disabled and a low type filter level, allowing insecure deserialization. An unauthenticated network attacker can send a crafted serialized payload to execute arbitrary code on the server without user interaction.
Published on medium.com
This post explains the root cause, exploit potential, and how to mitigate the risk. If you’re running Ivanti EPM, patching this should be your top priority.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the .NET Remoting channel was configured with security disabled and a low type filter level, which permits unsafe deserialization of attacker-controlled data.
Impact
An attacker could achieve remote code execution, gain full control of the EPM server, exfiltrate sensitive data, and deploy ransomware or malware across managed endpoints.
What the attacker needed
Network access to AgentPortal service; no authentication required; no user interaction required
The fix
Ivanti released patches: upgrade EPM 2022 to SU6 or newer and EPM 2024 to the September 2024 Update or later; as a workaround, restrict network access to the AgentPortal service.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a flaw in how a server program accepts data from the network. The program trusts the data too much and can be tricked into running harmful code just by receiving a specially crafted message, without needing a password or any action from a user.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.