CVE-2024-2352
criticalpriority · track · 40EPSS 0.030 · 87 %ileEUUSEPSS · scored 2026-10-27
A vulnerability, which was classified as critical, has been found in 1Panel up to 1.10.1-lts. Affected by this issue is the function baseApi.UpdateDeviceSwap of the file /api/v1/toolbox/device/update/swap. The manipulation of the argument Path with the input 123123123\nopen -a Calculator leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-256304.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.3–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-x2vg-5wrf-vj6v1Panel is vulnerable to command injection 2024-03-10ghsa · osvUS
1Panel is vulnerable to command injection. This vulnerability has been classified as critical, has been found in 1Panel up to 1.10.1-lts. Affected by this issue is the function baseApi.UpdateDeviceSwap of the file /api/v1/toolbox/device/update/swap. The manipulation of the argument Path with the input 123123123\nopen -a Calculator leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-256304.
- GO-2024-26361Panel is vulnerable to command injection in github.com/1Panel-dev/1Panel2024-06-04vendor · osvUS
1Panel is vulnerable to command injection in github.com/1Panel-dev/1Panel
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-2352/cnnvd
- https://github.com/1Panel-dev/1Panel/pull/4131cnnvd
- https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990cnnvd
- https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396ccnnvd
- https://vuldb.com/?ctiid.256304cnnvd
- https://vuldb.com/?id.256304cnnvd
- https://github.com/1Panel-dev/1Panel/pull/4131enisa_euvd
- https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan