CVE-2024-12987
DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
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
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 for the CVE license. View the record on cve.org
Key data
CVSS 4.0 Medium 6.9
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
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.
| 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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
| 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
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
| 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
AV:N/AC:L/Au:N/C:P/I:P/A:P
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.
| 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.
EPSS
- Score
- 0.98223 (98.2% probability)
- Percentile
- 99.9%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
CISA Known Exploited Vulnerabilities
- 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
- Exploitation
- Recorded by CISA as active
- Automatable
- yes
- Technical impact
- total
Weakness (CWE)
Affected products
DrayTek Vigor2960
- affected: 1.5.1.4
DrayTek Vigor300B
- affected: 1.5.1.4
References
- VDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection (vuldb.com)vdb-entrytechnical-description
- VDB-289380 | CTI Indicators (IOB, IOC, TTP, IOA) (vuldb.com)signaturepermissions-required
- Submit #468795 | DrayTek Vigor2960, Vigor300B 1.5.1.4 Command Injection (vuldb.com)third-party-advisory
- netsecfish.notion.site/Command-Injection-in-apmcfgupload-en…exploit
- fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor…
- fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor…
- fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor…
Timeline
- ID reserved
- Record published
- Added to CISA KEV
- Record last updated
Look up another CVE
About CubePath
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, 19:17 UTC. Sources and licenses