CVE-2024-2352
CRITICAL 9.8CVSS 3.11Panel is vulnerable to command injection
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.
- Published
- 10 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-77
- Also known as
- GHSA-x2vg-5wrf-vj6vGO-2024-2636
- Sources
- NVDJSONOSV GHSA-x2vg-5wrf-vj6vJSONOSV GO-2024-2636JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fit2cloud | 1panelcpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:* |
< 1.10.2-lts | 1.10.2-lts |
| OSV | Go | github.com/1Panel-dev/1Panel | < 1.10.1-lts | 1.10.1-lts |
References
- https://github.com/1Panel-dev/1Panel/pull/4131 · Exploit, Issue Tracking, WEB, FIX
- https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990 · Exploit, Issue Tracking, WEB, FIX
- https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c · Patch, WEB, FIX
- https://vuldb.com/?ctiid.256304 · Permissions Required, VDB Entry, WEB
- https://vuldb.com/?id.256304 · Permissions Required, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-2352 · ADVISORY
- https://github.com/1Panel-dev/1Panel · PACKAGE
- https://github.com/advisories/GHSA-x2vg-5wrf-vj6v · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2024)