CVE-2024-10906

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.
References
Link Resource
https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

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

History

17 Jul 2025, 13:43

Type Values Removed Values Added
References () https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160 - () https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160 - Exploit, Third Party Advisory
First Time Dbgpt
Dbgpt db-gpt
CPE cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*
Summary
  • (es) En la versión 0.6.0 de eosphoros-ai/db-gpt, la aplicación `uvicorn` creada por `dbgpt_server` utiliza una instancia excesivamente permisiva de `CORSMiddleware` que establece `Access-Control-Allow-Origin` en `*` para todas las solicitudes. Esta configuración hace que todos los endpoints expuestos por el servidor sean vulnerables a Cross-Site Request Forgery (CSRF). Un atacante puede explotar esta vulnerabilidad para interactuar con cualquier endpoint de la instancia, incluso si esta no está expuesta públicamente a la red.
CVSS v2 : unknown
v3 : 7.1
v2 : unknown
v3 : 8.1

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-07-17 13:43


NVD link : CVE-2024-10906

Mitre link : CVE-2024-10906

CVE.ORG link : CVE-2024-10906


JSON object : View

Products Affected

dbgpt

  • db-gpt
CWE
CWE-352

Cross-Site Request Forgery (CSRF)