Description
This module exploits an unauthenticated remote code-execution vulnerability in TerraMaster TOS 4.2.06 and lower via shell metacharacters in the Event parameter at vulnerable endpoint `include/makecvs.php` during CSV creation. Any unauthenticated user can therefore execute commands on the system under the same privileges as the web application, which typically runs under root at the TerraMaster Operating System.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/terramaster_unauth_rce_cve_2020_35665msf undefined(terramaster_unauth_rce_cve_2020_35665) > show actions ...actions...msf undefined(terramaster_unauth_rce_cve_2020_35665) > set ACTION < action-name >msf undefined(terramaster_unauth_rce_cve_2020_35665) > show options ...show and set options...msf undefined(terramaster_unauth_rce_cve_2020_35665) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub