BLACKOUT MAP

DrayTek · Vigor Routers

CVE-2024-12987

DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection

Exploited in attacks Medium 6.9 Attack chance: 98%
Share

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

What to do

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

Deadline for US federal agencies: June 5, 2025

Added to the CISA list
May 15, 2025
Published
December 27, 2024
Severity
Medium 6.9 CVSS 4.0
Chance of attacks in the next 30 days (EPSS)
98% in the top 0.1% of all known vulnerabilities
Weakness
CWE-78
More details
NVD · CVE.org · CISA
All references (4)

More exploited flaws from DrayTek

AddedVulnerabilityProductSeverityAttack chance
Sep 30, 2024OS Command InjectionCVE-2020-15415Multiple Vigor RoutersCritical 9.884%
Sep 3, 2024Path Traversal Vulnerability CVE-2021-20123VigorConnectHigh 7.590%
Sep 3, 2024Path Traversal Vulnerability CVE-2021-20124VigorConnectHigh 7.596%
Nov 3, 2021Multiple DrayTek Vigor Routers Web Management PageCVE-2020-8515Multiple Vigor RoutersCritical 9.8>99.9%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.