Skip to content

CVE-2024-10906 Cross-Site Request Forgery (CSRF) in eosphoros-ai/db-gpt

HighCVSS 8.1 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

In version 0.6.0 of eosphoros-ai/db-gpt, the uvicorn app created by dbgpt_server uses an overly permissive instance of CORSMiddleware which sets the Access-Control-Allow-Origin to * for all requests. This configuration makes all endpoints exposed by the server vulnerable to Cross-Site Request Forgery (CSRF). An attacker can exploit this vulnerability to interact with any endpoints of the instance, even if the instance is not publicly exposed to the network.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
eosphoros-ai/db-gpt <= latest after latest Fixed
pypi dbgpt(PyPI) <= 0.6.0; = 0.4.7; = 0.5.0; = 0.5.1 +17 more after 0.6.0 Fixed
dbgpt db-gpt = 0.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi dbgpt(PyPI) <= 0.6.0 No fix listed
pypi dbgpt(PyPI) = 0.4.7 No fix listed
pypi dbgpt(PyPI) = 0.5.0 No fix listed
pypi dbgpt(PyPI) = 0.5.1 No fix listed
pypi dbgpt(PyPI) = 0.5.10 No fix listed
pypi dbgpt(PyPI) = 0.5.1rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.2 No fix listed
pypi dbgpt(PyPI) = 0.5.2rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.3 No fix listed
pypi dbgpt(PyPI) = 0.5.3rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.4 No fix listed
pypi dbgpt(PyPI) = 0.5.4rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.5 No fix listed
pypi dbgpt(PyPI) = 0.5.5rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.6 No fix listed
pypi dbgpt(PyPI) = 0.5.6rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.7 No fix listed
pypi dbgpt(PyPI) = 0.5.7rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.8 No fix listed
pypi dbgpt(PyPI) = 0.5.9 No fix listed
pypi dbgpt(PyPI) = 0.5.9rc0 No fix listed
eosphoros-ai/db-gpt <= latest No fix listed
dbgpt db-gpt = 0.6.0 No fix listed

References