CVE-2023-39964
Description
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.
How to fix
- github.com/1Panel-dev/1Panel1.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fit2cloud 1panel | 1.4.3 | — |
| github.com/1Panel-dev/1PanelGo | 1.4.3 ≤ v < 1.5.0 | 1.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.