Vulnerability · Published Aug 10, 2023 · Assigned by GitHub_M
CVE-2023-399641Panel O&M management panel has a background arbitrary file reading vulnerability
High 7.5
In plain English
A high-severity path traversal in 1Panel from 1Panel-dev. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/1Panel-dev/1Panel | 1.5.0 | GO-2023-2004 |
| Go | github.com/1Panel-dev/1Panel | 1.5.0 | GHSA-pv7q-v9mv-9mh5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 1Panel-dev | 1Panel | = 1.4.3 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-pv7q-v9mv-9mh5 x_refsource_CONFIRM
- https://github.com/1Panel-dev/1Panel/releases/tag/v1.5.0 x_refsource_MISC