PT-2024-7997 · Draytek · Draytek Vigor3900

Published

2024-10-28

·

Updated

2024-11-05

·

CVE-2024-51244

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions DrayTek Vigor 3900 version 1.5.1.3
Description The issue exists due to the lack of neutralization of special elements used in the operating system command by the doIPSec function in the mainfunction.cgi file of the DrayTek Vigor 3900 router's firmware. This allows a remote attacker to execute arbitrary code by injecting malicious commands into mainfunction.cgi and calling the doIPSec function.
Recommendations For DrayTek Vigor 3900 version 1.5.1.3, consider disabling the doIPSec function in the mainfunction.cgi file as a temporary workaround until a patch is available. Restrict access to the mainfunction.cgi file to minimize the risk of exploitation. Avoid using the mainfunction.cgi file until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Weakness Enumeration

Related Identifiers

BDU:2024-09511
CVE-2024-51244

Affected Products

Draytek Vigor3900