Command Injection in TOS - CVE-2022-24990
Published: March 16, 2022 / Updated: September 20, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The vulnerability exists due to improper input validation in the webNasIPS component in the api.php script. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
How to mitigate CVE-2022-24990
Links to Public Exploits and PoC-codes
- Exploit #10522 - CVE-2022-24990 (TerraMaster TOS Unauthenticated Remote Command Execution(RCE) Vulnerability CVE-2022-24990) (September 20, 2024)
- Exploit #9114 - TerraMaster TOS 4.2.29 or lower - Unauthenticated RCE chaining CVE-2022-24990 and CVE-2022-24989 (June 14, 2023)
- Exploit #8500 - terraMaster-CVE-2022-24990 () (October 19, 2022)
- Exploit #7633 - CVE-2022-24990 (TerraMaster TOS Unauthenticated Remote Command Execution(RCE) Vulnerability CVE-2022-24990) (April 12, 2022)
- Exploit #7534 - CVE-2022-24990 (CVE-2022-24990 TerraMaster TOS unauthenticated RCE via PHP Object Instantiation) (March 23, 2022)
- Exploit #7521 - CVE-2022-24990 (CVE-2022-24990信息泄露+RCE 一条龙) (March 20, 2022)
- Exploit #7509 - CVE-2022-24990-POC (仅仅是poc,并不是exp) (March 16, 2022)