Patchfirst
CVE-2024-21887 KEVRansomwarePublic exploit Critical · 9.1 EPSS >99.9%

Ivanti Connect Secure and Policy Secure Command Injection Vulnerability

Ivanti · Connect Secure and Policy Secure

Summary

A command injection flaw in the web components of Ivanti Connect Secure and Ivanti Policy Secure lets an attacker execute arbitrary commands on the appliance. Exploitation requires that the attacker already holds administrator credentials on the affected device, which they can then use to send specially crafted requests over the network without any user interaction.

Official description · NVD

A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially crafted requests and execute arbitrary commands on the appliance.

Breakdown
88.4 / 100
Exploited
Yes, in CISA KEV
Reports
4
Tactics
4/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

  3. What can follow

First seen exploited 2 days before it was disclosed. Public exploit code (Metasploit) was available 2 days before disclosure.

  1. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVknown ransomware use; EU database agreesPublic exploit codeMetasploitFirst dated threat reportvolexity.com2 days before
  2. Disclosedday 0

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

4 , grouped by in kill-chain order, 1 cited passage 4

Initial AccessTA0001

MITRE CTID mapping of the KEV entry · how it is exploited

This vulnerability is exploited through a command injection weakness in the web components of Ivanti Connect Secure and Ivanti Policy Secure. Attackers leverage this vulnerability to achieve remote code execution by sending specially crafted requests to vulnerable instances, potentially without requiring authentication when combined with other vulnerabilities. This manipulation allows attackers to execute arbitrary commands on the appliance, potentially enabling further exploitation and system compromise. Threat actors have been reported as likely targeting credentials and the deployment of web shells to provide future access.

ExecutionTA0002

MITRE CTID mapping of the KEV entry · primary impact

PersistenceTA0003

Web Shell T1505.003
MITRE CTID mapping of the KEV entry · follow-on activity
Following the successful exploitation of CVE-2023-46805 (authentication bypass) and CVE-2024-21887 (command injection), UNC5221 leveraged multiple custom malware families including the ZIPLINE passive backdoor, THINSPOOL dropper, LIGHTWIRE web shell, and WARPWIRE credential harvester.
Ivanti Connect Secure VPN Targeted in New Zero-Day Exploitation cloud.google.com Original (opens in a new tab) ↗

Credential AccessTA0006

MITRE CTID mapping of the KEV entry · follow-on activity

Detection

0 rules for this CVE · 292 general rules for its techniques

Rules for this CVE

0 that reference CVE-2024-21887 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Exploit Public-Facing ApplicationT1190149 general rules
Command and Scripting InterpreterT105995 general rules
Web ShellT1505.00335 general rules
Unsecured CredentialsT155213 general rules

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 4 threat reports
4 reportsctid.mitre.orgVolexityCISA+1Jan 2024 – May 2024 · 2 undated

Reports are matched by finding the exact id CVE-2024-21887 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close