CVE-2024-12987 — DrayTek Vigor Routers OS Command Injection Vulnerability
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.
Vulnerability details
- CVE ID
- CVE-2024-12987
- Vulnerability
- DrayTek Vigor Routers OS Command Injection Vulnerability
- Vendor
- DrayTek
- Affected products
- DrayTek: Vigor Routers
- Severity
- HIGH
- Exploitation status
- Actively exploited in the wild (CISA KEV)
- Published
- 2025-05-15
Remediation guidance
CVE-2024-12987 is in CISA's Known Exploited Vulnerabilities (KEV) catalog — U.S. federal civilian agencies are required to remediate it under Binding Operational Directive 22-01. Treat it as a priority for every environment.
Apply the vendor's official security update for DrayTek the affected product as soon as possible. Where a patch is unavailable, apply vendor mitigations or isolate/segment exposed systems.
Hunt for indicators of compromise tied to this vulnerability and confirm logging/EDR coverage on affected assets.
Authoritative references
Remediate CVE-2024-12987 — and stay ahead of the next one
CVE-2024-12987 is listed in the CISA KEV catalog as actively exploited — treat remediation as urgent. Scan your domain free to see whether CVE-2024-12987 and other DrayTek issues affect you and get a prioritized remediation report (full report from ₹999) — or stream the full feed of 1,600+ actively-exploited CVEs straight into your SOC.
📡 Get a free alert the moment a CVE like this lands in the KEV catalog → Join Sentinel APEX on Telegram