Skip to content

CVE-2024-2358 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui

CriticalCVSS 9.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

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.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
parisneo lollms-webui All versions No fix listed No fix yet
lollms web ui < 9.5 9.5 Fixed
parisneo/lollms-webui <= latest after latest Fixed

Affected products

ProductAffected versionsFixed in
parisneo/lollms-webui <= latest No fix listed
parisneo lollms-webui All versions No fix listed
lollms web ui < 9.5 9.5

References

  • huntr.com exploit issue-tracking patch third-party-advisory