Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
DrayTek Vigor 2960
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

DrayTek Vigor 2960是中国居易(DrayTek)公司的一款路由器。 DrayTek Vigor 2960 1.5.1.4之前版本存在操作系统命令注入漏洞,该漏洞源于CGI登录处理程序中的OS命令注入问题,可能导致未经身份验证的远程攻击者通过向formpassword参数注入shell元字符执行任意命令,攻击者可以利用未清理的输入传递给otp_check.sh脚本实现远程代码执行,利用需要知道有效用户名且目标账户已启用MOTP认证。

CVSS 8.1 · High EPSS 1.43% · P72

Affected Version Matrix 1

VendorProduct Version RangeStatus
DrayTek Vigor 2960 < 1.5.1.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-50994

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
DrayTek Vigor 2960 < 1.5.1.4 OS Command Injection via mainfunction.cgi
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
DrayTek Vigor 2960 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
DrayTek Vigor 2960是中国居易(DrayTek)公司的一款路由器。 DrayTek Vigor 2960 1.5.1.4之前版本存在操作系统命令注入漏洞,该漏洞源于CGI登录处理程序中的OS命令注入问题,可能导致未经身份验证的远程攻击者通过向formpassword参数注入shell元字符执行任意命令,攻击者可以利用未清理的输入传递给otp_check.sh脚本实现远程代码执行,利用需要知道有效用户名且目标账户已启用MOTP认证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
DrayTek Vigor 2960 0 ~ 1.5.1.4 -

II. Public POCs for CVE-2022-50994

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
default-local-qwen3.6 · 6726 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2022-50994

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-50994 (1)

Vendor Pages for CVE-2022-50994 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-50994

No comments yet


Leave a comment