Unauthenticated Command Injection Vulnerability in VMware NSX SD-WAN by VeloCloud
An unauthenticated command injection vulnerability was found in the diagnostics Traceroute function of VMware NSX SD-WAN by VeloCloud, allowing an attacker to execute arbitrary commands as root on the device.
Published on cyberonesecurity.com
By CyberOne Security TeamThis article was written by members of the CyberOne Security Team, drawing on decades of combined experience in cloud and network security, penetration testing, threat intelligence, and advisory services.
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 Traceroute diagnostic function passed user-supplied input directly to an operating system command via Lua's os.execute or io.popen without proper sanitisation.
Impact
An attacker could execute arbitrary commands as root, leading to complete control of the device, though the report notes the device was on version 3.1.1 and the exploit was demonstrated with a simple proof of concept.
What the attacker needed
Unauthenticated access to web UI; network access to the device
The fix
The vulnerability was fixed by updating to version 3.1.2.
How it was found
- Access the web UI of the NSX SD-WAN device without authentication.
- Navigate to the Traceroute diagnostic function.
- Enter a crafted input containing escape characters and a command.
- Submit the request and observe command execution as root.
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 report describes a security flaw in a network device where an attacker could run their own commands on the device without logging in. The flaw was in a diagnostic tool that didn't properly check what users typed, so specially crafted input could trick the device into running unintended commands. Because the commands ran with the highest privileges, the attacker could take full control of the device.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.