Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-2361
HistoryMay 16, 2024 - 9:03 a.m.

CVE-2024-2361 Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui

2024-05-1609:03:50
CWE-29
@huntr_ai
github.com
3
cve-2024-2361
path traversal
insufficient sanitization
user-supplied input
install model function
arbitrary file upload
arbitrary file read
parisneo/lollms-webui
latest version
security vulnerability

CVSS3

9.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

6.9

Confidence

High

EPSS

0

Percentile

9.0%

SSVC

Exploitation

poc

Automatable

yes

Technical Impact

total

A vulnerability in the parisneo/lollms-webui allows for arbitrary file upload and read due to insufficient sanitization of user-supplied input. Specifically, the issue resides in the install_model() function within lollms_core/lollms/binding.py, where the application fails to properly sanitize the file:// protocol and other inputs, leading to arbitrary read and upload capabilities. Attackers can exploit this vulnerability by manipulating the path and variant_name parameters to achieve path traversal, allowing for the reading of arbitrary files and uploading files to arbitrary locations on the server. This vulnerability affects the latest version of parisneo/lollms-webui.

ADP Affected

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

CVSS3

9.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

6.9

Confidence

High

EPSS

0

Percentile

9.0%

SSVC

Exploitation

poc

Automatable

yes

Technical Impact

total

Related for VULNRICHMENT:CVE-2024-2361