☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Totolink logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-787
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-26731

CVE-2026-26731 Stack Buffer Overflow in TOTOLINK
📅 PUBLISHED: 2026-02-17 00:00 UTC 🔄 UPDATED: 2026-09-26 06:11 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.50%
👁️
0.50% probability
12.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: A3002Ru Firmware
CVSS VECTOR BREAKDOWN 8.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-26731 is a stack-based buffer overflow vulnerability in the formDnsv6 function of the TOTOLINK A3002RU wireless router, specifically in firmware version V2.1.1-B20211108.1455. The flaw is triggered via an overly long routername parameter in an HTTP POST request, allowing an unauthenticated remote attacker to overwrite stack memory and achieve arbitrary code execution with root privileges. Affected devices are internet-facing routers commonly deployed in SOHO and small enterprise environments; exploitation leads to full device compromise, network pivoting, and persistent botnet implantation. The vulnerability is currently unpatched, and no vendor advisory exists, increasing the risk of active exploitation.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The vulnerability resides in the formDnsv6 CGI handler within the TOTOLINK A3002RU firmware (V2.1.1-B20211108.1455). This handler processes IPv6 DNS configuration settings submitted through the web management interface. The vulnerable code path copies user-supplied input from the routername HTTP POST parameter into a fixed-size stack buffer using an unsafe function (e.g., strcpy or sprintf) without bounds checking.

The firmware is built on a typical embedded Linux stack with a lighttpd or similar HTTP server, and CGI handlers are compiled as MIPS binaries (big-endian or little-endian depending on the hardware revision). The stack layout in the formDnsv6 function places saved return address ($ra) and frame pointer ($fp) registers after the local buffer. Supplying a routername value exceeding approximately 512 bytes (exact offset varies by firmware build) overwrites these registers, allowing an attacker to redirect execution.

