CVE-2024-12987
DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
- High 7.5
- Exploited: added to CISA KEV 15 May 2025
- A public exploit reference is listed
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.
Key facts
- Published
- 27 Dec 2024
- Last changed
- 21 Oct 2025
- Assigned by
- VulDB
- KEV added
- 15 May 2025
- KEV fix due
- 5 Jun 2025
- EPSS
- 98.223% likely to be exploited in the next 30 days, higher than 99.916% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: yes; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 6.9CVSS 4.0, Mediumfrom the CNA (VulDB)
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 - 7.3CVSS 3.1, Highfrom the CNA (VulDB)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - 7.3CVSS 3.0, Highfrom the CNA (VulDB)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - 7.5CVSS 2.0, Highfrom the CNA (VulDB)
AV:N/AC:L/Au:N/C:P/I:P/A:P
What to do
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| DrayTek | Vigor2960 |
|
| DrayTek | Vigor300B |
|
Timeline
- 27 Dec 2024 Advisory disclosed
- 27 Dec 2024 VulDB entry created
- 27 Dec 2024 VulDB entry last update
- 27 Dec 2024 Published
- 15 May 2025 CVE-2024-12987 added to CISA KEV
- 15 May 2025 Added to the CISA KEV catalogue
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).