A SQL injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated users to inject malicious code via a network.
We have already fixed the vulnerability in the following versions: QTS 5.1.5.2645 build 20240116 and later QTS 4.5.4.2627 build 20231225 and later QuTS hero h5.1.5.2647 build 20240118 and later QuTS hero h4.5.4.2626 build 20231225 and later QuTScloud c5.1.5.2651 and later
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Qts | Qnap | 4.5.4.1715-build_20210630 (including) | 4.5.4.1715-build_20210630 (including) |
Qts | Qnap | 4.5.4.1723-build_20210708 (including) | 4.5.4.1723-build_20210708 (including) |
Qts | Qnap | 4.5.4.1741-build_20210726 (including) | 4.5.4.1741-build_20210726 (including) |
Qts | Qnap | 4.5.4.1787-build_20210910 (including) | 4.5.4.1787-build_20210910 (including) |
Qts | Qnap | 4.5.4.1800-build_20210923 (including) | 4.5.4.1800-build_20210923 (including) |
Qts | Qnap | 4.5.4.1892-build_20211223 (including) | 4.5.4.1892-build_20211223 (including) |
Qts | Qnap | 4.5.4.1931-build_20220128 (including) | 4.5.4.1931-build_20220128 (including) |
Qts | Qnap | 4.5.4.2012-build_20220419 (including) | 4.5.4.2012-build_20220419 (including) |
Qts | Qnap | 4.5.4.2117-build_20220802 (including) | 4.5.4.2117-build_20220802 (including) |
Qts | Qnap | 4.5.4.2280-build_20230112 (including) | 4.5.4.2280-build_20230112 (including) |
Qts | Qnap | 4.5.4.2374-build_20230416 (including) | 4.5.4.2374-build_20230416 (including) |
Qts | Qnap | 4.5.4.2627 (including) | 4.5.4.2627 (including) |
Qts | Qnap | 5.1.0.2348-build_20230325 (including) | 5.1.0.2348-build_20230325 (including) |
Qts | Qnap | 5.1.0.2399-build_20230515 (including) | 5.1.0.2399-build_20230515 (including) |
Qts | Qnap | 5.1.0.2418-build_20230603 (including) | 5.1.0.2418-build_20230603 (including) |
Qts | Qnap | 5.1.0.2444-build_20230629 (including) | 5.1.0.2444-build_20230629 (including) |
Qts | Qnap | 5.1.0.2466-build_20230721 (including) | 5.1.0.2466-build_20230721 (including) |
Qts | Qnap | 5.1.1.2491-build_20230815 (including) | 5.1.1.2491-build_20230815 (including) |
Qts | Qnap | 5.1.2.2533-build_20230926 (including) | 5.1.2.2533-build_20230926 (including) |
Qts | Qnap | 5.1.3.2578-build_20231110 (including) | 5.1.3.2578-build_20231110 (including) |
Qts | Qnap | 5.1.4.2596-build_20231128 (including) | 5.1.4.2596-build_20231128 (including) |
Qts | Qnap | 5.1.5.2645 (including) | 5.1.5.2645 (including) |
Quts_hero | Qnap | h4.5.4.1771-build_20210825 (including) | h4.5.4.1771-build_20210825 (including) |
Quts_hero | Qnap | h4.5.4.1800-build_20210923 (including) | h4.5.4.1800-build_20210923 (including) |
Quts_hero | Qnap | h4.5.4.1813-build_20211006 (including) | h4.5.4.1813-build_20211006 (including) |
Quts_hero | Qnap | h4.5.4.1848-build_20211109 (including) | h4.5.4.1848-build_20211109 (including) |
Quts_hero | Qnap | h4.5.4.1892-build_20211223 (including) | h4.5.4.1892-build_20211223 (including) |
Quts_hero | Qnap | h4.5.4.1951-build_20220218 (including) | h4.5.4.1951-build_20220218 (including) |
Quts_hero | Qnap | h4.5.4.1971-build_20220310 (including) | h4.5.4.1971-build_20220310 (including) |
Quts_hero | Qnap | h4.5.4.1991-build_20220330 (including) | h4.5.4.1991-build_20220330 (including) |
Quts_hero | Qnap | h4.5.4.2052-build_20220530 (including) | h4.5.4.2052-build_20220530 (including) |
Quts_hero | Qnap | h4.5.4.2138-build_20220824 (including) | h4.5.4.2138-build_20220824 (including) |
Quts_hero | Qnap | h4.5.4.2217-build_20221111 (including) | h4.5.4.2217-build_20221111 (including) |
Quts_hero | Qnap | h4.5.4.2272-build_20230105 (including) | h4.5.4.2272-build_20230105 (including) |
Quts_hero | Qnap | h4.5.4.2374-build_20230417 (including) | h4.5.4.2374-build_20230417 (including) |
Quts_hero | Qnap | h4.5.4.2476-build_20230728 (including) | h4.5.4.2476-build_20230728 (including) |
Quts_hero | Qnap | h4.5.4.2626 (including) | h4.5.4.2626 (including) |
Quts_hero | Qnap | h5.1.0.2409-build_20230525 (including) | h5.1.0.2409-build_20230525 (including) |
Quts_hero | Qnap | h5.1.0.2424-build_20230609 (including) | h5.1.0.2424-build_20230609 (including) |
Quts_hero | Qnap | h5.1.0.2453-build_20230708 (including) | h5.1.0.2453-build_20230708 (including) |
Quts_hero | Qnap | h5.1.0.2466-build_20230721 (including) | h5.1.0.2466-build_20230721 (including) |
Quts_hero | Qnap | h5.1.1.2488-build_20230812 (including) | h5.1.1.2488-build_20230812 (including) |
Quts_hero | Qnap | h5.1.2.2534-build_20230927 (including) | h5.1.2.2534-build_20230927 (including) |
Quts_hero | Qnap | h5.1.3.2578-build_20231110 (including) | h5.1.3.2578-build_20231110 (including) |
Quts_hero | Qnap | h5.1.4.2596-build_20231128 (including) | h5.1.4.2596-build_20231128 (including) |
Quts_hero | Qnap | h5.1.5.2647 (including) | h5.1.5.2647 (including) |
Qutscloud | Qnap | c5.1.0.2498-build_20230822 (including) | c5.1.0.2498-build_20230822 (including) |
Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. This can be used to alter query logic to bypass security checks, or to insert additional statements that modify the back-end database, possibly including execution of system commands. SQL injection has become a common issue with database-driven web sites. The flaw is easily detected, and easily exploited, and as such, any site or product package with even a minimal user base is likely to be subject to an attempted attack of this kind. This flaw depends on the fact that SQL makes no real distinction between the control and data planes.