Description
DrayTek Vigor2960 1.3.1_Beta, Vigor3900 1.4.4_Beta, and Vigor300B 1.3.3_Beta, 1.4.2.1_Beta, and 1.4.4_Beta devices allow remote code execution as root (without authentication) via shell metacharacters to the cgi-bin/mainfunction.cgi URI. This issue has been fixed in Vigor3900/2960/300B v1.5.1.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Multiple DrayTek Products - Pre-authentication Remote Root Code Execution EDB-48268 · remote · Mar 30, 2020
GitHub 3 repositories
-
imjdl/CVE-2020-8515-PoC ★ 14 · Mar 30, 2020
CVE-2020-8515-PoC
-
darrenmartyn/CVE-2020-8515 ★ 5 · Sep 1, 2021
Draytek CVE-2020-8515 PoC
-
truerandom/nmap_draytek_rce ★ 3 · Mar 31, 2020
nmap script to detect CVE-2020-8515 on Draytek Devices
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- DrayTek - Remote Code Execution http/cves/2020/CVE-2020-8515.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://sku11army.blogspot.com/2020/01/draytek-unauthenticated-rce-in-draytek.html
- https://www.draytek.com/about/security-advisory/vigor3900-/-vigor2960-/-vigor300b-router-web-management-page-vulnerability-%28cve-2020-8515%29/
- http://packetstormsecurity.com/files/156979/DrayTek-Vigor2960-Vigor3900-Vigor300B-Remote-Command-Execution.html