CVE-2024-12986
CVE-2024-12986 is a high-severity vulnerability in Draytek Vigor300b Firmware with a CVSS 3.x base score of 7.3. Its EPSS exploit-prediction score of 33% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- CVSS v2: 7.5
- CVSS v4: 6.9
- EPSS exploit prediction: 33% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-51245
- Weakness: CWE-77
- Affected product: Draytek Vigor300b Firmware
- Published:
- Last modified:
Description
A vulnerability, which was classified as critical, has been found in DrayTek Vigor2960 and Vigor300B 1.5.1.3/1.5.1.4. This issue affects some unknown processing of the file /cgi-bin/mainfunction.cgi/apmcfgupptim of the component Web Management Interface. The manipulation of the argument session leads to os command injection. The attack may be initiated 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.
Frequently asked questions
- What is CVE-2024-12986?
- A vulnerability, which was classified as critical, has been found in DrayTek Vigor2960 and Vigor300B 1.5.1.3/1.5.1.4. This issue affects some unknown processing of the file /cgi-bin/mainfunction.cgi/apmcfgupptim of the component Web Management Interface. The manipulation of the argument session leads to os command injection. The attack may be initiated 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.
- How severe is CVE-2024-12986?
- CVE-2024-12986 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2024-12986 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 33% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-12986?
- CVE-2024-12986 primarily affects Draytek Vigor300b Firmware. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-12986?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-12986 have an EU (EUVD) identifier?
- Yes. CVE-2024-12986 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-51245.
- When was CVE-2024-12986 published?
- CVE-2024-12986 was published on 2024-12-27 and last updated on 2026-06-17.
References
- https://netsecfish.notion.site/Command-Injection-in-apmcfgupptim-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c80b9ad8cc37b93273bf6?pvs=4
- https://vuldb.com/?ctiid.289379
- https://vuldb.com/?id.289379
- https://vuldb.com/?submit.468794
Affected products (2)
- cpe:2.3:o:draytek:vigor300b_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2960_firmware:*:*:*:*:*:*:*:*
More vulnerabilities in Draytek Vigor300b Firmware
- CVE-2021-43118 — Critical (CVSS 9.8): A Remote Command Injection vulnerability exists in DrayTek Vigor 2960 1.5.1.3, DrayTek Vigor 3900 1.5.1.3, and DrayTek…
- CVE-2021-42911 — Critical (CVSS 9.8): A Format String vulnerability exists in DrayTek Vigor 2960 <= 1.5.1.3, DrayTek Vigor 3900 <= 1.5.1.3, and DrayTek Vigor…
- CVE-2020-15415 — Critical (CVSS 9.8): On DrayTek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1, cgi-bin/mainfunction.cgi/cvmcfgupload allows…
- CVE-2020-14473 — Critical (CVSS 9.8): Stack-based buffer overflow vulnerability in Vigor3900, Vigor2960, and Vigor300B with firmware before 1.5.1.1.
- CVE-2020-14472 — Critical (CVSS 9.8): On Draytek Vigor3900, Vigor2960, and Vigor 300B devices before 1.5.1.1, there are some command-injection…
- CVE-2020-14993 — Critical (CVSS 9.8): A stack-based buffer overflow on DrayTek Vigor2960, Vigor3900, and Vigor300B devices before 1.5.1.1 allows remote…
All CVEs affecting Draytek Vigor300b Firmware →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…