--- title: "CVE-2024-12987: DrayTek Vigor2960/Vigor300B Web… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2024-12987 --- # CVE-2024-12987: DrayTek Vigor2960/Vigor300B Web… | CubePath ## 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. Official description from the CVE record, published by VulDB. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-12987) ## Key data ### CVSS 4.0 Medium 6.9 Score published by VulDB in the CVE record. 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 | Metric | Value | What it means | | ----------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No measurable action is needed to get around the system's built-in security controls. The attack is repeatable. | | Attack requirements | None | The attack works without any special deployment or execution conditions. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Vulnerable system: confidentiality | Low | Limited effect on the secrecy of data. | | Vulnerable system: integrity | Low | Limited effect on the trustworthiness of data. | | Vulnerable system: availability | Low | Limited effect on availability. | | Subsequent systems: confidentiality | None | No effect on other systems' data secrecy. | | Subsequent systems: integrity | None | No effect on other systems' data trustworthiness. | | Subsequent systems: availability | None | No effect on other systems' availability. | ### CVSS 3.1 High 7.3 Score published by VulDB in the CVE record. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | Low | Limited effect on the secrecy of data. | | Integrity impact | Low | Limited effect on the trustworthiness of data. | | Availability impact | Low | Limited effect on availability. | ### CVSS 3.0 High 7.3 Score published by VulDB in the CVE record. CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | Low | Limited effect on the secrecy of data. | | Integrity impact | Low | Limited effect on the trustworthiness of data. | | Availability impact | Low | Limited effect on availability. | ### CVSS 2.0 High 7.5 Score published by VulDB in the CVE record. AV:N/AC:L/Au:N/C:P/I:P/A:P | Metric | Value | What it means | | ---------------------- | ------- | -------------------------------------------------------------------------------------- | | Access vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Access complexity | Low | Specialized access conditions do not exist: the attack needs no special circumstances. | | Authentication | None | No authentication is needed. | | Confidentiality impact | Partial | Some data can be read. | | Integrity impact | Partial | Some data can be changed. | | Availability impact | Partial | Performance is reduced or some functions are interrupted. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.98223 (98.2% probability) Percentile 99.9% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA Known Exploited Vulnerabilities This CVE is listed in the CISA KEV catalog. Name in the catalog DrayTek Vigor Routers OS Command Injection Vulnerability Added to the catalog May 15, 2025 Federal due date Jun 5, 2025 ### CISA assessment as of May 17, 2025 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Exploitation Recorded by CISA as active Automatable yes Technical impact total ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-78](https://cwe.mitre.org/data/definitions/78.html) Improper Neutralization of Special Elements used in an OS Command - [CWE-77](https://cwe.mitre.org/data/definitions/77.html) Improper Neutralization of Special Elements used in a Command ## Affected products Products listed in the CVE record, as the CNA published them. - DrayTek Vigor2960 - affected: 1.5.1.4 - DrayTek Vigor300B - affected: 1.5.1.4 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [VDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection](https://vuldb.com/?id.289380) (vuldb.com) vdb-entry technical-description - [VDB-289380 | CTI Indicators (IOB, IOC, TTP, IOA)](https://vuldb.com/?ctiid.289380) (vuldb.com) signature permissions-required - [Submit #468795 | DrayTek Vigor2960, Vigor300B 1.5.1.4 Command Injection](https://vuldb.com/?submit.468795) (vuldb.com) third-party-advisory - [netsecfish.notion.site/Command-Injection-in-apmcfgupload-en…](https://netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4) exploit - [fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek\_Vigor…](https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek%5FVigor3900%5FV1.5.1.5%5F01release-note.pdf) - [fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek\_Vigor…](https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek%5FVigor2960%5FV1.5.1.5%5F01release-note.pdf) - [fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek\_Vigor…](https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek%5FVigor300B%5FV1.5.1.5%5F01release-note.pdf) ## Timeline 1. ID reserved Dec 27, 2024 2. Record published Dec 27, 2024 3. Added to CISA KEV May 15, 2025 4. Record last updated Oct 21, 2025 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:03 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)