CVE-2024-21887: Ivanti Connect Secure & Policy Secure Web Component Command Injection
A command injection vulnerability in the web components of Ivanti Connect Secure and Policy Secure allows authenticated administrators or unauthenticated attackers (when chained with CVE-2023-46805) to execute arbitrary commands with root privileges.
HERMES THREAT SCORE & ENTERPRISE PERIMETER EVALUATION
Target:Ivanti Connect Secure (ICS) & Policy Secure (IPS) โ /api/v1/license/keys-status/ Python backend dispatcher CVSS v3.1 rates this advisory at 9.1 (CRITICAL). The Hermes Threat Score elevates this to 99 (CRITICAL) due to perimeter criticality, confirmed active exploitation tracked in CISA KEV, and high utility in multi-stage lateral movement chains.
CVE-2024-21887: Ivanti Connect Secure & Policy Secure Web Component Command InjectionVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Ivanti Connect Secure VPN documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Adversaries abuse command and script interpreters (Bash, Python, PowerShell) to execute arbitrary commands.
๐ Why is this related? (Evidence & Provenance)
“Attack execution telemetry aligns with MITRE ATT&CK technique T1059.”
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Executive Summary
Section titled โExecutive SummaryโThe vulnerability catalogued as CVE-2024-21887 is a critical security flaw affecting Ivanti Connect Secure (ICS) & Policy Secure (IPS). Disclosed with a CVSS v3.1 score of 9.1, it targets the applianceโs /api/v1/license/keys-status/ Python backend dispatcher. Given its confirmed in-the-wild exploitation, the Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2024-21887 to the Known Exploited Vulnerabilities (KEV) catalog.
Exploitation of CVE-2024-21887 allows threat actors to compromise perimeter boundaries, bypass security controls, and obtain unauthorized access to internal resources without valid credentials or by leveraging compromised administrative workflows.
Technical Vulnerability Mechanics
Section titled โTechnical Vulnerability MechanicsโRoot Cause Analysis & Architectural Flaw
Section titled โRoot Cause Analysis & Architectural FlawโThe architectural sink in CVE-2024-21887 resides within /api/v1/license/keys-status/ Python backend dispatcher. The appliance fails to properly enforce security bounds under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'):
flowchart TD subgraph External["External Threat Actor"] Req["Crafted Network Request<br/>(Targeting /api/v1/license/keys-status/ Python backend dispatcher)"] end
subgraph Appliance["Ivanti Connect Secure (ICS) & Policy Secure (IPS)"] Gate["Outer Web Dispatcher / Listener"] Req --> Gate Gate --> VulnEngine{"Vulnerable Component<br/>(CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'))"} VulnEngine -- "Exploit Trigger" --> PrivContext["Elevated Execution / Bypass Sink"] end
subgraph InternalNet["Corporate Enterprise Enclave"] PrivContext --> Pivot["Credential Theft / Active Directory Ingress / Lateral Movement"] end
style VulnEngine fill:#ff4d4d,stroke:#990000,color:#ffffff style PrivContext fill:#ff1a1a,stroke:#800000,color:#ffffffAttack Flow & Component Reconstruction
Section titled โAttack Flow & Component ReconstructionโTarget Endpoint : /api/v1/license/keys-status/ Python backend dispatcherVulnerability Class: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')MITRE ATT&CK Map : T1059.004 - Unix ShellImpacted Versions : 9.0 through 22.6R2.1Remediation Target: Fixed in 22.6R2.2Threat Intelligence & Incident Response
Section titled โThreat Intelligence & Incident ResponseโExploitation Context & APT Threat Actor Tracking
Section titled โExploitation Context & APT Threat Actor TrackingโMultiple advanced persistent threat (APT) groups, including UNC5221 and state-sponsored espionage clusters, actively weaponized CVE-2024-21887 in global intrusion campaigns against defense, telecommunications, and critical infrastructure entities.
Forensic Indicators & Detection Engineering
Section titled โForensic Indicators & Detection Engineeringโalert ip any any -> $HOME_NET any ( msg:"HERMES - Ivanti Security Advisory (CVE-2024-21887) Exploit Activity Detected"; flow:established,to_server; content:"CVE-2024-21887"; nocase; classtype:attempted-admin; sid:202621887; rev:1; metadata:cve CVE-2024-21887, affected_product "ivanti:connect_secure";)title: Ivanti CVE-2024-21887 Exploitation Activityid: 18870000-ivanti-cve-2024-21887-rulestatus: experimentaldescription: Detects exploitation attempts targeting CVE-2024-21887 on Ivanti Connect Secure (ICS) & Policy Secure (IPS).references: - https://nvd.nist.gov/vuln/detail/CVE-2024-21887author: Hermes Threat Intelligencedate: 2026/10/16logsource: category: webserverdetection: selection: cs-uri-stem|contains: - '/api/v1/license/keys-status/' condition: selectionlevel: criticaltags: - attack.initial_access - attack.t1190 - cve.cve-2024-21887Remediation & Hardening Directives
Section titled โRemediation & Hardening Directivesโ-
Apply Vendor Patch Immediately: Upgrade affected installations to 22.6R2.2 or later following official Ivanti security advisories.
-
Run Appliance Integrity Checker Tool (ICT): Execute the external and internal Integrity Checker Tools provided by Ivanti to detect unauthorized filesystem alterations, dropped webshells, or manipulated hashes.
-
Revoke Active Sessions & Rotate Credentials: Terminate all active user and administrator sessions. Rotate LDAP, Active Directory service account secrets, and SSL/TLS certificates configured on the appliance.