| Package | Affected versions | Patched versions |
|---|---|---|
| github.com/1Panel-dev/1Panel | < 1.10.12-tlsall versions | 1.10.12-tls |
| 1panel | ≥ 1.10.9-lts, < 1.10.12-lts | 1.10.12-lts |
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
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
RCE、data leak.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free