8.8
CWE
78 77
Advisory Published
Advisory Published
Updated

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

First published: Tue Jul 18 2023(Updated: )

### Summary 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. ### Details 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. ### PoC the payload `; sleep 3 #` will lead server response in 3 seconds ![image](https://user-images.githubusercontent.com/4935500/252299676-bc4a8b92-e475-40ee-a92a-fec9fad7a6c3.png) the payload `; sleep 6 #` will lead server response in 6 seconds ![image](https://user-images.githubusercontent.com/4935500/252299871-766cc411-69e5-4c6c-b4ff-7774fa974ea0.png) ### Impact An attacker can execute arbitrary code on the target system, which can lead to a complete compromise of the system. ### Patches The vulnerability has been fixed in v1.4.3. ### Workarounds It is recommended to upgrade the version to v1.4.3. ### References 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

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Fit2cloud 1panel<1.4.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-37477?

    CVE-2023-37477 is an OS command injection vulnerability in 1Panel firewall functionality, allowing arbitrary command execution.

  • How can an attacker exploit CVE-2023-37477?

    An attacker can exploit CVE-2023-37477 by sending a specially-crafted HTTP request to the 1Panel firewall functionality.

  • What is the severity of CVE-2023-37477?

    CVE-2023-37477 has a severity rating of 8.8 (high).

  • Which software versions are affected by CVE-2023-37477?

    Fit2cloud 1panel versions up to and including 1.4.3, and go/github.com/1Panel-dev/1Panel versions up to and including 1.4.2.

  • How do I fix CVE-2023-37477?

    To fix CVE-2023-37477, update to Fit2cloud 1panel version 1.4.4 or later, or update go/github.com/1Panel-dev/1Panel to version 1.4.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203