Skip to content

CVE-2024-21887: Ivanti Connect Secure & Policy Secure Web Component Command Injection

Density:
C-Level Executive Briefing CVE-2024-21887 CRITICAL SCORE 99/100

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.

HYBRID

HERMES THREAT SCORE & ENTERPRISE PERIMETER EVALUATION

Target: Ivanti Connect Secure (ICS) & Policy Secure (IPS) โ€” /api/v1/license/keys-status/ Python backend dispatcher
Confidence: 98%
99 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 20 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
โš–๏ธ Divergence & Operational Rationale

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.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2024-21887: Ivanti Connect Secure & Policy Secure Web Component Command InjectionVULNERABILITY

Connected Nodes: 2
Active Relationships (Outgoing)
→ affectsPRODUCTIvanti Connect Secure VPN
98% VERY_HIGH

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.”

Supporting Verified Evidence:
→ usesATTACK TECHNIQUET1059: Command and Scripting Interpreter
90% 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.”

Supporting Verified Evidence:

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.


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:#ffffff
Target Endpoint : /api/v1/license/keys-status/ Python backend dispatcher
Vulnerability Class: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
MITRE ATT&CK Map : T1059.004 - Unix Shell
Impacted Versions : 9.0 through 22.6R2.1
Remediation Target: Fixed in 22.6R2.2

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.

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";
)

  1. Apply Vendor Patch Immediately: Upgrade affected installations to 22.6R2.2 or later following official Ivanti security advisories.

  2. 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.

  3. 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.