CVE-2024-12779: infiniflow/ragflow - Server Side Request Forgery
- Cve: CVE-2024-12779
- Name: infiniflow/ragflow - Server Side Request Forgery
- Description: A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. The vulnerability is present in the `POST /v1/llm/add_llm` and `POST /v1/conversation/tts` endpoints. Attackers can specify an arbitrary URL as the `api_base` when adding an `OPENAITTS` model, and subsequently access the `tts` REST API endpoint to read contents from the specified URL. This can lead to unauthorized access to internal web resources.
- Impact: Attackers can access internal web resources, potentially leading to data exposure or internal network reconnaissance.
- Remediation: Update to the latest version of infiniflow/ragflow that addresses this SSRF issue or implement input validation to restrict `api_base` URLs.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0066
- Epss percentile: 0.52512
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:30Z
- Age in days: 614
- Modified at: 2026-06-17T07:00:28Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-12779
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/3cc748ba-2afb-4bfe-8553-10eb6d6dd4f0 | nvd | 2025-03-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/3cc748ba-2afb-4bfe-8553-10eb6d6dd4f0 | nvd | Exploit |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| infiniflow:ragflow | = 0.12.0 | no | nvd | /v1/products/infiniflow/ragflow |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-20
- Remote: yes
- Exposed hosts: 2053
- 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