CVE-2024-12987
DrayTek Vigor Routers OS Command Injection Vulnerability
DrayTek Vigor RoutersNetwork & edge
CVSS
6.9MediumExploit odds (EPSS)98.2%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
CISA required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. CISA KEV
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Timeline
Public exploit code and templates 1
- Scanner templateDrayTek Vigor - Command InjectionNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
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.
Text from CVE List
Affected versions 2
- Vigor2960affected: 1.5.1.4CVE List
- Vigor300Baffected: 1.5.1.4CVE List
References 9
- vuldb.com/?submit.468795Advisoryvia CVE List
- netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4Exploitvia CVE List
- fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdfReferencevia CVE List
- fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdfReferencevia CVE List
- fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdfReferencevia CVE List
- nvd.nist.gov/vuln/detail/CVE-2024-12987Referencevia CISA KEV
- vuldb.com/?id.289380Referencevia CVE List
- vuldb.com/?ctiid.289380Referencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12987Referencevia CVE List