Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-2359

CVE-2024-2359: Lollms Web UI RCE Vulnerability

CVE-2024-2359 is a remote code execution vulnerability in Lollms Web UI that allows attackers to bypass access controls and execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-2359 Overview

A critical vulnerability exists in parisneo/lollms-webui version 9.3 that allows attackers to bypass intended access restrictions and execute arbitrary code on affected systems. The vulnerability stems from improper access control on the /update_setting endpoint, which enables attackers to modify the host configuration at runtime. By manipulating this setting, attackers can circumvent the default restrictions on the /execute_code endpoint, ultimately achieving remote code execution.

Critical Impact

This vulnerability allows unauthenticated remote attackers to execute arbitrary operating system commands on the target system, potentially leading to complete system compromise, data exfiltration, and lateral movement within affected networks.

Affected Products

  • lollms-webui version 9.3
  • lollms lollms_web_ui (all deployments using the vulnerable version)

Discovery Timeline

  • 2024-06-06 - CVE-2024-2359 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-2359

Vulnerability Analysis

This vulnerability represents a classic case of broken access control combined with OS command injection (CWE-78). The lollms-webui application implements security restrictions on the /execute_code endpoint to prevent external access by default. However, the application fails to apply equivalent access controls to the /update_setting endpoint, creating a critical security gap.

The attack exploits a two-stage process: first, the attacker leverages the unprotected /update_setting endpoint to modify the runtime host configuration to an attacker-controlled value. This manipulation effectively bypasses the access restrictions that were intended to protect the /execute_code endpoint. Once these restrictions are circumvented, the attacker can send malicious requests to /execute_code, allowing arbitrary OS command execution on the underlying system.

The vulnerability is particularly severe because it requires no authentication or user interaction to exploit, and it can be triggered entirely over the network.

Root Cause

The root cause of this vulnerability is insufficient access control implementation on the /update_setting endpoint. While the developers implemented restrictions on the sensitive /execute_code endpoint, they failed to apply equivalent protections to the configuration management endpoint. This oversight allows attackers to modify runtime settings that directly impact the security posture of other endpoints.

Additionally, the application's trust model is flawed—it assumes that if a request reaches the /update_setting endpoint, it must be from a trusted source. This assumption breaks down when the application is exposed to network access, even when the /execute_code endpoint is ostensibly protected.

Attack Vector

The attack vector for this vulnerability involves a network-based approach requiring no authentication or user interaction:

  1. Reconnaissance: The attacker identifies a lollms-webui instance running version 9.3 exposed to the network
  2. Configuration Manipulation: The attacker sends a crafted request to the /update_setting endpoint to modify the host configuration parameter
  3. Restriction Bypass: With the host setting changed, the access restrictions on /execute_code are effectively disabled
  4. Code Execution: The attacker sends malicious commands to the /execute_code endpoint, which are then executed on the underlying operating system with the privileges of the web application process

The exploitation chain leverages improper neutralization of special elements used in OS commands, allowing the attacker to inject arbitrary shell commands that the application executes without proper sanitization.

For technical details on the exploitation mechanism, refer to the Huntr Bounty Listing.

Detection Methods for CVE-2024-2359

Indicators of Compromise

  • Unexpected HTTP requests to the /update_setting endpoint from external IP addresses
  • Modifications to the host configuration parameter in application settings
  • Sequential requests to /update_setting followed by /execute_code endpoints from the same source IP
  • Unusual process spawns originating from the lollms-webui application process
  • Network connections or file system modifications initiated by the web application user context

Detection Strategies

  • Implement web application firewall (WAF) rules to monitor and alert on requests to /update_setting and /execute_code endpoints
  • Deploy network intrusion detection systems (NIDS) with signatures for exploitation attempts targeting lollms-webui
  • Configure application logging to capture all configuration change requests with source IP attribution
  • Utilize endpoint detection and response (EDR) solutions to monitor for command execution originating from web application processes

Monitoring Recommendations

  • Enable verbose logging for the lollms-webui application to capture all API requests
  • Monitor system processes for unexpected child processes spawned by the web application
  • Implement real-time alerting for any configuration changes made through the web interface
  • Review access logs regularly for patterns indicative of reconnaissance or exploitation attempts

How to Mitigate CVE-2024-2359

Immediate Actions Required

  • Upgrade lollms-webui to the latest patched version immediately
  • Restrict network access to lollms-webui instances using firewall rules or network segmentation
  • Disable the /execute_code endpoint entirely if code execution functionality is not required
  • Implement authentication and authorization controls for all administrative endpoints
  • Audit existing deployments for signs of compromise before applying patches

Patch Information

Users should upgrade to the latest version of lollms-webui that addresses this vulnerability. Check the official parisneo/lollms-webui repository for security updates and patch releases. Additional details about the vulnerability and remediation can be found in the Huntr Bounty Listing.

Workarounds

  • Deploy lollms-webui behind a reverse proxy with strict access controls and authentication requirements
  • Use network-level restrictions to limit access to the application to trusted IP ranges only
  • Implement firewall rules to block external access to sensitive endpoints (/update_setting and /execute_code)
  • Run the application in a sandboxed or containerized environment to limit the impact of potential exploitation
  • Monitor and alert on any access attempts to the vulnerable endpoints until patching is complete
bash
# Example: Restrict access using iptables (Linux)
# Allow only localhost access to lollms-webui port (adjust port as needed)
iptables -A INPUT -p tcp --dport 9600 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 9600 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLollms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Huntr Bounty Listing
  • Related CVEs
  • CVE-2024-2358: Lollms Web UI RCE Vulnerability

  • CVE-2024-4326: Lollms Web UI RCE Vulnerability

  • CVE-2024-4320: Lollms Web UI RCE Vulnerability

  • CVE-2026-1115: Lollms Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English