CVE-2024-12986 DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupptim os command injection
Remote attackers can execute arbitrary OS commands via the web management interface, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12986?
CVE-2024-12986 is a medium-severity command injection vulnerability in DrayTek Vigor2960, published on 27 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-12986?
It affects 2 products.
Products include Draytek Vigor2960 Firmware, Draytek Vigor300b Firmware.
How do I fix CVE-2024-12986?
No fix has been published for CVE-2024-12986 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-12986 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12986 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in DrayTek Vigor2960
Sources
Also known as GHSA-3gp8-m3mx-fm5q.