Browse / AI Framework and Platform Flaws / CVE-2024-5824
lollms path traversal vulnerability allows overriding of config.yaml file, leading to RCE
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2024-5824
- https://github.com/parisneo/lollms/commit/eda3af5f5c4ea9b2f3569f72f8d05989e29367fc
- https://github.com/parisneo/lollms
- https://huntr.com/bounties/9ceb7cf9-a7cd-4699-b3f8-d0999d2b49fd
Source: GitHub Advisory Database, used under CC BY 4.0.