What is Ivanti Connect Secure?
Ivanti Connect Secure (ICS, formerly Pulse Secure) is one of the most widely deployed SSL-VPN platforms globally, used by enterprises, governments, critical infrastructure operators, and defense organizations to provide remote network access. ICS appliances sit at the network perimeter and process all remote access traffic, making them prime targets for nation-state actors who want persistent network access. A compromised ICS appliance allows attackers to intercept VPN traffic, harvest credentials, and move laterally into the internal network. ICS has been repeatedly targeted by Chinese APT actors — CVE-2019-11510, CVE-2021-22893, and now CVE-2023-46805/CVE-2024-21887.
Overview
CVE-2024-21887 is a command injection vulnerability (CWE-77) in the web components of Ivanti Connect Secure and Ivanti Policy Secure. When chained with CVE-2023-46805 (an authentication bypass in the same products), it enables unauthenticated remote code execution — an authenticated administrator can trigger the command injection, and the authentication bypass eliminates the authentication requirement. The chain was exploited as a zero-day by the Chinese state-sponsored group UNC5221 before Ivanti was aware of the vulnerabilities. Volexity discovered the active exploitation and notified Ivanti on January 10, 2024 — the same day CISA added it to the KEV catalog with a 12-day deadline, one of the fastest and shortest deadlines in KEV history.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Ivanti Connect Secure | 9.x, 22.x | 22.3R2.1, 22.4R2.2, 22.5R1.1, 22.5R2.2, 22.6R2.3+ |
| Ivanti Policy Secure | 9.x, 22.x | 22.4R2.2, 22.5R1.1, 22.6R1.1+ |
Initial mitigation (January 2024): Ivanti released an XML-based workaround to block the specific endpoint exploited in the chain before full patches were available.
Technical Details
CVE-2023-46805 (Authentication Bypass): An authentication bypass in the web component of ICS allows an attacker to access certain authenticated REST API endpoints without credentials by exploiting an insecure direct object reference or path-based bypass in the authentication middleware.
CVE-2024-21887 (Command Injection): Within the web management interface — specifically in an endpoint accessible to authenticated administrators — user-supplied input is incorporated into an OS command without sufficient sanitization (CWE-77). An authenticated attacker can inject additional shell commands that execute on the underlying Linux-based ICS appliance.
Combined exploit chain:
- Attacker uses CVE-2023-46805 to bypass authentication and reach the admin-only command injection endpoint
- Injects OS commands via CVE-2024-21887
- Commands execute as root on the ICS appliance
UNC5221 implants deployed post-exploitation:
- LIGHTWIRE: A web shell written in Perl embedded in the ICS web server
- ZIPLINE: A passive backdoor that hooks network functions to intercept specific traffic patterns
- THINSPOOL: A dropper that writes LIGHTWIRE to disk and establishes persistence
- WIREFIRE: A Python-based web shell
These implants were designed to persist through factory resets and system upgrades — a sophisticated persistence mechanism indicating advanced operator capability.
Discovery
Volexity discovered the active zero-day exploitation by UNC5221 while investigating network anomalies at one of their customers. Mandiant independently confirmed the campaign. Both published coordinated disclosure on January 10, 2024.
Exploitation Context
UNC5221 (assessed as a Chinese state-sponsored group) exploited this as a zero-day before any patch or public knowledge existed. Mass opportunistic exploitation by other threat actors followed the January 10 public disclosure, with thousands of ICS appliances targeted globally. CISA issued Emergency Directive 24-01 specifically for this vulnerability — one of the rare cases where CISA issues an ED rather than just a KEV listing — requiring all federal civilian agencies to apply mitigations within 48 hours.
By February 2024, security researchers estimated over 1,700 ICS appliances had been compromised, with victims including government agencies, defense contractors, banks, and telecommunications providers across the US, Europe, and Asia-Pacific.
Remediation
- Apply Ivanti Connect Secure patches per the official Ivanti KB article. Full patches began releasing February 1, 2024.
- Run Ivanti's Integrity Checker Tool (ICT) on all ICS appliances to detect post-exploitation artifacts — Ivanti provided a specific updated ICT for this campaign.
- Perform a factory reset before applying the patch if exploitation is suspected — the UNC5221 implants were designed to survive standard upgrades but not factory resets (of most versions).
- Rotate all credentials stored in or transmitted through ICS: VPN user passwords, SAML/LDAP credentials, RADIUS secrets, and any credentials used by services connected through the VPN.
- Revoke and reissue certificates associated with the ICS appliance.
- Monitor for the specific implant indicators published by Volexity and Mandiant (file hashes, web shell paths, C2 domains).
- Implement network monitoring to detect lateral movement from VPN-connected hosts post-compromise.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2024-21887 |
| Vendor / Product | Ivanti — Connect Secure and Policy Secure |
| NVD Published | 2024-01-12 |
| NVD Last Modified | 2025-10-31 |
| CVSS 3.1 Score | 9.1 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-77 find similar ↗ |
| CISA KEV Added | 2024-01-10 |
| CISA KEV Deadline | 2024-01-22 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2024-01-10 | Volexity and Mandiant publish research on active zero-day exploitation by UNC5221; CISA adds to KEV |
| 2024-01-12 | CVE-2024-21887 published; Ivanti releases initial mitigation (XML workaround) |
| 2024-01-22 | CISA BOD 22-01 remediation deadline (initial mitigation) |
| 2024-02-01 | Ivanti releases first patches for Connect Secure 22.3R2.1 and later |
References
| Resource | Type |
|---|---|
| Ivanti KB — CVE-2023-46805 and CVE-2024-21887 | Vendor Advisory |
| NVD — CVE-2024-21887 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Volexity — Active Exploitation of Two Zero-Day Vulnerabilities in Ivanti Connect Secure VPN | Security Research |
| Mandiant — Suspected APT Targets Ivanti Zero-Day Vulnerabilities | Security Research |