CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Lollms

CVE-2024-4267
Lollms-webui vulnerability

A remote code execution (RCE) vulnerability exists in the parisneo/lollms-webui, specifically within the 'open_file' module, version 9.5. The vulnerability arises due to improper neutralization of special elements used in a command within the 'open_file' function. An attacker can exploit this vulnerability by crafting a malicious file path that, when processed by the 'open_file' function, executes arbitrary system commands or reads sensitive file content. This issue is present in the code where subprocess.Popen is used unsafely to open files based on user-supplied paths without adequate validation, leading to potential command injection.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Lollms-webui. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Lollms-webui 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.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

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.