/

CVE-2026-51697

Severity:

CRITICAL RISK

(9.1)

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

CVE-2026-51697

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Unauthorized Configuration Modification

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 IPTV service configuration through the router's web interface.

The issue becomes risky when the management endpoint is reachable and fails to verify whether the requester is authorized to modify IPTV settings.

Affected context

The vulnerability occurs in the setIptvCfg function of TOTOLINK T6 firmware 4.1.5cu.748_B20211015. It affects deployments where the /cgi-bin/cstecgi.cgi endpoint is reachable and IPTV configuration requests are processed without adequate authentication or authorization checks.

Exploit preconditions

  • Attack surface: Router web-management or CGI interface
  • Required access: Network reachability to the affected endpoint; valid credentials may not be required
  • Trigger point: Processing of a crafted POST request targeting IPTV configuration handling
  • Why exploitation is possible: The setIptvCfg function does not sufficiently verify that the requester is authorized to alter IPTV service settings

Why this happens

The underlying bug is an authorization failure in a configuration-changing request handler. The function accepts a request that can modify IPTV settings without reliably enforcing authentication and authorization before applying the requested changes. This maps to CWE-284: Improper Access Control, where access to a protected operation is not restricted according to the intended security policy.

Potential impact

  • Unauthorized changes to IPTV service configuration
  • Disruption or degradation of IPTV connectivity
  • Modification of network behavior controlled by IPTV settings
  • Persistent configuration changes that could affect other users or devices
  • Increased opportunity for follow-on attacks if altered settings weaken network controls

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every configuration-changing endpoint and treating all client-supplied requests as untrusted.

Common defensive patterns include:

  • Requiring authenticated sessions for administrative configuration changes
  • Enforcing server-side authorization checks tied to the requested resource and operation
  • Rejecting state-changing requests that lack valid session, integrity, or anti-request-forgery controls
  • Applying secure-by-default management exposure policies, such as limiting administrative interfaces to trusted networks
  • Running management services with only the privileges needed to update the relevant configuration
  • Recording and reviewing administrative configuration changes

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis of CGI handlers for state-changing operations that lack authentication or authorization checks
  • Code review of request-routing logic and functions that write router configuration
  • Testing administrative endpoints with no credentials and with accounts lacking the required privilege
  • Dynamic monitoring for unexpected POST requests to configuration endpoints
  • Policy enforcement requiring authorization middleware for all management-plane state changes
  • Automated security testing and code-review tools that flag unauthenticated configuration modification paths

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 router's affected management endpoint is reachable. Exposure depends on deployment topology and management-interface access controls.

The description indicates that an attacker may alter IPTV settings without authentication, provided the attacker can reach the vulnerable CGI endpoint.

Require authenticated, authorized sessions for configuration changes and enforce those checks server-side before applying any submitted settings.

Protect management interfaces from untrusted networks, apply least privilege, review every state-changing endpoint, and include unauthenticated and low-privilege authorization tests in security validation.

Find out what's already
exploitable in your codebase.