Security Digest · Vulnerability record · Known exploited

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

Exploited in the wild (CISA KEV). A vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4.

CISA KEV · added 2025-05-15 CVSS 6.9 Medium EPSS 98.2% · p99.9

Should you act?

Exploited: patch now if you run it

CISA has confirmed exploitation in the wild. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Yes, if you run DrayTek Vigor Routers. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2025-05-15, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2025-06-05; treat that as the outer limit, not the target.
  • EPSS 98.2%, percentile 99.9: FIRST’s model estimates a 98.2% chance of exploitation activity in the next 30 days, higher than 99.9% of all scored CVEs (very high). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.

What it is

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.

CISA’s summary

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.

Weakness type: CWE-78, CWE-77.

Product: DrayTek Vigor Routers · Assigned by: VulDB · Published: 2024-12-27

Affected and fixed versions

VendorProductAffected versions (per CVE record)
DrayTekVigor29601.5.1.4
DrayTekVigor300B1.5.1.4

Severity scores

Scored byCVSSScoreVector
VulDB4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
VulDB3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
VulDB3.07.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
VulDB2.07.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: added 2025-05-15; federal due date 2025-06-05. Known ransomware use: Unknown.
  • 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.
  • CISA SSVC assessment: exploitation active, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 98.16% probability of exploitation activity in the next 30 days; percentile 99.9.

Timeline

  • — CVE record published by VulDB
  • — Added to CISA’s Known Exploited Vulnerabilities catalog
  • — CISA remediation deadline for US federal agencies
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. Listed in CISA KEV notes (fw.draytek.com.tw) fw.draytek.com.tw
  2. Listed in CISA KEV notes (fw.draytek.com.tw) fw.draytek.com.tw
  3. Listed in CISA KEV notes (fw.draytek.com.tw) fw.draytek.com.tw

Vulnerability records

  1. CVE.org record CVE-2024-12987 cve.org
  2. NVD entry CVE-2024-12987 nvd.nist.gov

Government

  1. CISA Known Exploited Vulnerabilities catalog entry cisa.gov

Other references from the CVE record and advisory

  1. VDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection vuldb.com
  2. VDB-289380 | CTI Indicators (IOB, IOC, TTP, IOA) vuldb.com
  3. Submit #468795 | DrayTek Vigor2960, Vigor300B 1.5.1.4 Command Injection vuldb.com
  4. netsecfish.notion.site netsecfish.notion.site

All exploited DrayTek vulnerabilities · Today’s Security Digest