PRIOn Logo

CVE-2024-2624 Path traversal

Routine
Remediate Within 6 Months

CVE Information

Original CVE data

Published:
Updated:

A path traversal and arbitrary file upload vulnerability exists in the parisneo/lollms-webui application, specifically within the `@router.get("/switch_personal_path")` endpoint in `./lollms-webui/lollms_core/lollms/server/endpoints/lollms_user.py`. The vulnerability arises due to insufficient sanitization of user-supplied input for the `path` parameter, allowing an attacker to specify arbitrary file system paths. This flaw enables direct arbitrary file uploads, leakage of `personal_data`, and overwriting of configurations in `lollms-webui`->`configs` by exploiting the same named directory in `personal_data`. The issue affects the latest version of the application and is fixed in version 9.4. Successful exploitation could lead to sensitive information disclosure, unauthorized file uploads, and potentially remote code execution by overwriting critical configuration files.

CWE: CWE-29
CVSS v2-
CVSS v3-
References
https://huntr.com/bounties/39e17897-0e92-4473-91c7-f728322191aa
https://github.com/parisneo/lollms-webui/commit/aeba79f3ea934331b8ecd625a58bae6e4f7e7d3f
Affected Vendors

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Path traversal

CVSS Scores as calculated by PRIOnengine
CVSS v25.8
AV:N/AC:M/AU:N/C:P/I:P/A:N
CVSS v39.8
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
MITRE CWE Top 25

-

Exploits

No exploit code is reported to exist.

Active Exploitation

Vulnerability is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

-

Threat Actor Activity

No sightings of the vulnerability within threat reports.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1608 - Stage Capabilities
T1591 - Gather Victim Org Information
T1590 - Gather Victim Network Information
T1589.001 - Gather Victim Identity Information (Credentials)
T1587.004 - Develop Capabilities (Exploits)
T1552 - Unsecured Credentials
T1505.003 - Server Software Component (Web Shell)
T1499.004 - Endpoint Denial of Service (Application or System Exploitation)
T1210 - Exploitation of Remote Services
T1203 - Exploitation for Client Execution
T1190 - Exploit Public-Facing Application
T1087 - Account Discovery
T1083 - File and Directory Discovery
T1082 - System Information Discovery
T1059 - Command and Scripting Interpreter
T1005 - Data from Local System
T1003 - OS Credential Dumping

Compliance Impact

How the submited vulnerability affects compliance

PCI DSS v3.2.1-6.5.8 - Improper Access Control
PCI DSS v3.2.1-6.5.5 - Improper Error Handling

Web Application Security Frameworks

Applicable if the issue likely affects a web application

WASC-33 - Path Traversal