PT-2025-12073 · Unknown · Eosphoros-Ai/Db-Gpt
Published
2025-03-20
·
Updated
2025-03-21
·
CVE-2024-10835
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
eosphoros-ai/db-gpt version v0.6.0
Description
The issue allows execution of arbitrary SQL queries without access control through the web API endpoint
POST /api/v1/editor/sql/run. This can be exploited to perform Arbitrary File Write using DuckDB SQL, enabling attackers to write arbitrary files to the victim's file system, potentially leading to Remote Code Execution (RCE).Recommendations
For eosphoros-ai/db-gpt version v0.6.0, consider disabling access to the
POST /api/v1/editor/sql/run API endpoint until a patch is available to prevent exploitation. Restricting access to this endpoint can minimize the risk of arbitrary SQL query execution and subsequent file system manipulation.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Eosphoros-Ai/Db-Gpt