All vulnerabilities
CVE-2024-12987

DrayTek Vigor Routers OS Command Injection Vulnerability

DrayTek Vigor RoutersNetwork & edge
CVSS
6.9Medium
ExploitationExploited in the wildAdded to KEV 15 May 2025CISA KEV
Exploit odds (EPSS)98.2%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Federal deadline5 Jun 2025Remediation due date for US federal agenciesCISA KEV
CISA required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. CISA KEV

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

Timeline

  1. 27 Dec 2024, 16:00 UTCPublishedCVE List
  2. 15 May 2025Added to CISA KEVCISA KEV

Public exploit code and templates 1

  • Scanner templateDrayTek Vigor - Command InjectionNuclei

Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.

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.

Text from CVE List

Affected versions 2

  • Vigor2960affected: 1.5.1.4CVE List
  • Vigor300Baffected: 1.5.1.4CVE List

References 9