Unauthenticated root code execution via keyPath injection
Published Feb 1, 2020 · Updated Oct 21, 2025
Command injection in affected DrayTek Vigor2960, Vigor3900, and Vigor300B firmware allows remote attackers to execute code as root. The /www/cgi-bin/mainfunction.cgi executable fails to filter the keyPath parameter, allowing encoded quote and newline characters to bypass authentication checks and introduce shell commands. No authentication is required; a network request to an exposed WebUI grants complete root-level control of the router.
Summary
What happened
Command injection in affected DrayTek Vigor2960, Vigor3900, and Vigor300B firmware allows remote attackers to execute code as root. The /www/cgi-bin/mainfunction.cgi executable fails to filter the keyPath parameter, allowing encoded quote and newline characters to bypass authentication checks and introduce shell commands. No authentication is required; a network request to an exposed WebUI grants complete root-level control of the router.
The record
- CVE
- CVE-2020-8515
- Published
- Feb 1, 2020
- Updated
- Oct 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-78, T1059.004, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 1, 2020CVE publishedPublication date reported by the CVE source.
- Mar 31, 2020Exploitation reportedHoaxcalls botnet propagation through CVE-2020-8515
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 9, 2026 | Unavailable |
| Sep 10, 2026 | Unavailable |
| Sep 11, 2026 | Unavailable |
| Sep 12, 2026 | Unavailable |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 3 |
| Sep 15, 2026 | Unavailable |
Weakness, pattern, technique
Public exploit references
- Hoaxcalls CVE-2020-8515 propagation exploitweaponized · observed in use
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo