CVE-2024-2352
1Panel swap baseApi.UpdateDeviceSwap command injection
- State
- Published
- Severity
- 6.3 Medium
- Published
- Mar 10, 2024
- Updated
- Aug 12, 2024
- Reserved
- Mar 9, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P | VulDB |
Weaknesses
- CWE-77 Command Injection
Affected Products
| Product | Versions |
|---|---|
1Paneln/a |
|
References
- VDB-256304 | 1Panel swap baseApi.UpdateDeviceSwap command injectionvdb-entrytechnical-description
- VDB-256304 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- https://github.com/1Panel-dev/1Panel/pull/4131issue-tracking
- https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990exploitissue-tracking
- https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396cissue-trackingpatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.