Advisory

GHSA-x2vg-5wrf-vj6v

Also known as: CVE-2024-2352, GO-2024-2636

Summary

1Panel is vulnerable to command injection

Details

1Panel is vulnerable to command injection. This vulnerability has been 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-03-10 03:30 UTC
Modified
2024-06-04 16:56 UTC

Affected packages and fixes

github.com/1Panel-dev/1Panel

Go · All systems

Affected

  • introduced 0, fixed 1.10.1-lts (semver)

Fixed versions

1.10.1-lts

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences