Known exploited · DrayTek
CVE-2024-12987: DrayTek Vigor Routers OS Command Injection Vulnerability
What it is
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.
- Vendor
- DrayTek
- Product
- Vigor Routers
- Added to KEV
- May 15, 2025
- CISA due date
- June 5, 2025
- Ransomware use
- Unknown
What CISA requires
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Forensic triage
No
What to do now
- Find every instance of Vigor Routers you run, including the forgotten ones, and check its version against the vendor advisory.
- Apply the vendor's fix or mitigation, before June 5, 2025 if you are bound by CISA's deadline, sooner if it faces the internet.
- Assume it was tried against you already: look for signs of exploitation from the date it was added, not from the day you patched.
- Until every instance is patched, block the attack at the edge: a WAF in blocking mode stops OS command injection payloads, including Shellshock.
References
- https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf
- https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf
- https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2024-12987
The Dome
Block it at the edge while you patch
The Dome's WAF runs the OWASP Core Rule Set in blocking mode and stops OS command injection payloads, including Shellshock before they reach your application.
See the DomeT Academy
Train the engineers who fix it
Security engineering on real hosts in the browser, every objective checked on the machine. The first two lessons of Linux 1 are free.
Start freeSource: CISA Known Exploited Vulnerabilities Catalog (public domain), catalog version 2026.10.01.