The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2026-3301

CVE-2026-3301: Totolink N300rh Firmware RCE Vulnerability

CVE-2026-3301 is a remote code execution vulnerability in Totolink N300RH Firmware that allows attackers to inject OS commands via the Web Management Interface. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-3301 Overview

A critical OS command injection vulnerability has been identified in Totolink N300RH routers running firmware version 6.1c.1353_B20190305. The vulnerability exists within the setWebWlanIdx function of the /cgi-bin/cstecgi.cgi component, which is part of the Web Management Interface. An attacker can exploit this flaw by manipulating the webWlanIdx argument to inject and execute arbitrary operating system commands on the affected device. This vulnerability is remotely exploitable without authentication, and a public exploit has been released, significantly increasing the risk of active exploitation.

Critical Impact

Unauthenticated remote attackers can achieve full command execution on vulnerable Totolink N300RH routers, potentially leading to complete device compromise, network pivoting, and persistent backdoor installation.

Affected Products

  • Totolink N300RH Firmware version 6.1c.1353_B20190305
  • Totolink N300RH Firmware version 6.1c.1349_B20181018
  • Totolink N300RH Hardware version 4.0

Discovery Timeline

  • 2026-02-27 - CVE-2026-3301 published to NVD
  • 2026-02-27 - Last updated in NVD database

Technical Details for CVE-2026-3301

Vulnerability Analysis

This vulnerability represents a classic OS command injection flaw in embedded IoT device firmware. The setWebWlanIdx function within the CGI binary fails to properly sanitize user-supplied input before incorporating it into system commands. When the webWlanIdx parameter is processed, the application does not validate or escape special characters, allowing an attacker to break out of the intended command context and inject arbitrary shell commands.

The Web Management Interface on Totolink N300RH routers exposes the vulnerable CGI endpoint over the network. Since the router's web interface typically runs with root privileges on embedded Linux systems, successful exploitation grants the attacker complete control over the device. The attack requires no prior authentication, making any internet-exposed device an immediate target.

The public availability of an exploit significantly lowers the barrier for exploitation. Threat actors can leverage this vulnerability to install persistent backdoors, intercept network traffic, pivot to internal network segments, or recruit compromised devices into botnets.

Root Cause

The root cause is improper input validation (CWE-77: Improper Neutralization of Special Elements used in a Command, CWE-78: OS Command Injection). The setWebWlanIdx function constructs system commands using the webWlanIdx parameter without sanitizing shell metacharacters such as ;, |, &, $(), or backticks. This allows attackers to terminate the legitimate command and append malicious instructions that execute with the privileges of the web server process.

Attack Vector

The attack is initiated remotely via the network interface. An attacker sends a specially crafted HTTP request to the /cgi-bin/cstecgi.cgi endpoint with a malicious webWlanIdx parameter value. The payload typically includes shell metacharacters followed by arbitrary commands.

The vulnerability can be exploited through crafted HTTP POST requests to the CGI interface, injecting shell commands via the webWlanIdx parameter. An attacker might inject payloads such as command separators followed by reverse shell commands or other malicious operations. For detailed technical exploitation information, refer to the GitHub PoC Repository.

Detection Methods for CVE-2026-3301

Indicators of Compromise

  • Unexpected outbound connections from the router to external IP addresses, particularly on non-standard ports
  • Unusual processes running on the router such as reverse shells, wget/curl downloads, or netcat listeners
  • Modifications to router configuration files or firmware that were not authorized
  • HTTP access logs showing requests to /cgi-bin/cstecgi.cgi with suspicious webWlanIdx parameter values containing shell metacharacters

Detection Strategies

  • Monitor network traffic for HTTP requests to /cgi-bin/cstecgi.cgi containing shell metacharacters (;, |, &, $(, backticks) in POST parameters
  • Deploy intrusion detection signatures that alert on command injection patterns targeting Totolink router management interfaces
  • Implement network segmentation to isolate IoT devices and monitor cross-segment traffic for anomalies
  • Review router logs for authentication failures followed by successful exploitation attempts

Monitoring Recommendations

  • Enable logging on network firewalls and IDS/IPS systems for all traffic destined to router management ports (typically TCP 80, 443, 8080)
  • Configure SIEM alerts for patterns consistent with command injection attacks against CGI endpoints
  • Periodically audit router configurations and compare against known-good baselines to detect unauthorized modifications

How to Mitigate CVE-2026-3301

Immediate Actions Required

  • Disable remote administration access to the router's Web Management Interface immediately
  • Restrict access to the management interface to trusted internal networks only using firewall rules
  • Check for unauthorized configuration changes or suspicious files on affected devices
  • Consider replacing end-of-life or unsupported devices that will not receive security updates

Patch Information

As of the last NVD update on 2026-02-27, no official patch from Totolink has been referenced in the vulnerability data. Organizations should monitor the Totolink Official Website for firmware updates addressing this vulnerability. Given the severity and public availability of exploit code, prioritize remediation efforts accordingly.

For additional vulnerability intelligence, consult VulDB #348052 for ongoing updates.

Workarounds

  • Disable the web management interface entirely if not required for operations
  • Implement network-level access controls (ACLs) to restrict management interface access to specific trusted IP addresses only
  • Place vulnerable routers behind a VPN and require authentication before management interface access
  • Deploy a web application firewall (WAF) in front of the management interface to filter malicious requests targeting command injection patterns
bash
# Example: Block external access to router management interface using iptables on upstream firewall
iptables -A FORWARD -d <router_ip> -p tcp --dport 80 -j DROP
iptables -A FORWARD -d <router_ip> -p tcp --dport 443 -j DROP
iptables -A INPUT -s <trusted_admin_ip> -d <router_ip> -p tcp --dport 80 -j ACCEPT

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTotolink

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability4.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-77

  • CWE-78
  • Technical References
  • GitHub PoC Repository

  • VulDB CTI #348052

  • VulDB #348052

  • VulDB Submission #761297

  • Totolink Official Website
  • Related CVEs
  • CVE-2026-6195: Totolink A7100RU RCE Vulnerability

  • CVE-2026-6026: Totolink A7100RU RCE Vulnerability

  • CVE-2026-6028: Totolink A7100RU RCE Vulnerability

  • CVE-2026-6029: Totolink A7100RU 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