OS Command Injection in DrayTek Vigor Web Management Interface
CVE-2024-12987 is an operating-system command injection vulnerability in the apmcfgupload component of the DrayTek Vigor Web Management Interface. Manipulating the session parameter allows remote attackers to execute arbitrary operating-system commands on affected routers. DrayTek Vigor2960 and Vigor300B devices running firmware 1.5.1.4 are affected; Vigor3900 is also listed as affected, although its vulnerable firmware versions are not specified. A public exploit is available, and exploitation has been observed in RustoBot campaigns. Firmware 1.5.1.5 addresses the issue on the identified Vigor2960 and Vigor300B firmware branch.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary command execution and potential compromise of the affected router. Attackers have used the vulnerability to deploy RustoBot, enabling remote control and use of compromised devices for DDoS attacks. The execution privilege level and specific confidentiality impacts are not established.
If you can’t patch tonight, do this now.
Until firmware updates can be applied, disable public Internet access to the web management interface and restrict management access to trusted networks through strict firewall rules, preferably using a VPN. Enforce strong authentication and monitor management logs for unauthorized access attempts. Audit exposed devices and monitor outbound traffic for evidence of botnet activity.
Patch, then assume compromise.
Upgrade affected Vigor2960 and Vigor300B devices from firmware 1.5.1.4 to 1.5.1.5 or a later fixed release. For Vigor3900, apply the appropriate vendor firmware update; an exact fixed version is not specified. After upgrading, verify the installed firmware version and device functionality.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.