CVE-2024-2358 Vulnerability Details

  /     /     /  

CVE-2024-2358 Metadata Quick Info

CVE Published: 16/05/2024 | CVE Updated: 01/08/2024 | CVE Year: 2024
Source: @huntr_ai | Vendor: parisneo | Product: parisneo/lollms-webui
Status : PUBLISHED

CVE-2024-2358 Description

A path traversal vulnerability in the \'/apply_settings\' endpoint of parisneo/lollms-webui allows attackers to execute arbitrary code. The vulnerability arises due to insufficient sanitization of user-supplied input in the configuration settings, specifically within the \'extensions\' parameter. Attackers can exploit this by crafting a payload that includes relative path traversal sequences (\'../../../\'), enabling them to navigate to arbitrary directories. This flaw subsequently allows the server to load and execute a malicious \'__init__.py\' file, leading to remote code execution. The issue affects the latest version of parisneo/lollms-webui.

Metrics

CVSS Version: 3.1 | Base Score: n/a
Vector: n/a

l➤ Exploitability Metrics:
    Attack Vector (AV)*
    Attack Complexity (AC)*
    Privileges Required (PR)*
    User Interaction (UI)*
    Scope (S)*

l➤ Impact Metrics:
    Confidentiality Impact (C)*
    Integrity Impact (I)*
    Availability Impact (A)*

Weakness Enumeration (CWE)

CWE-ID: CWE-29
CWE Name: CWE-29 Path Traversal: ..filename
Source: parisneo

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description: