CVE-2021-45841 is a vulnerability in TerraMaster F4-210 and F2-210 NAS devices running TOS 4.2.X (specifically 4.2.15-2107141517), where an attacker can forge valid session cookies by knowing the target's MAC address and the user's password hash. The vulnerability also allows abuse of the guest user account (disabled by default) by using a null or empty hash, enabling unauthenticated attackers to log in as guest.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module targeting TerraMaster TOS (versions 4.2.15 and below) for unauthenticated remote code execution (RCE) as root. The exploit chains multiple vulnerabilities (CVE-2021-45839, CVE-2021-45841, and CVE-2021-45837): it first leaks the admin password hash and MAC address via a vulnerable API endpoint, then crafts a valid admin session, and finally exploits a command injection vulnerability to execute arbitrary commands as root. The module supports both command execution and binary dropper payloads, allowing for reverse shells or Meterpreter sessions. The attack is performed over HTTP(S) and does not require authentication. The main endpoints involved are '/module/api.php?mobile/webNasIPS' for information leakage and '/tos/index.php?app/del' for command injection. The code is weaponized, fully integrated into Metasploit, and provides reliable exploitation against vulnerable TerraMaster NAS devices.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.