{"id":"GHSA-p9xf-74xh-mhw5","revision":"b8f8a7e2ec5c403cb1b96a7b2ef69baf","records":[{"revision":"b8f8a7e2ec5c403cb1b96a7b2ef69baf","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-p9xf-74xh-mhw5","aliases":["CVE-2023-37477","GO-2023-1940"],"title":"1Panel command injection vulnerability in Firewall ip functionality","description":"### Summary\nAn 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.\n\n### Details\n1Panel firewall functionality `/hosts/firewall/ip` endpoint read user input without validation, the attacker extends the default functionality of the application, which execute system commands.\n\n### PoC\nthe payload `; sleep 3 #` will lead server response in 3 seconds \n![image](https://user-images.githubusercontent.com/4935500/252299676-bc4a8b92-e475-40ee-a92a-fec9fad7a6c3.png)\n\nthe payload `; sleep 6 #` will lead server response in 6 seconds \n![image](https://user-images.githubusercontent.com/4935500/252299871-766cc411-69e5-4c6c-b4ff-7774fa974ea0.png)\n\n### Impact\nAn attacker can execute arbitrary code on the target system, which can lead to a complete compromise of the system.\n\n### Patches\n\nThe vulnerability has been fixed in v1.4.3.\n\n### Workarounds\n\nIt is recommended to upgrade the version to v1.4.3.\n\n### References\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in https://github.com/1Panel-dev/1Panel\nEmail us at wanghe@fit2cloud.com\n","state":0,"publishedAt":"2023-07-18T19:10:58+00:00","modifiedAt":"2026-09-10T03:50:02.5576425+00:00","affected":[{"ecosystem":"Go","name":"github.com/1Panel-dev/1Panel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-p9xf-74xh-mhw5","https://nvd.nist.gov/vuln/detail/CVE-2023-37477","https://github.com/1Panel-dev/1Panel/commit/e17b80cff4975ee343568ff526b62319f499005d","https://github.com/1Panel-dev/1Panel","https://github.com/1Panel-dev/1Panel/releases/tag/v1.4.3"],"sourceUrl":"https://github.com/advisories/GHSA-p9xf-74xh-mhw5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p9xf-74xh-mhw5","identifiers":["GHSA-p9xf-74xh-mhw5","CVE-2023-37477","GO-2023-1940"]},"retained":false,"historicalAffected":[]}],"coverage":[]}