CVE-2024-3322CWE-22

Path Traversal in parisneo/lollms-webui

High · published June 6, 2024

CVSS v3.0
8.4
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

⚡ A sneaky path traversal vulnerability lets attackers walk right out of their designated directory! This flaw in the 'cyber_security/codeguard' feature of parisneo/lollms-webui up to version 9.5 is a serious concern. 🔍 Think of it as a delivery driver who doesn’t check the address and delivers packages anywhere in the building, even to the wrong apartments — all because the delivery instructions were too loose! 📦 An attacker could exploit this flaw to read or overwrite any file on the server, potentially leading to unauthorized access to sensitive information and causing chaos in system operations. This could be absolutely devastating for your data security! ⚠️

Put simply

Think of it as a delivery driver who doesn’t check the address and delivers packages anywhere in the building, even to the wrong apartments — all because the delivery instructions were too loose! 📦 The vulnerability arises from a failure to properly sanitize user inputs in the 'process_folder' function of the 'codeguard' module, allowing attackers to use '../' or absolute paths to access files outside the designated directory.

What to do

An attacker could exploit this flaw to read or overwrite any file on the server, potentially leading to unauthorized access to sensitive information and causing chaos in system operations. This could be absolutely devastating for your data security! ⚠️ To mitigate this risk, upgrade to a patched version of the parisneo/lollms-webui, ensure proper input validation and sanitization in your file handling routines, and regularly audit your directory access permissions. 🔒 You've got this! With these steps, you'll be back in control and your files secure in no time! 🦸

The record
Technical detail
CVSS v3.0
8.4 · HIGH
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00726 · 53.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-06-06T18:40Z
EPSS history
Timeline
  • 06 JUN 18:40Z
    Path Traversal in parisneo/lollms-webui
    cvelistv5