7.1High

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

eosphoros-ai eosphoros-ai/db-gpt Published: (1 year ago)

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.

Weakness (CWE): CWE-352

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
dbgpt db-gpt 0.6.0
eosphoros-ai eosphoros-ai/db-gpt unspecified – ≤ latest

References and patches

CPE matches (NVD) (1)

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