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

Published May 16, 2024
·
Updated

A path traversal vulnerability in the '/applysettings' 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.

Affected Software

2 affected components
parisneo lollms-webui
lollms Lollms Web Ui<9.5

Event History

May 16, 2024
CVE Published
via MITRE·09:03 AM
Data Sourced
via MITRE·09:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-2358?

CVE-2024-2358 is classified as a critical vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2024-2358?

To fix CVE-2024-2358, you should implement proper input sanitization for the '/apply_settings' endpoint in the lollms-webui.

3

Which versions of software are affected by CVE-2024-2358?

CVE-2024-2358 affects the Parisneo lollms-webui, but specific version details are not disclosed.

4

What type of vulnerability is CVE-2024-2358?

CVE-2024-2358 is a path traversal vulnerability that allows attackers to access sensitive files and execute arbitrary code.

5

Who can be impacted by CVE-2024-2358?

Users of the Parisneo lollms-webui who have not mitigated this vulnerability are at risk of exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203