CRITICAL

CVE-2024-12987

Draytek Vigor300b Firmware 2024-12-27 CVSS v3.1
CVSS
9.8
KEV

Description

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.

Summary dbcve.org

OS command injection vulnerability in DrayTek Vigor2960 and Vigor300B web management interface (1.5.1.4). The /cgi-bin/mainfunction.cgi/apmcfgupload endpoint fails to sanitize the session argument, allowing remote attackers to execute arbitrary OS commands.

Mitigation

Upgrade firmware to version 1.5.1.5 or later. If immediate upgrade is not possible, restrict access to the web management interface to trusted IP addresses via firewall rules.

Proof of Concept

Weakness (CWE)

CWE-77 Command Injection
CWE-78 OS Command Injection

EPSS Score

98.08%
Probability of exploitation in next 30 days
99.9th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE