CVE-2024-12987 · NVD published 27 Dec 2024
DrayTek Vigor Routers
On CISA's KEV list 139 days after disclosure.
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.
CISA required action (federal due date 5 Jun 2025): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Signals
- KEV, exploited in the wild
- yes, added 15 May 2025, due 5 Jun 2025
- EPSS, 30-day forecast
- 98%, 100th percentile (as of 18 Nov 2026)
- CVSS, NVD, HIGH
- 7.3
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 27 Dec 2024 to today
- Disclosed
- KEV+139 d
139 days from disclosure to the KEV listing
Detect it 3 rules · Sigma · QRadar · Cortex
Generated by skopnix from this finding, each with false-positive notes. Open the list →
Linked 3 in our graph
Rules that detect it
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code none in our sources
No public exploit in the sources we track: GitHub proof-of-concept lists, Metasploit and Exploit-DB. Absence is not proof that none exists.
Nuclei detection templates1
DrayTek Gateway devices (Vigor2960, Vigor300B, etc.) are vulnerable to command injection via the session parameter in the /cgi-bin/mainfunction.cgi/apmcfgupload endpoint. An attacker can inject arbitrary commands and retrieve their output.
yaml · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.