7.1
CWE
352
Advisory Published
Advisory Published
Updated

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

First published: Thu Mar 20 2025(Updated: )

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.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
eosphoros-ai db-gpt
pip/dbgpt<=0.6.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-10906?

    CVE-2024-10906 is classified as a high-severity vulnerability due to its potential for unauthorized access to all endpoints.

  • How do I fix CVE-2024-10906?

    To fix CVE-2024-10906, update the CORS middleware configuration to restrict the `Access-Control-Allow-Origin` header to trusted origins.

  • What software versions are affected by CVE-2024-10906?

    CVE-2024-10906 affects eosphoros-ai/db-gpt version 0.6.0 and below.

  • What does CVE-2024-10906 expose my application to?

    CVE-2024-10906 exposes the application to cross-origin resource sharing (CORS) vulnerabilities, allowing malicious sites to access sensitive data.

  • What is the main cause of CVE-2024-10906?

    The main cause of CVE-2024-10906 is the use of an overly permissive instance of `CORSMiddleware` that allows all origins.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203