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-2024-2854

CVE-2024-2854: Tenda AC18 Firmware RCE Vulnerability

CVE-2024-2854 is a critical remote code execution vulnerability in Tenda AC18 Firmware caused by OS command injection in the formSetSambaConf function. This article covers technical details, affected versions, and mitigations.

Published: April 15, 2026

CVE-2024-2854 Overview

A critical OS command injection vulnerability has been discovered in the Tenda AC18 router firmware version 15.03.05.05. The vulnerability exists in the formSetSambaConf function located at /goform/setsambacfg, where improper handling of the usbName parameter allows remote attackers to inject and execute arbitrary operating system commands on the affected device.

Critical Impact

This vulnerability enables unauthenticated remote attackers to execute arbitrary commands on the router with root privileges, potentially leading to complete device compromise, network infiltration, and persistent access to connected networks.

Affected Products

  • Tenda AC18 Firmware version 15.03.05.05
  • Tenda AC18 Router Hardware

Discovery Timeline

  • 2024-03-24 - CVE-2024-2854 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-2854

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The affected function formSetSambaConf processes user-supplied input from the usbName parameter without adequate sanitization or validation before passing it to system-level commands.

The exploitation can be performed remotely over the network without requiring authentication or user interaction, making this a particularly dangerous vulnerability for consumer and small business routers. Successful exploitation grants attackers the ability to execute arbitrary commands with the privileges of the router's operating system, typically root-level access on embedded Linux-based firmware.

The vendor, Tenda, was contacted about this vulnerability prior to public disclosure but did not respond.

Root Cause

The root cause of this vulnerability lies in insufficient input validation within the formSetSambaConf function. The usbName parameter accepts user-controlled input that is directly incorporated into system commands without proper sanitization. This allows attackers to break out of the intended command context by injecting shell metacharacters such as semicolons, pipes, backticks, or command substitution sequences.

The affected endpoint /goform/setsambacfg is part of the router's Samba (SMB) configuration functionality, which is accessible through the device's web management interface. The lack of input filtering enables command chaining and arbitrary command execution.

Attack Vector

The attack can be launched remotely over the network by sending specially crafted HTTP requests to the vulnerable endpoint. An attacker constructs a malicious request to /goform/setsambacfg with a payload injected into the usbName parameter.

For example, an attacker could append command injection sequences to the parameter value, causing the router to execute unintended system commands. The exploit has been publicly disclosed, increasing the risk of widespread exploitation against unpatched devices.

Technical details and analysis of this vulnerability are documented in the GitHub IoT Vulnerability Documentation.

Detection Methods for CVE-2024-2854

Indicators of Compromise

  • Unusual outbound network connections from the router to unknown external IP addresses
  • Unexpected changes to router configuration or DNS settings
  • Presence of unknown processes or services running on the device
  • Suspicious HTTP POST requests to /goform/setsambacfg in router logs
  • Signs of persistent access mechanisms such as unauthorized SSH keys or cron jobs

Detection Strategies

  • Monitor network traffic for anomalous HTTP requests targeting /goform/setsambacfg endpoints
  • Implement intrusion detection rules to identify command injection patterns in web requests (semicolons, pipes, backticks, $() sequences)
  • Deploy network-level monitoring to detect unexpected communications from IoT devices
  • Review router access logs for repeated requests to the vulnerable endpoint

Monitoring Recommendations

  • Enable logging on the router if supported and forward logs to a centralized SIEM
  • Monitor for firmware modifications or unexpected configuration changes
  • Implement network segmentation to isolate IoT devices from critical infrastructure
  • Use SentinelOne Singularity to monitor network behavior and detect anomalous activity from compromised devices

How to Mitigate CVE-2024-2854

Immediate Actions Required

  • Isolate affected Tenda AC18 routers from untrusted networks until a patch is available
  • Disable remote management features and restrict access to the web administration interface
  • Place the router behind a firewall and limit access to trusted IP addresses only
  • Consider replacing the affected device with a router from a vendor with active security support
  • Monitor network traffic for signs of exploitation

Patch Information

No official patch has been released by Tenda at this time. The vendor was contacted about this vulnerability but did not respond. Users should monitor Tenda's official website and the VulDB entry for any future security updates.

Given the lack of vendor response, organizations should evaluate alternative mitigation strategies or device replacement.

Workarounds

  • Disable the Samba/USB sharing functionality on the router if not required
  • Restrict access to the router's web management interface to trusted internal networks only
  • Implement network-level access controls to block external access to the router's administration ports
  • Consider deploying a network firewall or UTM device in front of the affected router to filter malicious requests
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

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTenda

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.53%

  • 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 IoT Vulnerability Documentation

  • VulDB CTI ID #257778

  • VulDB #257778
  • Related CVEs
  • CVE-2026-6989: Tenda F453 Firmware RCE Vulnerability

  • CVE-2026-7469: Tenda 4G300 RCE Vulnerability

  • CVE-2026-7160: Tenda HG3 2.0 RCE Vulnerability

  • CVE-2026-7119: Tenda HG3 Command Injection 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