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.
the payload ; sleep 3 #
will lead server response in 3 seconds
the payload ; sleep 6 #
will lead server response in 6 seconds
An attacker can execute arbitrary code on the target system, which can lead to a complete compromise of the system.
The vulnerability has been fixed in v1.4.3.
It is recommended to upgrade the version to v1.4.3.
If you have any questions or comments about this advisory:
Open an issue in https://github.com/1Panel-dev/1Panel Email us at wanghe@fit2cloud.com
{ "nvd_published_at": "2023-07-18T19:15:09Z", "cwe_ids": [ "CWE-78" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-07-18T19:10:58Z" }