CVE-2024-4267 Vulnerability Details

  /     /     /  

CVE-2024-4267 Metadata Quick Info

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

CVE-2024-4267 Description

A remote code execution (RCE) vulnerability exists in the parisneo/lollms-webui, specifically within the \'open_file\' module, version 9.5. The vulnerability arises due to improper neutralization of special elements used in a command within the \'open_file\' function. An attacker can exploit this vulnerability by crafting a malicious file path that, when processed by the \'open_file\' function, executes arbitrary system commands or reads sensitive file content. This issue is present in the code where subprocess.Popen is used unsafely to open files based on user-supplied paths without adequate validation, leading to potential command injection.

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-77
CWE Name: CWE-77 Improper Neutralization of Special Elements used in a Command ( Command Injection )
Source: parisneo

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).