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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 42.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/1Panel-dev/1Panel1.5.0GO-2023-2006
Gogithub.com/1Panel-dev/1Panel1.5.0GHSA-hf7j-xj3w-87g4

Affected products (as reported)

VendorProductVersions
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