CVE-2024-12987
MediumExploitedPublic exploitA vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4.
Published Dec 27, 2024 · Updated Oct 30, 2025
Key Facts
Patch immediately- CVE-2024-12987 is a medium-severity vulnerability (CVSS 6.9 v4) affecting Vigor2960 Firmware (Draytek), Vigor300b Firmware (Draytek), Vigor2960 and 1 more product.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Feb 12, 2025. Public exploit code is available.
- EPSS estimates a 98% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v4
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
98%
Higher than 99.9% of all scored CVEs
Exploited in the wild
Yes
4 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-12987 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | May 15, 2025 | Jun 5, 2025 | Not reported |
| Industry KEV feed | Feb 12, 2025 | Jun 5, 2025 | Not reported |
| CIRCL KEV | Feb 12, 2025 | Jun 5, 2025 | Not reported |
| ENISA EUVD | May 15, 2025 | n/a | Not reported |
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.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Vigor2960 FirmwareDraytek | 1.5.1.4 | n/a |
| Vigor300b FirmwareDraytek | 1.5.1.4 | n/a |
| Vigor2960 | >= 1.5.1.4 | n/a |
| Vigor300B | >= 1.5.1.4 | n/a |
Timeline
Publicly disclosed
Dec 27, 2024
Added to Industry KEV feed
Feb 12, 2025
Added to CIRCL KEV
Feb 12, 2025
Added to CISA KEV
May 15, 2025
Added to ENISA EUVD
May 15, 2025
Last updated
Oct 30, 2025
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- advisoryVDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
- advisorySubmit #468795 | DrayTek Vigor2960, Vigor300B 1.5.1.4 Command Injection
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
A vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4.
Affected: Vigor2960 Firmware (Draytek) versions 1.5.1.4; Vigor300b Firmware (Draytek) versions 1.5.1.4; Vigor2960 versions >= 1.5.1.4, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Feb 12, 2025.
Yes. It was added on May 15, 2025 with a federal remediation due date of Jun 5, 2025.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-12987 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo