Vulnerability · Published Mar 10, 2024 · Assigned by VulDB

CVE-2024-23521Panel swap baseApi.UpdateDeviceSwap command injection

Medium 6.3

In plain English

A medium-severity command injection in 1Panel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)3.0%top 12.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/1Panel-dev/1Panel1.10.1-ltsGHSA-x2vg-5wrf-vj6v
Gogithub.com/1Panel-dev/1Panel1.10.1-ltsGO-2024-2636

Affected products (as reported)

VendorProductVersions
n/a 1Panel 1.10.1-lts

Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References