CVE-2020-8515: DrayTek Multiple Vigor Routers · Remote code execution
Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2020-02-01
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.
Enclave's analysis
Command injection in the web management page of DrayTek Vigor2960, Vigor3900 and Vigor300B routers. An attacker sends shell metacharacters to cgi-bin/mainfunction.cgi and runs commands as root, with no login. CISA lists it as actively exploited, and a public exploit entry exists. Upgrade to firmware 1.5.1 and keep the management interface off the internet.
Fix
Upgrade DrayTek Vigor2960 firmware to 1.5.1; DrayTek Vigor3900 firmware to 1.5.1; DrayTek Vigor300B firmware to 1.5.1.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| DrayTek Vigor2960 firmware | 1.3.1 Beta | 1.5.1 |
| DrayTek Vigor3900 firmware | 1.4.4 Beta | 1.5.1 |
| DrayTek Vigor300B firmware | 1.3.3 Beta, 1.4.2.1 Beta, 1.4.4 Beta | 1.5.1 |