cve/2023/CVE-2023-39966.md

18 lines
1002 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-39966](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39966)
![](https://img.shields.io/static/v1?label=Product&message=1Panel&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3D%201.4.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-862%3A%20Missing%20Authorization&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-hf7j-xj3w-87g4
#### Github
No PoCs found on GitHub currently.