Background exploitation KEV catalog No authentication
CVE-2024-12987

DrayTek Vigor Routers OS Command Injection Vulnerability

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…

CheckOps priority index
8.1/10 Patch within 24 h
Severity6.9
Probability9.8
Exploitation4/5

Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.

EPSS · today 98.2% higher than 99.9% of CVEs
CVSS 4.0 6.9 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/
Exploited for 537 days 15 May 2025
CISA due date 05 Jun 2025 for US federal agencies

Exploitation probability EPSS · FIRST

05010026 Sep05 Oct15 Oct24 Oct02 Nov
EPSS probability (%)Percentile among all CVEs

Exploitation signals 4 / 5

  • KEV catalog (CISA)15 May 2025
  • Exploited in EUVD (ENISA)15 May 2025
  • Used by ransomwareno
  • EPSS above 10 %98.2%
  • No account, over the networkyes

What to do

Fix

Apply the vendor’s fix as soon as it is available.

CISA guidance: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Meanwhile

Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.

Manufacturers (CRA)

Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained

Description ENISA EUVD

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.

Affected products

Vigor2960Vigor300BVigor Routers
Affected versions
  • 1.5.1.4
Weaknesses (CWE)

Open source packages OSV

Affected libraries according to OSV, with fixed versions.

Timeline

  1. Published

  2. Exploitation reported (ENISA)

  3. Added to the KEV catalog

  4. CISA remediation due date

  5. EPSS peak: 98.2%

References

Other exploited vulnerabilities from the same vendor

  • CVE-2020-15415DrayTek Multiple Vigor Routers OS Command Injection Vulnerability
    8.9 · Background exploitation
  • CVE-2021-20124Draytek VigorConnect Path Traversal Vulnerability
    8.3 · Background exploitation
  • CVE-2021-20123Draytek VigorConnect Path Traversal Vulnerability
    8.1 · Background exploitation
  • CVE-2020-8515Multiple DrayTek Vigor Routers Web Management Page Vulnerability
    9.3 · Background exploitation

Are you affected?

CheckOps reads your SBOMs and scans, and alerts you as soon as one of your dependencies is exploited.

Get notified at launch

Sources: CISA KEV · ENISA EUVD · FIRST EPSS · OSV. Public data aggregated by CheckOps, updated automatically. Source texts remain the property of their authors. All exploited vulnerabilities