CVE-2020-35665 is an unauthenticated command-execution vulnerability in TerraMaster TOS through version 4.2.06. The flaw is present in include/makecvs.php during CSV creation, where the Event parameter is incorporated into shell execution without proper neutralization of shell metacharacters. An attacker can supply crafted input to the Event parameter and inject arbitrary shell commands, resulting in command execution on the underlying operating system without authentication.
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 (1 hidden).
This repository contains a single Metasploit module targeting TerraMaster TOS (versions 4.2.06 and lower) for unauthenticated remote code execution (RCE) via CVE-2020-35665. The exploit abuses shell metacharacter injection in the 'Event' parameter of the '/include/makecvs.php' endpoint, allowing an attacker to upload a web shell or execute arbitrary commands without authentication. The module supports multiple payloads, including PHP meterpreter, Unix command reverse shell, and Linux binary droppers, and can automatically clean up artifacts after exploitation. It fingerprints the target's TOS version and CPU architecture via the '/tos/index.php?user/login' endpoint. The exploit is weaponized, providing reliable, repeatable RCE with post-exploitation capabilities. The code is written in Ruby and is structured as a standard Metasploit exploit module.
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.
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A 1-day vulnerability used by the Necro botnet as a propagation method to compromise Linux devices and deliver Necro along with XMRig miners.
A 1-day vulnerability used by the Necro Linux botnet to propagate its third version shortly after public disclosure.
An unauthenticated command-execution vulnerability in TerraMaster devices that the botnet uses as an infection vector to download and execute Python malware.
A TerraMaster vulnerability listed as adopted by Keksec for Necro botnet exploitation shortly after public exposure.
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.