Skip to content
File upload Advisory Advanced CVE-2021-42133

Ivanti Avalanche EnterpriseServer Service Unrestricted File Upload Remote Code Execution Vulnerability

The saveConfig method in Ivanti Avalanche EnterpriseServer does not properly validate user-supplied data, allowing an attacker to upload arbitrary files. An attacker could leverage this to execute code in the context of the service account, though authentication is required and the existing authentication mechanism can be bypassed.

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 saveConfig method accepts uploaded files without validating their type or content, allowing arbitrary files to be written and later executed.

Impact

An attacker could execute arbitrary code on the server under the service account, but authentication is required and the existing authentication mechanism can be bypassed.

What the attacker needed

Authentication (bypassable); network access to the service

The fix

The vulnerability was fixed in 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.

This is a file upload bug in a server program. The program lets someone send files to it but does not check what kind of file it is. An attacker can send a harmful file and then make the server run it, which gives them control of the server.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

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.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.