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-0295

CVE-2024-0295: Totolink LR1200GB Firmware RCE Vulnerability

CVE-2024-0295 is a critical remote code execution flaw in Totolink LR1200GB Firmware caused by OS command injection in the setWanCfg function. This article covers the technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2024-0295 Overview

A critical OS command injection vulnerability has been identified in the Totolink LR1200GB router firmware version 9.1.0u.6619_B20230130. This vulnerability exists in the setWanCfg function within the /cgi-bin/cstecgi.cgi file, where improper handling of the hostName argument allows remote attackers to execute arbitrary operating system commands on the affected device.

Critical Impact

This vulnerability enables unauthenticated remote attackers to execute arbitrary OS commands with full system privileges, potentially leading to complete device compromise, network infiltration, and persistent backdoor installation.

Affected Products

  • Totolink LR1200GB Firmware version 9.1.0u.6619_B20230130
  • Totolink LR1200GB Hardware

Discovery Timeline

  • 2024-01-08 - CVE-2024-0295 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0295

Vulnerability Analysis

This command injection vulnerability (CWE-78) affects the WAN configuration functionality of the Totolink LR1200GB router. The setWanCfg function in the CGI binary fails to properly sanitize the hostName parameter before passing it to system-level command execution functions. When user-supplied input containing shell metacharacters is processed, the embedded commands are executed in the context of the router's operating system.

The vulnerability is particularly dangerous because it requires no authentication and can be triggered remotely over the network. An attacker with network access to the router's management interface can craft malicious HTTP requests containing OS commands within the hostName parameter. These commands execute with the privileges of the web server process, which typically runs as root on embedded devices like this router.

The public disclosure of exploit details and the lack of vendor response significantly increases the risk profile of this vulnerability. Organizations using affected devices should treat this as an active threat requiring immediate attention.

Root Cause

The root cause of this vulnerability is improper input validation in the setWanCfg function. The hostName parameter is directly concatenated into a command string that is subsequently executed via system call functions without proper sanitization or escaping. This allows shell metacharacters such as semicolons (;), pipes (|), or command substitution syntax ($(...) or backticks) to break out of the intended command context and inject arbitrary commands.

Attack Vector

The attack is conducted remotely over the network by sending specially crafted HTTP requests to the /cgi-bin/cstecgi.cgi endpoint. The attacker manipulates the hostName argument within the setWanCfg function call to include malicious OS commands. Because no authentication is required to exploit this vulnerability, any attacker with network access to the router's web interface can execute arbitrary commands.

A typical exploitation scenario involves injecting shell commands that establish reverse shells, download additional malware payloads, modify router configurations to intercept network traffic, or disable security features. The attack surface includes both LAN-side access and potentially WAN-side access if remote administration is enabled.

Detection Methods for CVE-2024-0295

Indicators of Compromise

  • Unexpected HTTP POST requests to /cgi-bin/cstecgi.cgi containing shell metacharacters (;, |, $(), backticks) in parameter values
  • Unusual outbound network connections from the router to unknown external IP addresses
  • Modified configuration files or unexpected processes running on the router
  • Presence of unauthorized user accounts or SSH keys on the device

Detection Strategies

  • Monitor network traffic for suspicious requests targeting /cgi-bin/cstecgi.cgi with anomalous hostName parameter values
  • Implement intrusion detection system (IDS) rules to detect command injection patterns in HTTP traffic to Totolink devices
  • Review router logs for unusual administrative actions or configuration changes
  • Deploy network anomaly detection to identify unexpected traffic patterns originating from router devices

Monitoring Recommendations

  • Configure network monitoring to alert on traffic containing common command injection payloads targeting CGI endpoints
  • Establish baseline behavior for router network communications and alert on deviations
  • Implement periodic integrity checks on router firmware and configuration files where possible
  • Monitor for DNS queries or connections to known malicious infrastructure from network edge devices

How to Mitigate CVE-2024-0295

Immediate Actions Required

  • Isolate affected Totolink LR1200GB routers from untrusted networks immediately
  • Disable remote management features to reduce attack surface
  • Implement network segmentation to restrict access to router management interfaces
  • Consider replacing affected devices with alternatives from vendors with responsive security practices

Patch Information

As of the last update, the vendor (Totolink) has not released a security patch for this vulnerability. According to the CVE disclosure notes, the vendor was contacted about this issue but did not respond. Organizations should monitor for firmware updates and consider alternative mitigation strategies until a patch becomes available. Technical details are available in the GitHub security advisory and VulDB entry.

Workarounds

  • Restrict network access to the router's management interface using firewall rules or ACLs to only allow trusted administrative hosts
  • Place the router behind a separate firewall that can filter and inspect traffic to the CGI interface
  • Disable WAN-side management access if enabled to prevent remote exploitation from the internet
  • Consider deploying a web application firewall (WAF) to filter malicious requests if the router must remain accessible

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTotolink

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.07%

  • 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
  • GitHub Configuration Guide

  • VulDB CTI ID #249861

  • VulDB #249861
  • Related CVEs
  • CVE-2026-31166: ToToLink A3300R RCE Vulnerability

  • CVE-2026-31181: ToToLink A3300R RCE Vulnerability

  • CVE-2026-31179: ToToLink A3300R RCE Vulnerability

  • CVE-2026-31178: ToToLink A3300R RCE 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