CVE-2024-47883CWE-36CWE-918

Butterfly has path/URL confusion in resource handling leading to multiple weaknesses

Critical · published October 24, 2024

CVSS v3.1
9.1
EPSS
2%
Percentile
76.2
In the wild
Unconfirmed
What it is

🚨 Imagine a sneaky delivery driver dropping off files at your door without checking ID! That's the risk with the OpenRefine fork of the MIT Simile Butterfly server before version 1.2.6. 🔥 It's like a hotel guest handing a random, unverified package to the front desk, expecting it to be delivered to their room without any verification. Instead of just accepting trusted deliveries, the app is willing to fetch files from anywhere, including potentially harmful ones from remote servers. An attacker with network access could access sensitive files on the server's filesystem or even fetch malicious code from nearby machines. This could lead to devastating consequences like unauthorized access, data breaches, and even remote code execution — a worst-case scenario for any application.

Put simply

It's like a hotel guest handing a random, unverified package to the front desk, expecting it to be delivered to their room without any verification. Instead of just accepting trusted deliveries, the app is willing to fetch files from anywhere, including potentially harmful ones from remote servers. This vulnerability allows an attacker to provide a `file:/` URL where a local resource path is expected, leading the application to load and execute malicious content from remote sources. The weaknesses include path traversal and server-side request forgery, making it alarmingly easy for an attacker to exploit.

What to do

An attacker with network access could access sensitive files on the server's filesystem or even fetch malicious code from nearby machines. This could lead to devastating consequences like unauthorized access, data breaches, and even remote code execution — a worst-case scenario for any application. Upgrade OpenRefine to version 1.2.6 immediately to patch this vulnerability. Additionally, review URL handling code to ensure that only trusted resources are accepted and validate all incoming data rigorously. Regularly audit and monitor your server for unusual file access patterns. You've got this! With these steps, you'll bolster your defenses and keep your application secure. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01638 · 76.2th percentile
Weaknesses
CWE-36 · Absolute Path Traversal; CWE-918 · Server-Side Request Forgery (SSRF)
Published
2024-10-24T20:39Z
EPSS history
Timeline
  • 24 OCT 20:39Z
    Butterfly has path/URL confusion in resource handling leading to multiple weaknesses
    cvelistv5