CVE-2022-24989
CRITICAL EXPLOITED RANSOMWARETerraMaster TOS < 4.2.31 - Unauthenticated Remote Code Execution via api.php Raid Creation
Title source: llmExploitation Summary
CVE-2022-24989 has been observed exploited in the wild (reported by VulnCheck KEV), including in ransomware campaigns.
EIP tracks 1 public exploit, including a Metasploit module exploits/linux/http/terramaster_unauth_rce_cve_2022_24990.
AI-analyzed exploit summary This Metasploit module exploits an unauthenticated RCE in TerraMaster TOS by chaining CVE-2022-24990 (info leak) and CVE-2022-24989 (authenticated RCE). It leaks admin credentials via `api.php?mobile/webNasIPS` and executes commands via `api.php?mobile/createRaid`.
Description
TerraMaster NAS through 4.2.30 allows remote WAN attackers to execute arbitrary code as root via the raidtype and diskstring parameters for PHP Object Instantiation to the api.php?mobile/createRaid URI. (Shell metacharacters can be placed in raidtype because popen is used without any sanitization.) The credentials from CVE-2022-24990 exploitation can be used.
Exploits (1)
This Metasploit module exploits an unauthenticated RCE in TerraMaster TOS by chaining CVE-2022-24990 (info leak) and CVE-2022-24989 (authenticated RCE). It leaks admin credentials via `api.php?mobile/webNasIPS` and executes commands via `api.php?mobile/createRaid`.
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H