Skip to content
CriticalVulnerability

CVE-2024-10835: db-gpt unauthenticated SQL execution through /api/v1/editor/sql/run

Identifier
CVE-2024-10835
Published
Record updated
View JSON
Affected
  • dbgpt < 0.7.1
Fixed in
0.7.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` executes arbitrary SQL queries without any access control. Attackers can use this to perform Arbitrary File Write via DuckDB SQL, writing files to the victim's file system, which can potentially lead to Remote Code Execution (RCE).

Mitigation

The source does not state a fix yet. Check the original advisory for updates.