CWE
77
Advisory Published
Advisory Published
Updated

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

First published: Sun Mar 10 2024(Updated: )

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.

Credit: cna@vuldb.com cna@vuldb.com

Affected SoftwareAffected VersionHow to fix
go/github.com/1Panel-dev/1Panel<1.10.1-lts
1.10.1-lts
Fit2cloud 1panel<1.10.2-lts

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-2352?

    CVE-2024-2352 is classified as a critical vulnerability.

  • How do I fix CVE-2024-2352?

    To fix CVE-2024-2352, upgrade to 1Panel version 1.10.2-lts or later.

  • What software versions are affected by CVE-2024-2352?

    CVE-2024-2352 affects 1Panel versions up to 1.10.1-lts.

  • What type of vulnerability is CVE-2024-2352?

    CVE-2024-2352 is a command injection vulnerability.

  • Which specific function in 1Panel is vulnerable according to CVE-2024-2352?

    The function baseApi.UpdateDeviceSwap in the file /api/v1/toolbox/device/update/swap is vulnerable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203