Sceawere
Vulnerability Detail
CVE-2026-71915UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
DrayTek VigorSwitch Command Injection Vulnerability
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 7.2
- Creation Date
- 4h ago
- Vendor
- DrayTek Corporation
- Product
- VigorSwitch G2540xs
- Attack Type
- Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the jsonstatus function. The vulnerability is caused by insufficient filtering of the usescript, usefile, and option fields before command execution. A remote attacker can trigger this vulnerability via crafted input to execute arbitrary commands with root privileges. Exploitation requires valid administrative credentials for the device's web management interface.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "7.2",
"pubDate": "2026-08-24T18:17:03.670Z",
"pubdate": "2026-08-24T18:17:03.670Z",
"executiveSummary": "Multiple DrayTek VigorSwitch models suffer from a critical command injection vulnerability localized within the jsonstatus function of the device firmware.\nThe security flaw stems from inadequate sanitization and filtering of user-supplied input passed through the usescript, usefile, and option fields prior to execution by the underlying operating system shell.\nSuccessful exploitation of this vulnerability enables a remote attacker to execute arbitrary system commands directly with root privileges, leading to a total compromise of the affected networking hardware.\nThe risk implications are severe, as unauthorized command execution at the highest privilege level allows threat actors to manipulate network traffic, intercept sensitive data, deploy persistent backdoors, or use the compromised switch as a pivot point into the internal network infrastructure.\nWhile the attack can be initiated remotely via the device's web management interface, exploitation strictly requires the attacker to possess valid administrative credentials to authenticate to the management console.\nAffected systems comprise multiple DrayTek VigorSwitch models that incorporate the vulnerable jsonstatus function within their web administration interface.",
"technicalDetails": "The vulnerability resides in the jsonstatus function exposed by the web management interface of multiple DrayTek VigorSwitch models.\nThe root cause of the security defect is insufficient input validation and sanitization applied to specific HTTP parameters, specifically the usescript, usefile, and option fields, before the data is passed to the underlying system shell for execution.\nBecause the web application fails to properly escape or restrict metacharacters within these input vectors, an attacker can append malicious shell commands to the intended execution flow.\nThe attack vector is network-based, targeting the web management interface of the DrayTek VigorSwitch over protocols such as HTTP or HTTPS.\nAuthentication requirements dictate that the attacker must first obtain valid administrative credentials to successfully authenticate to the administrative web panel and access the vulnerable jsonstatus endpoint.\nPrivilege requirements are absolute; any injected payloads are executed directly with root privileges, granting the attacker unrestricted control over the underlying Linux-based operating system of the switch.\nThe exploitation flow proceeds as follows: First, the authenticated attacker crafts a malicious HTTP request targeting the jsonstatus function. Second, the attacker injects arbitrary shell commands into the usescript, usefile, or option fields. Third, the vulnerable application processes the input and forwards the unsanitized string to the system command interpreter. Finally, the operating system executes the injected payload with root privileges, allowing the attacker to achieve immediate system compromise and execute post-exploitation activities such as privilege persistence, network reconnaissance, or further lateral movement."
}