Overview
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.
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
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2024-12987 |
| Vendor / Product | DrayTek — Vigor Routers |
| NVD Published | 2024-12-27 |
| NVD Last Modified | 2025-10-30 |
| CVSS 3.1 Score | 7.3 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Severity | HIGH |
| CWE | CWE-77 |
| CISA KEV Added | 2025-05-15 |
| CISA KEV Deadline | 2025-06-05 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Required Action
CISA BOD 22-01 Deadline: 2025-06-05.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Timeline
| Date | Event |
|---|---|
| 2025-05-15 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2025-06-05 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2024-12987 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |