Documented Incident · INC-2024-4320 · Critical severity
LoLLMs Local Model WebUI Extension Installer Unauthenticated RCE
CVE-2024-4320 documented unauthenticated remote code execution in the LoLLMs WebUI extension installation endpoint due to missing Origin checks and CSRF protections. Because local model runners frequently bind permissively or accept cross-origin browser requests while running under the developer's OS user, visiting a malicious webpage could silently trigger extension installation. Attackers could deploy arbitrary Python code onto developer workstations hosting local LLMs without credential prompts. Remediation required binding local WebUIs to loopback interfaces, enforcing CSRF tokens, and restricting remote plugin loading.
Incident dossier metadata
- Case ID
INC-2024-4320- Classification
- Incident
- Date
- Severity
- Critical
- Sector
- Consumer AI & Local Runtimes
- Attack vector
- Supply Chain
- System type
- Self-Hosted Local LLM Web Interfaces
- CVE / reference
CVE-2024-4320- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-4320
Defensive takeaway
Bind local AI WebUIs strictly to 127.0.0.1, enforce Origin and CSRF validation on state-changing routes, and disallow remote plugin installation by default.
Mapped AI security techniques
- Supply Chain Compromise: AI Agent Tool AML.T0010.005
- Exploit Public-Facing Application AML.T0049
- Drive-by Compromise AML.T0078
- Machine Compromise: Local AI Agent AML.T0112.000
- Misconfigured or Publicly Exposed AI Services AML.T0132
Mapped defensive controls
- Restrict Library Loading AML.M0011
- Control Access to AI Models and Data in Production AML.M0019
- Enforce Access Controls for AI Agent Tools AML.M0028
Source citation records
- NVD Record CVE-2024-4320: LoLLMs WebUI Unauthenticated Extension Installer RCE · NIST National Vulnerability Database (NVD) ·