CVE-2024-10835

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write using DuckDB SQL, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE).
References
Link Resource
https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*

History

17 Jul 2025, 13:39

Type Values Removed Values Added
References () https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9 - () https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9 - Exploit, Third Party Advisory
Summary
  • (es) En la versión v0.6.0 de eosphoros-ai/db-gpt, la API web `POST /api/v1/editor/sql/run` permite la ejecución de consultas SQL arbitrarias sin control de acceso. Esta vulnerabilidad puede ser explotada por atacantes para realizar escrituras arbitrarias de archivos mediante DuckDB SQL, lo que les permite escribir archivos arbitrarios en el sistema de archivos de la víctima. Esto puede provocar la ejecución remota de código (RCE).
First Time Dbgpt
Dbgpt db-gpt
CPE cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 9.1
v2 : unknown
v3 : 9.8

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-07-17 13:39


NVD link : CVE-2024-10835

Mitre link : CVE-2024-10835

CVE.ORG link : CVE-2024-10835


JSON object : View

Products Affected

dbgpt

  • db-gpt
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')