{"id":"CVE-2023-37477","published":"2023-07-18T18:25:53Z","modified":"2024-10-18T17:22:22Z","title":"Command injection in firewall ip functionality in 1Panel","vendor":"1Panel-dev","product":"1Panel","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05845,"percentile":0.93354,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-p9xf-74xh-mhw5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/1Panel-dev/1Panel/commit/e17b80cff4975ee343568ff526b62319f499005d","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.67},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"1panel-dev","affectedVersions":[{"vendor":"1Panel-dev","product":"1Panel","versions":["< 1.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-10-18T16:06:31.577131Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/1Panel-dev/1Panel","vulnerableRanges":["<1.4.3"],"patched":["1.4.3"],"from":["GHSA-p9xf-74xh-mhw5","GO-2023-1940"],"provenance":"source"}],"summary":{"text":"An OS command injection flaw in the firewall functionality of 1Panel, an open source Linux server operation and maintenance management panel, lets user-supplied input reach system commands through the /hosts/firewall/ip endpoint without validation. An attacker with authenticated network access to the panel can send a specially crafted HTTP request to execute arbitrary commands on the target system, which can lead to full compromise of the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:36Z"},"euvd":{"id":"EUVD-2023-2111","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-36457","published":"2023-07-05","fixed":"1.3.6","kev":false,"link":{"from":"CVE-2023-36457","to":"CVE-2023-37477","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/1Panel-dev/1Panel","fromFixed":"1.3.6","toFixed":"1.4.3","daysApart":13}]}},{"cve":"CVE-2023-36458","published":"2023-07-05","fixed":"1.3.6","kev":false},{"cve":"CVE-2023-37477","published":"2023-07-18","fixed":"1.4.3","kev":false},{"cve":"CVE-2023-39964","published":"2023-08-10","fixed":"1.5.0","kev":false,"link":{"from":"CVE-2023-37477","to":"CVE-2023-39964","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/1Panel-dev/1Panel","fromFixed":"1.4.3","toFixed":"1.5.0","daysApart":23}]}},{"cve":"CVE-2023-39965","published":"2023-08-10","fixed":"1.5.0","kev":false,"link":{"from":"CVE-2023-37477","to":"CVE-2023-39965","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/1Panel-dev/1Panel","fromFixed":"1.4.3","toFixed":"1.5.0","daysApart":23}]}},{"cve":"CVE-2023-39966","published":"2023-08-10","fixed":"1.5.0","kev":false,"link":{"from":"CVE-2023-37477","to":"CVE-2023-39966","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/1Panel-dev/1Panel","fromFixed":"1.4.3","toFixed":"1.5.0","daysApart":23}]}}],"package":"Go:github.com/1Panel-dev/1Panel"}}