{"id":"CVE-2024-12986","published":"2024-12-27T15:31:05Z","modified":"2025-05-16T18:37:19Z","title":"DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupptim os command injection","vendor":"DrayTek","product":"Vigor2960","tier":"tail","description":{"text":"A vulnerability, which was classified as critical, has been found in DrayTek Vigor2960 and Vigor300B 1.5.1.3/1.5.1.4. This issue affects some unknown processing of the file /cgi-bin/mainfunction.cgi/apmcfgupptim of the component Web Management Interface. The manipulation of the argument session leads to os command injection. The attack may be initiated 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.18001,"percentile":0.97776,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://vuldb.com/?id.289379","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.289379","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.468794","tags":["third-party-advisory"]},{"url":"https://netsecfish.notion.site/Command-Injection-in-apmcfgupptim-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c80b9ad8cc37b93273bf6?pvs=4","tags":["exploit"]}],"priority":{"score":29.7,"factors":[{"name":"EPSS percentile","points":19.56},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-01-04","earliestUrl":"https://github.com/Aether-0/CVE-2024-12986","repos":[{"name":"Aether-0/CVE-2024-12986","url":"https://github.com/Aether-0/CVE-2024-12986","stars":173,"created":"2025-01-04"}]},"first":{"date":"2025-01-04","source":"PoC-in-GitHub","url":"https://github.com/Aether-0/CVE-2024-12986"},"provenance":"source"},"vendorSlug":"draytek","affectedVersions":[{"vendor":"DrayTek","product":"Vigor2960","versions":["1.5.1.3","1.5.1.4"]},{"vendor":"DrayTek","product":"Vigor300B","versions":["1.5.1.3","1.5.1.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-30T14:38:09.100530Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A flaw in the Web Management Interface component of DrayTek Vigor2960 and Vigor300B devices lets crafted input to the apmcfgupptim endpoint at /cgi-bin/mainfunction.cgi, via the session argument, reach the operating system as commands. An attacker can exploit this remotely over the network, without authentication or user interaction, to run OS commands on the device.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:29Z"},"euvd":{"id":"EUVD-2024-51245","exploited":false,"provenance":"source"},"exploitRefs":["https://netsecfish.notion.site/Command-Injection-in-apmcfgupptim-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c80b9ad8cc37b93273bf6?pvs=4"]}