HOMEVULNERABILITIESCVE-2024-12987
HIGHCISA KEVIN THE WILD

CVE-2024-12987

Published: May 15, 2025

EPSS:78.36%probability of exploitation in 30 daysPercentile:99.0th

Official 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.

NVD Source

CISA KEV Advisory

DrayTek Vigor Routers OS Command Injection Vulnerability

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.

Added to KEV: 2025-05-15Federal patch deadline: 2025-06-05
Required Action (CISA)

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

Risk Analysis

This vulnerability allows an attacker to execute arbitrary commands on DrayTek Vigor2960, Vigor300B, and Vigor3900 routers through their web management interface. Given its high EPSS score of 0.78364 and inclusion in CISA's KEV, this flaw is highly likely to be exploited and poses a significant risk to affected systems.

Active exploitation of this vulnerability has been observed in the wild, indicating a severe and immediate threat. The flaw is remotely exploitable through the web management interface.

Recommended Action

Administrators should apply available patches or firmware updates for DrayTek Vigor2960, Vigor300B, and Vigor3900 routers. Restricting access to the web management interface to trusted networks or IP addresses is also recommended.

Generated by the CTIWATCH analysis pipeline from this CVE's metadata (CVSS, EPSS, KEV status, exploit intelligence). Verify against vendor advisories before acting.

Technical Analysis

CVE-2024-12987 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CISA has added CVE-2024-12987 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.

Exploit & PoC Resources

ACTIVE EXPLOITATIONConfirmed exploitation in the wild
External links open in a new tab. Always verify in a controlled environment before use.

All References (4)

Quick Facts

CVE IDCVE-2024-12987
SeverityHIGH
CISA KEVYES — Active Exploitation
ExploitIN THE WILD
EPSS (30d)78.36%
PublishedMay 15, 2025

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2024-12987 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
  • !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
  • !Active exploitation confirmed — treat as P1
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.