Actively exploited vulnerability / CVE-2024-12987
DrayTek Vigor routers can be taken over remotely by an attacker
A flaw in the web management interface of some DrayTek Vigor routers lets an attacker run their own commands on the router from a distance. Because the router sits between your company network and the internet, an attacker could watch traffic, move further into your network or cut your connection. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2024-12987 · EUVD-2024-51246
- Severity
- Medium (6.9/10)
- On the CISA list (US)
- yes, since 15 May 2025
- Deadline given to US federal agencies
- 5 June 2025
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 77.0% (FIRST's estimate for the next 30 days)
Does it concern you?
This affects DrayTek Vigor2960, Vigor300B and Vigor3900 routers, used by small and medium businesses for internet access, VPN and linking offices. If an IT provider set up your network, ask them which router you have.
The model is printed on the device label, and the firmware version is shown in the router's web management interface; your IT person can check it. For Vigor2960 and Vigor300B, version 1.5.1.4 is affected.
Affected products and versions
- DrayTek Vigor Routers
What to do
Update Vigor2960 and Vigor300B to version 1.5.1.5 or later. For Vigor3900, follow DrayTek's guidance, and if no fix is available, consider replacing the device.
The official description
The text below is the description from the public database.
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.
Sources
- CVE Program
- GitHub Advisory Database
- Vendor advisory: fw.draytek.com.tw
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.