CVEs / CVE-2020-15415
CVE-2020-15415: DrayTek Multiple Vigor Routers OS Command Injection Vulnerability
- Known exploited in the CISA KEV catalog since 30 Sep 2024
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 84.4% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2020-15415
Summary
DrayTek Vigor3900, Vigor2960, and Vigor300B devices contain an OS command injection vulnerability in cgi-bin/mainfunction.cgi/cvmcfgupload that allows for remote code execution via shell metacharacters in a filename when the text/x-python-script content type is used.
Description
On DrayTek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1, cgi-bin/mainfunction.cgi/cvmcfgupload allows remote command execution via shell metacharacters in a filename when the text/x-python-script content type is used, a different issue than CVE-2020-14472.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
| draytek vigor3900_firmware | before 1.5.1 | 1.5.1 |
| draytek vigor2960_firmware | before 1.5.1 | 1.5.1 |
| draytek vigor300b_firmware | before 1.5.1 | 1.5.1 |
Exploitation
| In CISA KEV since | 30 Sep 2024 |
|---|---|
| Due date for US federal agencies | 21 Oct 2024 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-78 |
References
- CVE-2020-15415 on NVD
- CVE-2020-15415 in the CISA KEV catalog
- https://www.draytek.com/about/security-advisory/vigor3900-/-vigor2960-/-vigor300b-remote-code-injection/execution-vulnerability-(cve-2020-14472 (cited by CISA)
- https://github.com/CLP-team/Vigor-Commond-Injection Exploit
- https://www.draytek.com/about/security-advisory Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-15415 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.