Skip to content
Path traversal Write-up Advanced

Vulnerability Analyses

The vCenter reverse proxy can be bypassed using directory traversal sequences, allowing access to internal endpoints. This enables arbitrary file uploads that can lead to remote code execution.

randori.com

Published on randori.com

On September 21, 2021, VMware released VMSA-2021-0020 detailing information on 19 vulnerabilities affecting vCenter Server. Some of these can be exploited independently, or in conjunction, to remotely execute arbitrary code on vulnerable systems.

The author, on randori.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the reverse proxy's URL parsing mishandles directory traversal sequences like '..;', allowing requests to bypass access rules.

Impact

An attacker could remotely execute arbitrary code on vulnerable vCenter systems, potentially leading to full compromise.

What the attacker needed

VCenter 6.5, 6.7, or 7.0; Network access to vCenter HTTPS; CEIP enabled for one variant

How it was found

  1. Send a request to the telemetry endpoint with a crafted _i parameter containing directory traversal to write a cron job.
  2. Use the reverse proxy bypass to reach the DataAppController endpoint.
  3. Upload a JSP web shell via two requests to the DataAppController.
  4. Access the uploaded JSP file through a bypassed URL to execute commands.

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 write-up has not been written yet. The Original tab links to the source.

vCenter has a front door (reverse proxy) that checks which web addresses visitors can access. A flaw lets attackers sneak past this check using special characters in the address, reaching internal services. They can then upload files that run commands 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.

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.