CVE-2024-12986
JSON

6.9medium

DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupptim os command injection

Severity
6.9medium CVSS:4.0 by VulDB
Exploit likelihood
35.5% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB

Description

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.

Affected

Product or packageVersionsReported by
DrayTek Vigor29601.5.1.3, 1.5.1.4CVE List
DrayTek Vigor300B1.5.1.3, 1.5.1.4CVE List
draytek vigor300b_firmwarefrom 1.5.1.3 before 1.5.1.5NVD
draytek vigor2960_firmwarefrom 1.5.1.3 before 1.5.1.5NVD

All scores

VulDB6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
VulDB7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
VulDB7.3high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
VulDB7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-77CWE-78

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

CVE List (de)

Eine Schwachstelle wurde in DrayTek Vigor2960 and Vigor300B 1.5.1.3/1.5.1.4 entdeckt. Sie wurde als kritisch eingestuft. Hierbei geht es um eine nicht exakt ausgemachte Funktion der Datei /cgi-bin/mainfunction.cgi/apmcfgupptim der Komponente Web Management Interface. Mit der Manipulation des Arguments session mit unbekannten Daten kann eine os command injection-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff über das Netzwerk. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 1.5.1.5 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.

NVD (es)

Se ha encontrado una vulnerabilidad clasificada como crítica en DrayTek Vigor2960 y Vigor300B 1.5.1.3/1.5.1.4. Este problema afecta a algunos procesos desconocidos del archivo /cgi-bin/mainfunction.cgi/apmcfgupptim del componente Web Management Interface. La manipulación del argumento session lleva a la inyección de comandos del sistema operativo. El ataque puede iniciarse de forma remota. El exploit se ha hecho público y puede utilizarse. La actualización a la versión 1.5.1.5 puede solucionar este problema. Se recomienda actualizar el componente afectado.

References

https://vuldb.com/?id.289379technical-description, third-party-advisory, vdb-entry
https://vuldb.com/?ctiid.289379permissions-required, signature, vdb-entry
https://vuldb.com/?submit.468794third-party-advisory, vdb-entry
https://netsecfish.notion.site/Command-Injection-in-apmcfgupptim-endpoint-for-DrayTek-Gateway-Devices-1676b683e67c80b9ad8cc37b93273bf6?pvs=4exploit, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-12986 changed 2025-05-16CVE Terms of Use
NVDCVE-2024-12986 changed 2026-06-17Public domain