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

Published 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

the payload ; sleep 6 # will lead server response in 6 seconds !image

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

Other sources

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 Software

2 affected componentsFixes available
go/github.com/1Panel-dev/1Panel<=1.4.2
1.4.3
FIT2CLOUD 1Panel<1.4.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/1Panel-dev/1Panel to a version that resolves this vulnerability.

    Fixed in 1.4.3
  2. Upgrade

    Upgrade 1Panel to a version that resolves this vulnerability.

    Fixed in 1.4.3Patch e17b80cff49

Event History

Jul 18, 2023
CVE Published
via MITRE·06:25 PM
Data Sourced
via MITRE·06:25 PM
DescriptionSeverityWeakness
Advisory Published
07:10 PM
Data Sourced
07:15 PM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-37477?

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

2

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.

3

What is the severity of CVE-2023-37477?

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

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203