{"id":"CVE-2024-2358","published":"2024-05-16T09:03:45Z","modified":"2024-08-01T19:11:53Z","title":"Path Traversal leading to Remote Code Execution in parisneo/lollms-webui","vendor":"parisneo","product":"parisneo/lollms-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01774,"percentile":0.78649,"provenance":"source"},"cwes":[{"id":"CWE-29","name":"Path Traversal: '..filename'"}],"references":[{"url":"https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22","tags":[]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":15.73},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms-webui","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-05-16T15:53:53.050024Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-27311","exploited":false,"provenance":"source"}}