CVE-2022-50994
Last modified
CVE-2022-50994 is a critical-severity vulnerability rated 9.2/10 on the CVSS scale. 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. EPSS estimates a 1.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50994?
How severe is CVE-2022-50994?
How do I fix CVE-2022-50994?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50978An unauthenticated remote attacker could potentially disrupt…7.5
- CVE-2022-50979An unauthenticated adjacent attacker could potentially disru…6.5
- CVE-2022-50980A unauthenticated adjacent attacker could potentially disrup…6.5
- CVE-2022-50981An unauthenticated remote attacker can gain full access on t…9.8
- CVE-2022-50992Weaver (Fanwei) E-cology 9.5 versions prior to 10.52 contain…8.7
- CVE-2022-50993Weaver (Fanwei) E-office versions prior to 10.0_20221201 con…9.8
- CVE-2022-50997Weaver (Fanwei) E-cology 8.0 and 9.0 contains a SQL injectio…7.5
Are you affected by CVE-2022-50994?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
