INCIDENT MAP

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

Lord of Large Language Models (LoLLMs) path traversal vulnerability in the api open_personality_folder endpoint

CVE-2024-6985 ยท 2024-10-11 moderate

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:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

The personality folder parameter bypasses sanitize_path through traversal sequences, letting callers open arbitrary host directories. (Our summary, written by a model. The source text is below.)

Details

A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.

References

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