Ivanti's Latest Clown Show: Your VPN Gateway Just Got RCE'd (Again)
Back to Blog
Vulnerability
Jun 04, 20268 min read

Ivanti's Latest Clown Show: Your VPN Gateway Just Got RCE'd (Again)

S
Shubham Singla

Remember that secure VPN gateway you meticulously deployed? The one you hoped would be the impenetrable fortress keeping the bad guys out? Yeah, about that. Ivanti, bless their hearts, just dropped another batch of critical vulnerabilities, turning your perimeter appliance into a welcome mat for anyone with a half-decent exploit kit. It's not just a flaw; it's a pattern, and frankly, I'm tired of seeing it.

An abstract illustration of a compromised network pipeline, with red lines indicating data breaches and a broken lock symbol.

The Flaws Themselves: What Broke This Time?

Let's cut straight to the chase. We're talking about CVE-2024-21894 and CVE-2024-21888. These aren't just minor annoyances; they're the kind of vulnerabilities that make security teams collectively groan because they know what's coming next: a mad scramble to patch, then forensic sweeps, then the inevitable incident response reports.

First up, CVE-2024-21894. This is the big kahuna: a command injection vulnerability in the Ivanti Connect Secure and Policy Secure gateways. Specifically, it affects the SAML component. For those playing along at home, SAML is how your VPN usually handles single sign-on. Finding a command injection here means an unauthenticated attacker can execute arbitrary commands on your appliance. Think about that for a second. An unauthenticated RCE on your perimeter device. It's like your bouncer not only letting everyone in but also giving them the master key to the server room.

Then we have CVE-2024-21888, an authentication bypass. Also in the SAML component. While not an RCE on its own, it's often chained with other flaws or used for initial access. It allows an attacker to bypass authentication, potentially setting them up for further compromise. Combined with 21894, it's a deadly duo. You bypass auth, then inject commands. Game over.

These aren't fresh faces either. They're part of a recurring saga. Remember CVE-2023-46805, CVE-2024-21887, and CVE-2024-22024? This is just the latest chapter in Ivanti's 'How to Get Pwned' series. Threat actors, particularly state-sponsored groups (APTs), have been all over these for months. They know these devices are low-hanging fruit.

The Impact: From Perimeter to Persistence

So, an attacker gets RCE on your VPN gateway. What's next? Well, if they're any good, they're not just going to stop at saying 'hello.' This is a prime beachhead for T1190: Exploit Public-Facing Application. From there, they'll be looking for persistence, lateral movement, and data exfiltration. Think of your VPN gateway as the main artery into your network. Once compromised, they have a direct line to your internal resources.

We've seen threat actors leverage these kinds of vulnerabilities to dump credentials, establish web shells (T1505.003: Server Software Component: Web Shell), tunnel traffic, and move deeper into networks. Mandiant and Volexity have been tracking groups like UNC5221 specifically exploiting these Ivanti flaws to compromise networks and maintain long-term access. It's not hypothetical; it's happening right now to organizations globally.

The typical kill chain here looks something like this:

  1. Initial Access: Exploit CVE-2024-21894 (or similar Ivanti RCE) on the exposed VPN gateway.
  2. Execution: Run commands to establish persistence, often by deploying web shells or modifying system files.
  3. Credential Access: Dump hashes from the local system or gain access to VPN credentials.
  4. Lateral Movement: Use stolen credentials or established tunnels to move deeper into the internal network.
  5. Data Exfiltration: Steal sensitive data.
A server rack glowing ominously red, symbolizing a critical security breach.

Why Ivanti? A Pattern of Pain

At some point, you have to ask: why Ivanti again? Is it just bad luck, or is there something fundamentally problematic here? Perimeter devices, by their very nature, are exposed. They sit at the edge, taking the brunt of every script kiddie and APT group's probing. This makes them high-value targets. Vendors building these devices need to have security baked in from day one, with rigorous testing and a transparent vulnerability disclosure process.

"You can't keep selling a supposedly 'secure' appliance that keeps getting turned into a backdoor. At some point, the market has to react."

The issue isn't just the flaws themselves, but the patching process. These are often out-of-band updates, meaning they don't align with your regular Patch Tuesday routine. This forces security teams into reactive sprints, disrupting planned maintenance, and often leading to deployment delays. And let's not forget the initial advice around workarounds that sometimes proved insufficient. It's a lifecycle of pain.

What's Next? Your Action Plan (No BS)

Enough complaining. Here's what you need to do, yesterday:

  1. Patch Immediately (and Verify): If you're running any Ivanti Connect Secure or Policy Secure gateways, drop everything and apply the latest patches. This isn't optional. Verify the patches actually took. Don't trust the GUI; check the logs, check the versions.
  2. Hunt for Compromise: Don't assume you're safe just because you patched. Threat actors often gain persistence before patches are available or applied. Look for Indicators of Compromise (IoCs). Mandiant and Ivanti themselves have published lists of suspicious file paths, processes, and network activity. Use tools like grep on your logs for unusual access patterns, or check for unexpected cron jobs or service accounts.
  3. Network Segmentation: Isolate these devices as much as humanly possible. Treat them as if they're already compromised. Limit their access to your internal network to only what's absolutely necessary. If your VPN gateway can talk to your domain controller directly, you're doing it wrong.
  4. Strong Authentication Everywhere: While these specific flaws bypass authentication, MFA is still your best friend for everything else. Assume if they get in, they're going to try to steal credentials.
  5. Consider Alternatives: Seriously, evaluate your architecture. Are these perimeter-centric VPNs still serving your security posture, or are they becoming a liability? Explore Zero Trust Network Access (ZTNA) solutions or other VPN-less architectures that reduce your exposed attack surface. Sometimes, the best patch is a completely different vendor.