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-2025-34319

CVE-2025-34319: TOTOLINK N300RT Router RCE Vulnerability

CVE-2025-34319 is an OS command injection flaw in TOTOLINK N300RT wireless routers that enables unauthenticated remote code execution. This article covers the technical details, affected firmware versions, and mitigation.

Published: April 1, 2026

CVE-2025-34319 Overview

CVE-2025-34319 is a critical OS command injection vulnerability affecting TOTOLINK N300RT wireless routers running firmware versions prior to V3.4.0-B20250430. The vulnerability was specifically discovered in firmware version V2.1.8-B20201030.1539 and exists within the Boa web server's formWsc handling functionality. An unauthenticated remote attacker can exploit this flaw by sending specially crafted HTTP requests containing malicious input in the targetAPSsid parameter, leading to arbitrary command execution on the underlying operating system with the privileges of the web server process.

Critical Impact

This vulnerability allows unauthenticated remote attackers to execute arbitrary OS commands on vulnerable TOTOLINK N300RT routers, potentially leading to complete device compromise, network pivoting, and persistent backdoor installation.

Affected Products

  • TOTOLINK N300RT firmware versions prior to V3.4.0-B20250430
  • TOTOLINK N300RT firmware version V2.1.8-B20201030.1539 (confirmed vulnerable)
  • TOTOLINK N300RT wireless routers with Boa web server enabled

Discovery Timeline

  • 2025-12-03 - CVE-2025-34319 published to NVD
  • 2025-12-04 - Last updated in NVD database

Technical Details for CVE-2025-34319

Vulnerability Analysis

This command injection vulnerability (CWE-78) resides in the Boa web server component of the TOTOLINK N300RT router firmware. The formWsc handler processes user-supplied input from the targetAPSsid parameter without proper sanitization or validation. When the Boa web server receives an HTTP request containing this parameter, the value is passed directly to system-level functions that execute shell commands, allowing attackers to inject and execute arbitrary commands on the router's operating system.

The vulnerability is particularly severe because it requires no authentication to exploit. Any attacker with network access to the router's web management interface can leverage this flaw. Given that consumer routers are frequently exposed to the internet either intentionally or through misconfiguration, the attack surface is significant.

Root Cause

The root cause of CVE-2025-34319 is improper input validation in the formWsc function within the Boa web server implementation. The targetAPSsid parameter, intended for Wi-Fi Protected Setup (WPS) configuration, is concatenated directly into shell command strings without sanitization. This allows shell metacharacters and command separators (such as ;, |, &&, or backticks) to break out of the intended command context and execute attacker-controlled commands. The firmware developers failed to implement proper input filtering, escaping, or parameterized command execution to prevent injection attacks.

Attack Vector

The attack vector is network-based, requiring no authentication and no user interaction. An attacker can exploit this vulnerability by sending a crafted HTTP POST request to the vulnerable formWsc endpoint on the router's web management interface. The malicious payload is inserted into the targetAPSsid parameter, using shell metacharacters to inject arbitrary commands.

A typical attack scenario involves:

  1. Identifying an exposed TOTOLINK N300RT router on the network or internet
  2. Crafting an HTTP request to the /formWsc endpoint with a malicious targetAPSsid value
  3. Including shell command injection syntax (e.g., $(command) or ;command;) in the parameter value
  4. The injected commands execute with the privileges of the Boa web server process

Successful exploitation grants the attacker remote code execution capabilities, enabling actions such as downloading and executing malware, modifying router configurations, establishing reverse shells, or using the compromised device as a pivot point for further network attacks. For detailed technical analysis, refer to the VulnCheck Advisory.

Detection Methods for CVE-2025-34319

Indicators of Compromise

  • Unexpected HTTP POST requests to /formWsc or related Boa web server endpoints containing shell metacharacters
  • Suspicious processes spawned by the Boa web server process (e.g., sh, wget, curl, telnet, or nc)
  • Unusual outbound network connections from the router to unknown IP addresses or command-and-control infrastructure
  • Modified router configuration files or unauthorized firmware changes

Detection Strategies

  • Implement network intrusion detection rules to identify HTTP requests containing command injection patterns in the targetAPSsid parameter
  • Monitor router logs for repeated authentication failures or unusual access patterns to web management interfaces
  • Deploy network monitoring to detect anomalous traffic patterns or unexpected connections originating from router IP addresses
  • Utilize firmware integrity verification tools to detect unauthorized modifications

Monitoring Recommendations

  • Enable logging on network firewalls and IDS/IPS systems for traffic destined to router management ports (typically TCP 80 and 443)
  • Implement SIEM rules to alert on potential command injection patterns in HTTP traffic targeting IoT devices
  • Regularly audit network device firmware versions and compare against known vulnerable versions
  • Monitor for reconnaissance activity targeting TOTOLINK devices using passive DNS and threat intelligence feeds

How to Mitigate CVE-2025-34319

Immediate Actions Required

  • Upgrade TOTOLINK N300RT firmware to version V3.4.0-B20250430 or later immediately
  • Restrict access to the router's web management interface to trusted internal networks only
  • Disable remote management features if not required for operations
  • Implement network segmentation to isolate IoT devices from critical network assets

Patch Information

TOTOLINK has released firmware version V3.4.0-B20250430 which addresses this command injection vulnerability. Administrators should download the patched firmware from the TOTOLINK N300RT Firmware Download page and apply the update following the manufacturer's instructions. Additional support information is available on the TOTOLINK N300RT Support Page.

Workarounds

  • Place the router behind a firewall and restrict access to the web management interface from untrusted networks
  • Disable WPS functionality if not required, as the vulnerable formWsc handler is associated with WPS operations
  • Implement access control lists (ACLs) on upstream network devices to limit management access to specific IP addresses
  • Consider temporary device replacement if firmware update is not immediately feasible and the device is internet-exposed
bash
# Example: Restrict management access using upstream firewall rules
# Block external access to router management interface
iptables -A FORWARD -d ROUTER_IP -p tcp --dport 80 -j DROP
iptables -A FORWARD -d ROUTER_IP -p tcp --dport 443 -j DROP
# Allow management only from trusted admin subnet
iptables -I FORWARD -s ADMIN_SUBNET -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

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability3.43%

  • 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:X/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-78
  • Technical References
  • TOTOLINK N300RT Support Page

  • TOTOLINK N300RT Firmware Download

  • VulnCheck Advisory: TOTOLINK N300RT RCE
  • Related CVEs
  • CVE-2026-5978: Totolink A7100RU RCE Vulnerability

  • CVE-2026-5977: Totolink A7100RU RCE Vulnerability

  • CVE-2026-5976: Totolink A7100RU RCE Vulnerability

  • CVE-2026-5975: 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