CVE-2024-12987
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…
Browse: All 2024 CVEs · All vendors
- CVSS score
- 7.3 High
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L- CISA KEV
- Yes — actively exploited (added 2025-05-15, remediation due 2025-06-05)
- Weakness (CWE)
- CWE-77, CWE-78
- Published
- 2024-12-27
- Last modified
- 2026-06-17
- NVD status
- Analyzed
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.
Affected products
- draytek vigor300b firmware
- draytek vigor2960 firmware
Affected ranges per NVD CPE data; confirm exact versions in the vendor advisory.
Required action (CISA)
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 remediation deadline: 2025-06-05.
How to prioritize this
This vulnerability is on the CISA KEV list, meaning it is being actively exploited — treat it as urgent regardless of the raw CVSS number. Use the live CVE lookup for the latest NVD data, and the CVSS 3.1 calculator to model your own environmental score.
References
- https://netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4
- https://vuldb.com/?ctiid.289380
- https://vuldb.com/?id.289380
- https://vuldb.com/?submit.468795
- 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://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12987
FAQ
Is CVE-2024-12987 actively exploited?
Yes. CISA added CVE-2024-12987 to its Known Exploited Vulnerabilities (KEV) catalog on 2025-05-15, with a federal remediation deadline of 2025-06-05. A KEV listing means real-world exploitation is confirmed, so patching this should be prioritized above many higher-CVSS bugs that aren't being exploited.
What is the CVSS score of CVE-2024-12987?
CVE-2024-12987 has a CVSS base score of 7.3 (High). Its vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
Related vulnerabilities
- CVE-2020-15415 — DrayTek Multiple Vigor Routers
- CVE-2021-20124 — DrayTek VigorConnect
- CVE-2021-20123 — DrayTek VigorConnect
- CVE-2020-8515 — DrayTek Multiple Vigor Routers
- CVE-2026-8037 — Progress LoadMaster
- CVE-2026-42271 — BerriAI LiteLLM
Data source: NVD & CISA KEV. Shown as-is; nothing added. Last generated from NVD data — re-check the live tool for updates.
weekly kev brief
Patch what's actually being exploited.
One email a week: the KEV additions that matter, prioritized — no noise.
Free. No spam. Unsubscribe anytime. Delivered by Beehiiv.