{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-12987","published":"2024-12-27T16:15:24.143000Z","last_modified":"2026-06-17T07:00:55.297000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"cna@vuldb.com","primary":false},"auth":false,"cwes":["CWE-77","CWE-78"],"cpes":[{"criteria":"cpe:2.3:o:draytek:vigor300b_firmware:1.5.1.4:*:*:*:*:*:*:*","part":"o","vendor":"draytek","product":"vigor300b_firmware","version":"1.5.1.4"},{"criteria":"cpe:2.3:o:draytek:vigor2960_firmware:1.5.1.4:*:*:*:*:*:*:*","part":"o","vendor":"draytek","product":"vigor2960_firmware","version":"1.5.1.4"}],"cpes_truncated":false,"vendors":["draytek"],"products":["draytek/vigor300b_firmware","draytek/vigor2960_firmware"],"ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total"},"kev":{"date_added":"2025-05-15","due_date":"2025-06-05","ransomware":false,"forensic_triage":false,"cwes":["CWE-78"]},"epss":{"score":0.77031,"percentile":0.99684,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"network","platform":"appliance","eol":false,"packages":[],"severity":"medium","priority_score":64,"links":{"html_es":"/es/cve/CVE-2024-12987/","html_en":"/en/cve/CVE-2024-12987/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-12987","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-12987"},"untrusted":{"vendor_name":"DrayTek","product_name":"Vigor Routers","desc_en":"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.","affected":[{"untrusted_vendor":"DrayTek","untrusted_product":"Vigor2960","versions":[]},{"untrusted_vendor":"DrayTek","untrusted_product":"Vigor300B","versions":[]}],"kev":{"vendor":"DrayTek","product":"Vigor Routers","name":"DrayTek Vigor Routers OS Command Injection Vulnerability","desc":"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.","action":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","notes":"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"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"76d90e51866934b5b8d9da7b726ba721","generated":"2026-11-26T18:52:39.820261Z","es":{"untrusted_title":"Inyección de comandos del sistema en routers DrayTek Vigor","untrusted_summary":"Se encontró una vulnerabilidad crítica de inyección de comandos del sistema en los routers DrayTek Vigor2960 y Vigor300B versión 1.5.1.4, en la interfaz de gestión web. Un atacante remoto sin autenticación puede ejecutar comandos del sistema manipulando el parámetro session en /cgi-bin/mainfunction.cgi/apmcfgupload. CISA confirmó que esta vulnerabilidad está siendo explotada activamente."},"en":{"untrusted_title":"OS Command Injection in DrayTek Vigor Routers","untrusted_summary":"A critical OS command injection vulnerability was found in DrayTek Vigor2960 and Vigor300B routers version 1.5.1.4 in the web management interface. An unauthenticated remote attacker can execute arbitrary system commands by manipulating the session parameter in /cgi-bin/mainfunction.cgi/apmcfgupload. CISA confirmed this vulnerability is actively exploited."},"remediation":{"status":"fix","fixed_versions":["1.5.1.5"],"untrusted_action_es":"Actualiza el firmware de los routers Vigor2960 y Vigor300B a la versión 1.5.1.5 o superior desde el sitio oficial de DrayTek.","untrusted_action_en":"Upgrade the firmware of Vigor2960 and Vigor300B routers to version 1.5.1.5 or later from DrayTek's official website.","vendor_url":"https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf"},"reviewed":false},"references":[{"url":"https://netsecfish.notion.site/Command-Injection-in-apmcfgupload-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c8040b7f1f0ffe29ce18f?pvs=4","tags":["Exploit","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.289380","tags":["Permissions Required","VDB Entry"]},{"url":"https://vuldb.com/?id.289380","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://vuldb.com/?submit.468795","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf","tags":["Release Notes"]},{"url":"https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf","tags":["Release Notes"]},{"url":"https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf","tags":["Not Applicable"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12987","tags":["US Government Resource"]}]}}