CVE-2024-12987

published 27 Dec 2024 · updated 21 Oct 2025

DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection

10.0CriticalCVSS 7.3EPSS 98%CISA KEV · due 5 Jun 20253 public exploits

Exploited in the wild, in CISA KEV since 15 May 2025 (due 5 Jun 2025), with 3 public exploits. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
DrayTekVigor Routers
DrayTekVigor2960=1.5.1.4
DrayTekVigor300B=1.5.1.4

Exploit evidence

3 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in DrayTek, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-12987 severity on Zeptric[![CVE-2024-12987](https://zeptric.io/badge/cve/CVE-2024-12987.svg)](https://zeptric.io/cve/CVE-2024-12987)