Authenticated command injection, chained with CVE-2023-46805 for unauthenticated access.
Exploitation attempts
11,326peak 1,866 at 21 Sept
20 Sept23 Sept26 Sept
Top attacking sources · 7d
Customers only
185.220.101.34DETor exit412
45.155.205.233RUHosting287
103.203.57.10VNResidential164
91.240.118.172NLHosting119
162.243.140.96USCloud74
What it does
A command injection in the web components of Ivanti Connect Secure allows an authenticated administrator to execute arbitrary commands on the appliance.
In practice it is chained with CVE-2023-46805, an authentication bypass, so that no credentials are required. The pair was exploited as a zero-day by a suspected China-nexus actor to deploy web shells and harvest credentials.
Ivanti's initial mitigation XML was itself bypassed, and later patches required a factory reset before installation.
Remediation
Apply the latest Ivanti patch for your release train and perform the factory reset Ivanti recommends before patching.
Run the external Integrity Checker Tool; the internal ICT was shown to be unreliable on compromised appliances.
Rotate any secrets stored on or passing through the appliance, including domain credentials used for LDAP binds.
Enumeration
Detection templates and scanners you can run to find exposed instances on your own attack surface.
Nuclei
http/cves/2024/CVE-2024-21887.yaml
$ nuclei -id CVE-2024-21887 -u https://TARGET
Detection
Exploitation
Working exploit modules and public PoCs. Use only against systems you own or are authorized to test.