CVE Catalog

Actively exploited in the wild

DrayTek Vigor Routers OS Command Injection Vulnerability

DrayTek - Vigor Routers · Listed in the CISA KEV since 2025-05-15. This indicates confirmed attacks in production environments.

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.

CVE-2024-12987

HighCVSS 7.3KEV
Published: Updated: Translated: NVD NIST

Summary

A critical vulnerability in DrayTek Vigor2960 and Vigor300B version 1.5.1.4 in the web management interface. Manipulation of the 'session' argument in /cgi-bin/mainfunction.cgi/apmcfgupload leads to OS command injection.

Risk Assessment

An attacker can remotely execute arbitrary system commands on the device, leading to full control over the router. The exploit is publicly disclosed and may be actively used.

Recommendation

Immediately upgrade DrayTek Vigor2960/Vigor300B firmware to version 1.5.1.5 or later. If upgrading is not possible, restrict access to the management interface.

Other vulnerabilities in DrayTek Vigor

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS