{"id":"CVE-2024-2352","summary":"1Panel swap baseApi.UpdateDeviceSwap command injection","details":"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.","aliases":["GHSA-x2vg-5wrf-vj6v","GO-2024-2636"],"modified":"2026-08-12T03:51:17.836562790Z","published":"2024-03-10T01:31:05.215Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-77"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2352.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2352.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2352"},{"type":"ADVISORY","url":"https://vuldb.com/?id.256304"},{"type":"REPORT","url":"https://github.com/1Panel-dev/1Panel/pull/4131"},{"type":"REPORT","url":"https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.256304"},{"type":"FIX","url":"https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/1panel-dev/1panel","events":[{"introduced":"fe717d993b068bd2a5ca2c3023a897526bdef38f"},{"fixed":"3cd0c89c4ca46d0dd37aa5ae8a40d91febdf41ea"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.10.1-lts"},{"last_affected":"1.10.1-lts"},{"introduced":"0"},{"fixed":"1.10.2-lts"}]}}],"versions":["1.10.1-lts","v1.10.1-lts"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2352.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}