CVE-2022-50994
highpriority · track · 1EPSS 0.014 · 73 %ileEUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.2–9.2
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (1)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2022-50994cnnvd
- https://www.draytek.com/Patchcnnvd
- https://www.draytek.co.uk/support/downloads/vigor-2960/older-firmware/firmware-1514?task=download.send&id=2597:readme-v2960-1514&catid=1251enisa_euvd
- https://www.draytek.com/about/newsroom/2021/2021/end-of-life-notification-vigor2960enisa_euvd
- https://www.vulncheck.com/advisories/draytek-vigor-2960-os-command-injection-via-mainfunction-cgienisa_euvd
- https://www.draytek.co.uk/support/downloads/vigor-2960/older-firmware/firmware-1514?task=download.send&id=2597:readme-v2960-1514&catid=1251nvd
- https://www.draytek.com/about/newsroom/2021/2021/end-of-life-notification-vigor2960nvd
- https://www.vulncheck.com/advisories/draytek-vigor-2960-os-command-injection-via-mainfunction-cginvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan