Skip to content
EXYS
Back to the CVEs

CVE-2024-12987

9.8, critical Known exploited

DrayTek Vigor Routers OS Command Injection Vulnerability

CVSS
9.8, critical critical CVSS v3.1
EPSS, next 30 days
98% higher than 99.9% of scored CVEs
Exploitation
Confirmed in the wild
Published
27 Dec 2024a year ago

Known exploited

CISA added this to the Known Exploited Vulnerabilities Catalog on 15 May 2025. US federal agencies had to remediate by 5 Jun 2025, a deadline that has passed.

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.

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.

Details

Vendor
DrayTek
Product
Vigor2960
Weakness
CWE-77 (opens in a new tab)
Status
Analyzed
Updated
17 Jun 2026
Assigner
cna@vuldb.com

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References 8

The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.

Other DrayTek CVEs

Every DrayTek CVE we hold

Same vendor in what we hold, not a known link between the flaws.

  • CVE-2021-20123 Draytek VigorConnect Path Traversal Vulnerability KEV EPSS 90% 7.5, high
  • CVE-2021-20124 Draytek VigorConnect Path Traversal Vulnerability KEV EPSS 96% 7.5, high
  • CVE-2020-15415 DrayTek Multiple Vigor Routers OS Command Injection Vulnerability KEV EPSS 84% 9.8, critical
  • CVE-2020-8515 Multiple DrayTek Vigor Routers Web Management Page Vulnerability KEV EPSS 100% 9.8, critical

Beyond this page

Is CVE-2024-12987 in your network?

This page tells you how dangerous CVE-2024-12987 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.

CVE-2024-12987 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.

  • EXYS7600 OCELOT

    Find it before attackers do

    Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2024-12987 comes with the devices to patch.

    Learn more about EXYS7600 OCELOT
  • EXYS7950 KONDRA

    Detect it if it's exploited

    Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.

    Learn more about EXYS7950 KONDRA
Check your exposure

Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.