{"id":"CVE-2023-39966","summary":"1Panel arbitrary file write vulnerability exists in the background","details":"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.","aliases":["GHSA-hf7j-xj3w-87g4","GO-2023-2006"],"modified":"2026-03-14T12:17:06.687885Z","published":"2023-08-10T17:46:21.104Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39966.json","cwe_ids":["CWE-862"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/1Panel-dev/1Panel/releases/tag/v1.5.0"},{"type":"ADVISORY","url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-hf7j-xj3w-87g4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39966.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39966"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/1panel-dev/1panel","events":[{"introduced":"0"},{"fixed":"39d8b0d98c563308df966a676a5f8aec976d10d1"}]}],"versions":["v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.4.0","v1.4.1","v1.4.2","v1.4.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39966.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}