CVE-2024-2358

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.
References
Link Resource
https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22 Exploit Third Party Advisory Issue Tracking Patch
https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22 Exploit Third Party Advisory Issue Tracking Patch
Configurations

Configuration 1 (hide)

cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*

History

09 Jul 2025, 14:39

Type Values Removed Values Added
First Time Lollms lollms Web Ui
Lollms
CPE cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*
References () https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22 - () https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22 - Exploit, Third Party Advisory, Issue Tracking, Patch

Information

Published : 2024-05-16 09:15

Updated : 2025-07-09 14:39


NVD link : CVE-2024-2358

Mitre link : CVE-2024-2358

CVE.ORG link : CVE-2024-2358


JSON object : View

Products Affected

lollms

  • lollms_web_ui
CWE
CWE-29

Path Traversal: '\..\filename'