Skip to content
RCE Advisory Advanced CVE-2021-42127

Ivanti Avalanche StatServer Service Deserialization of Untrusted Data Remote Code Execution Vulnerability

The StatServer service in Ivanti Avalanche deserialises untrusted user-supplied data without proper validation. An attacker who can bypass authentication could execute arbitrary code as the service account.

Piotr Bazydło Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

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.

Piotr Bazydlo (@chudypb), on the Zero Day Initiative

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 StatServer service deserialises user-supplied data without validating it, allowing crafted input to instantiate dangerous objects.

Impact

An attacker could execute arbitrary code in the context of the service account, though authentication is required and the existing mechanism can be bypassed.

What the attacker needed

Authentication bypass; network access to StatServer

The fix

It was fixed in Avalanche version 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.

Deserialisation is when a program turns stored data back into objects; if that data is untrusted, an attacker can craft it to run their own code. Here the StatServer service did this without checking the data properly, so an attacker could take over the service account. Authentication is needed but the report says it 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.

More by Piotr Bazydło

View all

37 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.