Vulnerabilities · 2024 · Lollms
CVE-2024-2358
Lollms Web Ui vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Lollms Web Ui. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lollms Web Ui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Lollms products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.