CVE-2022-24990
HIGH KEV RANSOMWARE NUCLEITerraMaster TOS 4.2.29 or lower - Unauthenticated RCE chaining CVE-2022-24990 and CVE-2022-24989
Title source: metasploitExploitation Summary
CVE-2022-24990 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added February 10, 2023, with confirmed use in ransomware campaigns.
EIP tracks 7 public exploits from researchers including lishang520, 0xf4n9x, jsongmax, including a Metasploit module exploits/linux/http/terramaster_unauth_rce_cve_2022_24990.
A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC exploits CVE-2022-24990, an information disclosure and RCE vulnerability in TerraMaster TOS. It first leaks sensitive information via an API endpoint and then uses the leaked credentials to execute arbitrary commands, writing a PHP file to the target system.
Description
TerraMaster NAS 4.2.29 and earlier allows remote attackers to discover the administrative password by sending "User-Agent: TNAS" to module/api.php?mobile/webNasIPS and then reading the PWD field in the response.
Exploits (7)
This PoC exploits CVE-2022-24990, an information disclosure and RCE vulnerability in TerraMaster TOS. It first leaks sensitive information via an API endpoint and then uses the leaked credentials to execute arbitrary commands, writing a PHP file to the target system.
This is a functional exploit for CVE-2022-24990, targeting TerraMaster TOS unauthenticated RCE via PHP Object Instantiation. It includes both vulnerability detection and webshell upload capabilities.
This repository contains a Go-based exploit for CVE-2022-24990, targeting TerraMaster TOS devices. It includes both a PoC for information leakage and an exploit to upload a webshell via command injection in the 'createRaid' API endpoint.
This repository contains a Go-based scanner for CVE-2022-24990, which checks for the presence of a vulnerability in TOTOLINK routers by sending a specific HTTP request and analyzing the response. It supports both single URL and batch scanning with configurable threads.
This PoC scans for CVE-2022-24990, an unauthenticated information disclosure vulnerability in TerraMaster TOS NAS devices. It checks for the presence of sensitive data (ADDR and PWD) in the API response.
The repository contains a functional exploit for CVE-2022-24990, a command injection vulnerability in TerraMaster TOS. The exploit leverages a crafted HTTP request to execute arbitrary commands via the 'raidtype' parameter in the 'createRaid' API endpoint.
This Metasploit module exploits an unauthenticated RCE in TerraMaster TOS by chaining CVE-2022-24990 (sensitive 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`.
Nuclei Templates (1)
TerraMaster || terramaster
References (6)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N