CVE-2026-120935 in ADMinfo

Summary

by MITRE • 11/24/2026

An argument injection vulnerability exists in the settings/vpn.cgi endpoint in the ADM. When processing a WireGuard profile, the internal command parser removes quotes and performs a quote-agnostic scan on arguments without properly sanitizing redirection operators. An authenticated administrator can supply a crafted parameter to cause the execution helper to open and truncate arbitrary files on the filesystem with root privileges, resulting in an arbitrary file truncation and denial-of-service (DoS) condition. Affected products and versions include: from ADM 4.1.0 through ADM 4.3.3.RY62 as well as from ADM 5.0.0 through ADM 5.1.4.RM62.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/24/2026

The vulnerability identified in the QNAP Admin Dashboard (ADM) represents a critical argument injection flaw located within the settings/vpn.cgi endpoint, specifically during the processing of WireGuard configuration profiles. This security issue stems from an inadequate input sanitization mechanism employed by the internal command parser. When handling user-supplied data for VPN parameters, the system performs a quote-agnostic scan and strips quotation marks to facilitate parsing. However, this process fails to properly sanitize or escape special shell metacharacters, particularly redirection operators such as greater-than signs used for file output. This design flaw allows an attacker who has obtained authenticated administrator credentials to inject malicious command-line arguments that bypass the intended logic of the application. The vulnerability is present in ADM versions ranging from 4.1.0 through 4.3.3.RY62 and from 5.0.0 through 5.1.4.RM62, affecting a significant portion of deployed enterprise network infrastructure.

From a technical perspective, the core issue lies in how the backend script processes arguments after stripping quotes. By removing quotation marks without subsequently validating or escaping characters that hold special meaning to the shell interpreter, the application inadvertently allows these characters to be interpreted as part of the command structure rather than as data values. When an administrator submits a crafted parameter containing redirection operators, the system executes commands with root privileges due to the elevated permissions typically required for network configuration changes. Consequently, this enables arbitrary file truncation on the underlying operating system. The attacker can specify any writable path within the filesystem, leading to the immediate and silent deletion of contents in targeted files without creating new ones or altering existing data structures beyond emptying them.

The operational impact of this vulnerability is severe, primarily manifesting as an arbitrary file truncation that directly leads to a denial-of-service condition. By targeting critical system configuration files, log files, or application state files with root privileges, an attacker can destabilize the NAS device and disrupt essential services. For instance, truncating authentication logs may hinder forensic analysis and incident response capabilities, while corrupting network interface configurations could render remote management inaccessible. Since the exploitation requires authenticated access as an administrator, it is classified as a privilege escalation vector in terms of impact rather than initial access, though it leverages existing high-level privileges to cause destructive side effects. This aligns with CWE-78 Improper Neutralization of Special Elements used in an OS Command and CWE-436 Interpretation Conflict, where the stripping of quotes creates ambiguity that is resolved unfavorably by the shell interpreter.

Mitigation strategies for this vulnerability involve both immediate remediation and long-term architectural improvements. The primary defense is to apply the latest firmware updates provided by QNAP, which patch the argument injection flaw in the affected ADM versions. Administrators should ensure that all systems are updated to a version beyond 4.3.3.RY62 or 5.1.4.RM62 where these sanitization checks have been corrected. In environments where immediate patching is not feasible, restricting administrative access through strict network segmentation and multi-factor authentication can reduce the risk of exploitation by limiting exposure to authenticated attackers. Furthermore, implementing robust input validation that explicitly whitelists allowed characters for VPN parameters rather than relying on blacklist-based filtering or quote stripping will prevent similar argument injection issues in future software versions. This approach aligns with ATT&CK technique T1059 Command and Scripting Interpreter, highlighting the need for strict control over how user inputs are translated into system commands to maintain integrity and availability of critical infrastructure components.

Responsible

ASUSTOR1

Reservation

11/03/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00733

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!