GitHub Advisoryadvisory · Go
GHSA-x2vg-5wrf-vj6v 1Panel is vulnerable to command injection
MEDIUM
Official page ↗
- Aliases
- CVE-2024-2352
- Ecosystem
- Go
- Packages
- github.com/1Panel-dev/1Panel
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-77
- Reviewed
- 2024-03-11
Affected packages
• Go github.com/1Panel-dev/1Panel: < 1.10.1-lts → fixed in 1.10.1-lts
Description
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.
Related
Alias · CVE (1)
- CVE-2024-2352 A vulnerability, which was classified as critical, has been found in 1Panel up to 1.10.1-lts. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-2352 advisory
- https://github.com/1Panel-dev/1Panel/pull/4131 web
- https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990 web
- https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c web
- https://github.com/1Panel-dev/1Panel package
- https://vuldb.com/?ctiid.256304 web
- https://vuldb.com/?id.256304 web