CVE-2024-8862
D-Tale Command Execution Vulnerability
Auswirkung
D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view & analyze Pandas data structures. In dtale\views.py, under the route @dtale.route("/chart-data/<data_id>"), the query parameters from the request are directly passed into run_query for execution. And the run_query function calls proceed without performing any processing or sanitization of the query parameter. As a result, the query is directly used in the df.query method for data retrieval. Tthe engine used is `python`, which allows executing the query expression ans leading to a command execution vulnerability.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | dtale | < 3.14.1 | 3.14.1 |
Betroffene Produkte · H2o
| Produkt | Betroffene Versionen |
|---|---|
| H2o | Version 3.46.0.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Command-Execution-via-Panda-df-query-9dc40f0477ee4b65806de7921876c222?pvs=4
- https://vuldb.com/?ctiid.277499
- https://vuldb.com/?id.277499
- https://vuldb.com/?submit.403200
- https://github.com/advisories/GHSA-fg5m-m723-7mv6
- https://nvd.nist.gov/vuln/detail/CVE-2024-8862
- https://github.com/man-group/dtale/commit/b6e30969390520d1400b55acbb13e5487b8472e8