Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lollms | Lollms Web Ui | < 9.5 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22ExploitIssue TrackingPatch
- https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22ExploitIssue TrackingPatch
FAQ
What is CVE-2024-2358?
CVE-2024-2358 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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-...
How severe is CVE-2024-2358?
CVE-2024-2358 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-2358?
Check the references section above for vendor advisories and patch information. Affected products include: Lollms Lollms Web Ui.