Skip to content

CVE-2024-12987

DrayTek Vigor Routers OS Command Injection

7.3 HIGHActively exploited (CISA KEV)Public exploitEPSS 98.2%
  1. Published27 Dec 2024
  2. Added to CISA KEV15 May 2025
  3. Remediation due5 Jun 2025
Actively exploited (CISA KEV)

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: 15 May 2025Federal remediation due: 5 Jun 2025

Description

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.

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

Draytek Vigor2960 Firmware1.5.1.4
Draytek Vigor300b Firmware1.5.1.4

Remediation

No fixed version is recorded in the NVD data. Check the vendor advisory for the latest guidance.

Frequently asked

Is CVE-2024-12987 being actively exploited?

Yes. CVE-2024-12987 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 15 May 2025.

How severe is CVE-2024-12987?

CVE-2024-12987 has a CVSS 3.1 base score of 7.3, rated high. EPSS estimates a 98.2% probability of exploitation.

Which products are affected by CVE-2024-12987?

Affected products include Draytek Vigor2960 Firmware, Draytek Vigor300b Firmware.

How do I fix CVE-2024-12987?

Apply the vendor's patch or advisory guidance, then verify no affected versions remain across your devices.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2024-12987 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, a risk for it never ranks below high, and the update that fixes it moves to the Emergency patch lane. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.