lollms vulnerable to path traversal due to unauthenticated root folder settings change
Date: 2024-06
Affected: pip/lollms
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-6085
CWE: CWE-22
CVSS: 8.6 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L)

A path traversal vulnerability exists in the XTTS server included in the lollms package, version v9.6. This vulnerability arises from the ability to perform an unauthenticated root folder settings change. Although the read file endpoint is protected against path traversals, this protection can be bypassed by changing the root folder to '/'. This allows attackers to read arbitrary files on the system. Additionally, the output folders can be changed to write arbitrary audio files to any location on the system.


Mitigations:

Architectural layers (MAESTRO):