An improper neutralization of argument delimiters in a command vulnerability has been reported to affect several QNAP operating system versions. The remote attackers can then exploit the vulnerability to alter execution logic.
We have already fixed the vulnerability in the following versions: QTS 5.2.7.3297 build 20251024 and later QuTS hero h5.2.7.3297 build 20251024 and later QuTS hero h5.3.1.3292 build 20251024 and later
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Qts | Qnap | 5.2.0.2737-build_20240417 (including) | 5.2.0.2737-build_20240417 (including) |
| Qts | Qnap | 5.2.0.2744-build_20240424 (including) | 5.2.0.2744-build_20240424 (including) |
| Qts | Qnap | 5.2.0.2782-build_20240601 (including) | 5.2.0.2782-build_20240601 (including) |
| Qts | Qnap | 5.2.0.2802-build_20240620 (including) | 5.2.0.2802-build_20240620 (including) |
| Qts | Qnap | 5.2.0.2823-build_20240711 (including) | 5.2.0.2823-build_20240711 (including) |
| Qts | Qnap | 5.2.0.2851-build_20240808 (including) | 5.2.0.2851-build_20240808 (including) |
| Qts | Qnap | 5.2.0.2860-build_20240817 (including) | 5.2.0.2860-build_20240817 (including) |
| Qts | Qnap | 5.2.1.2930-build_20241025 (including) | 5.2.1.2930-build_20241025 (including) |
| Qts | Qnap | 5.2.2.2950-build_20241114 (including) | 5.2.2.2950-build_20241114 (including) |
| Qts | Qnap | 5.2.3.3006-build_20250108 (including) | 5.2.3.3006-build_20250108 (including) |
| Qts | Qnap | 5.2.4.3070-build_20250312 (including) | 5.2.4.3070-build_20250312 (including) |
| Qts | Qnap | 5.2.4.3079-build_20250321 (including) | 5.2.4.3079-build_20250321 (including) |
| Qts | Qnap | 5.2.4.3092-build_20250403 (including) | 5.2.4.3092-build_20250403 (including) |
| Qts | Qnap | 5.2.5.3145-build_20250526 (including) | 5.2.5.3145-build_20250526 (including) |
| Qts | Qnap | 5.2.6.3195-build_20250715 (including) | 5.2.6.3195-build_20250715 (including) |
| Qts | Qnap | 5.2.6.3229-build_20250818 (including) | 5.2.6.3229-build_20250818 (including) |
| Qts | Qnap | 5.2.7.3256-build_20250913 (including) | 5.2.7.3256-build_20250913 (including) |
When creating commands using interpolation into a string, developers may assume that only the arguments/options that they specify will be processed. This assumption may be even stronger when the programmer has encoded the command in a way that prevents separate commands from being provided maliciously, e.g. in the case of shell metacharacters. When constructing the command, the developer may use whitespace or other delimiters that are required to separate arguments when the command. However, if an attacker can provide an untrusted input that contains argument-separating delimiters, then the resulting command will have more arguments than intended by the developer. The attacker may then be able to change the behavior of the command. Depending on the functionality supported by the extraneous arguments, this may have security-relevant consequences.