INCIDENT MAP

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

LoLLMS vulnerable to Expected Behavior Violation

CVE-2024-6281 ยท 2024-07-20 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:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS
0.3% chance of exploitation in 30 days

How it works, in short

The discussion database name passes through an inadequate path sanitiser, letting crafted values point writes at locations outside the intended directory. (Our summary, written by a model. The source text is below.)

Details

A path traversal vulnerability exists in the apply_settings function of parisneo/lollms versions prior to 9.5.1. The sanitize_path function does not adequately secure the discussion_db_name parameter, allowing attackers to manipulate the path and potentially write to important system folders.

References

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