9.8

CVE-2024-12987: DrayTek Vigor Routers OS Command Injection Vulnerability

KEV
Analyzed
Published 27-12-2024Last modified 21-10-2025

Vulnerability summary

CVE-2024-12987 is a critical (CVSS 9.8) Command Injection vulnerability in DrayTek Vigor Routers. It is known to be exploited: CISA lists it, first on 15-05-2025. EPSS estimates a 98.16% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
85/100
0100
Critical · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
98.16%
0%100%
Critical · +0.08 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Timeline

  1. 27-12-2024
    PublishedVulnerability first disclosed.
  2. 15-05-2025
    Added to CISA KEVExploitedDrayTek Vigor Routers OS Command Injection Vulnerability
  3. 05-06-2025
    CISA remediation dueDeadline passedApply mitigations per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 2 sources · 4 versions

EPSS trend

Probability

98.16%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 98.08% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
15-05-2025
Federal due date
05-06-2025
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (netsecfish.notion.site)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Draytek2 products

1 vendor · 2 products

References

8 links