CVE-2023-36457
published 2023-07-05CVE-2023-36457: 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…
PriorityP355high8.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 payload to achieve command injection when adding container repositories. The vulnerability has been fixed in v1.3.6.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 1panel-dev | 1panel | < 1.3.6 | 1.3.6 |
| 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 adding container repositories in github.com/1Panel-dev/1Panel
osv·2024-08-20
CVE-2023-36457 1Panel vulnerable to command injection when adding container repositories in github.com/1Panel-dev/1Panel
1Panel vulnerable to command injection when adding container repositories in github.com/1Panel-dev/1Panel
1Panel vulnerable to command injection when adding container repositories in github.com/1Panel-dev/1Panel
GHSA
1Panel vulnerable to command injection when adding container repositories
ghsa·2023-07-05
CVE-2023-36457 [MEDIUM] CWE-74 1Panel vulnerable to command injection when adding container repositories
1Panel vulnerable to command injection when adding container repositories
### Impact
The authenticated attacker can craft a malicious payload to achieve command injection when adding container repositories.
1. Vulnerability analysis.
```
backend\app\api\v1\image_repo.go#create
```
```
backend\app\service\image_repo.go#CheckConn
```
2. vulnerability reproduction.
```
POST /api/v1/containers/repo 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: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
X-CSRF-TOKEN:
Content-Length: 446
Origin: http://192.168.109.152:40982
Connection: close
Referer: http://192.168.109.152:40982/
OSV
1Panel vulnerable to command injection when adding container repositories
osv·2023-07-05
CVE-2023-36457 [MEDIUM] 1Panel vulnerable to command injection when adding container repositories
1Panel vulnerable to command injection when adding container repositories
### Impact
The authenticated attacker can craft a malicious payload to achieve command injection when adding container repositories.
1. Vulnerability analysis.
```
backend\app\api\v1\image_repo.go#create
```
```
backend\app\service\image_repo.go#CheckConn
```
2. vulnerability reproduction.
```
POST /api/v1/containers/repo 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: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
X-CSRF-TOKEN:
Content-Length: 446
Origin: http://192.168.109.152:40982
Connection: close
Referer: http://192.168.109.152:40982/
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-07-05
Published