CVE-2024-12987DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
Updated under an hour ago ()
Does this affect you?
It affects DrayTek Vigor2960 and 3 other products. Add what you run to find out whether that includes you.
CISA lists it as known exploited since May 15, 2025; federal agencies had to remediate by Jun 5, 2025. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 7.3 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weakness (CWE)
- CWE-78, CWE-77
- Known exploited
- Added to CISA KEV May 15, 2025; federal remediation due Jun 5, 2025Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 98.16% (percentile 100)
- Assigned by
- VulDB
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
DrayTek Vigor2960 draytek:vigor2960 (from the name) | 1.5.1.4 | CNA record |
DrayTek Vigor300B draytek:vigor300b (from the name) | 1.5.1.4 | CNA record |
draytek vigor300b_firmware draytek:vigor300b_firmware | 1.5.1.4 | NVD |
draytek vigor2960_firmware draytek:vigor2960_firmware | 1.5.1.4 | NVD |
References
- https://vuldb.com/?id.289380vdb-entry, technical-description, third-party-advisory
- https://vuldb.com/?ctiid.289380signature, permissions-required, vdb-entry
- https://vuldb.com/?submit.468795third-party-advisory, vdb-entry
- https://netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4exploit, third-party-advisory
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdfrelease-notes
- https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdfrelease-notes
- https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdfnot-applicable
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12987us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.