Skip to content

CVE-2022-50994 DrayTek Vigor 2960 < 1.5.1.4 OS Command Injection via mainfunction.cgi

CriticalCVSS 9.2 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

DrayTek Vigor 2960 firmware versions prior to 1.5.1.4 contain an OS command injection vulnerability in the CGI login handler that allows unauthenticated remote attackers to execute arbitrary commands by injecting shell metacharacters into the formpassword parameter. Attackers can exploit unsanitized input passed to the otp_check.sh script to achieve remote code execution with web server privileges. Exploitation requires knowledge of a valid username and that the target account has MOTP authentication enabled.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
draytek Vigor 2960 < 1.5.1.4 1.5.1.4 Fixed

Affected products

ProductAffected versionsFixed in
draytek Vigor 2960 < 1.5.1.4 1.5.1.4

References