/

CVE-2026-51711

Severity:

CRITICAL RISK

(9.1)

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

CVE-2026-51711

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-284

Impact:

Unauthorized WPS Activation

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 weakness in the TOTOLINK T6 router's setWiFiWpsStart function may allow unauthenticated network attackers to open the wireless pairing window.

The issue becomes risky when the device exposes the affected CGI endpoint without requiring authentication or authorization for the WPS operation.

Affected context

The vulnerability occurs in TOTOLINK T6 firmware version 4.1.5cu.748_B20211015, within the setWiFiWpsStart function exposed through /cgi-bin/cstecgi.cgi. Risk depends on whether the router accepts the relevant operation from an unauthenticated client and whether WPS is enabled or otherwise available in the deployment.

Exploit preconditions

  • Attack surface: The router's HTTP CGI management interface
  • Required access: Network reachability to the affected endpoint; authentication may not be required
  • Trigger point: Processing of a request that invokes the setWiFiWpsStart operation
  • Why exploitation is possible: The function does not adequately enforce authentication or authorization before changing the WPS state

Why this happens

The underlying bug is an authorization failure in a security-sensitive administrative function. The device processes a request capable of changing wireless pairing state without consistently verifying that the requester has permission to perform that operation. This behavior maps to CWE-284: Improper Access Control, where access restrictions are missing, incomplete, or applied at the wrong enforcement point.

Potential impact

  • Unauthenticated users may activate the wireless pairing window
  • Nearby attackers could attempt unauthorized device pairing
  • Wireless network access could be weakened depending on router configuration and WPS behavior
  • The router's administrative security posture could be reduced
  • Additional attacks may become possible if unauthorized pairing leads to network access

General mitigation guidance

Mitigation generally focuses on enforcing authorization for every state-changing administrative operation and reducing exposure of management interfaces.

Common defensive patterns include:

  • Require authenticated, authorized sessions before invoking WPS controls
  • Apply server-side authorization checks at the operation handler rather than relying only on interface visibility
  • Disable WPS when it is not needed
  • Restrict router management interfaces to trusted network segments
  • Use secure-by-default wireless and administrative settings
  • Apply least privilege to management functions and separate read-only operations from state-changing actions

How teams detect issues like this

Organizations can assess this class of issue through:

  • Static analysis and code review checks for state-changing handlers that lack authentication or authorization gates
  • Testing CGI and API operations from unauthenticated and low-privilege contexts
  • Monitoring router logs for unexpected WPS state changes or pairing activity
  • Policy enforcement requiring authorization checks on all administrative endpoints
  • Automated security testing that inventories exposed management operations and verifies access-control behavior

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.mdCVE-2026-51711
totolink.nettotolink.net/
totolink.nettotolink.net/home/menu/detail/menu_listtpl/download/id/190/ids/36.html

Frequently asked

questions

It may be exploitable by an attacker who can reach the router's affected management endpoint over the network. Exploitability depends on interface exposure and network segmentation.

The described issue permits the relevant operation without authentication, although network access to the endpoint is still generally required.

Enforce authentication and authorization on the server side for every WPS state-changing operation, and disable WPS when it is unnecessary.

Treat administrative CGI functions as privileged operations, test them from unauthenticated contexts, restrict management-plane exposure, and require policy checks for all security-sensitive state changes.

Find out what's already
exploitable in your codebase.