Exploit database

Vulnerability

CVE-2022-24990

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

8 sources
TerraMaster TOS 4.2.29 or lower - Unauthenticated RCE chaining CVE-2022-24990 and CVE-2022-24989
MSF-linux--http--terramaster_unauth_rce_cve_2022_24990MetasploitLinux,Unix / remotePreferred

This module exploits an unauthenticated remote code execution vulnerability in TerraMaster TOS 4.2.29 and lower by chaining two existing vulnerabilities, CVE-2022-24990 "Leaking sensitive information" and CVE-2022-24989, "Authenticated remote code execution". Exploiting vulnerable endpoint `api.php?mobile/webNasIPS` leaking sensitive information such as admin password hash and mac address, the attacker can achieve unauthenticated access and use another vulnerable endpoint `api.php?mobile/createRaid` with POST parameters `raidtype` and `diskstring` to execute remote code as root on TerraMaster NAS devices.

2022-03-07terramaster_unauth_rce_cve_2022_24990.rb
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
lishang520/cve-2022-24990
GH-9d2f8e7705324f7b69e200c3a20396ffGitHubUnofficial GitHub source

CVE-2022-24990信息泄露+RCE 一条龙

2022-03-204 files · 38 stars
0xf4n9x/cve-2022-24990
GH-98ba3fb36b2da435316a078732d6fa88GitHubUnofficial GitHub source

CVE-2022-24990 TerraMaster TOS unauthenticated RCE via PHP Object Instantiation

2022-03-204 files · 12 stars
jsongmax/terramaster-cve-2022-24990
GH-3893b09c9dae23fd42672d42682702d1GitHubUnofficial GitHub source

jsongmax/terramaster-cve-2022-24990 source repository

2022-10-175 files · 4 stars
vveakee/cve-2022-24990-poc
GH-178c5c9fcbb4b12d86aa1b820a295408GitHubUnofficial GitHub source

仅仅是poc,并不是exp

2022-03-104 files · 4 stars
zz-socmap/cve-2022-24990
GH-233426c064b2f10d96dce19e1a311fe9GitHubUnofficial GitHub source

TerraMaster TOS Unauthenticated Remote Command Execution(RCE) Vulnerability CVE-2022-24990

2022-04-125 files · 3 stars
d4n-sec/d4n-sec.github.io
GH-a977c770ad0cb70a8725a440ce0aeba7GitHubUnofficial GitHub source

Generated personal blog

2026-11-06385 files · 0 stars