Skip to content

CVE-2024-2352 1Panel swap baseApi.UpdateDeviceSwap command injection

CriticalCVSS 9.8 EPSS 3.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
1Panel-dev github.com/1Panel-dev/1Panel(Go) < 1.10.1-lts 1.10.1-lts Fixed
fit2cloud 1panel < 1.10.2-lts; = 1.10.1 1.10.2-lts Fixed

Affected products

ProductAffected versionsFixed in
1Panel-dev github.com/1Panel-dev/1Panel(Go) < 1.10.1-lts 1.10.1-lts
fit2cloud 1panel = 1.10.1 No fix listed
fit2cloud 1panel < 1.10.2-lts 1.10.2-lts

References