CVE-2021-45841

HIGH

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-45841. 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 leverages session crafting, information leakage, and command injection to gain elevated privileges.

Description

In Terramaster F4-210, F2-210 TOS 4.2.X (4.2.15-2107141517), an attacker can self-sign session cookies by knowing the target's MAC address and the user's password hash. Guest users (disabled by default) can be abused using a null/empty hash and allow an unauthenticated attacker to login as guest.

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 leverages session crafting, information leakage, and command injection to gain elevated privileges.

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 · TOS version <= 4.2.15
devstral-2 · analyzed Apr 23, 2026 Full analysis →

References (2)

Core 2

Scores

CVSS v3 8.1
EPSS 0.6551
EPSS Percentile 98.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

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