Actively exploited EPSS 98% DrayTek Vigor Routers CWE-78

CVE-2024-12987: DrayTek Vigor Routers OS Command Injection Vulnerability

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.

Why it matters

CISA added CVE-2024-12987 to its Known Exploited Vulnerabilities (KEV) catalog on 2025-05-15 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. US federal agencies had to remediate it by 2025-06-05, and it is a high priority for everyone else too.

How to fix it

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Details

Is CVE-2024-12987 in your fleet?

SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.