Skip to content
HighVulnerabilityLLM-specific

CVE-2024-4498: lollms-webui path traversal and remote file inclusion in /apply_settings

Identifier
CVE-2024-4498
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A path traversal and remote file inclusion flaw in parisneo/lollms-webui, affecting v9.7 through the latest version, lets an attacker manipulate the discussion_db_name parameter of the /apply_settings function to include arbitrary files. The install_binding, reinstall_binding and unInstall_binding endpoints bypass the sanitize_path_from_endpoint(data.name) filter, so an attacker can upload and execute malicious code, leading to Remote Code Execution (RCE).

Mitigation

The source does not state a fix yet. Check the original advisory for updates.