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-2018-25317

CVE-2018-25317: Tenda Router Auth Bypass Vulnerability

CVE-2018-25317 is an authentication bypass flaw in Tenda W3002R/A302/W309R routers that lets attackers modify DNS settings without authentication. This post covers the technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2018-25317 Overview

CVE-2018-25317 is a critical authentication bypass vulnerability affecting Tenda W3002R, A302, and W309R wireless routers running firmware version V5.07.64_en. The vulnerability stems from a cookie session weakness that allows unauthenticated attackers to modify DNS settings without proper authentication. By exploiting insufficient session validation, attackers can send malicious GET requests to the /goform/AdvSetDns endpoint with a crafted admin language cookie to change primary and secondary DNS servers, effectively redirecting all user traffic to malicious DNS servers.

Critical Impact

Unauthenticated attackers can hijack DNS configurations on vulnerable Tenda routers, enabling man-in-the-middle attacks, traffic interception, and redirection of users to malicious websites without any user interaction.

Affected Products

  • Tenda W3002R wireless router firmware version V5.07.64_en
  • Tenda A302 wireless router firmware version V5.07.64_en
  • Tenda W309R wireless router firmware version V5.07.64_en

Discovery Timeline

  • 2026-04-29 - CVE-2018-25317 published to NVD
  • 2026-04-29 - Last updated in NVD database

Technical Details for CVE-2018-25317

Vulnerability Analysis

This vulnerability is classified under CWE-290 (Authentication Bypass by Spoofing), which involves circumventing authentication mechanisms by manipulating or forging authentication credentials. The root issue lies in how the Tenda router firmware handles session validation for administrative functions.

The vulnerable endpoint /goform/AdvSetDns accepts DNS configuration changes without properly validating the authenticity of the session. Instead of implementing robust session management with cryptographically secure tokens, the firmware relies on a flawed cookie-based mechanism that can be easily spoofed. An attacker can craft a request with a manipulated admin language cookie that the router incorrectly interprets as an authenticated administrative session.

The network-accessible nature of this vulnerability means that any attacker who can reach the router's web interface—whether from the local network or, in misconfigured scenarios, from the internet—can exploit this flaw without requiring any credentials.

Root Cause

The root cause is insufficient session validation in the Tenda router firmware's web interface. The /goform/AdvSetDns endpoint fails to properly verify that incoming requests originate from an authenticated administrative session. The firmware appears to use a weak cookie-based authentication mechanism where the presence of a specific cookie value (the admin language cookie) is incorrectly treated as proof of authentication. This design flaw allows attackers to bypass authentication entirely by simply including the expected cookie in their requests.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability through the following method:

  1. The attacker identifies a vulnerable Tenda router (W3002R, A302, or W309R) running firmware V5.07.64_en accessible on the network
  2. The attacker crafts an HTTP GET request to the /goform/AdvSetDns endpoint
  3. The request includes a spoofed admin language cookie that bypasses session validation
  4. The request parameters specify malicious primary and secondary DNS server addresses
  5. The router accepts the configuration change, redirecting all DNS queries to attacker-controlled servers

Once DNS settings are modified, all devices using the router for DNS resolution will have their traffic subject to manipulation. Attackers can redirect users to phishing sites, intercept credentials, inject malicious content, or block access to legitimate services. For additional technical details, refer to the Exploit-DB #44380 and the VulnCheck Advisory on Tenda.

Detection Methods for CVE-2018-25317

Indicators of Compromise

  • Unexpected changes to DNS server settings on Tenda routers (primary or secondary DNS pointing to unfamiliar IP addresses)
  • HTTP GET requests to /goform/AdvSetDns in router access logs without corresponding authenticated admin sessions
  • User complaints about websites redirecting to unexpected destinations or SSL/TLS certificate warnings
  • DNS queries from network devices being resolved by non-configured DNS servers

Detection Strategies

  • Monitor network traffic for HTTP requests to /goform/AdvSetDns on Tenda router management interfaces
  • Implement network segmentation to detect unauthorized access attempts to router administration endpoints
  • Deploy intrusion detection systems (IDS) with rules targeting DNS hijacking attack patterns against Tenda devices
  • Regularly audit router DNS configurations and compare against known-good baselines

Monitoring Recommendations

  • Enable and review access logs on Tenda routers to identify suspicious administrative requests
  • Implement alerting for any DNS configuration changes on network devices
  • Monitor for unusual DNS traffic patterns that may indicate redirection to malicious servers
  • Deploy SentinelOne Singularity platform to detect and respond to indicators of DNS-based attacks across endpoints

How to Mitigate CVE-2018-25317

Immediate Actions Required

  • Restrict access to the router's web management interface to trusted internal networks only
  • Disable remote management features if enabled
  • Place vulnerable routers behind a firewall that blocks external access to management interfaces
  • Verify and document current DNS settings, then monitor for unauthorized changes
  • Consider replacing vulnerable Tenda routers with devices from vendors that provide security updates

Patch Information

No official patch has been identified from Tenda for this vulnerability. The affected firmware version V5.07.64_en appears to be end-of-life with no security updates available. Organizations should contact Tenda support for any available firmware updates or consider replacing vulnerable devices with supported alternatives.

Workarounds

  • Implement network access control lists (ACLs) to restrict access to the router management interface (typically port 80/443) to specific trusted IP addresses
  • Deploy a firewall rule blocking external access to /goform/* endpoints on Tenda router IP addresses
  • Use a separate VLAN for router management traffic, isolated from general user traffic
  • Configure downstream devices to use hardcoded DNS servers rather than relying on DHCP-assigned router DNS
  • Schedule regular audits of router configurations to detect unauthorized DNS changes
bash
# Example iptables rule to restrict access to router management (adjust IP addresses as needed)
# Block external access to router management on port 80
iptables -A FORWARD -d 192.168.1.1 -p tcp --dport 80 -j DROP

# Allow only trusted admin workstation to access router
iptables -I FORWARD -s 192.168.1.100 -d 192.168.1.1 -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
  • TypeAuth Bypass

  • Vendor/TechTenda

  • SeverityCRITICAL

  • CVSS Score9.3

  • 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-290
  • Technical References
  • Exploit-DB #44380

  • VulnCheck Advisory on Tenda
  • Related CVEs
  • CVE-2018-25318: Tenda FH303/A300 Auth Bypass Vulnerability

  • CVE-2018-25316: Tenda W308R Auth Bypass Vulnerability

  • CVE-2025-8182: Tenda AC18 Firmware Auth Bypass Flaw

  • CVE-2026-5526: Tenda 4G03 Pro Auth Bypass 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