CVE-2023-39964: 1Panel O&M management panel has a background arbitrary file reading vulnerability
Summary Arbitrary file reads allow an attacker to read arbitrary important configuration files on the server.
Details In the api/v1/file.go file, there is a function called LoadFromFile, which directly reads the file by obtaining the requested path parameter[path]. The request parameters are not filtered, resulting in a background arbitrary file reading vulnerability !picture1
PoC Request /api/v1/files/loadfile, carry /etc/passwd data to read, as shown below: !微信图片20230731112833
Impact 1Panel v1.4.3
Other sources
1Panel is an open source Linux server operation and maintenance management panel. In version 1.4.3, arbitrary file reads allow an attacker to read arbitrary important configuration files on the server. In the api/v1/file.go file, there is a function called LoadFromFile, which directly reads the file by obtaining the requested path parameter[path]. The request parameters are not filtered, resulting in a background arbitrary file reading vulnerability. Version 1.5.0 has a patch for this issue.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-39964?
CVE-2023-39964 is a vulnerability in 1Panel, an open source Linux server operation and maintenance management panel, that allows an attacker to read arbitrary important configuration files on the server.
How severe is CVE-2023-39964?
CVE-2023-39964 has a severity score of 7.5, which is considered high.
How can I fix CVE-2023-39964?
To fix CVE-2023-39964, update to version 1.5.0 of 1Panel.