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

CVE-2018-25318: Tenda FH303/A300 Auth Bypass Vulnerability

CVE-2018-25318 is an authentication bypass flaw in Tenda FH303/A300 routers that allows attackers to modify DNS settings without authentication. This post covers technical details, affected firmware versions, and steps.

Published: April 30, 2026

CVE-2018-25318 Overview

CVE-2018-25318 is a session weakness vulnerability affecting Tenda FH303/A300 firmware V5.07.68_EN. The vulnerability allows unauthenticated remote attackers to modify DNS settings on the router by exploiting insufficient cookie validation in the web management interface. By sending specially crafted GET requests to the /goform/AdvSetDns endpoint with a forged admin cookie, attackers can redirect user traffic to malicious DNS servers, enabling a wide range of downstream attacks including phishing and man-in-the-middle scenarios.

Critical Impact

Unauthenticated attackers can remotely modify router DNS settings, redirecting all network traffic through attacker-controlled servers without any authentication.

Affected Products

  • Tenda FH303 firmware V5.07.68_EN
  • Tenda A300 firmware V5.07.68_EN

Discovery Timeline

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

Technical Details for CVE-2018-25318

Vulnerability Analysis

This vulnerability stems from improper authentication and session management within the Tenda router's web interface (CWE-290: Authentication Bypass by Spoofing). The firmware fails to properly validate session cookies when processing requests to the DNS configuration endpoint. This design flaw allows attackers to craft requests with arbitrary cookie values that the router accepts as valid administrative sessions.

The attack is particularly dangerous because it requires no prior authentication and can be executed remotely over the network. Once an attacker successfully modifies the DNS settings, all devices connected to the router will have their DNS queries redirected to attacker-controlled servers.

Root Cause

The root cause is insufficient cookie validation in the /goform/AdvSetDns endpoint. The firmware does not properly verify that the session cookie corresponds to a legitimately authenticated administrative session. Instead of maintaining and validating cryptographically secure session tokens, the router accepts crafted cookie values, allowing authentication bypass.

Attack Vector

The attack is executed over the network without requiring any user interaction. An attacker sends an HTTP GET request to the vulnerable endpoint with manipulated cookie headers. The attack flow involves:

  1. Identifying a vulnerable Tenda FH303/A300 router on the network
  2. Crafting an HTTP GET request to /goform/AdvSetDns with a spoofed admin cookie
  3. Specifying malicious DNS server addresses in the request parameters
  4. The router processes the request without proper session validation
  5. DNS settings are modified to point to attacker-controlled servers

All network traffic from connected devices can then be intercepted or redirected to malicious sites. Technical details and proof-of-concept information can be found in the Exploit-DB #44381 entry and the VulnCheck Advisory.

Detection Methods for CVE-2018-25318

Indicators of Compromise

  • Unexpected HTTP requests to /goform/AdvSetDns endpoint in router access logs
  • DNS settings on the router changed to unknown or suspicious IP addresses
  • Network traffic being routed through unfamiliar DNS servers
  • User reports of being redirected to suspicious websites

Detection Strategies

  • Monitor network traffic for HTTP requests targeting /goform/AdvSetDns from unauthorized sources
  • Implement DNS monitoring to detect unauthorized changes to router DNS configurations
  • Deploy network intrusion detection rules to flag requests with suspicious cookie patterns to Tenda router management interfaces
  • Regularly audit router configurations for unexpected DNS server modifications

Monitoring Recommendations

  • Enable logging on the router web management interface and forward logs to a SIEM solution
  • Set up alerts for any configuration changes to DNS settings on network equipment
  • Monitor outbound DNS traffic for queries to unexpected resolvers
  • Implement network segmentation to restrict access to router management interfaces

How to Mitigate CVE-2018-25318

Immediate Actions Required

  • Restrict access to the router's web management interface to trusted internal networks only
  • Implement firewall rules to block external access to port 80/443 on the router management interface
  • Regularly verify DNS settings on the router have not been modified
  • Consider replacing affected devices with routers from vendors that provide security updates

Patch Information

No official patch information is available from the vendor. Tenda has not released a firmware update addressing this vulnerability. Users should consider migrating to alternative router solutions that receive regular security updates.

Workarounds

  • Disable remote management access to the router entirely if not required
  • Place the router behind a properly configured firewall that blocks unauthorized access to management interfaces
  • Use a separate, hardened DNS solution for your network rather than relying on router-provided DNS
  • Implement network access controls to limit which devices can communicate with the router management interface
  • Monitor DNS settings periodically using automated scripts to detect unauthorized changes

The most effective long-term mitigation is to replace vulnerable Tenda FH303/A300 devices with routers from manufacturers that actively maintain firmware security.

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 #44381

  • VulnCheck Advisory: Tenda FH303
  • Related CVEs
  • CVE-2018-25317: Tenda Router 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