Skip to content
CriticalVulnerability

CVE-2024-10901: db-gpt arbitrary SQL execution via /api/v1/editor/chart/run endpoint

Identifier
CVE-2024-10901
Published
Record updated
View JSON
Affected
  • dbgpt <= 0.6.3
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.1%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/chart/run` executes arbitrary SQL queries without any access control. An attacker can exploit this to write arbitrary files to the victim's file system, which can potentially lead to Remote Code Execution by writing a malicious `__init__.py` file in Python's `/site-packages/` directory.

Mitigation

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