CVE-2024-10906: eosphoros-ai/db-gpt - Cross-Site Request Forgery
- Cve: CVE-2024-10906
- Name: eosphoros-ai/db-gpt - Cross-Site Request Forgery
- 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.
- Impact: Attackers can perform unauthorized actions on behalf of users by exploiting CSRF, potentially leading to data manipulation or unauthorized operations.
- Remediation: Configure CORSMiddleware to restrict 'Access-Control-Allow-Origin' to trusted domains or specific origins, and update to a version with proper CORS settings.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs victim to visit malicious website or interact with malicious site
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Epss score: 0.00249
- Epss percentile: 0.16303
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:21Z
- Age in days: 614
- Modified at: 2026-06-17T06:56:40Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-10906
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160 | nvd | 2025-03-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/8864aca5-a342-4dab-b866-b2882ba6f160 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dbgpt:db-gpt | = 0.6.0 | no | nvd | /v1/products/dbgpt/db-gpt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| eosphoros-ai/DB-GPT | package | yes | /v1/repositories/eosphoros-ai/DB-GPT |
Index
- Repositories: 1
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-20
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts