Ivantis Wild West Wrangling The Command Injection Bug Cve 2024 21887
A command injection flaw exists in the web components of Ivanti Connect Secure and Policy Secure, allowing an authenticated administrator to execute arbitrary commands on the appliance. The text also describes using Shodan and Nuclei to find vulnerable devices, but does not provide technical details of the injection itself.
Published on systemweakness.com
In the world of network security, there’s nothing quite like a vulnerability that turns a secure connection into an all-you-can-hack buffet. That’s precisely what CVE-2024–21887 brings to the table — a command injection vulnerability lurking in the web components of Ivanti Connect Secure and Ivanti Policy Secure.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the web interface fails to properly sanitise user-supplied input before passing it to a system command, allowing command injection.
Impact
An authenticated administrator could execute arbitrary commands on the appliance, and the risk increases if an admin account is compromised or permissions are misused.
What the attacker needed
Authenticated administrator access; network reachability to the appliance
The fix
The text advises patching the systems and keeping a close eye on who has admin access, but does not state that a fix has been applied.
How it was found
- Use a Shodan query to find Ivanti Connect Secure or Policy Secure devices.
- Run a custom Nuclei template to check which devices are vulnerable.
- Use publicly available exploits or custom scripts to simulate an attack in a controlled environment.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is about a security hole in some corporate network appliances made by Ivanti. Someone who is already logged in as an administrator can send a specially crafted request that makes the device run commands of their choosing, which could let them take over the device. The text also shows how to search for such devices online, but it does not explain the exact technical trick.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.