Unauthenticated command execution via upload filename
Published Jun 30, 2020 · Updated Oct 21, 2025
OS command injection in DrayTek Vigor3900, Vigor2960, and Vigor300B before 1.5.1 allows remote attackers to execute commands. The cvmcfgupload handler in cgi-bin/mainfunction.cgi interprets shell metacharacters embedded in a multipart filename as commands when the part uses text/x-python-script. No authentication or user interaction is required, and successful exploitation grants command execution on the router.
Summary
What happened
OS command injection in DrayTek Vigor3900, Vigor2960, and Vigor300B before 1.5.1 allows remote attackers to execute commands. The cvmcfgupload handler in cgi-bin/mainfunction.cgi interprets shell metacharacters embedded in a multipart filename as commands when the part uses text/x-python-script. No authentication or user interaction is required, and successful exploitation grants command execution on the router.
The record
- CVE
- CVE-2020-15415
- Published
- Jun 30, 2020
- Updated
- Oct 21, 2025
- Vendor
- DrayTek
- Product
- Vigor 300B
- Classifications
- CWE-78, T1059.004, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 30, 2020CVE publishedPublication date reported by the CVE source.
- Sep 30, 2024Exploitation reportedCISA Known Exploited Vulnerabilities listing
- 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.5.1
What conditions does exploitation require?
What is affected?
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 | 2 |
| Sep 15, 2026 | 1 |
Weakness, pattern, technique
Public exploit references
- Vigor-Commond-Injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
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