CVE-2024-12987DrayTekRouters and networkingMay 15, 2025

DrayTek Vigor Routers OS Command Injection Vulnerability

High 7.3Actively exploited

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.

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.

Running DrayTek devices? Get an email when a new vulnerability comes out. Free, unsubscribe in one click.
Turn on DrayTek alerts

Details

Vendor
DrayTek
Product
DrayTek Vigor
CVE
CVE-2024-12987
Affected versions
Vigor2960 1.5: 1.5.1.4
Vigor300B 1.5: 1.5.1.4 (from the advisory and NVD; check the exact builds in the official advisory)
CVSS score
7.3
Actively exploited
Yes, listed in the CISA Known Exploited Vulnerabilities catalog
CISA due date
June 5, 2025 (deadline for US federal agencies: a good benchmark for you too)
Source
CISA KEV – original advisory
Published
May 15, 2025

The description and the recommended action are quoted from the public advisory; severity, exploitation status and affected versions are compiled automatically from public sources and may contain errors. The vendor's original advisory prevails: check it before taking action. This information is provided without warranty and does not replace a professional assessment.

More DrayTek advisories