Skip to content
Misconfiguration Write-up Intermediate

VMware Horizon DaaS - Improper IP Address Validation

The ipAddress parameter in the getRdpByIp action did not properly validate input, allowing newline characters to inject extra settings into a generated remote desktop connection file. An attacker could trick an authenticated administrator into clicking a crafted URL, causing the administrator's local drives to be mapped to the attacker's server when the file is opened.

research.aurainfosec.io

Published on research.aurainfosec.io

A security advisory was released by the VMware Security Team on the 3rd of March 2017 in their Security Blog.

The author, on research.aurainfosec.io

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 application failed to sanitise newline characters in the ipAddress parameter before embedding it into the generated RDP file, allowing injection of arbitrary RDP settings.

Impact

An attacker could cause an administrator's local drives to be mapped to the attacker's remote desktop server, potentially exposing files, but the attack requires the administrator to click a crafted URL and open the downloaded file.

What the attacker needed

Administrator privileges; victim clicks a crafted URL; victim opens the downloaded file

The fix

The vulnerability was fixed in version 7.0.0.

How it was found

  1. An administrator visits a crafted URL containing newline characters in the ipAddress parameter.
  2. The server generates a remote desktop connection file with injected settings.
  3. The administrator opens the downloaded file, which connects to the attacker's IP address and maps local drives to the attacker's server.

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.

This is about a feature that creates a remote desktop connection file. The server did not check the IP address properly, so an attacker could sneak extra commands into the file. If an administrator opened the file, their computer could share local drives with the attacker's server.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.