What’s Vulnerable › Vulnerabilities

CVE-2023-37477: Command injection in firewall ip functionality in 1Panel

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

How to fix

Upgrade to a fixed version: 1Panel-dev 1Panel 1.4.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-37477 or the next vulnerability affects your stack