/

CVE-2026-51692

Severity:

CRITICAL RISK

(9.1)

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

CVE-2026-51692

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Unauthorized Wireless Configuration and Network Exposure

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 change guest wireless settings through the device's configuration interface.

A crafted POST request to the exposed CGI endpoint may establish or weaken guest network access when the function fails to properly verify authorization.

Affected context

The issue occurs in TOTOLINK T6 devices using the affected firmware configuration and exposing the /cgi-bin/cstecgi.cgi management endpoint. Risk is higher when the endpoint is reachable without authentication or from an untrusted network, and when the setWiFiGuestCfg function does not enforce authorization before applying guest wireless changes.

Exploit preconditions

  • Attack surface: The device's HTTP configuration interface and CGI endpoint
  • Required access: Network reachability to the endpoint; valid authentication may not be required
  • Trigger point: Processing of a POST request handled by setWiFiGuestCfg
  • Why exploitation is possible: The function may accept guest wireless configuration changes without adequately verifying the caller's authorization

Why this happens

The vulnerability results from an authorization check that is missing, incomplete, or applied inconsistently in a privileged configuration function. The device processes requests to change guest wireless settings without reliably establishing that the requester is permitted to perform that operation. This behavior maps to CWE-284: Improper Access Control, in which access restrictions do not adequately protect a sensitive resource or administrative action.

Potential impact

  • An attacker may enable or alter guest wireless access
  • An attacker could weaken isolation between guest and internal networks
  • Unauthorized users may gain connectivity through modified wireless settings
  • Network administrators may lose control over intended guest-access policies
  • The device could be used to support further attacks against connected systems

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every sensitive configuration entry point and reducing exposure of administrative interfaces.

Common defensive patterns include:

  • Requiring strong authentication and authorization before applying wireless configuration changes
  • Enforcing server-side permission checks rather than relying on client-side controls
  • Validating request methods, session state, and administrative roles consistently across CGI handlers
  • Restricting management interfaces to trusted networks or dedicated administration paths
  • Applying secure defaults that preserve guest-network isolation and least privilege
  • Logging and reviewing wireless configuration changes for unexpected activity

How teams detect issues like this

Organizations can assess for this issue through:

  • Static analysis of CGI handlers for missing authentication and authorization checks
  • Code review of functions that modify wireless, firewall, or network-isolation settings
  • Tests that submit configuration requests from unauthenticated and low-privilege sessions
  • Network monitoring for unexpected POST requests to administrative CGI endpoints
  • Policy enforcement requiring centralized authorization checks for privileged device operations
  • Automated security testing or code-review tools that identify externally reachable state-changing functions without access validation

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 device's CGI management endpoint is reachable by an attacker. Exposure depends on network placement, interface configuration, and access restrictions.

The vulnerability description indicates that an unauthenticated attacker may submit the relevant request. Network reachability to the endpoint remains necessary.

Sensitive wireless configuration functions should enforce server-side authentication and authorization before processing any changes, with guest-network isolation preserved by default.

Apply consistent access-control checks to every state-changing endpoint, restrict management interfaces to trusted networks, test unauthenticated and low-privilege request paths, and monitor administrative configuration activity.

Find out what's already
exploitable in your codebase.