CVE-2024-2352
1Panel swap baseApi.UpdateDeviceSwap command injection
- Published
- Updated
- Reserved
- Assigned by
- VulDB
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 3.0 | Medium6.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.0% · top 12% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
1Panel
- affected 1.10.1-lts
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/1Panel-dev/1PanelGHSA-x2vg-5wrf-vj6v (opens in a new tab)
References (5)
- VDB-256304 | 1Panel swap baseApi.UpdateDeviceSwap command injection (opens in a new tab)vdb-entrytechnical-descriptionx_transferred
- VDB-256304 | CTI Indicators (IOB, IOC, TTP, IOA) (opens in a new tab)signaturepermissions-requiredx_transferred
- https://github.com/1Panel-dev/1Panel/pull/4131 (opens in a new tab)issue-trackingx_transferred
- https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990 (opens in a new tab)exploitissue-trackingx_transferred
- https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c (opens in a new tab)issue-trackingpatchx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x2vg-5wrf-vj6v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-2352)Record last updated .