/

CVE-2026-51715

Severity:

CRITICAL RISK

(9.8)

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

CVE-2026-51715

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Unauthorized Modification of Network Access-Control Rules

Severity:

CRITICAL RISK

(9.8)

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 4.1.5cu.748_B20211015 router allows unauthenticated attackers to remove MAC filter rules through the device's CGI interface. The issue becomes risky when the management endpoint is reachable and does not require authorization before processing rule-deletion requests.

Affected context

The vulnerability occurs in the delMacFilterRules function exposed through /cgi-bin/cstecgi.cgi on affected TOTOLINK T6 deployments. It is most relevant where the CGI endpoint is reachable by an attacker and the device fails to enforce authentication and authorization for MAC filter rule management. Exposure may vary depending on network placement, administrative interface settings, and gateway access policies.

Exploit preconditions

  • Attack surface: The router's CGI management interface at /cgi-bin/cstecgi.cgi
  • Required access: No authentication is required when the vulnerable request path is exposed
  • Trigger point: Processing of a request handled by the delMacFilterRules function
  • Why exploitation is possible: The function does not adequately verify whether the requester is authorized to remove MAC filter rules
  • Input condition: The attacker must be able to send a suitably structured HTTP POST request to the reachable endpoint

Why this happens

The underlying flaw is an authorization failure in a state-changing administrative function. The delMacFilterRules operation processes a rule-removal request without enforcing an appropriate authenticated and authorized management context, allowing an unauthenticated client to alter access-control configuration. This behavior maps to CWE-284: Improper Access Control, where a security-sensitive resource or operation is not adequately restricted to permitted users.

Potential impact

  • An attacker could remove configured MAC filter rules
  • Restricted devices could regain network access
  • Network access-control policies may be weakened without administrator awareness
  • The router's security posture could be degraded
  • Additional attacks could become easier if removed rules were blocking hostile devices

General mitigation guidance

Mitigation generally focuses on enforcing authorization consistently for every administrative state-changing operation.

Common defensive patterns include:

  • Requiring authenticated management sessions before processing rule changes
  • Applying function-level authorization checks inside the operation handler
  • Validating that the requested rule belongs to the authorized device and administrative scope
  • Rejecting unauthenticated or cross-origin state-changing requests where appropriate
  • Restricting management interfaces to trusted networks or administrative channels
  • Running management services with only the privileges needed to update their configuration
  • Auditing and alerting on MAC filter changes, including unexpected unauthenticated attempts

How teams detect issues like this

Organizations can assess for this class of issue through:

  • Static analysis for state-changing handlers that lack authentication or authorization checks
  • Code review of CGI endpoints and functions that modify firewall, MAC filtering, or access-control settings
  • Dynamic testing that verifies administrative operations fail for unauthenticated and unauthorized clients
  • API policy enforcement requiring authentication and explicit authorization for all configuration mutations
  • Monitoring web-server and router logs for unexpected POST requests to management endpoints
  • Automated security testing and neutral code-review tools that identify missing access-control enforcement

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 can be remotely exploitable when the affected CGI management endpoint is reachable by an attacker. Exposure depends on network topology, interface configuration, and access controls.

No authentication is required for the vulnerable operation when the endpoint is exposed and fails to enforce authorization.

Require authenticated sessions and enforce function-level authorization before performing any MAC filter rule deletion or other configuration change.

Treat every configuration-mutating endpoint as privileged, apply centralized access-control checks, test unauthenticated and unauthorized request paths, and monitor administrative changes.

Find out what's already
exploitable in your codebase.