PT-2023-27177 · 1Panel · 1Panel

Qiulongk

·

Published

2023-08-10

·

Updated

2024-08-21

·

CVE-2023-39965

CVSS v3.1

6.5

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2023-39965
GHSA-85CF-GJ29-F555
GO-2023-2005

Affected Products

1Panel