CVE-2024-2352

1Panel swap baseApi.UpdateDeviceSwap command injection

Published Mar 10, 2024 CVSS 3.1 · 6.3 Medium EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1032 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.
Github GHSA Github GHSA GHSA-x2vg-5wrf-vj6v 1Panel is vulnerable to command injection
History
Type Values Removed Values Added
First Time appeared Fit2cloud
Fit2cloud 1panel
CPEs cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:*
Vendors & Products Fit2cloud
Fit2cloud 1panel
Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 12, 2024, 6:09 PM
Reserved
Mar 9, 2024, 6:56 AM
Status
Analyzed
Published
Mar 10, 2024, 2:16 AM
Modified
Jun 17, 2026, 7:24 AM