Skip to content
OpenAdvisories
High · 8.1 CVE-2022-50994 EUVD-2022-55966GHSA-ccr6-v597-2vp9

DrayTek Vigor 2960 < 1.5.1.4 OS Command Injection via mainfunction.cgi

Published May 8, 2026 · Updated Jul 15, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
DrayTek Vigor 2960 < 1.5.1.4 1.5.1.4

References