CVE-2024-39907: a sqlinjection in 1Panel

Published Jul 18, 2024
·
Updated

Summary There are many sql injections in the project, and some of them are not well filtered, leading to arbitrary file writes, and ultimately leading to RCEs. The proof is as follows

Details (one of them ) <img width="697" alt="image" src="https://github.com/1Panel-dev/1Panel/assets/129351704/895b7b43-9bc0-44b3-9c84-24c2dcc962da"> <img width="936" alt="image" src="https://github.com/1Panel-dev/1Panel/assets/129351704/1b8eb866-9865-4bef-a359-53335d709157"> <img width="684" alt="image" src="https://github.com/1Panel-dev/1Panel/assets/129351704/e865d6d0-7ecb-49f7-b4a2-f1b0bc407986">

PoC curl 'http://api:30455/api/v1/hosts/command/search' {"page":1,"pageSize":10,"groupID":0,"orderBy":"3","order":"ascending","name":"a"} <img width="664" alt="image" src="https://github.com/1Panel-dev/1Panel/assets/129351704/250d5a2a-cb32-44dc-9831-86dbc2f2b43f"> for example as picture . just change orderby‘s num we can know How many columns does the data table have.Parameters require strict whitelist filtering

Impact RCE、data leak.

Other sources

1Panel is a web-based linux server management control panel. There are many sql injections in the project, and some of them are not well filtered, leading to arbitrary file writes, and ultimately leading to RCEs. These sql injections have been resolved in version 1.10.12-tls. Users are advised to upgrade. There are no known workarounds for these issues.

NVD

Affected Software

2 affected componentsFixes available
go/github.com/1Panel-dev/1Panel<1.10.12-tls
1.10.12-tls
FIT2CLOUD 1Panel>=1.10.9-lts<1.10.12-lts

Event History

Jul 18, 2024
Advisory Published
via GitHub·02:25 PM
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-39907?

CVE-2024-39907 has a high severity due to multiple SQL injection vulnerabilities that can lead to arbitrary file writes and remote code execution.

2

How do I fix CVE-2024-39907?

To fix CVE-2024-39907, upgrade your installation to version 1.10.12-tls or above.

3

What versions of software are affected by CVE-2024-39907?

CVE-2024-39907 affects versions of the software between 1.10.9-lts and 1.10.12-lts.

4

What type of vulnerability is CVE-2024-39907?

CVE-2024-39907 is a SQL injection vulnerability that can lead to remote code execution.

5

Can CVE-2024-39907 be exploited remotely?

Yes, CVE-2024-39907 can be exploited remotely due to its nature of allowing arbitrary file writes.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203