{"id":"CVE-2024-2352","state":"PUBLISHED","title":"1Panel swap baseApi.UpdateDeviceSwap command injection","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.","publishedAt":"2024-03-10T01:31:05.215Z","updatedAt":"2024-08-12T18:09:02.319Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"VulDB"},"assigner":"VulDB","products":["n/a 1Panel"],"affected":[{"vendor":"n/a","product":"1Panel","versions":[{"version":"1.10.1-lts","status":"affected"}]}],"references":["https://vuldb.com/?id.256304","https://vuldb.com/?ctiid.256304","https://github.com/1Panel-dev/1Panel/pull/4131","https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990","https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2352.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2352","state":"PUBLISHED","datePublished":"2024-03-10T01:31:05.215Z","dateUpdated":"2024-08-12T18:09:02.319Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2024-03-09T06:56:47.141Z"},"containers":{"cna":{"title":"1Panel swap baseApi.UpdateDeviceSwap command injection","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"Eine kritische Schwachstelle wurde in 1Panel bis 1.10.1-lts entdeckt. Hierbei geht es um die Funktion baseApi.UpdateDeviceSwap der Datei /api/v1/toolbox/device/update/swap. Durch Manipulation des Arguments Path mit der Eingabe 123123123\\nopen -a Calculator mit unbekannten Daten kann eine command injection-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff über das Netzwerk. Der Exploit steht zur öffentlichen Verfügung. Als bestmögliche Massnahme wird Patching empfohlen."}],"affected":[{"vendor":"n/a","product":"1Panel","versions":[{"version":"1.10.1-lts","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.256304","name":"VDB-256304 | 1Panel swap baseApi.UpdateDeviceSwap command injection","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.256304","name":"VDB-256304 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131","tags":["issue-tracking"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990","tags":["exploit","issue-tracking"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c","tags":["issue-tracking","patch"]}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":6.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":6.3,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":6.5,"vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","type":"CWE","lang":"en","description":"CWE-77 Command Injection"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2024-03-10T01:31:05.215Z"},"timeline":[{"time":"2024-03-09T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2024-03-09T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2024-03-09T08:04:10.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"linyz-tel (VulDB User)","type":"reporter"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://vuldb.com/?id.256304","name":"VDB-256304 | 1Panel swap baseApi.UpdateDeviceSwap command injection","tags":["vdb-entry","technical-description","x_transferred"]},{"url":"https://vuldb.com/?ctiid.256304","name":"VDB-256304 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required","x_transferred"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131","tags":["issue-tracking","x_transferred"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990","tags":["exploit","issue-tracking","x_transferred"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c","tags":["issue-tracking","patch","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:11:53.513Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"fit2cloud","product":"1panel","defaultStatus":"unknown","versions":[{"version":"1.10.1","status":"affected"}],"cpes":["cpe:2.3:a:fit2cloud:1panel:1.10.1:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-12T15:20:24.448783Z","id":"CVE-2024-2352","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-12T18:09:02.319Z"}}]}}}