CVE-2024-12987
Description
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.
Summary dbcve.org
OS command injection vulnerability in DrayTek Vigor2960 and Vigor300B web management interface (1.5.1.4). The /cgi-bin/mainfunction.cgi/apmcfgupload endpoint fails to sanitize the session argument, allowing remote attackers to execute arbitrary OS commands.
Mitigation
Upgrade firmware to version 1.5.1.5 or later. If immediate upgrade is not possible, restrict access to the web management interface to trusted IP addresses via firewall rules.