Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-4498
HistoryJun 25, 2024 - 7:55 p.m.

CVE-2024-4498 Path Traversal and RFI Vulnerability in parisneo/lollms-webui

2024-06-2519:55:42
CWE-22
@huntr_ai
github.com
2
cve-2024-4498
path traversal
rfi
parisneo/lollms-webui
remote code execution

CVSS3

7.7

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

AI Score

8.2

Confidence

Low

SSVC

Exploitation

poc

Automatable

no

Technical Impact

total

A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the /apply_settings function, allowing an attacker to manipulate the discussion_db_name parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the install_binding, reinstall_binding, and unInstall_binding endpoints, despite the presence of a sanitize_path_from_endpoint(data.name) filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim’s system, leading to Remote Code Execution (RCE).

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:parisneo:lollms-webui:9.7:*:*:*:*:*:*:*"
    ],
    "vendor": "parisneo",
    "product": "lollms-webui",
    "versions": [
      {
        "status": "affected",
        "version": "9.7",
        "versionType": "custom",
        "lessThanOrEqual": "*"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

7.7

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

AI Score

8.2

Confidence

Low

SSVC

Exploitation

poc

Automatable

no

Technical Impact

total

Related for VULNRICHMENT:CVE-2024-4498