INCIDENT MAP

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

lollms path traversal vulnerability allows overriding of config.yaml file, leading to RCE

CVE-2024-5824 ยท 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)
CVSS
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

A personality config endpoint accepts traversal in its file path, letting callers overwrite the server config and turn on code-related settings. (Our summary, written by a model. The source text is below.)

Details

A path traversal vulnerability in the /set_personality_config endpoint of parisneo/lollms version 9.4.0 allows an attacker to overwrite the configs/config.yaml file. This can lead to remote code execution by changing server configuration properties such as force_accept_remote_access and turn_on_code_validation.

References

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