Skip to content

CVE-2024-12987

DrayTek Vigor Routers OS Command Injection

6.9 MEDIUMActively exploited (CISA KEV)Public exploitEPSS 98.2%
  1. Published27 Dec 2024
  2. Added to CISA KEV15 May 2025
  3. Remediation due5 Jun 2025
6.9CVSS 4.0 scoreMEDIUM
Exploit probability (EPSS)98.2%
100th percentile of all scored CVEs
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
01

In short

CVE-2024-12987 (DrayTek Vigor Routers OS Command Injection) has a CVSS 4.0 base score of 6.9, rated medium. CISA added it to the Known Exploited Vulnerabilities catalog on 15 May 2025. The NVD records no fixed version, so follow the vendor advisory.

02

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.

03

CVSS 4.0 breakdown

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality (vulnerable system)
Low
Integrity (vulnerable system)
Low
Availability (vulnerable system)
Low
Confidentiality (subsequent systems)
None
Integrity (subsequent systems)
None
Availability (subsequent systems)
None
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
04

Affected products

  • Draytek Vigor2960 Firmware1.5.1.4
  • Draytek Vigor300b Firmware1.5.1.4
05

Remediation

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

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. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.

06:00 · IN YOUR FLEET

How Secuno handles this

Secuno matches CVE-2024-12987 against the software on every managed device each hour and ranks it by exploit status, EPSS and exposure. Because it is on the CISA KEV list, its fix goes straight to the Emergency patch lane.