Skip to content
File upload Advisory Advanced CVE-2024-23534

Ivanti Avalanche getMasterAdhocCollectionsPath Unrestricted File Upload Remote Code Execution Vulnerability

The getMasterAdhocCollectionsPath method in Ivanti Avalanche fails to properly validate user-supplied data, allowing an authenticated attacker to upload arbitrary files. An attacker could then leverage this to execute code with SYSTEM privileges.

Piotr Bazydło Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Avalanche. Authentication is required to exploit this vulnerability.

Piotr Bazydlo (@chudypb) of Trend Micro Zero Day Initiative, 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 getMasterAdhocCollectionsPath method builds a file path from user-supplied input without validating or restricting it, so arbitrary files can be written.

Impact

An authenticated attacker could upload arbitrary files and execute code in the context of SYSTEM, though the text does not describe the exact exploitation path.

What the attacker needed

Authentication required; affected Ivanti Avalanche installation

The fix

Ivanti issued an update to correct the vulnerability.

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 flaw in a device management product. The software takes a file path or name from the user and does not check it properly, so someone who is already logged in can place a file of their choosing on the server. Because the server runs with high privileges, that file can then be used to run their own code as the system account.

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

232 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.