CVE-2022-50994
DrayTek Vigor 2960 < 1.5.1.4 OS Command Injection via mainfunction.cgi
CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | draytek |
| Product | vigor 2960 |
| Published | May 8, 2026 |
| Last Updated | May 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for draytek vigor 2960
Be the first to know when new high vulnerabilities affecting draytek vigor 2960 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
DrayTek / Vigor 2960
0 < 1.5.1.4
References
draytek.co.uk: https://www.draytek.co.uk/support/downloads/vigor-2960/older-firmware/firmware-1514?task=download.send&id=2597:readme-v2960-1514&catid=1251 draytek.com: https://www.draytek.com/about/newsroom/2021/2021/end-of-life-notification-vigor2960 vulncheck.com: https://www.vulncheck.com/advisories/draytek-vigor-2960-os-command-injection-via-mainfunction-cgi