CVE-2024-12450CWE-918

RCE, Full Read SSRF, and Arbitrary File Read in infiniflow/ragflow

Medium · published March 20, 2025

CVSS v3.0
6.5
EPSS
1%
Percentile
70.7
In the wild
Unconfirmed
What it is

⚠️ A crafty URL can lead to a data breach! The `web_crawl` function in infiniflow/ragflow versions 0.12.0 opens the door to multiple vulnerabilities, allowing attackers to exploit server files and internal network addresses. 🔍 Think of it like a restaurant that serves food without checking the ingredients first — a customer can sneak in whatever they want into the dish, and that might include some awful surprises! An attacker could exploit these flaws to access sensitive internal information or even read arbitrary files on the server. This could lead to an embarrassing data leak or compromise critical server operations, putting your organization at risk.

Put simply

Think of it like a restaurant that serves food without checking the ingredients first — a customer can sneak in whatever they want into the dish, and that might include some awful surprises! The vulnerability allows for Full Read SSRF through unfiltered URL parameters, enabling access to internal addresses and content via generated PDFs. Additionally, the lack of protocol restrictions permits Arbitrary File Read, and the outdated Chromium version opens up potential Remote Code Execution attacks.

What to do

An attacker could exploit these flaws to access sensitive internal information or even read arbitrary files on the server. This could lead to an embarrassing data leak or compromise critical server operations, putting your organization at risk. Upgrade infiniflow/ragflow to version 0.14.0 immediately to patch these vulnerabilities. Regularly audit your code for unfiltered input and ensure all dependencies are up-to-date to mitigate similar risks in the future. This is fixable! Follow these steps and you'll have your application secured in no time. 🛡️

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01323 · 70.7th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-03-20T10:11Z
EPSS history
Timeline
  • 20 MAR 10:11Z
    RCE, Full Read SSRF, and Arbitrary File Read in infiniflow/ragflow
    cvelistv5