Vulnerability details
CVE-2024-10901
eosphoros-ai eosphoros-ai/db-gpt
Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt
CVSS 3.0
9.1Critical
Official description
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/chart/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE) by writing malicious files such as `__init__.py` in the Python's `/site-packages/` directory.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.1Critical | 3.0 | CVEProject cvelistV5 (CNA) (@huntr_ai) | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| eosphoros-ai | eosphoros-ai/db-gpt | v ≤ latest | CVEProject cvelistV5 (CNA) |
References and advisories
1
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2025-03-20
- Last updated
- 2025-03-20
- State
- Published
- Assigner (CNA)
- @huntr_ai
Exploit prediction (EPSS)
1.09%
Probability of exploitation in 30 days
65.6%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- Proof of concept
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-434Unrestricted Upload of File with Dangerous Type