Vulnerability · Published Aug 10, 2023 · Assigned by GitHub_M
CVE-2023-399661Panel arbitrary file write vulnerability exists in the background
High 7.5
In plain English
A high-severity missing authorization 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 0.8% (higher than 58% 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, an arbitrary file write vulnerability could lead to direct control of the server. In the `api/v1/file.go` file, there is a function called `SaveContentthat,It `recieves JSON data sent by users in the form of a POST request. And the lack of parameter filtering allows for arbitrary file write operations. Version 1.5.0 contains 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-2006 |
| Go | github.com/1Panel-dev/1Panel | 1.5.0 | GHSA-hf7j-xj3w-87g4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 1Panel-dev | 1Panel | = 1.4.3 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-hf7j-xj3w-87g4 x_refsource_CONFIRM
- https://github.com/1Panel-dev/1Panel/releases/tag/v1.5.0 x_refsource_MISC