DrayTek · Vigor Routers
CVE-2024-12987
DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
What it is
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.
CISA: DrayTek Vigor2960, Vigor300B, and Vigor3900 routers contain an OS command injection vulnerability due to an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component web management interface.
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.
Deadline for US federal agencies: June 5, 2025
More exploited flaws from DrayTek
| Added | Vulnerability | Product | Severity | Attack chance |
|---|---|---|---|---|
| Sep 30, 2024 | OS Command Injection | Multiple Vigor Routers | Critical 9.8 | 84% |
| Sep 3, 2024 | Path Traversal Vulnerability | VigorConnect | High 7.5 | 90% |
| Sep 3, 2024 | Path Traversal Vulnerability | VigorConnect | High 7.5 | 96% |
| Nov 3, 2021 | Multiple DrayTek Vigor Routers Web Management Page | Multiple Vigor Routers | Critical 9.8 | >99.9% |
Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.