LOLLMS WebUI - Absolute Path Traversal
An absolute path traversal vulnerability exists in parisneo/lollms-webui v9.6, specifically in the open_file endpoint of lollms_advanced.py. The sanitize_path function with allow_absolute_path=True allows an attacker to access arbitrary files and directories on a Windows system. This vulnerability can be exploited to read any file and list arbitrary directories on the affected system. References: https://huntr.com/bounties/11a8bf9d-16f3-49b3-b5fc-ad36d8993c73 https://nvd.nist.gov/vuln/detail/CVE-2024-6250 https://github.com/parisneo/lollms-webui Remediation: Update to the latest version where the vulnerability is fixed or modify the `sanitize_path` function to disallow absolute paths.
10 assets checked · domain, subdomain, ipv4