6.5medium
SSRF in infiniflow/ragflow
- Severity
- 6.5medium CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.68% (higher than 47% of CVEs)
- Published
- Last changed
- Assigned by
- @huntr_ai
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| infiniflow infiniflow/ragflow | from unspecified up to latest | CVE List |
| infiniflow ragflow | 0.12.0 | NVD |
All scores
| @huntr_ai | 6.5medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Existe una vulnerabilidad de Server-Side Request Forgery (SSRF) en infiniflow/ragflow versión 0.12.0. La vulnerabilidad está presente en los endpoints `POST /v1/llm/add_llm` y `POST /v1/conversation/tts`. Los atacantes pueden especificar una URL arbitraria como `api_base` al agregar un modelo `OPENAITTS` y, posteriormente, acceder al endpoint de la API REST `tts` para leer el contenido de la URL especificada. Esto puede provocar acceso no autorizado a recursos web internos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-12779 changed 2025-03-20 | CVE Terms of Use |
| NVD | CVE-2024-12779 changed 2026-06-17 | Public domain |