CVE-2024-10835
CRITICALdb-gpt < 0.7.1 - Unauthenticated Arbitrary File Write and Remote Code Execution via SQL Injection
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-10835. PoCs published by 6jeffr3y.
AI-analyzed exploit summary This repository contains a functional Python-based PoC for CVE-2024-10835, demonstrating unauthenticated information disclosure and SQL execution in DBGPT. The exploit targets specific API endpoints to leak database credentials and execute arbitrary SQL queries.
Description
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).
Exploits (1)
This repository contains a functional Python-based PoC for CVE-2024-10835, demonstrating unauthenticated information disclosure and SQL execution in DBGPT. The exploit targets specific API endpoints to leak database credentials and execute arbitrary SQL queries.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H