All reports
High

1Panel O&M management panel has a background arbitrary file reading vulnerability

Affected versions

Version ranges need review.

Affected versions
= 1.4.3
Fixed version
1.5.0
Affected versions
>=1.4.3 <1.5.0
Fixed version
1.5.0

Exploitation

CVE-2023-39964

Probability of exploitation in the next 30 days: 2.44%

FIRST EPSS · 2026-11-21

Description

Summary

Arbitrary file reads allow an attacker to read arbitrary important configuration files on the server.

Details

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 picture1

PoC

Request /api/v1/files/loadfile, carry /etc/passwd data to read, as shown below: 微信图片_20230731112833

Impact

1Panel v1.4.3

Links

Credits

  • darkfive2022