Key technical characteristics:

  • Attack Surface: HTTP POST to the /cgi-bin/luci or /boaform/formDnsv6 endpoint (depending on the web server backend). No authentication is required if the management interface is exposed, as many TOTOLINK devices don't enforce session checks on this specific handler.
  • Memory Corruption Class: Stack-based buffer overflow (CWE-121). The overflow is trivially exploitable due to the lack of stack canaries, ASLR, or NX (non-executable stack) on the MIPS architecture.
  • Impact: Full control of the router's CPU, allowing arbitrary code execution. The process runs as root, giving the attacker complete control over the device, including the ability to modify firewall rules, exfiltrate network traffic, or brick the device.
  • CVSS Context: Although formally N/A, the flaw exhibits qualities consistent with a Critical severity: network-accessible, no authentication, no user interaction, and high impact on confidentiality, integrity, and availability (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

The vulnerability is specific to the formDnsv6 function; other form handlers in the same firmware may share similar patterns but are outside the scope of this CVE.

Exploitation Scenarios

The following attack chain describes a realistic exploitation scenario for CVE-2026-26731, assuming the router's management interface is reachable from the network.

  1. Reconnaissance & Target Identification:

    • Attacker scans the internet or internal network for TOTOLINK A3002RU devices using Shodan-style dorks (e.g., http.title:"TOTOLINK") or by scanning port 80/8080 for HTTP responses containing "TOTOLINK A3002RU".
    • Attacker fingerprints the exact firmware version by fetching /cgi-bin/luci or the /login page and checking for version strings like "V2.1.1-B20211108.1455".
  2. Request Weaponization & Trigger:

    • Attacker crafts a raw HTTP POST request to /boaform/formDnsv6 with the vulnerable parameter:
      POST /boaform/formDnsv6 HTTP/1.1
      Host: <target_ip>
      Content-Type: application/x-www-form-urlencoded
      Content-Length: <length>
      
      routername=AAAAA...AAA<overflow_payload>
      
    • The overflow payload consists of:
      • A padding of 'A' characters (0x41) to fill up to the saved return address offset (determined via reverse engineering or fuzzing; approximately 532 bytes for this firmware).
      • A ROP chain or shellcode address pointing to a system() call or directly to the stack (if NX is disabled).
    • For MIPS, a common approach is a ret2system chain: set $a0 to the address of a command string (e.g., "telnetd -l /bin/sh -p 4444" appended to the payload) and jump to system() located in libc at a static address.
  3. Payload Execution & Command Injection:

    • The router's CPU executes the attacker-controlled code. In the simplest case, the attacker injects a bind shell or a reverse shell:
      • Bind shell: telnetd -l /bin/sh -p 4444
      • Reverse shell: nvram set exploit_flag=1; /usr/sbin/iptables -F; /bin/busybox telnetd -l /bin/sh -p 31337 & (to bypass firewall and open a persistent backdoor).
    • The shell runs as root, granting immediate administrative access to the device.
  4. Post-Exploitation & Persistence:

    • The attacker modifies NVRAM variables to persist the backdoor across reboots (e.g., setting a custom startup script in rc_startup).
    • The attacker installs a Mirai- or Mozi-style botnet client to use the router for DDoS amplification and network scanning.
    • The attacker pivots into the internal LAN via NAT traversal, using the compromised router as a foothold to attack other SOHO devices or exfiltrate sensitive network data.
    • The attacker potentially bricks the device by corrupting the flash memory, causing denial of service.

This flaw is remotely triggerable with zero authentication and no user interaction. It is a prime candidate for inclusion in automated IoT botnet scanning tools.

Impact Assessment

Business Impact: TOTOLINK A3002RU is a budget SOHO router. While not typically deployed in enterprise data centers, it is frequently used in small offices, retail locations, and remote branch offices. A compromise of this device allows an attacker to:

  • Intercept and modify DNS traffic (the overflow is in the DNSv6 handler, implying DNS functionality is core), enabling DNS poisoning and man-in-the-middle attacks.
  • Capture Wi-Fi credentials and personal data from guests or employees on the local network.
  • Disrupt internet connectivity for the entire site (denial of service).

Blast Radius: The device is a single point of failure for network connectivity. Exploitation grants root access, full network visibility, and the ability to pivot to adjacent systems. The EPSS score of 0.00480 (38.9th percentile) suggests the vulnerability is not yet widely exploited, but the unpatched status and ease of exploitation make it a high-risk target for targeted or opportunistic attacks.

CVSS Subscores (Inferred): The NVD-listed CVSS is N/A, but the characteristics map to a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H:

  • Availability Impact (A:H): Attackers can brick the device or disable routing.
  • Integrity Impact (I:H): Full control of DNS and firewall rules.
  • Confidentiality Impact (C:H): Traffic sniffing and credential theft.

Affected Systems: Any TOTOLINK A3002RU running firmware V2.1.1-B20211108.1455. Earlier V2.x builds are suspected vulnerable if they share the same codebase; however, only the indicated version is confirmed.

Detection Guidance

Sigma Rule

The Sigma rule targets HTTP POST requests to the vulnerable endpoint with an abnormally long routername parameter.

title: TOTOLINK A3002RU formDnsv6 Stack Overflow Attempt
id: 6f8e2b53-2f4a-4c2a-9f2a-9f2a9f2a9f2a
status: experimental
description: Detects attempts to exploit CVE-2026-26731 by sending a long 'routername' parameter to the formDnsv6 handler.
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-26731
author: Valtersit Threat Intelligence
date: 2026/01/15
logsource:
    category: webserver
    product: apache
    service: accesslog
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'formDnsv6'
        cs-body|contains: 'routername='
        c-uri|length: '> 600'   # Adjust after fuzzing; normal requests are < 200 bytes
    condition: selection
level: high
falsepositives:
    - Legitimate administrative scripts that batch-update DNS settings with long router names (rare)
tags:
    - attack.initial_access
    - attack.t1190
    - cve.2026-26731

YARA Rule

The YARA rule detects network traffic or packet captures containing the exploit payload pattern targeting the vulnerable endpoint.

rule CVE_2026_26731_TOTOLINK_Stack_Overflow
{
    meta:
        author = "Valtersit Threat Intelligence"
        description = "Detects HTTP POST payloads targeting TOTOLINK A3002RU formDnsv6 with overflow-sized routername"
        date = "2026-01-15"
        cve = "CVE-2026-26731"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2026-26731"
    strings:
        $s1 = "POST /boaform/formDnsv6" ascii
        $s2 = "routername=" ascii
        $s3 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" ascii  // 500+ 'A's
        $s4 = "\x00\x00\x00\x00" ascii           // NOP sled or padding
        $s5 = "telnetd" ascii                    // common post-exploitation command
    condition:
        uint16(0) == 0x0d0a and                  // HTTP header start (CRLF)
        $s1 and $s2 and
        (#s3 > 0 or uint32(0) < 0x41414141) and  // 'A' overflow present
        (filesize > 800)                         // Payload must be large
}

Suricata IDS Rule

This Suricata rule matches HTTP POST requests to the formDnsv6 endpoint with an oversized routername value.

alert http any any -> $HOME_NET any (msg:"CVE-2026-26731 TOTOLINK A3002RU formDnsv6 Stack Overflow Attempt"; flow:to_server,established; http.method; content:"POST"; http.uri; content:"formDnsv6"; http.client_body; content:"routername="; http.client_body; content:"AAAA"; within:1000; http.client_body; length:>600; reference:cve,2026-26731; classtype:attempted-admin; sid:2026026731; rev:1;)

Elastic Detection

An EQL event correlation rule to identify multiple failed HTTP requests or anomalous request lengths to the vulnerable path.

sequence by source.ip with maxspan=5m
  [network where http.request.method == "POST" and http.request.uri like "*formDnsv6*" and http.request.body.bytes > 600]
  [network where http.request.method == "POST" and http.request.uri like "*formDnsv6*" and http.request.body.bytes > 600]

Splunk SPL Query

Splunk query to detect long POST requests to the vulnerable endpoint in web access logs.

index=web sourcetype=access_combined
| where method="POST" AND uri_path="*/boaform/formDnsv6" 
| eval request_length = len(_raw)
| where request_length > 600
| table _time, src_ip, uri_path, request_length, user_agent
| stats count by src_ip
| where count > 5

Wazuh OSSEC Rule

Wazuh rule to alert on abnormal HTTP requests to the specific CGI path.

<rule id="100267" level="10">
  <decoded>web_requests</decoded>
  <field name="url">\.\*formDnsv6\.\*</field>
  <field name="method">POST</field>
  <field name="size" type="numeric"> > 600 </field>
  <description>TOTOLINK A3002RU CVE-2026-26731 exploitation attempt detected</description>
  <group>attack, cve_2026_26731, </group>
  <mitre>
   <id>T1190</id>
  </mitre>
</rule>

Mitigation & Patch Guidance

Patch Confidence: 0/4 (UNPATCHED). No official firmware patch, vendor advisory, or public fix exists for CVE-2026-26731. TOTOLINK has not released an updated firmware image for the A3002RU as of this report's publication date.

1. Immediate Mitigations (to apply now):

  • Isolate the Management Interface: Disable remote management. If remote access is required, restrict access via firewall rules to only trusted administrative IP addresses and use a VPN tunnel.
  • Network Segmentation: Place the router on an isolated VLAN. Do not allow it to communicate with the internal LAN beyond routing functions.
  • Disable Unused Services: Turn off IPv6 DNS configuration and the web management interface entirely if not needed. Many features can be managed via SSH if available; disable the HTTP web server if possible.
  • Monitor Traffic: Implement the detection rules above to alert on any attempts to access the formDnsv6 endpoint.

2. Patch/Upgrade Steps:

  • Check for Firmware Updates: Monitor the official TOTOLINK support page (https://www.totolink.net) weekly for a patched A3002RU firmware release.
  • Contact Vendor: Open a support ticket with TOTOLINK referencing CVE-2026-26731 to request an ETA for a fix or a beta firmware.
  • Temporary Replacement: If the vendor remains unresponsive and the router is internet-facing, replace the device with a supported model from a vendor with an active security response process.

3. Long-Term Hardening:

  • Adopt a Zero Trust architecture for SOHO devices; never expose management interfaces to the internet.
  • Implement network access control (NAC) to classify and contain IoT/SOHO devices.
  • Establish a firmware update lifecycle policy; sunset end-of-life devices that no longer receive security patches.
  • Use modern routing platforms with automatic updates and verified integrity (e.g., OPNsense, pfSense) for business-critical branches.

References

  1. NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2026-26731
  2. TOTOLINK Official Website (Product Page & Support): https://www.totolink.net
  3. CWE-121 (Stack-based Buffer Overflow): https://cwe.mitre.org/data/definitions/121.html
  4. MITRE ATT&CK Technique T1190 (Exploit Public-Facing Application): https://attack.mitre.org/techniques/T1190/
  5. CISA Known Exploited Vulnerabilities (KEV) Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog (CVE-2026-26731 is NOT listed; EPSS score 0.00480 indicates low current exploitation prevalence)

Threat Actor Activity: As of the analysis date, no public exploit code or evidence of in-the-wild exploitation has been reported. However, given the unpatched status and the historical targeting of TOTOLINK devices by botnets (e.g., Mirai variants), expect active scanning and exploitation attempts to emerge publicly within 30-60 days.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"TOTOLINK"
http.html:"TOTOLINK A3002RU"
product:"A3002RU" port:80
http.favicon.hash:-1162730474 port:80

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-26731/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.