Ivanti Avalanche PrinterDeviceServer Service Command Injection Remote Code Execution Vulnerability
The runAgentRestarter method in Ivanti Avalanche fails to validate user-supplied input before using it in a system call, allowing command injection. An attacker who can bypass authentication can execute arbitrary code as the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Avalanche. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the runAgentRestarter method passes user-controlled input directly to a system call without sanitisation or validation.
Impact
An attacker could execute arbitrary code with the privileges of the service account, but authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Authentication bypass; network access to the service
The fix
The vulnerability was fixed in version Avalanche 6.3.3.
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 report has not been written yet. The Original tab links to the source.
This is a command injection bug: the software takes a string from a user and passes it to the operating system to run as a command, without checking it. An attacker can sneak in extra commands, so the server runs their code too. The attacker first needs to get past the login, but the report says that protection can be bypassed.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.