CVE-2024-21887 in ivanti connect secure
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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.
Affected software: ivanti connect secure, ivanti policy secure
Scores
- CVSS: 9.1 (critical)
- EPSS: 100.00% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2024-01-10, used in ransomware
- Published: 2024-01-12
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Patch Ivanti Connect Secure and Policy Secure for the January 2024 chain (CVE-2023-46805, CVE-2024-21887, CVE-2024-21893)
Patch or upgrade. The Ivanti patches close the auth bypass, command injection and SAML SSRF that were chained for unauthenticated root access; the integrity checker shows whether a gateway was already hit.
Applies to: Ivanti Connect Secure 9.x and 22.x, Policy Secure 9.x and 22.x, Neurons for ZTA
- Run the external Integrity Checker Tool on every Connect Secure and Policy Secure gateway first.
- If it reports new or mismatched files, factory reset the appliance before patching and rotate all secrets on it.
- Install the fixed release for your train (for example 9.1R14.4, 22.4R2.2, 22.5R1.1 or later) from the Ivanti portal.
- Until patched, import the mitigation XML file from the Ivanti KB.
- Run the integrity checker again after the upgrade.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.