/

CVE-2026-51713

Severity:

CRITICAL RISK

(9.1)

Broken Access Control (CWE-284) in TOTOLINK T6 Router

CVE-2026-51713

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-284

Impact:

Unauthorized WAN state manipulation and potential network availability disruption

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A critical access-control vulnerability in the TOTOLINK T6 allows unauthenticated attackers to manipulate the WAN dial state through the setManualDialCfg function.

The issue becomes risky when the device exposes its CGI interface and accepts crafted POST requests without verifying the caller's authorization.

Affected context

The vulnerability occurs in TOTOLINK T6 firmware 4.1.5cu.748_B20211015, within the setManualDialCfg function exposed through /cgi-bin/cstecgi.cgi. Deployments may be at greater risk when the router's management interface or CGI endpoint is reachable by untrusted networks and the function can be invoked without an authenticated session.

Exploit preconditions

  • Attack surface: The router's HTTP CGI interface at /cgi-bin/cstecgi.cgi
  • Required access: Network access to the affected endpoint; authentication may not be required
  • Trigger point: A crafted POST request invoking the setManualDialCfg function
  • Why exploitation is possible: The function does not adequately enforce authorization before allowing WAN dial-state changes

Why this happens

The underlying bug is an authorization failure in a management operation. The setManualDialCfg function performs a security-sensitive WAN configuration change without reliably verifying that the requester has the required privileges. This behavior maps to CWE-284: Improper Access Control, where access restrictions are missing or insufficient for a protected operation.

Potential impact

  • An attacker may change the router's WAN dial state
  • Network connectivity may be disrupted or unexpectedly restored
  • Administrative control over WAN behavior could be abused to interfere with traffic flows
  • Connected users and services could experience availability or routing impacts
  • The altered state could support follow-on attacks against dependent systems

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every security-sensitive management operation and reducing exposure of administrative interfaces.

Common defensive patterns include:

  • Require authenticated, appropriately privileged sessions before processing WAN configuration changes
  • Apply server-side authorization checks independently of client-supplied parameters
  • Restrict management and CGI interfaces to trusted administration networks
  • Use secure-by-default network-management settings that do not expose administrative endpoints broadly
  • Separate configuration privileges from read-only or ordinary user capabilities
  • Validate and log state-changing requests, while avoiding reliance on client-side controls

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and code review checks for state-changing handlers that lack centralized authorization
  • Tests that invoke management endpoints without credentials and verify that protected actions are rejected
  • Review of CGI dispatch logic, privilege checks, and inconsistent authentication enforcement across equivalent endpoints
  • Network monitoring for unexpected POST requests to router management paths
  • Policy enforcement requiring authenticated administrative access for all configuration-changing APIs

Automated security testing and code-review tools may help identify unauthenticated or inconsistently protected management functions.

Sources

SourceLink
github.comgithub.com/DarkBoulder/CVE-Vendor-Coordination/blob/main/TOTOLINK/README.md
github.comgithub.com/ShengWu00/CVE-Vendor-Coordination/blob/main/TOTOLINK/README.md
totolink.nettotolink.net/
totolink.nettotolink.net/home/menu/detail/menu_listtpl/download/id/190/ids/36.html

Frequently asked

questions

It may be exploitable over the network when the affected CGI interface is reachable by an attacker. Exposure depends on router management settings, network segmentation, and any access controls in front of the endpoint.

The described flaw permits unauthenticated access to the affected operation, so a valid user account may not be required when the endpoint is reachable.

Enforce authentication and privilege checks on the server before applying any WAN state change, and limit management interfaces to trusted administration networks.

Apply centralized authorization middleware, test sensitive endpoints with unauthenticated and low-privilege identities, and monitor for unexpected configuration-changing requests.

Find out what's already
exploitable in your codebase.