CVE-2024-12987 — DrayTek Vigor Routers OS Command Injection Vulnerability
2025-05-15 • CISA Known Exploited Vulnerability
[event] DrayTek Vigor2960, Vigor300B, and Vigor3900 routers contain an OS command injection vulnerability due to an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component web management interface.
> AFFECTED SOFTWARE
| Field | Value |
|---|---|
| Vendor | DrayTek |
| Product | Vigor Routers |
| CWE | CWE-78 |
| CVE ID | CVE-2024-12987 |
| Date Added | 2025-05-15 |
| Due Date | 2025-06-05 |
| Ransomware Campaign | Unknown |
> MITIGATION
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Due Date: 2025-06-05
> REFERENCES
- [1] https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5...
- [2] https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5...
- [3] https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5...
- [4] https://nvd.nist.gov/vuln/detail/CVE-2024-12987