PT-2023-27177 · 1Panel · 1Panel
Qiulongk
·
Published
2023-08-10
·
Updated
2024-08-21
·
CVE-2023-39965
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
1Panel versions 1.4.3
Description
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, specifically the "POST /api/v1/files/download/bypath" endpoint, by providing a
path variable, such as {"path":"/etc/passwd"}, allowing unauthorized access to the target system's files. This may cause a large amount of information leakage.Recommendations
For version 1.4.3, update to version 1.5.0 to resolve the issue. As a temporary workaround, consider restricting access to the
/api/v1/files/download/bypath endpoint until the patch is applied. Avoid using the path variable in the affected API endpoint until the issue is resolved.Exploit
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
1Panel