Skip to main content
CVE-2024-12987VulnerabilityAdded to KEV 05/15/2025

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

Affects DrayTek Vigor RoutersSource CISA KEV

0

Exploited in the wild · KEV due 5 Jun 2025 · public detection template (Nuclei) · 98% EPSS : apply the vendor's fix or mitigations to DrayTek Vigor Routers now.

Data as of 10/24/2026, 22:15:59 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Actively exploited – in CISA KEV since 05/15/2025

KEV deadline
06/05/2025 US federal agencies must patch by this date; a sensible deadline for everyone else.
EPSS
98.1% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Public exploits
a Nuclei detection templatePublic attack or detection tooling exists; see Public exploits below.
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

What to do

Check the firmware or software version for DrayTek Vigor Routers in the device's admin interface against the vendor advisory.

Public exploits and detection

Public tooling indexed from Metasploit Framework, Exploit-DB and ProjectDiscovery nuclei-templates. Its existence raises the odds of exploitation; it does not confirm attacks.

Description

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.

Weaknesses

References

Community reviews

Loading reviews…