CVE-2023-37477 Command injection in firewall ip functionality in 1Panel
- Published
- Updated
- Exploit status
- No public exploit known
Description
1Panel is an open source Linux server operation and maintenance management panel. An OS command injection vulnerability exists in 1Panel firewall functionality. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make an authenticated HTTP request to trigger this vulnerability. 1Panel firewall functionality /hosts/firewall/ip endpoint read user input without validation, the attacker extends the default functionality of the application, which execute system commands. An attacker can execute arbitrary code on the target system, which can lead to a complete compromise of the system. This issue has been addressed in commit e17b80cff49 which is included in release version 1.4.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| 1Panel-dev github.com/1Panel-dev/1Panel(Go) | <= 1.4.2 | No fix listed |
| 1Panel-dev github.com/1Panel-dev/1Panel(Go) | < 1.4.3 | 1.4.3 |
| 1Panel-dev github.com/1Panel-dev/1Panel | = < 1.4.3 | No fix listed |
| fit2cloud 1panel | < 1.4.3 | 1.4.3 |
References
- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-p9xf-74xh-mhw5 exploit vendor-advisory
- https://github.com/1Panel-dev/1Panel/commit/e17b80cff4975ee343568ff526b62319f499005d patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product