Critical Pre-Auth RCE in Ivanti Endpoint Manager Agent Portal
Vulnerability Disclosure · 3 sources · Updated 4mo ago · First seen Sep 16, 2024

Ivanti disclosed and patched multiple vulnerabilities in Endpoint Manager (EPM), led by CVE-2024-29847, a critical unauthenticated remote code execution flaw in the Agent Portal service affecting versions prior to EPM 2022 SU6 and the 2024 September update. Ivanti rated the deserialization bug CVSS 10.0 and said it could let remote attackers execute code without authentication; the September advisory also listed additional weaknesses including XXE, multiple SQL injection flaws that could lead to RCE, authentication issues in Network Isolation and Patch Management, API secret exposure, spoofing of isolation status, and a local privilege escalation bug in the EPM agent.
Technical analysis of CVE-2024-29847 said the vulnerable Agentportal.exe service exposed a .NET Remoting TCP endpoint with a dynamically assigned port and no transport security, allowing insecure deserialization against the LANDesk.AgentPortal.IAgentPortal interface. The researcher reported that exploitation remained possible even with the .NET Remoting type filter set to Low, adapting prior techniques to bypass remoting restrictions, gain code execution, and write an ASP.NET web shell into a public IIS application directory; the writeup further claimed the compromise could be escalated from the IIS application pool context to NT AUTHORITY\SYSTEM by abusing leaked token handles in the worker process.


