DrayTek · Vigor Routers · CWE-78 · published 2024-12-27

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

This week Known exploited in the wild.

CVE-2024-12987 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-15. EPSS estimates a 98.2% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Vigor Routers vulnerability: CVSS 6.9 (v4.0), attacks can be automated, a successful attack gives total control of the component. CISA’s 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. US federal agencies must remediate by 2025-06-05. Patch this week.

Share this

Remediation#

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. (federal due date 2025-06-05)

Patch events

  1. This weekExploited (KEV)CISA due 2025-06-05

    Network applianceDrayTek Vigor Routers

    OS Command InjectionCVE-2024-12987

    Why: Known exploited in the wild.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2025-05-15CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)98% (100th pct)FIRST EPSS v2026.06.15
CVSS base score6.9 (v4.0)
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
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-78: Improper Neutralization of Special Elements used in an OS Command

More from this vendor: all DrayTek vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →