Security readout for executives and security teams
Plain-English summary
This issue affects DrayTek Vigor2960 and Vigor300B gateway devices on firmware 1.5.1.4. A remote attacker could abuse the web management interface to run operating-system commands. Because CISA lists it in KEV, treat internet-reachable devices as urgent exposure.
Executive priority
Handle as an urgent perimeter-device remediation item. KEV listing means defenders should assume real-world attacker interest. Patch or isolate affected devices quickly, starting with internet-facing management interfaces.
Technical view
CVE-2024-12987 is an OS command injection flaw in the Web Management Interface endpoint /cgi-bin/mainfunction.cgi/apmcfgupload. The reported input is the session argument. It maps to CWE-77 and CWE-78, has CVSS v2 7.5, and is fixed by firmware 1.5.1.5.
Likely exposure
Known exposure is DrayTek Vigor2960 and Vigor300B devices running firmware 1.5.1.4. Risk is highest where web management is reachable from the internet or untrusted networks. The provided sources do not prove other products or versions are affected.
Exploitation context
The source bundle states the exploit is public, and CISA KEV status supports active exploitation. Do not assume compromise solely from version presence, but prioritize review for externally reachable management interfaces and unexplained administrative or device behavior.
Researcher notes
Evidence identifies the vulnerable component, affected versions, CWE classes, public exploit disclosure, and fixed firmware. The bundle does not provide safe detection logic or complete compromise indicators. Avoid expanding scope beyond Vigor2960 and Vigor300B 1.5.1.4 without vendor confirmation.
Mitigation direction
- Upgrade affected Vigor2960 and Vigor300B devices to firmware 1.5.1.5.
- Restrict web management access to trusted administrative networks only.
- Check DrayTek release notes and advisories before making production changes.
- Review exposed perimeter assets for affected models and firmware.
- Rotate administrative credentials if suspicious access is found.
Validation and detection
- Inventory DrayTek Vigor2960 and Vigor300B devices.
- Confirm firmware version; prioritize any device on 1.5.1.4.
- Verify whether web management is internet-facing or broadly reachable.
- Confirm upgrade completion to firmware 1.5.1.5.
- Review logs for unusual management-interface activity where available.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-77: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2024-12987 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.5 (2.0)
- Known Exploited
- Yes
- Published
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CISA KEV status
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
AV:N/AC:L/Au:N/C:P/I:P/A:P106.4Primary CVE scoreVulnerability scoring details
Base CVSS 2.0 score
7.5HighVector: AV:N/AC:L/Au:N/C:P/I:P/A:P
Source materials
- CVE List V5 sourceCVE List V5
- VDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injectionCVE reference · vdb-entry, technical-description
- VDB-289380 | CTI Indicators (IOB, IOC, TTP, IOA)CVE reference · signature, permissions-required
- Submit #468795 | DrayTek Vigor2960, Vigor300B 1.5.1.4 Command InjectionCVE reference · third-party-advisory
- https://netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4CVE reference · exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12987CVE reference · government-resource
- https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdfCVE reference
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdfCVE reference
- https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdfCVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Improper Neutralization of Special Elements used in a Command ('Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
