Ivanti Endpoint Manager CAB File Parsing Directory Traversal Remote Code Execution Vulnerability
A path validation flaw in Ivanti Endpoint Manager's CAB file parsing allows an authenticated attacker to write files outside the intended directory. This can be chained with other vulnerabilities to execute code as NETWORK SERVICE.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Endpoint Manager. Authentication is required to exploit this vulnerability.
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 CAB extraction routine fails to sanitise path separators or traversal sequences in entry names before writing files.
Impact
An authenticated attacker could write arbitrary files and, by chaining with other vulnerabilities, execute code in the context of NETWORK SERVICE.
What the attacker needed
Authentication required; ability to supply a crafted CAB file
The fix
Ivanti has issued an update to correct this 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.
When a program unpacks a CAB archive, it uses file names from inside the archive to decide where to save each file. If it does not check those names carefully, an attacker can craft a name that points outside the intended folder, letting them write files to other locations on the system. Here, an authenticated attacker could use this to place malicious files and, combined with other bugs, run code on the server.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.