/

CVE-2026-51660

Severity:

CRITICAL RISK

(9.1)

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

CVE-2026-51660

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-284

Impact:

Unauthorized Information Disclosure

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

TOTOLINK T6 contains an access control flaw in the getIpPortFilterRules function that exposes IP and port filtering rules through a web management endpoint.

An unauthenticated attacker who can reach the affected endpoint may retrieve filtering configuration by sending a specially crafted POST request, revealing information that could help map or bypass network restrictions.

Affected context

The vulnerability occurs in TOTOLINK T6 devices using the affected firmware when the /cgi-bin/cstecgi.cgi endpoint processes requests for the getIpPortFilterRules function without adequately enforcing authentication or authorization. The issue is most relevant when the device's management interface is reachable by an untrusted party, such as from an exposed or insufficiently isolated network.

Exploit preconditions

  • Attack surface: The TOTOLINK web management interface and its CGI request handler
  • Required access: Network reachability to the affected endpoint; valid credentials may not be required
  • Trigger point: A crafted POST request invoking getIpPortFilterRules
  • Why exploitation is possible: The function returns filtering rules without reliably verifying that the requester is authorized to access them

Why this happens

The underlying bug is an authorization failure in a web-accessible management function. The request handler permits access to configuration data without consistently applying authentication and authorization checks before processing the operation.

This maps to CWE-284: Improper Access Control, where a protected resource or operation is not restricted according to the intended security policy. The insecure pattern is exposing administrative configuration data through an endpoint whose access checks are missing, incomplete, or applied after the sensitive operation.

Potential impact

  • An attacker may disclose IP and port filtering rules
  • Exposed rules could reveal internal network policy and management details
  • Attackers could use the information to refine subsequent intrusion attempts
  • The disclosure may help identify permitted services or potential filtering gaps
  • Network segmentation and monitoring assumptions could be weakened

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every management endpoint that returns configuration data.

Common defensive patterns include:

  • Requiring authentication and explicit authorization before invoking administrative functions
  • Applying access checks at the server-side handler rather than relying on client-side controls
  • Limiting management interfaces to trusted administration networks or secure access paths
  • Returning only the minimum configuration data required for an authorized operation
  • Using deny-by-default policies for unauthenticated requests
  • Running management services with narrowly scoped privileges and applying network isolation
  • Avoiding disclosure of sensitive filtering details in error messages or unauthenticated responses

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis rules that identify sensitive handlers without authentication or authorization checks
  • Code review signals such as configuration-returning functions exposed through generic CGI dispatchers
  • Tests that invoke administrative endpoints with absent, invalid, and low-privilege credentials
  • API policy enforcement requiring authentication for configuration and management operations
  • Network monitoring for repeated POST requests to management endpoints and unusual requests from untrusted segments
  • Automated security testing tools that evaluate endpoint access control and authorization boundaries

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 remotely exploitable when the device's management endpoint is reachable over a network controlled by or accessible to an attacker. Exploitation does not necessarily require valid credentials according to the reported behavior.

The affected function may disclose IP and port filtering rules, which can expose details about permitted traffic and network access policies.

Require authentication and authorization before processing the function, enforce those checks server-side, and limit management access to trusted administrative networks.

Apply deny-by-default access policies, test every management endpoint with unauthenticated and low-privilege requests, and include authorization checks in code review and automated security testing.

Find out what's already
exploitable in your codebase.