Command injection in firewall ip functionality in 1Panel
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-37477
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:16 UTC · Revision 1
Source evidence
Command injection in firewall ip functionality in 1Panel
core-osv · Original sourcePublished 18 Jul 2023, 18:25 UTC
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.
osv:CVE-2023-37477
Complete source record
{
"id": "bce685ef47cc3b37a44d296aae29899068b30e41fd7e4356569e845fe82ca568",
"url": "https://osv.dev/vulnerability/CVE-2023-37477",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Command injection in firewall ip functionality in 1Panel",
"summary": "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.",
"evidence": "osv:CVE-2023-37477",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-37477",
"aliases": [
"CVE-2023-37477",
"GHSA-p9xf-74xh-mhw5",
"GO-2023-1940"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/1panel-dev/1panel",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "86ba53d6ec35fe2f0f3bcdb8c8d3c4cb2ef4cf1b"
},
{
"fixed": "e17b80cff4975ee343568ff526b62319f499005d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e17b80cff4975ee343568ff526b62319f499005d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37477.json"
}
}
],
"modified": "2026-10-28T02:30:27.092137807Z",
"provider": "osv",
"references": [
"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-p9xf-74xh-mhw5",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37477.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-37477",
"https://github.com/1Panel-dev/1Panel/commit/e17b80cff4975ee343568ff526b62319f499005d"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37477.json"
}
},
"related_cves": [
{
"value": "CVE-2023-37477",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493715,
"published_at": "2023-07-18T18:25:53.691+00:00"
}