CVE-2022-50994

HIGH

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 8.1
EPSS 0.0143
EPSS Percentile 69.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (1)
DrayTek/Vigor 2960 < 1.5.1.4
Published May 08, 2026
Tracked Since May 08, 2026