CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Lollms

CVE-2024-4498
Lollms Web Ui vulnerability

A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the `/apply_settings` function, allowing an attacker to manipulate the `discussion_db_name` parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the `install_binding`, `reinstall_binding`, and `unInstall_binding` endpoints, despite the presence of a `sanitize_path_from_endpoint(data.name)` filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim's system, leading to Remote Code Execution (RCE).

Affected products

Lollms Web Ui. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Lollms Web Ui runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Lollms products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.