CVE-2023-39965 1Panel Unauthorized access in Backend

Medium 6.5 Published Updated

Attackers can download arbitrary files from the target system via an unauthorized API interface, leading to significant information leakage.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-39965?

CVE-2023-39965 is a medium-severity missing authorization vulnerability in 1Panel-dev 1Panel, published on 10 Aug 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

1Panel is an open source Linux server operation and maintenance management panel. In version 1.4.3, authenticated attackers can download arbitrary files through the API interface. This code has unauthorized access. Attackers can freely download the file content on the target system. This may cause a large amount of information leakage. Version 1.5.0 has a patch for this issue.

Weakness: CWE-863

Which versions are affected by CVE-2023-39965?

3 open source packages ship an affected version, including github.com/1Panel-dev/1Panel. It affects 1 product.

PackageAffectedFixed in
github.com/1Panel-dev/1Panel GoFrom 1.4.31.5.0
github.com/1Panel-dev/1Panel GoFrom 1.4.31.5.0
github.com/1Panel-dev/1Panel GoFrom 1.4.31.5.0

Products include Fit2cloud 1panel.

How do I fix CVE-2023-39965?

Upgrade github.com/1Panel-dev/1Panel to 1.5.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-39965 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39965 exists.

Sources

Also known as GHSA-85cf-gj29-f555, GO-2023-2005.

Is CVE-2023-39965 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free