DrayTek · Vigor Routers · CWE-78 · published 2024-12-27
CVE-2024-12987DrayTek Vigor Routers OS Command Injection Vulnerability
This week Known exploited in the wild.
CVE-2024-12987 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-15. EPSS estimates a 98.2% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Vigor Routers vulnerability: CVSS 6.9 (v4.0), attacks can be automated, a successful attack gives total control of the component. CISA’s 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. US federal agencies must remediate by 2025-06-05. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA 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. (federal due date 2025-06-05)
Patch events
Network applianceDrayTek Vigor Routers
OS Command InjectionCVE-2024-12987
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2025-05-15 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 98% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.9 (v4.0)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-78: Improper Neutralization of Special Elements used in an OS Command
More from this vendor: all DrayTek vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- DrayTek Vigor2960
1.5.1.4(affected)
- DrayTek Vigor300B
1.5.1.4(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.