7.5high
1Panel O&M management panel has a background arbitrary file reading vulnerability
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.50% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pv7q-v9mv-9mh5GO-2023-2004
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 1Panel-dev 1Panel | = 1.4.3 | CVE List |
| fit2cloud 1panel | 1.4.3 | CVE List, NVD |
| github.com/1Panel-dev/1Panel (Go) | from 1.4.3 before 1.5.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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
Go Vulnerability Database
1Panel O&M management panel has a background arbitrary file reading vulnerability in github.com/1Panel-dev/1Panel
NVD (es)
1Panel es un panel de gestión de operación y mantenimiento de servidores Linux de código abierto. En la versión 1.4.3 las lecturas de archivos arbitrarios permiten a un atacante leer archivos de configuración importantes y arbitrarios en el servidor. En el archivo `api/v1/file.go`, hay una función llamada `LoadFromFile`, que lee directamente el archivo obteniendo la ruta solicitada `parámetro [ruta]`. Los parámetros de solicitud no se filtran, lo que genera una vulnerabilidad de lectura de archivos arbitrarios en segundo plano. La versión 1.5.0 tiene un parche para este problema.
References
| https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-pv7q-v9mv-9mh5 | advisory, exploit, vendor-advisory, web | |
| https://github.com/1Panel-dev/1Panel/releases/tag/v1.5.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-39964 | advisory | |
| https://github.com/1Panel-dev/1Panel | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-39964 changed 2024-10-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pv7q-v9mv-9mh5 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-2004 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2023-39964 changed 2026-06-17 | Public domain |