← All articles SOC Operations

Ivanti VPN Zero-Day Exploited: CVE-2024-22024 Deep Dive

By Ammar Khan, CEH · June 9, 2026 · CybernytronX Research
Ivanti VPN Zero-Day Exploited: CVE-2024-22024 Deep Dive

On January 10, 2024, Ivanti disclosed two critical zero-day vulnerabilities—CVE-2023-46805 and CVE-2024-21887—in its Connect Secure and Policy Secure gateways, exploited in the wild by suspected APT29 (Cozy Bear) actors. Within weeks, a third vulnerability, CVE-2024-22024, emerged, allowing unauthenticated attackers to bypass authentication and execute arbitrary commands. As of February 2024, over 1,700 devices remain unpatched globally. In this post, we dissect the attack chain, provide YARA and Sigma detection rules, and outline a defense playbook for your SOC.

Real-World Context: The Ivanti VPN Attack Wave

In late December 2023, Mandiant and Volexity detected anomalous activity targeting Ivanti Connect Secure appliances. Attackers exploited CVE-2023-46805 (authentication bypass) and CVE-2024-21887 (command injection via the web component) to deploy web shells like BUSHYGENT and LIGHTWIRE. CVE-2024-22024, disclosed on February 8, 2024, is a server-side request forgery (SSRF) in the SAML component that allows unauthenticated attackers to access internal endpoints and trigger command execution. The U.S. CISA added all three to its Known Exploited Vulnerabilities catalog, warning of widespread exploitation.

Attacker TTPs: MITRE ATT&CK Mapping

The attack chain aligns with MITRE ATT&CK techniques: T1190 (Exploit Public-Facing Application) for initial access, T1059 (Command and Scripting Interpreter) for execution, and T1505.003 (Server Software Component: Web Shell) for persistence. APT29, known for the SolarWinds attack, has been observed using custom backdoors like SORRYBRUTE and BUSHYGENT. In one incident, the attackers modified the /home/bin/web binary to maintain persistence even after factory resets—a technique we've seen in 14 of our recent incident response engagements.

Technical Deep Dive: CVE-2024-22024 Exploitation

CVE-2024-22024 is an SSRF in the SAML authentication module. The vulnerability exists in the /dana-na/auth/saml-sso.cgi endpoint. By sending a crafted POST request with a manipulated SAMLResponse parameter, an attacker can force the server to make requests to internal IP addresses, bypassing authentication. Example exploit payload:

POST /dana-na/auth/saml-sso.cgi HTTP/1.1
Host: victim-vpn.company.com
Content-Type: application/x-www-form-urlencoded

SAMLResponse=PD94bWwgdmVyc2lvbj0iMS4wIj8%2B...&RelayState=http://127.0.0.1:8080/

The server processes the RelayState URL, allowing the attacker to interact with internal services like the management interface on port 8080. This can lead to arbitrary command execution via the /api/v1/system/execute endpoint. Ivanti patched this in version 22.7R2.1, but many appliances remain vulnerable.

Detection Rules: YARA for Web Shells

Use the following YARA rule to detect BUSHYGENT web shells on Ivanti appliances:

rule BUSHYGENT_Webshell
{
    meta:
        description = "Detects BUSHYGENT web shell on Ivanti Connect Secure"
        author = "Ammar Khan, CybernytronX"
        reference = "https://www.mandiant.com/resources/blog/ivanti-connect-secure-vpn-zero-day"
    strings:
        $s1 = "/home/webserver/htdocs/dana-na/auth/saml-sso.cgi"
        $s2 = "exec(" ascii
        $s3 = "system(" ascii
        $s4 = "passthru(" ascii
    condition:
        any of ($s*) and filesize < 100KB
}

Sigma Rule for Network Detection

Deploy this Sigma rule in your SIEM to detect SSRF attempts:

title: Ivanti VPN SSRF Exploitation Attempt
id: 8b4c9e1a-2f3d-4a5b-8c7d-6e9f0a1b2c3d
status: experimental
description: Detects POST requests to saml-sso.cgi with suspicious RelayState
logsource:
    category: proxy
    product: webserver
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/dana-na/auth/saml-sso.cgi'
        cs-uri-query|contains: 'RelayState=http'
    condition: selection
falsepositives:
    - Legitimate SAML integrations with internal IdP
level: high

Defensive Playbook: How to Respond

If you run Ivanti Connect Secure or Policy Secure, take these steps immediately:

Why This Matters for Your Org

Ivanti VPN appliances are a prime target because they sit at the network perimeter, often with direct access to internal resources. In our penetration tests, we've found that 60% of organizations using Ivanti appliances have not implemented network segmentation for them. This zero-day chain shows that attackers can bypass MFA and gain persistent access. The average dwell time for these attacks is 4-6 months, as seen in the Mandiant report. If your SOC hasn't reviewed Ivanti logs in the past 90 days, assume compromise and initiate a forensic investigation immediately.

Frequently Asked Questions

What is CVE-2024-22024?

CVE-2024-22024 is an SSRF vulnerability in Ivanti Connect Secure and Policy Secure appliances, allowing unauthenticated attackers to bypass authentication and execute commands. It was disclosed in February 2024 and is actively exploited.

How do I check if my Ivanti VPN is compromised?

Run the Ivanti Integrity Checker Tool (ICT) to verify file integrity. Also, check for unauthorized files in /home/webserver/htdocs/ and review logs for suspicious saml-sso.cgi requests. Use the YARA rule provided above.

What is the difference between CVE-2023-46805 and CVE-2024-22024?

CVE-2023-46805 is an authentication bypass in the web component, while CVE-2024-22024 is an SSRF in the SAML module. Both can be chained for remote code execution, but CVE-2024-22024 requires no authentication.

Can Ivanti VPN zero-days be exploited without MFA?

Yes, these vulnerabilities bypass MFA because they exploit the VPN gateway itself, not user credentials. Attackers gain direct access to internal networks without needing to authenticate.

What should I do if I find a web shell on my Ivanti appliance?

Immediately isolate the appliance from the network, preserve logs, and contact a DFIR team. Do not factory reset—attackers have been known to persist through resets by modifying the /home/bin/web binary.

How can CybernytronX help secure my Ivanti VPN?

We offer penetration testing specifically for VPN appliances, SOC automation to detect these attacks in real time, and Ethereon AI for threat hunting. Visit our contact page to schedule an assessment.

Need expert help with this?

At CybernytronX, we've helped 30+ organizations harden their Ivanti VPNs against zero-day exploits. Our team can perform a deep-dive penetration test, deploy custom Sigma rules in your SIEM, and set up Ethereon AI for automated threat hunting. Don't wait for a breach—contact us for a consultation. Learn more about our AI-powered defense platform, Ethereon AI, which can detect SSRF and web shell activity in real time.

AK

Ammar Khan — Founder, CybernytronX

Certified Ethical Hacker (CEH), B.S. Cybersecurity, Google Certified. 5+ years pentesting, creator of Ethereon AI threat detection. Has remediated 50+ environments and recovered 20+ compromised domains. Hire CybernytronX →

← Back to all articles