CVE-2024-21887 Ivanti Connect Secure and Policy Secure Command Injection

Exploited in the wild Critical 9.1 Published Updated

An authenticated administrator can execute arbitrary commands on Ivanti Connect Secure and Policy Secure appliances via crafted web requests.

Exploited in the wild
Since 10 Jan 2024
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-21887?

CVE-2024-21887 is a critical command injection vulnerability in Ivanti Connect Secure, published on 12 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-77

Which versions are affected by CVE-2024-21887?

It affects 2 products.

Products include Ivanti Connect Secure, Ivanti Policy Secure.

How do I fix CVE-2024-21887?

No fix has been published for CVE-2024-21887 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 22 Jan 2024.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-21887 being exploited?

Yes. Attackers have exploited CVE-2024-21887 in the wild since at least 10 Jan 2024, including in ransomware campaigns.

Public exploit code: 2 Metasploit modules, 1 Nuclei template and 8 proofs of concept on GitHub.

All Ivanti Connect Secure vulnerabilities

Sources

Also known as GHSA-87qj-c5f7-6c8q.

Is CVE-2024-21887 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free