Exploit database

Vulnerability

CVE-2020-35665

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

An unauthenticated command-execution vulnerability exists in TerraMaster TOS through 4.2.06 via shell metacharacters in the Event parameter in include/makecvs.php during CSV creation.

CVE Program

Exploit source choices

2 sources
TerraMaster TOS 4.2.06 or lower - Unauthenticated Remote Code Execution
MSF-linux--http--terramaster_unauth_rce_cve_2020_35665MetasploitLinux,PHP,Unix / remote

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.

2020-12-12terramaster_unauth_rce_cve_2020_35665.rb