CVE-2023-36457 1Panel vulnerable to command injection when adding container repositories

Medium 6.3 Published Updated

An authenticated attacker can execute arbitrary commands via malicious payloads when adding container repositories in 1Panel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-36457?

CVE-2023-36457 is a medium-severity command injection vulnerability in 1Panel-dev 1Panel, published on 5 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

1Panel is an open source Linux server operation and maintenance management panel. Prior to version 1.3.6, an authenticated attacker can craft a malicious payload to achieve command injection when adding container repositories. The vulnerability has been fixed in v1.3.6.

Weakness: CWE-77

Which versions are affected by CVE-2023-36457?

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 GoAll versions1.3.6
github.com/1Panel-dev/1Panel GoAll versions1.3.6
github.com/1Panel-dev/1Panel GoAll versions1.3.6

Products include Fit2cloud 1panel.

How do I fix CVE-2023-36457?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-36457 being exploited?

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

Sources

Also known as GHSA-q2mx-gpjf-3h8x, GO-2023-1887.

Is CVE-2023-36457 in your software?

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

Check your SBOMs for free