{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-2352","id":"CVE-2024-2352","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 a","descriptionLong":"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":"2024-03-10T01:31:05.215Z","updated":"2026-10-28T02:30:53.943653933Z","reserved":"2024-03-09T06:56:47.141Z","status":"Analyzed","rejected":false,"assigner":"VulDB","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"VulDB"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"VulDB"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"vuldb.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"VulDB"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"VulDB"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"vuldb.com"}],"rating":"medium","products":["1Panel"],"affectedProducts":[{"vendor":"n/a","product":"1Panel","defaultStatus":null,"versions":[{"version":"1.10.1-lts","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","ranges":["<1.10.1-lts"],"fixed":["1.10.1-lts"],"advisory":"GHSA-x2vg-5wrf-vj6v"}],"cwes":["CWE-77"],"aliases":["GHSA-x2vg-5wrf-vj6v","GO-2024-2636"],"references":[{"url":"https://vuldb.com/?id.256304","tags":["vdb-entry","technical-description","x_transferred","Permissions Required","VDB Entry","advisory","web"]},{"url":"https://vuldb.com/?ctiid.256304","tags":["signature","permissions-required","x_transferred","Permissions Required","VDB Entry","report","web"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131","tags":["issue-tracking","x_transferred","Exploit","Issue Tracking","report","web","fix"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990","tags":["exploit","issue-tracking","x_transferred","Exploit","Issue Tracking","report","web","fix"]},{"url":"https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c","tags":["issue-tracking","patch","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2352.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2352","tags":["advisory"]},{"url":"https://github.com/1Panel-dev/1Panel","tags":["package"]},{"url":"https://github.com/advisories/GHSA-x2vg-5wrf-vj6v","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.03044,"epssPercentile":0.87793,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-2352","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2352","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-2352","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x2vg-5wrf-vj6v","ok":true,"note":"GHSA-x2vg-5wrf-vj6v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-2352","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}