INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-6085

lollms vulnerable to path traversal due to unauthenticated root folder settings change

CVE-2024-6085 ยท 2024-06-27 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Path traversal and file access
Affected
lollms (PyPI)
Gets past
Path restriction
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS
0.6% chance of exploitation in 30 days

How it works, in short

Unauthenticated settings changes set the XTTS root folder to the filesystem root, letting the file read endpoint serve arbitrary files and redirecting audio output elsewhere. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.