Under active attack

DrayTek Vigor Routers: CVE-2024-12987

DrayTek Vigor Routers OS Command Injection Vulnerability. CISA added it to its list of flaws being exploited in the wild on 15 May 2025.

CVE
CVE-2024-12987
Vendor
DrayTek
Product
Vigor Routers
Added to CISA's exploited list
15 May 2025
US federal patch deadline
5 Jun 2025
Used in ransomware campaigns
Not known
Exploit likelihood, next 30 days
98% (higher than 99% of scored flaws)
Weakness
CWE-78

What CISA says

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, Known Exploited Vulnerabilities catalog

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.

If you run DrayTek Vigor Routers, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References