CVE-2021-45839

MEDIUM

Terramaster F4-210,F2-210 TOS 4.2.X - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-45839. Includes Metasploit module exploits/linux/http/terramaster_unauth_rce_cve_2021_45837.

AI-analyzed exploit summary This Metasploit module exploits a chain of vulnerabilities (CVE-2021-45837, CVE-2021-45839, CVE-2021-45841) in TerraMaster TOS 4.2.15 or lower to achieve unauthenticated remote code execution as root. It crafts a session by leaking admin credentials and MAC address, then executes arbitrary commands via a vulnerable endpoint.

Description

It is possible to obtain the first administrator's hash set up on the system in Terramaster F4-210, F2-210 TOS 4.2.X (4.2.15-2107141517) as well as other information such as MAC address, internal IP address etc. by performing a request to the /module/api.php?mobile/webNasIPS endpoint.

Exploits (1)

metasploit WORKING POC EXCELLENT
rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/terramaster_unauth_rce_cve_2021_45837.rb

This Metasploit module exploits a chain of vulnerabilities (CVE-2021-45837, CVE-2021-45839, CVE-2021-45841) in TerraMaster TOS 4.2.15 or lower to achieve unauthenticated remote code execution as root. It crafts a session by leaking admin credentials and MAC address, then executes arbitrary commands via a vulnerable endpoint.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: TerraMaster TOS <= 4.2.15
No auth needed
Prerequisites: Network access to the target device · TerraMaster TOS version <= 4.2.15
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2

Scores

CVSS v3 6.5
EPSS 0.0945
EPSS Percentile 94.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

Status published
Products (1)
terra-master/tos 4.2.15-2107141517
Published Apr 25, 2022
Tracked Since Feb 18, 2026