Skip to main content
← All vulnerabilities
CVE-2024-4326

Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. The vulnerability stems from insufficient protection of the `/apply_settings` and `/execute_code` endpoints. Attackers can bypass protections by setting the host to localhost, enabling code execution, and disabling code validation through the `/apply_settings` endpoint. Subsequently, arbitrary commands can be executed remotely via the `/execute_code` endpoint, exploiting the delay in settings enforcement. This issue was addressed in version 9.5.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • parisneo parisneo/lollms-webui

    fixed in 9.5

References 2

huntr.com

GitHub · parisneo/lollms-webui