RCE in Draytek Vigor2960
CVE-2024-12987
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 class: Command Injection (OS Command Injection)
EPSS: 0.981 (99.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Draytek Vigor2960 — versions 1.5.1.4
- Draytek Vigor2960_firmware — versions 1.5.1.4
- Draytek Vigor300b — versions 1.5.1.4
- Draytek Vigor300b_firmware — versions 1.5.1.4
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
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.
Public proof-of-concept exploits
References
- cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
- cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
- cna@vuldb.com (Exploit, Third Party Advisory, exploit)
- af854a3a-2127-422b-91ae-364da2661108 (Release Notes)
- af854a3a-2127-422b-91ae-364da2661108 (Release Notes)
- af854a3a-2127-422b-91ae-364da2661108 (Not Applicable)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (US Government Resource)
Frequently asked questions
- What is CVE-2024-12987?
- CVE-2024-12987 is a high-severity vulnerability in Draytek Vigor2960, classified under Command Injection. CVSS score: 7.3/10. Published 2024-12-27.
- How severe is CVE-2024-12987?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2024-12987 known to be exploited?
- Yes. CVE-2024-12987 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2025-05-15), indicating it is being actively exploited. 5 public proof-of-concept repositories are indexed.