Skip to content
Path traversal Advisory Advanced CVE-2022-31706

VMware vRealize Log Insight RemotePakDownloadCommand Directory Traversal Remote Code Execution Vulnerability

The RemotePakDownloadCommand function in VMware vRealize Log Insight does not properly validate a user-supplied path before using it in file operations. An unauthenticated attacker could exploit this to execute arbitrary code as root.

Anonymous 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 VMware vRealize Log Insight. Authentication is not required to exploit this vulnerability.

Anonymous, 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 RemotePakDownloadCommand function fails to sanitise a user-supplied path, allowing directory traversal that leads to arbitrary file write and code execution.

Impact

An unauthenticated remote attacker could execute arbitrary code with root privileges on affected installations.

What the attacker needed

None

The fix

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

This is a directory traversal flaw in a VMware product. An attacker can send a crafted request that includes a file path, and because the software does not check the path properly, the attacker can make the system run their own code with the highest privileges (root). No login is needed.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Anonymous

View all

2,270 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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.