6.5Medium

CVE-2024-12779SSRF in infiniflow/ragflow

infiniflow infiniflow/ragflow Published: (1 year ago)

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.

Weakness (CWE): CWE-918

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
infiniflow infiniflow/ragflow unspecified – ≤ latest
infiniflow ragflow 0.12.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:infiniflow:ragflow:0.12.0:*:*:*:*:*:*:*