CVE-2024-12987: DrayTek Vigor Routers OS Command Injection Vulnerability
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.
Other sources
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.
— CISA
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
DrayTek Vigor2960to a version that resolves this vulnerability.Fixed in 1.5.1.5 - Upgrade
Upgrade
DrayTek Vigor300Bto a version that resolves this vulnerability.Fixed in 1.5.1.5 - Upgrade
Upgrade
DrayTek Vigor3900to a version that resolves this vulnerability.Fixed in 1.5.1.5 - Compensating control
Follow applicable BOD 22-01 guidance for cloud services.
- Compensating control
Discontinue use of the product if mitigations are unavailable.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-12987?
CVE-2024-12987 is classified as a critical vulnerability.
How do I fix CVE-2024-12987?
To fix CVE-2024-12987, update your DrayTek Vigor2960 or Vigor300B to the latest firmware version that addresses this vulnerability.
What software is affected by CVE-2024-12987?
CVE-2024-12987 affects DrayTek Vigor2960 and Vigor300B running version 1.5.1.4.
What is the impact of CVE-2024-12987?
The impact of CVE-2024-12987 includes potential unauthorized access through the Web Management Interface.
Who is the vendor of the affected products for CVE-2024-12987?
The vendor of the affected products in CVE-2024-12987 is DrayTek.