CVE-2024-12987
CVE-2024-12987 is a medium-severity vulnerability (CVSS 4.0 CVSS-B score 6.9). 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. CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-15, with a remediation due date of 2025-06-05 for US federal civilian agencies. As of 2026-11-22, EPSS estimates a 98.2% probability of exploitation in the next 30 days, in the 99th percentile of scored CVEs.
Updated
DrayTek Vigor Routers OS Command Injection Vulnerability is confirmed as actively exploited and is listed in the CISA KEV catalog.
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.
CISA notes
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
Description
A vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4. Affected is an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component Web Management Interface. The manipulation of the argument session leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.5.1.5 is able to address this issue. It is recommended to upgrade the affected component.
Key Findings
as of 2026-11-22- CISA added CVE-2024-12987 to the KEV catalog 139 days after its CVE record was published. The median for entries added in 2025 is 26 days.
- It is one of 5 DrayTek entries in the CISA KEV catalog, and the only one added in 2025.
- Its current EPSS score (98.2%) is higher than that of 84% of CISA KEV entries.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator AV:N/AC:L/Au:N/C:P/I:P/A:PRemediation Timeline
BOD 26-04, US federal agenciesDeadlines for US federal civilian agencies under Table 1 of CISA BOD 26-04, from the CVE's KEV status (listed) and CISA's SSVC values (automatable yes, technical impact total, 2025-05-17).
How the timeline is set
Table 1 of CISA's Binding Operational Directive 26-04 sets the time US federal civilian agencies have to remediate a vulnerability. It depends on four inputs: whether the asset is publicly exposed, whether the CVE is in the KEV catalog, whether an adversary can automate its exploitation, and whether exploitation gives partial or total control of the asset, which SSVC calls technical impact. CISA publishes the last three for every CVE through services such as its Vulnrichment program.
Days are calendar days. The clock starts at whichever comes first: CISA adds the CVE to the KEV catalog, or the agency identifies the vulnerability on an asset and reports it to its Continuous Diagnostics and Mitigation (CDM) dashboard. A publicly exposed asset is accessible to unauthenticated or untrusted entities via public networks, such as the internet. Forensic triage means assessing the asset to determine whether it has been compromised.
CISA calculates the KEV due date with the same table, using its own evidence on whether the vulnerability is present in a publicly exposed asset. Each agency makes the final exposure decision for each of its assets.
Affected Products
| Vendor | Product | Affected versions |
|---|---|---|
| DrayTek | DrayTek Vigor2960 | 1.5.1.4 |
| DrayTek | DrayTek Vigor300B | 1.5.1.4 |
References
7 linksExploits & PoCs
Third-party advisories
Technical writeups
Detection signatures
Other references
Record Details
- Published
- 2024-12-27
- Last updated
- 2025-10-21
- Assigner (CNA)
- VulDB
- Credited to
- netsecfish (VulDB User)
More from DrayTek
CVE record data © The MITRE Corporation, used under the CVE Terms of Use. Exploited-in-the-wild data from the CISA Known Exploited Vulnerabilities catalog (CC0). Exploit prediction scores by FIRST EPSS (first.org/epss). Alert titles and links from CISA cybersecurity alerts. This site is not affiliated with or endorsed by MITRE, NVD, CISA, or FIRST.