CVE-2023-36458 1Panel vulnerable to ommand injection when entering the container terminal
An authenticated attacker can execute arbitrary commands via the container terminal feature 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-36458?
CVE-2023-36458 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 payloads to achieve command injection when entering the container terminal. The vulnerability has been fixed in v1.3.6.
Weakness: CWE-77
Which versions are affected by CVE-2023-36458?
3 open source packages ship an affected version, including github.com/1Panel-dev/1Panel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/1Panel-dev/1Panel Go | All versions | 1.3.6 |
github.com/1Panel-dev/1Panel Go | All versions | 1.3.6 |
github.com/1Panel-dev/1Panel Go | All versions | 1.3.6 |
Products include Fit2cloud 1panel.
How do I fix CVE-2023-36458?
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-36458 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-36458 exists.
Other vulnerabilities in 1Panel-dev 1Panel
Sources
Also known as GHSA-7x2c-fgx6-xf9h, GO-2023-1888.