Описание
1Panel Arbitrary File Download vulnerability
Summary
Any file downloading vulnerability exists in 1Panel backend.
Details
Authenticated attackers can download arbitrary files through the API interface. This code has unauthorized access.

PoC
payload:
POST /api/v1/files/download/bypath HTTP/1.1 Host: ip Content-Type: application/json
{"path":"/etc/passwd"}

Impact
Attackers can freely download the file content on the target system. This will be caused a large amount of information leakage.
Пакеты
github.com/1Panel-dev/1Panel
= 1.4.3
1.5.0
Связанные уязвимости
1Panel is an open source Linux server operation and maintenance management panel. In version 1.4.3, authenticated attackers can download arbitrary files through the API interface. This code has unauthorized access. Attackers can freely download the file content on the target system. This may cause a large amount of information leakage. Version 1.5.0 has a patch for this issue.