CVE-2024-12987: DrayTek Vigor Routers OS Command Injection Vulnerability
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.
| Vendor | DrayTek |
|---|---|
| Product | Vigor Routers |
| Date added to KEV | 2025-05-15 |
| Due date (BOD 22-01) | 2025-06-05 |
| Known ransomware campaign use | Unknown |
| CWE | CWE-78 |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
What to do
- Identify every instance of DrayTek Vigor Routers in your environment (asset inventory, EDR, vulnerability scanner).
- Apply CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Federal civilian agencies must act by 2025-06-05 under BOD 22-01; other organizations can use the same date as a target.
- Check the vendor advisory and NVD entry linked below for affected versions, then record the fix in your change log.
Get new KEV entries in your inbox: free n8n workflow. Free CISA KEV Patch Digest (n8n workflow) (Runbook Foundry). A Monday-morning email of KEV entries added in the previous week (Mon-Sun), with your watchlist vendors listed first.
Not affiliated with n8n GmbH or CISA. Not tested on n8n Cloud. n8n is a trademark of n8n GmbH.
Sources
- NVD entry for CVE-2024-12987 (severity scores, if any, live there)
- CISA KEV catalog entry
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf
- https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf
- https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2024-12987