Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/1Panel-dev/1Panel
  4. ›
  5. CVE-2023-37477

CVE-2023-37477: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

July 18, 2023 (updated August 14, 2023)

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.

References

  • github.com/1Panel-dev/1Panel/commit/e17b80cff4975ee343568ff526b62319f499005d
  • github.com/1Panel-dev/1Panel/releases/tag/v1.4.3
  • github.com/1Panel-dev/1Panel/security/advisories/GHSA-p9xf-74xh-mhw5
  • github.com/advisories/GHSA-p9xf-74xh-mhw5
  • nvd.nist.gov/vuln/detail/CVE-2023-37477

Code Behaviors & Features

Detect and mitigate CVE-2023-37477 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.4.2

Fixed versions

  • v1.4.3

Solution

Upgrade to version 1.4.3 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/1Panel-dev/1Panel/CVE-2023-37477.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.